html, body { overflow-x: hidden; position: relative; width: 100%; }
@media (min-width: 769px) and (max-width: 1200px) {
 
    .contact-footer-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
    .contact-footer-logo {
            margin-top: 0;
    }
    .contact-footer-links {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
    }
    .contact-footer-links .footer-link-group:nth-child(1) {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        margin-bottom: 2rem;
        margin-top: -2.5rem;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

:root {
    --primary-color: #6B9BD1; 
    --light-primary: #E8F0F7; 
    --lighter-primary: #F2F7FA; 
    --dark-primary: #4A7BA8; 
    --accent-color: #D4A574; 
    --accent-light: #F5E6D3; 
    --accent-dark: #C97D60; 
    --beige: #F5F1EB;
    --light-beige: #FAF8F5; 
    --dark-beige: #E8D5C0; 
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --shadow-sm: 0 2px 8px rgba(107, 155, 209, 0.08);
    --shadow-md: 0 4px 16px rgba(107, 155, 209, 0.12);
    --shadow-lg: 0 8px 32px rgba(107, 155, 209, 0.16);
    --shadow-xl: 0 16px 48px rgba(107, 155, 209, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    color: #212529;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: #F8F9FA;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #212529 !important;
    font-weight: 700 !important;
}
h1 {
    color: #6b6b6b !important;
}
button:not(.slider-btn):not(.btn-primary):not(.btn-secondary):not(.appointment-btn):not(.hero-slider-btn),
input[type="submit"],
input[type="button"],
.btn:not(.slider-btn):not(.btn-primary):not(.btn-secondary):not(.appointment-btn),
a.btn:not(.slider-btn):not(.btn-primary):not(.btn-secondary):not(.appointment-btn) {
    background: var(--white) !important;
    border: 2px solid var(--light-primary) !important;
    border-radius: 12px !important;
    color: #555555 !important;
    transition: all 0.3s ease !important;
}

button:not(.slider-btn):not(.btn-primary):not(.btn-secondary):not(.appointment-btn):not(.hero-slider-btn):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:not(.slider-btn):not(.btn-primary):not(.btn-secondary):not(.appointment-btn):hover,
a.btn:not(.slider-btn):not(.btn-primary):not(.btn-secondary):not(.appointment-btn):hover {
    background: var(--light-primary) !important;
    border-color: var(--light-primary) !important;
    color: #555555 !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-150px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(150px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 28px);
    width: 100%;
}

.navbar {
    background: var(--white);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.35rem 0;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease;
    overflow: visible;
    min-height: 92px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    height: 100%;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(107, 78, 141, 0.08);
    border: 1px solid rgba(107, 78, 141, 0.2);
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    color: #555;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lang-trigger:hover {
    background: rgba(107, 78, 141, 0.15);
    color: #6B4E8D;
}

.lang-icon {
    flex-shrink: 0;
}

.lang-current {
    min-width: 1.4em;
}

.lang-chevron {
    font-size: 0.65em;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.lang-dropdown-wrap.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    border: 1px solid rgba(107, 78, 141, 0.15);
    padding: 0.35rem;
    z-index: 1000;
    display: none;
}

.lang-dropdown-wrap.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: none;
    background: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: rgba(107, 78, 141, 0.1);
    color: #6B4E8D;
}

.lang-option.active {
    background: rgba(107, 78, 141, 0.15);
    color: #6B4E8D;
}

.language-selector:not(.lang-dropdown-wrap) .lang-btn {
    background: transparent;
    border: none;
    color: #555;
    padding: 0.45rem 0.95rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}
.lang-btn {
    background: transparent;
    border: none;
    color: #555;
    padding: 0.45rem 0.95rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

.lang-btn:hover {
    background: rgba(107, 78, 141, 0.12);
    color: #6B4E8D;
}

.lang-btn.active {
    background: #6B4E8D;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(107, 78, 141, 0.35);
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    transition: opacity 0.3s ease;
    height: 100%;
    align-self: center;
    margin-left: 0;
    margin-right: 0.5rem;
}

.logo-image {
    width: auto;
    height: 70px;
    object-fit: contain;
    object-position: left center;
    display: block;
    transition: transform 0.3s ease;
    margin: 0;
}

.logo:hover {
    opacity: 0.92;
}

.logo:hover .logo-image {
    transform: scale(1.03);
}
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex: 1;
    flex: 1;
    height: 100%;
}

.nav-menu > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    overflow-wrap: break-word;
    word-wrap: break-word;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #6B4E8D;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    display: none !important;
}
.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 300px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid #E8D5F2;
    max-height: 450px;
    overflow-y: auto;
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: var(--light-beige);
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--dark-primary);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #6B4E8D;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid #E8D5F2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.dropdown-menu a:hover {
    background: #E8D5F2;
    color: #6B4E8D;
    border-left-color: #6B4E8D;
    padding-left: 1.75rem;
}

.appointment-btn,
.online-consultation-btn {
    background: #6B4E8D !important;
    color: var(--white) !important;
    border: 2px solid #D3D3D3 !important;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.navbar-right .appointment-btn,
.navbar-right .online-consultation-btn {
    min-width: 140px;
    white-space: nowrap;
}

.appointment-btn:hover,
.online-consultation-btn:hover {
    background: #E8D5F2 !important;
    color: #6B4E8D !important;
    border-color: #E8D5F2 !important;
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.hero-root {
    width: 100%;
    position: relative;
}

.mobile-hero-extra {
    display: none;
}

.hero {
    --hero-h: clamp(460px, 74vh, 860px);
    background: rgb(248, 246, 252);
    margin-top: 70px;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    min-height: var(--hero-h);
    width: 100%;
    display: none;
    align-items: stretch;
}

@media (min-width: 768px) {
    .hero {
        display: flex !important;
    }
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    height: var(--hero-h);
    min-height: 420px;
    z-index: 1;
    overflow: hidden;
    border-radius: 0;
}

.hero-slider-wrapper * {
    box-sizing: border-box;
}

.hero-slider-track {
    display: flex;
    height: 100%;
    width: 300%;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-slider-slide {
    width: calc(100% / 3) !important;
    flex-shrink: 0 !important;
    position: relative;
    height: 100%;
    overflow: hidden !important;
    min-width: 0;
    max-width: calc(100% / 3);
}

.hero-slider-image-link {
    display: none;
}

.hero-slider-image {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative;
    background: #ece6f5;
}

.hero-slider-image .hero-slider-cta {
    pointer-events: auto;
}

.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-slider-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        118deg,
        rgba(253, 252, 251, 0.96) 0%,
        rgba(253, 252, 251, 0.72) 32%,
        rgba(232, 220, 245, 0.28) 58%,
        rgba(74, 48, 102, 0.45) 100%
    );
}

.hero-slider-text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding:
        clamp(4.75rem, 12vw, 7rem)
        clamp(1rem, 4vw, 3.5rem)
        clamp(4.25rem, 11vh, 6.25rem);
    pointer-events: none;
}

.hero-slider-text-inner {
    pointer-events: auto;
    width: min(36rem, 100%);
    max-width: 100%;
    padding: clamp(1.35rem, 3.2vw, 2rem);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(107, 78, 141, 0.12);
    box-shadow:
        0 16px 40px rgba(83, 54, 136, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.hero-slider-slide:nth-child(1) .hero-slider-text-inner {
    opacity: 0;
    animation: fadeInUp 0.75s ease 0.15s forwards;
}

.hero-slider-title {
color: #ffffff !important;
    font-size: clamp(1.65rem, 2.65vw + 0.65rem, 2.85rem);
    font-weight: 700;
    margin-bottom: 0.65rem;
    overflow-wrap: break-word;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.hero-slider-desc {
    color: rgba(92, 90, 95, 0.95) !important;
    font-size: clamp(1rem, 1.1vw + 0.82rem, 1.28rem);
    font-weight: 500;
    line-height: 1.55;
    overflow-wrap: break-word;
    margin-top: 0;
}

.hero-slider-slide:nth-child(2) .hero-slider-title,
.hero-slider-slide:nth-child(3) .hero-slider-title {
    font-weight: 600;
}

.hero-slider-slide:nth-child(2) .hero-slider-desc,
.hero-slider-slide:nth-child(3) .hero-slider-desc {
    font-weight: 450;
}

.hero-slider-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 1.2rem;
}

a.hero-slider-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.72rem 1.45rem !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: clamp(0.88rem, 0.4vw + 0.82rem, 0.96rem) !important;
    text-decoration: none !important;
    box-sizing: border-box;
}

.hero-slider-cta {
    background: #6B4E8D !important;
    color: #fff !important;
    border: 2px solid #6B4E8D !important;
    box-shadow: 0 10px 24px rgba(107, 78, 141, 0.25);
}

.hero-slider-cta:hover {
    background: #5a4278 !important;
    border-color: #5a4278 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(107, 78, 141, 0.3);
}

.hero-slider-cta-secondary {
    background: rgba(255, 255, 255, 0.98) !important;
    color: #533688 !important;
    border: 2px solid rgba(107, 78, 141, 0.4) !important;
    box-shadow: 0 2px 14px rgba(83, 54, 136, 0.08);
}

.hero-slider-cta-secondary:hover {
    background: #fff !important;
    border-color: #6B4E8D !important;
    color: #6B4E8D !important;
}

@media (max-width: 900px) {
    .hero {
        --hero-h: clamp(400px, 65vh, 560px);
    }

    .hero-slider-text-inner {
        width: min(100%, 32rem);
    }
}

@media (max-width: 767px) {
    .hero-slider-wrapper {
        min-height: 0;
        height: 0;
        overflow: hidden;
        visibility: hidden;
        position: absolute;
        pointer-events: none;
    }

    .hero {
        margin: 0;
        padding: 0 !important;
        min-height: 0;
    }
}
.hero-slider-logo-link {
    display: none !important;
}

.hero-slider-logo {
    display: none !important;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 45;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    visibility: visible;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(83, 54, 136, 0.18) !important;
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

@media (min-width: 768px) {
    .hero-slider-btn {
        display: flex !important;
    }
}

.hero-slider-btn:hover {
    background: #fff !important;
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 8px 26px rgba(83, 54, 136, 0.22) !important;
}

.hero-slider-btn:active {
    transform: translateY(-50%) scale(0.97);
}

.hero-slider-btn:focus-visible {
    outline: 2px solid #6B4E8D;
    outline-offset: 3px;
}

.hero-slider-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #533688 !important;
    fill: none;
}

.hero-slider-btn svg path {
    stroke-width: 2.5 !important;
}

.hero-slider-prev {
    left: max(0.75rem, 2vw);
}

.hero-slider-next {
    right: max(0.75rem, 2vw);
    left: auto !important;
}

.hero-slider-indicators {
    position: absolute;
    bottom: clamp(0.85rem, 3vh, 1.85rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.6rem;
    z-index: 45;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
}

@media (max-width: 767px) {
    .hero-slider-indicators {
        display: none;
    }
}

.hero-slider-indicator {
    width: 1.85rem;
    height: 0.42rem;
    border-radius: 999px;
    background: rgba(83, 54, 136, 0.28);
    border: none !important;
    cursor: pointer;
    transition:
        background 0.25s ease,
        width 0.25s ease,
        opacity 0.25s ease;
}

.hero-slider-indicator:hover {
    background: rgba(107, 78, 141, 0.55);
    opacity: 1;
}

.hero-slider-indicator.active {
    width: 2.35rem;
    background: #6b4e8d;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider-track {
        transition-duration: 0.01ms;
    }

    .hero-slider-slide:nth-child(1) .hero-slider-text-inner {
        animation: none;
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding: 100px 20px;
}

.hero::before {
    display: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary,
a.btn-primary {
    background: rgba(0, 0, 0, 0.4);
    color: var(--white);
    border: 2px solid #D3D3D3;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
    border-color: #D3D3D3;
}

.btn-secondary,
a.btn-secondary {
    background: rgba(0, 0, 0, 0.4);
    color: var(--white);
    border: 2px solid #D3D3D3;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
    border-color: #D3D3D3;
}

.hero-image {
    position: relative;
    height: 400px;
    animation: fadeIn 1s ease 0.4s both;
    z-index: 1;
}

.hero-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-primary) 0%, var(--primary-color) 100%);
    border-radius: 30px;
    opacity: 0.8;
    position: relative;
}

.hero-shape::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--beige);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    opacity: 0.5;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.section-header h2,
.team-header h2,
.about-clinic-content h2,
.blog .section-header h2,
.faq .section-header h2 {
    color: #683586 !important;
}
.section-header h2 {
    font-size: clamp(1.65rem, 2vw + 1.05rem, 2.8rem);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-header h2::after {
    display: none;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.about {
    padding: 100px 0;
    background: rgb(252, 251, 249);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.about-clinic {
    padding: 60px 0;
    background: rgb(252, 251, 249);
}

.about-clinic-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-clinic-content h2 {
    color: #683586 !important;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700 !important;
}

.about-clinic-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

/* Team Section */
.team {
    padding: 60px 0;
    background: rgb(252, 251, 249);
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 600px;
}

.team-grid-full {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 0;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 1400px;
    align-items: stretch;
}

.team-card-full {
    background: url('images/pskbg.jpg') center/cover no-repeat !important;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    border: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 180px !important;
    transition: box-shadow 0.2s ease;
    animation: none !important;
    transform: none !important;
}

.team-card-full:hover {
    box-shadow: 0 4px 16px rgba(83, 54, 136, 0.12);
    transform: none !important;
}

.team-card-full::before {
    display: none;
}

.team-card-top {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}
.team-heading {
    flex: 1;
    min-width: 0;
}
.team-heading .team-subtitle {
    margin-bottom: 0;
}

.team-image-full {
    width: 220px !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    border-radius: 8px;
    overflow: visible;
    position: relative;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    padding-bottom: 0 !important;
    margin-bottom: 0;
}
.team-card-top .team-image-full {
    margin-bottom: 0 !important;
}

.team-image-full::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(46, 134, 171, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}


.team-image-full img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    border-radius: 8px;
    transform: none;
}

#shahnoza .team-image-full img {
    object-fit: contain !important;
    object-position: center center;
}

.team-placeholder {
    font-size: 4rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--beige) 0%, var(--accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-content-full {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 0 0 0 !important;
    justify-content: flex-start !important;
    flex-grow: 1;
    text-align: left !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    width: 100% !important;
    overflow: visible;
}

.team-description {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.7;
    margin-top: 1rem;
    margin-bottom: 0;
}

.team-content-full h3,
.team-heading h3 {
    font-size: 1.9rem;
    color: #683586 !important;
    margin-bottom: 0.5rem;
    margin-top: 0;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 0;
    text-align: left;
}

.team-content-full h3::after,
.team-heading h3::after {
    display: none;
}

.team-subtitle {
    font-size: 1.05rem;
    color: #666666;
    font-weight: 500;
    margin-bottom: 0.75rem;
    margin-top: 0;
    line-height: 1.6;
    font-style: normal;
    text-align: left;
    letter-spacing: 0.3px;
}

.team-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: -2rem;
    padding-top: 1rem;
}

.team-header h2 {
    font-size: 2.5rem;
    color: #683586 !important;
    margin-bottom: 1rem;
    font-weight: 700;
}

.team-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.team-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.team-description-text {
    max-width: 400px;
    padding: 1rem;
}

.team-description-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.team-qr-section,
.team-pre-consultation-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    width: 50%;
    position: relative;
}

.team-qr-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: #E0E0E0;
}

.team-pre-consultation-section h3 {
    font-size: 1.75rem;
    color: #0A2E3F;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.team-pre-consultation-section p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 90%;
}

.team-pre-consultation-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: transparent;
    background: transparent;
    border: none;
}

.team-pre-consultation-image {
    width: 100%;
    max-width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-pre-consultation-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.team-pre-consultation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-contact-section {
    padding: 50px 0;
    background: #ffffff;
}

.team-contact-wrapper {
    display: flex;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.team-qr-section h3,
.team-pre-consultation-section h3 {
    font-size: 1.5rem;
    color: #0A2E3F;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.team-qr-section p,
.team-pre-consultation-section p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    max-width: 90%;
}

.team-qr-section .qr-code {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    padding: 0.75rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.team-qr-section .qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.slider-section {
    padding: 60px 0;
    background: var(--white);
    position: relative;
}

.slider-header {
    text-align: center;
    margin-bottom: 3rem;
}

.slider-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 700;
}

.slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    background: var(--white);
    border: 1px solid #E0E0E0;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300%;
}

.slider-slide {
    width: 33.333%;
    flex-shrink: 0;
    position: relative;
}

.slider-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}


.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(12px);
    border: 3px solid rgba(255, 255, 255, 1) !important;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--white) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    color: var(--white) !important;
    transform: translateY(-50%);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.4);
}

.slider-btn:active {
    transform: translateY(-50%);
}

.slider-btn svg {
    width: 28px;
    height: 28px;
    stroke: var(--white) !important;
    fill: none;
    transition: none;
}

.slider-btn:hover svg {
    transform: none;
    stroke: var(--white) !important;
}

.slider-prev {
    left: 24px;
}

.slider-next {
    right: 24px;
}

.slider-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background: var(--white);
    width: 32px;
    border-radius: 6px;
}

.slider-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-section {
    padding: 60px 0;
    background: var(--white);
    position: relative;
}

.slider-header {
    text-align: center;
    margin-bottom: 3rem;
}

.slider-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 700;
}

.slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    background: var(--white);
    border: 1px solid #E0E0E0;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300%;
    will-change: transform;
}

.slider-slide {
    width: 33.333333%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: none !important;
    transition: none !important;
}


.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(12px);
    border: 3px solid rgba(255, 255, 255, 1) !important;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--white) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    color: var(--white) !important;
    transform: translateY(-50%);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.4);
}

.slider-btn:active {
    transform: translateY(-50%);
}

.slider-btn svg {
    width: 28px;
    height: 28px;
    stroke: var(--white) !important;
    fill: none;
    transition: none;
}

.slider-btn:hover svg {
    transform: none;
    stroke: var(--white) !important;
}

.slider-prev {
    left: 24px;
}

.slider-next {
    right: 24px;
}

.slider-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-indicator.active {
    background: var(--white);
    border-color: var(--white);
    width: 32px;
    border-radius: 6px;
}

.btn-team-detail-toggle {
    display: inline-block;
    margin: 0 auto 1rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #212529;
    text-decoration: none;
    border: none;
    border-bottom: 2px solid #FFB6C1;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-team-detail-toggle:hover {
    background: transparent;
    color: #212529;
    border-bottom-color: #FFB6C1;
}

.team-about-text {
    color: var(--text-dark);
    line-height: 1.9;
    position: relative;
    margin-bottom: 1.5rem;
    text-align: left;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-about-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, 
        rgba(229, 229, 229, 0) 0%, 
        rgba(229, 229, 229, 0.2) 30%, 
        rgba(229, 229, 229, 0.5) 60%, 
        rgba(229, 229, 229, 0.85) 85%, 
        rgba(229, 229, 229, 1) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    filter: blur(2px);
    pointer-events: none;
}

.team-about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.team-about-text p:last-child {
    margin-bottom: 0;
}

.btn-team-detail {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: #212529;
    text-decoration: none;
    border: none;
    border-bottom: 2px solid #FFB6C1;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    z-index: 2;
    width: auto;
    align-self: center;
    cursor: pointer;
}

.btn-team-detail:hover {
    background: transparent;
    color: #212529;
    border-bottom-color: #FFB6C1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(107, 78, 141, 0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--beige) 0%, var(--accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.team-specialties span {
    background: var(--beige);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-about {
    margin-top: 1.5rem;
    background: transparent;
    color: #212529;
    border: none;
    border-bottom: 2px solid #FFB6C1;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-about:hover {
    background: transparent;
    color: #212529;
    border-bottom-color: #FFB6C1;
}

.services {
    padding: 60px 0;
    background: rgb(252, 251, 249);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    padding: 0;
    border-radius: 24px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(107, 78, 141, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(107, 78, 141, 0.15);
    border-color: rgba(107, 78, 141, 0.3);
}

.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.15s; }
.service-card:nth-child(4) { animation-delay: 0.2s; }
.service-card:nth-child(5) { animation-delay: 0.25s; }
.service-card:nth-child(6) { animation-delay: 0.3s; }
.service-card:nth-child(7) { animation-delay: 0.35s; }
.service-card:nth-child(8) { animation-delay: 0.4s; }
.service-card:nth-child(9) { animation-delay: 0.45s; }
.service-card:nth-child(10) { animation-delay: 0.5s; }
.service-card:nth-child(11) { animation-delay: 0.55s; }
.service-card:nth-child(12) { animation-delay: 0.6s; }

.service-card:hover {
    border-color: #6B4E8D;
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-image {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 24px 24px 0 0;
    background: var(--light-beige);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-image img {
    width: 100%;
    height: clamp(200px, 25vw, 240px);
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    border-radius: 24px 24px 0 0;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 24px;
    transition: all 0.4s ease;
    text-align: left;
}

.service-overlay h3 {
    font-size: 1.25rem;
    color: #333 !important;
    margin: 0 0 10px 0;
    font-weight: 700 !important;
    padding: 0;
    text-shadow: none;
    line-height: 1.4;
    width: 100%;
    text-align: left;
}

.service-overlay p {
    font-size: 0.95rem;
    color: #666 !important;
    text-shadow: none;
    margin: 0 0 15px 0;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0;
}

.service-overlay .service-link {
    left: auto;
    transform: none;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    padding: 0.5rem 1rem;
    background: transparent;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    background: transparent;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.6);
}

.service-card:hover .service-overlay .service-link {
    opacity: 1;
    transform: none;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.service-card:hover .service-overlay .service-link:hover,
.service-overlay .service-link:hover,
span.service-link:hover,
.service-image .service-overlay .service-link:hover,
.service-card .service-image .service-overlay .service-link:hover,
.service-image .service-overlay span.service-link:hover,
.service-card .service-image .service-overlay span.service-link:hover,
.service-card:hover .service-image .service-overlay span.service-link:hover,
.service-card:hover .service-image .service-overlay .service-link:hover,
.service-card:hover .service-overlay span.service-link:hover {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    border-color: transparent !important;
    color: #9B59B6 !important;
    transform: none;
    text-shadow: none;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
}

.pre-consultation {
    padding: 60px 0;
    background: #B0B0B0;
}

.pre-consultation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.pre-consultation-content h2 {
    color: #0A2E3F !important;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pre-consultation-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.qr-section-standalone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-section-standalone .qr-code {
    text-align: center;
}

.qr-section-standalone .qr-placeholder {
    width: 200px;
    height: 200px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.qr-section-standalone .qr-placeholder:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.pre-consultation-link {
    display: block;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    position: relative;
    text-decoration: none !important;
    color: transparent !important;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: none;
    background: transparent;
}

.pre-consultation-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.pre-consultation-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.pre-consultation-overlay-text {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
    background: transparent;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
    box-shadow: none;
    z-index: 2;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arrow-indicator {
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.pre-consultation-link:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pre-consultation-link:hover .pre-consultation-image {
    opacity: 0.9;
}

.pre-consultation-link:hover .pre-consultation-overlay-text {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 1);
}

.pre-consultation-link:hover .arrow-indicator {
    transform: translateX(5px);
}
.pre-consultation-dark {
    background: #1B5E7A !important;
}

.pre-consultation-dark .pre-consultation-content h2 {
    color: #0A2E3F !important;
}

.pre-consultation-dark .pre-consultation-content p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.contact-qr-section {
    background: transparent;
    border-radius: 0;
    padding: 1rem;
    text-align: center;
    box-shadow: none;
}
.pre-consultation-qr-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.pre-consultation-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.pre-consultation-dark .pre-consultation-wrapper {
    grid-template-columns: 1fr;
}

.divider-line {
    width: 1px;
    height: 100%;
    min-height: 300px;
    background: #808080;
    align-self: stretch;
}

.contact-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-qr-content {
    text-align: center;
}

.contact-qr-content h3 {
    color: #0A2E3F !important;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-qr-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.contact-qr-section .qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-qr-section .qr-image {
    width: 250px;
    height: 250px;
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    image-rendering: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.contact-qr-section h3 {
    color: #0A2E3F !important;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700 !important;
}

.contact-qr-section .qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-qr-section .qr-image {
    width: 200px;
    height: 200px;
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.contact-qr-section .qr-image:hover {
    transform: scale(1.05);
}

.contact-qr-section .qr-code p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.more-info {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-beige) 0%, var(--beige) 100%);
}

.more-info-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.more-info-wrapper h2 {
    color: #0A2E3F !important;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700 !important;
}

.more-info-wrapper > p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.more-info-qr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.more-info-qr .qr-code {
    text-align: center;
}

.more-info-qr .qr-placeholder {
    width: 250px;
    height: 250px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.more-info-qr .qr-placeholder:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.blog {
    padding: 60px 0;
    background: url("images/backgorund2.png") center/cover no-repeat;
}

.blog-carousel-wrapper {
    position: relative;
    margin-top: 3rem;
    padding: 0 60px;
}

.blog-carousel {
    overflow: hidden;
    position: relative;
}

.blog-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.blog-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #D3D3D3;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), var(--shadow-sm);
    flex: 0 0 auto;
    min-width: 440px;
    opacity: 0.85;
    transform: scale(0.98);
    position: relative;
}

.blog-card:hover {
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), var(--shadow-lg);
    opacity: 1;
    z-index: 10;
}

.blog-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    backdrop-filter: blur(10px);
    border: 2px solid var(--light-primary);
    border-radius: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    color: #555555;
}

.blog-carousel-btn:hover {
    background: var(--light-primary);
    border-color: var(--light-primary);
    color: #555555;
    transform: translateY(-50%);
}

.blog-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.blog-carousel-prev {
    left: 0;
}

.blog-carousel-next {
    right: 0;
}

.blog-carousel-btn svg {
    width: 24px;
    height: 24px;
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--beige) 0%, var(--accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image img {
    opacity: 0.5;
}

.blog-placeholder {
    font-size: 4rem;
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    color: #A0A0A0;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.75rem;
    color: #0A2E3F !important;
    font-weight: 700 !important;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.blog-read-more {
    background: linear-gradient(135deg, #4a2c6a 0%, #533688 50%, #5c3d8c 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
    margin-top: auto;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.blog-read-more:hover {
    background: linear-gradient(135deg, #533688 0%, #5c3d8c 100%);
    color: #ffffff !important;
    opacity: 0.95;
}

.contact {
    padding: 60px 0;
    background: #ffffff !important;
    height: 500px;
}

.contact-footer-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 4rem;
    align-items: start;
    margin-top: 1.2rem;
}

.contact-footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 600px;
    width: 100%;
    margin-bottom: 0.2rem !important;
    margin-right: auto;
    padding-left: 0;
    margin-top: 0.8rem;
}

.footer-logo-image {
height: 180px;
width: auto;
object-fit: contain;
margin-top: -20px;
}

.footer-logo-text {
font-size: 0.9rem;
color: #555;
line-height: 1.8;
margin: 0;
padding: 1rem 0;
width: 100%;
max-width: 280px;
word-wrap: break-word;
overflow-wrap: break-word;
hyphens: auto;
white-space: normal;
}

.contact-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    align-items: flex-start;
    margin-top: 6rem;
}

.footer-link-group h4 {
    color: #0A2E3F !important;
    font-size: 1rem;
    font-weight: 700 !important;
    margin-bottom: 1rem;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: space-between;
    height: 100%;
    align-items: flex-start;
    gap: 0.7rem;
    width: 100%;
}

.footer-link-group a {
    color: #212529;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

.footer-link-group a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-link-highlight {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.services-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem 0.8rem;
    column-gap: 1.2rem;
    max-width: 100%;
}

.psychologists-group,
.blog-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


@media (max-width: 768px) {
    .services-group {
        grid-template-columns: 1fr;
    }
    .contact .container,
    .footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-footer-wrapper {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .contact-footer-logo {
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-logo-image {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-logo-text {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }
    .contact-footer-links {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .contact-footer-links .footer-link-group:nth-child(2),
    .contact-footer-links .footer-link-group:nth-child(3) {
        display: none !important;
    }
    .contact-footer-links .footer-link-group:nth-child(1) {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-bottom: 1.5rem;
        margin-top: 0;
    }
    .contact-footer-links .footer-link-group:nth-child(1) a {
        text-align: center;
    }
    .footer-links-row,
    .footer-credit {
        width: 100%;
    }
    .footer-links-row {
        justify-content: center;
    }
    .footer-credit p {
        text-align: center;
    }
    .contact-footer-wrapper,
    .footer-links-row,
    .footer-credit {
        padding-left: 0;
        padding-right: 1rem;
        box-sizing: border-box;
    }
}


.contact-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-footer-contact h4 {
    color: #0A2E3F !important;
    font-size: 1rem;
    font-weight: 700 !important;
    margin-bottom: 0.75rem;
}
.contact-footer-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-footer-qr-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-qr-code {
    .footer-link-group {
        display: none !important;
    }
    .footer-logo-text {
        margin-bottom: 0.3rem !important;
    }
    .contact-footer-logo {
        margin-bottom: 0.3rem !important;
    }
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.contact-footer-form-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-footer-form-item h5 {
    font-size: 0.85rem;
    color: #555555;
    font-weight: 500;
    margin: 0;
}

.footer-form-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-form-image:hover {
    transform: scale(1.05);
}

.pre-consultation-link-footer {
    display: inline-block;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .contact-footer-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-footer-links {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-footer-links {
        grid-template-columns: 1fr;
        column-gap: 0;
        gap: 1.5rem;
    }
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #0A2E3F !important;
    margin-bottom: 1rem;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--light-primary);
    border-radius: 16px;
    border: 2px solid transparent;
    min-height: auto;
}

.contact-icon-wrapper {
    flex-shrink: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(107, 155, 209, 0.15);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text {
    flex: 1;
}

.contact-item h4 {
    color: #0A2E3F !important;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700 !important;
}

.contact-item p {
    color: #555555;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--dark-primary);
    text-decoration: underline;
}

.faq {
    padding: 60px 0;
    background: rgb(252, 251, 249);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .faq-item {
        max-width: 100%;
        height: auto !important;
        min-height: 72px;
        aspect-ratio: unset !important;
        border-radius: 14px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        background-image: linear-gradient(135deg, #4a2c6a 0%, #533688 50%, #5c3d8c 100%) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        transition: box-shadow 0.3s ease, transform 0.25s ease, background 0.35s ease !important;
    }
    .faq-item.active {
        background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4)), url('images/sssbg.png') !important;
        background-size: cover !important;
        background-position: center !important;
    }
    .faq-item:active {
        transform: scale(0.99) !important;
    }
    .faq-item .faq-question {
        opacity: 1 !important;
        transform: none !important;
        max-height: none !important;
        padding: 1rem 1.25rem !important;
        margin: 0 !important;
        overflow: visible !important;
        order: 1;
        transition: background-color 0.25s ease !important;
    }
    .faq-item.active .faq-question {
        background: rgba(0, 0, 0, 0.15) !important;
    }
    .faq-item .faq-question h3 {
        font-size: 1.15rem !important;
        text-align: left !important;
    }
    .faq-item .faq-answer {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        order: 2;
        max-height: 0 !important;
        padding: 0 1.25rem !important;
        overflow: hidden !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, padding 0.35s ease !important;
        opacity: 0;
    }
    .faq-item.active .faq-answer {
        max-height: 500px !important;
        padding: 0 1.25rem 1.25rem !important;
        opacity: 1 !important;
    }
    .faq-item.active .faq-question {
        opacity: 1 !important;
        transform: none !important;
    }
    .faq-item .faq-answer p {
        font-size: 0.9rem !important;
        text-align: left !important;
    }
}

.faq-item { 
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.4)), url('images/sssbg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 2px solid #6B4E8D;
    border-radius: 50% !important;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    .faq-item {
        border-radius: 14px !important;
    }
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}


.faq-question:hover {
    background: rgba(107, 78, 141, 0.1);
}

.faq-question h3 {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
    transition: all 0.4s ease;
    text-align: center;
    padding: 0 0.5rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.faq-icon {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.faq-item:hover .faq-answer,
.faq-item.active .faq-answer {
    max-height: 100%;
    opacity: 1;
    transform: translateY(0);
    padding: 1.5rem;
}

.faq-item:hover .faq-question,
.faq-item.active .faq-question {
    opacity: 0;
    transform: translateY(-100%);
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.faq-item:not(:hover):not(.active) .faq-answer {
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    padding: 0 1.5rem;
}

.faq-answer p {
    padding: 0;
    color: #ffffff !important;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    text-align: center;
    padding: 0 1rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    color: #0A2E3F !important;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700 !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.25rem;
    border: 2px solid rgba(107, 78, 141, 0.15);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(107, 78, 141, 0.1);
    transform: translateY(-2px);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
    border-color: rgba(107, 78, 141, 0.3);
}

.contact-form textarea {
    resize: vertical;
}

.qr-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--beige);
}

.qr-section h4 {
    color: var(--dark-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.qr-code {
    text-align: center;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: var(--white);
    border: 3px solid var(--accent-purple);
    border-radius: 10px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    width: 100%;
    height: 100%;
}

.qr-square {
    background: var(--dark-primary);
    border-radius: 2px;
}

.qr-code p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.forms-wrapper {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.form-tabs {
    display: flex;
    background: var(--light-beige);
    border-bottom: 2px solid var(--beige);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.tab-btn:hover {
    background: var(--beige);
    color: var(--accent-color);
}

.tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-purple);
    background: var(--white);
}

.contact-form {
    display: none;
    padding: 2.5rem;
}

.contact-form.active {
    display: block;
}

.contact-form input[type="date"],
.contact-form input[type="time"] {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--beige);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input[type="date"]:focus,
.contact-form input[type="time"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

.blog-detail-page {
    margin-top: 0;
}

.blog-detail {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.blog-detail-header {
    margin-bottom: 3rem;
    text-align: center;
}

.detail-content-bar .blog-detail-header {
    margin-bottom: 1.5rem !important;
    text-align: left !important;
}

.blog-detail-header h1 {
    font-size: 3rem;
    color: var(--dark-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.detail-content-bar .blog-detail-header h1 {
    font-size: 1.85rem !important;
    margin-bottom: 0.5rem !important;
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--beige);
    font-size: 1.1rem;
}

.blog-detail-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--beige) 0%, var(--accent-light) 100%);
    border-radius: 12px;
    margin: 1rem 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.detail-content-bar .blog-detail-image {
    height: 180px;
    margin: 0 0 1.25rem;
}

.blog-detail-content {
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 1.9;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
}

.blog-detail-content h3 {
    color: var(--dark-primary);
    margin: 2.5rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.blog-back-button {
    margin-top: 3rem;
    text-align: center;
}
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: var(--accent-color);
}
.policy-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}
.policy-modal.is-open {
    display: flex;
}
.policy-modal-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
.policy-modal-box {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}
.policy-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: none !important;
    font-size: 1.75rem;
    line-height: 1;
    color: #555;
    cursor: pointer;
    z-index: 2;
    box-shadow: none !important;
}
.policy-modal-close:hover {
    color: #000;
    background: none !important;
}
.policy-modal-content {
    padding: 2.5rem 2rem 2rem;
    overflow-y: auto;
    max-height: 80vh;
    font-size: 0.95rem;
    line-height: 1.7;
}
.policy-modal-content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #111111 !important;
}
.policy-modal-content h2 {
    font-size: 1rem;
    margin: 1.25rem 0 0.5rem;
    color: #111111 !important;
}
.policy-modal-content p, .policy-modal-content ul {
    margin-bottom: 0.75rem;
    color: #333333;
}
.policy-modal-content ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.policy-modal-content li {
    color: #333333;
    margin-bottom: 0.4rem;
}
.policy-modal-content .policy-back {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.blog-detail {
    line-height: 1.8;
}

.blog-detail-header {
    margin-bottom: 2rem;
}

.blog-detail-header h2 {
    font-size: 2.5rem;
    color: var(--dark-primary);
    margin-bottom: 1rem;
}

.blog-detail-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--beige);
}

.blog-detail-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--beige) 0%, var(--accent-light) 100%);
    border-radius: 15px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.blog-detail-content {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.9;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
}

.blog-detail-content h3 {
    color: var(--dark-primary);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.about-detail-page {
    padding: 150px 0 100px;
    margin-top: 70px;
    background: #E5E5E5;
}

.about-detail {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
    background: #808080;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.about-detail-image-wrapper {
    position: sticky;
    top: 120px;
}

.about-detail-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.about-detail-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--beige) 0%, var(--accent-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.about-detail-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.about-detail-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.about-detail-header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

.about-detail-subtitle {
    font-size: 0.75rem;
    color: #D0D0D0;
    font-weight: 400;
    font-style: italic;
    margin-top: 0.5rem;
}

.about-detail-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.9;
}

.about-detail-text p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.about-back-button {
    margin-top: 3rem;
    text-align: center;
}

.about-detail-header .about-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--beige) 0%, var(--accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.about-detail-header h2 {
    font-size: 2.5rem;
    color: var(--dark-primary);
    margin-bottom: 0.5rem;
}

.about-detail-header .about-title {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.about-detail-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.about-detail-specialties span {
    background: var(--beige);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}

.footer {
    background: #ffffff !important;
    color: #000000;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--light-beige);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(46, 134, 171, 0.1);
    }

    .nav-menu a {
        padding: 1rem 0;
        width: 100%;
    }

    .dropdown-menu {
        display: none !important;
    }
    .dropdown-toggle .dropdown-arrow {
        display: none !important;
    }

    .appointment-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }
    
    .navbar-right {
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .language-selector {
        gap: 0.3rem;
        max-width: 200px;
    }
    
    .lang-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
        min-width: 35px;
    }
    
    .appointment-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-features {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-tabs {
        flex-direction: column;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .blog-carousel-wrapper {
        padding: 0 50px;
    }
    
    .blog-carousel-btn {
        width: 45px;
        height: 45px;
    }

    .pre-consultation-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .pre-consultation-content h2 {
        font-size: 1.5rem;
    }

    .pre-consultation-content p {
        font-size: 0.9rem;
    }

    .pre-consultation-overlay-text {
        font-size: 0.85rem;
        padding: 0.5rem;
        bottom: 0.75rem;
        right: 0.75rem;
    }

    .pre-consultation-link {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .pre-consultation-qr-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .divider-line {
        width: 100%;
        height: 1px;
        min-height: 1px;
    }
    
    .contact-qr-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-qr-section .qr-image {
        width: 200px;
        height: 200px;
        max-width: 200px;
        max-height: 200px;
    }

    .more-info-wrapper h2 {
        font-size: 2rem;
    }

    .more-info-wrapper > p {
        font-size: 1rem;
    }

    .more-info-qr .qr-placeholder {
        width: 200px;
        height: 200px;
    }

    .contact-qr-section {
        padding: 0.75rem;
    }

    .contact-qr-section .qr-placeholder {
        width: 180px;
        height: 180px;
    }

    @media (max-width: 600px) {
        .blog-carousel-wrapper {
            padding: 0 40px;
        }
        
        .blog-carousel-btn {
            width: 40px;
            height: 40px;
        }
        
        .blog-carousel-btn svg {
            width: 20px;
            height: 20px;
        }
    }

    .team-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-description-text {
        max-width: 100%;
        padding: 1rem 0;
    }
    
    .team-grid-full {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .team-card-full {
        flex-direction: column !important;
    }
    
    .team-card-top {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .team-content-full {
        width: 100% !important;
        text-align: left !important;
    }
    
    .team-content-full h3,
    .team-heading h3 {
        text-align: left !important;
    }
    
    .team-subtitle {
        text-align: left !important;
    }
    
    .team-description {
        text-align: left !important;
    }
    
    .team-image-full {
        width: 150px !important;
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
        border-radius: 8px !important;
    }
    
    .team-contact-wrapper {
        flex-direction: column;
        max-width: 100%;
    }
    
    .team-qr-section,
    .team-pre-consultation-section {
        width: 100%;
    }
    
    .team-qr-section::after {
        display: none;
    }
    
    .team-qr-section {
        border-bottom: 1px solid #D3D3D3;
    }

    .team-card-full {
        min-height: auto;
    }
    
    .about-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .about-detail-image-wrapper {
        position: static;
    }
    
    .about-detail-content {
        padding: 0;
    }
    
    .about-detail-header h1 {
        font-size: 2rem;
    }
    
    .about-detail-subtitle {
        font-size: 0.65rem;
    }

    .team-content-full {
        padding: 1.5rem;
    }

    .team-heading h3 {
        font-size: 1.5rem;
    }

    .team-subtitle {
        font-size: 0.95rem;
        text-align: left !important;
    }
    
    .btn-team-detail {
        width: 100%;
        margin-top: 1.5rem;
    }

    .team-content-full h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .slider-header h2 {
        font-size: 2rem;
    }
    
    .slider-image {
        height: 350px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
}

.footer {
    background: #ffffff !important;
    padding: 0;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 120px;
    background: #ffffff;
    transform: translateY(-100%);
    z-index: -1;
}

.footer-divider {
    height: 1px;
    background: #D3D3D3;
    width: 100%;
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
     justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.footer-link {
    color: #000000;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #555555;
    text-decoration: underline;
}

.footer-links-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    padding: 1.5rem 0;
    background: #ffffff;
}

.footer-links-row .footer-link {
    color: #000000;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-row .footer-link:hover {
    color: #555555;
    text-decoration: underline;
}

.footer-sep {
    color: #999;
    font-weight: 300;
}

.footer-credit {
    text-align: center;
    padding: 1.5rem 0;
    background: #ffffff;
}

.footer-credit p {
    color: #000000;
    font-size: 0.85rem;
    margin: 0;
}

.section-divider {
    display: none;
    height: 0;
    margin: 0;
    padding: 0;
}

.policy-section {
    padding: 120px 0;
    background: var(--white);
    min-height: 80vh;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h1 {
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.policy-content .last-updated {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-content h2 {
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 1.2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.policy-content p {
    color: #333333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.policy-content ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.policy-content li {
    color: #333333;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.policy-back {
    margin-top: 3rem;
    text-align: center;
}

.btn-back {
    display: inline-block;
    background: var(--white);
    border: 2px solid #D3D3D3;
    color: #555555;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--light-primary);
    color: #555555;
    border-color: #D3D3D3;
}

.blog-detail-footer .btn-back,
.service-detail-footer .btn-back {
    background: #e8dfe9 !important;
    border-color: #d4c5d8;
    color: #2d1f45 !important;
}
.service-detail-footer .btn-appointment {
    color: #2d1f45 !important;
}
.blog-detail-footer .btn-back:hover,
.service-detail-footer .btn-back:hover {
    background: #ddd0e0 !important;
    color: #2d1f45 !important;
    border-color: #d4c5d8;
}

.detail-page {
    padding: 120px 0 100px;
    margin-top: 70px;
    background: #f0f0f0 !important;
    min-height: calc(100vh - 70px);
}

.blog-detail-container,
.service-detail-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.detail-breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    padding-right: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.detail-breadcrumb a {
    color: #683586;
    text-decoration: none;
}
.detail-breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb-sep {
    margin: 0 0.35rem;
    color: #999;
}
.breadcrumb-current {
    color: #333;
}

.detail-title-bar {
    background: linear-gradient(135deg, #3d2a52 0%, #4a3260 35%, #533688 70%, #5c3d8c 100%);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(83, 54, 136, 0.3);
    padding: 1.4rem 1.8rem;
    margin-bottom: 0.75rem;
    text-align: left;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.detail-title-bar h1 {
    font-size: 2.25rem !important;
    color: #ffffff !important;
    margin: 0 0 1rem 0 !important;
    font-weight: 700 !important;
    text-align: left;
    letter-spacing: 0.02em;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
.detail-date-in-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #111111;
    padding: 0.42rem 0.72rem;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 8px;
    margin-top: 0.25rem;
    margin-left: 0;
}

.detail-date-in-bar::before {
    content: none;
}

.detail-date-icon {
    color: #111111;
    font-size: 0.9rem;
    line-height: 1;
}

.detail-date-sep {
    color: #555555;
}

.detail-date-author {
    color: #111111;
    font-weight: 500;
}

@media (max-width: 768px) {
    .detail-title-bar h1 {
        font-size: 1.5rem !important;
        line-height: 1.35;
    }
    .detail-title-bar {
        padding: 1.5rem 1rem;
    }
    .detail-breadcrumb {
        padding-left: 1rem;
    }
}
.detail-date-row {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 1rem 0;
    padding-left: 0.25rem;
}

.detail-bar-text .blog-detail-content h2,
.detail-bar-text .blog-detail-content h3,
.detail-bar-text .service-detail-content h2,
.detail-bar-text .service-detail-content h3 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #683586 !important;
    margin-top: 1.75rem !important;
    margin-bottom: 0.75rem !important;
    text-align: left;
    letter-spacing: 0.02em;
    line-height: 1.35;
}
.detail-bar-text .blog-detail-content h2:first-child,
.detail-bar-text .service-detail-content h2:first-child {
    margin-top: 0 !important;
}
.detail-bar-text .blog-detail-content p,
.detail-bar-text .service-detail-content p {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    line-height: 1.85;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
.detail-bar-text .blog-detail-content h2,
.detail-bar-text .blog-detail-content h3,
.detail-bar-text .service-detail-content h2,
.detail-bar-text .service-detail-content h3 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
.detail-page-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) 200px;
    gap: 1rem;
    align-items: start;
    width: calc(100% + 140px);
    margin-left: 10px;
}
.detail-main {
    min-width: 0;
}
.detail-sidebar,
.detail-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 300px;
    margin-left: 35px;
}
.sidebar-block {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.sidebar-other-cards.sidebar-block {
    padding: 1.5rem;
}
.sidebar-title {
    font-size: 1rem;
    color: #683586;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-list li {
    margin-bottom: 0.5rem;
}
.sidebar-list a {
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
}
.sidebar-list a:hover {
    color: #683586;
    text-decoration: underline;
}

.btn-pre-consultation-sidebar {
    display: block;
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: #683586;
    color: #fff !important;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s;
}
.btn-pre-consultation-sidebar:hover {
    background: #533688;
    color: #fff !important;
    transform: translateY(-1px);
}

.sidebar-other-cards .sidebar-cards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sidebar-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    color: #333;
    border: 1px solid #eee;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.sidebar-card:hover {
    box-shadow: 0 4px 16px rgba(83, 54, 136, 0.15);
    border-color: #683586;
    color: #333;
}
.sidebar-card img {
    width: 96px;
    height: 96px;
    min-width: 96px;
    object-fit: cover;
    display: block;
}
.sidebar-card span {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    padding: 0.75rem 1rem 0.75rem 0;
}

.detail-content-bar {
    background: #ffffff !important;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    overflow: visible;
    padding: 0.72rem 2.65rem 0.62rem !important; 
    display: block !important;
    width: calc(100% + 60px);
    margin-right: -60px;
    margin-left: -28px;
}

.detail-content-bar .detail-bar-text {
    padding: 0 !important;
}
.detail-content-bar:not(:has(.detail-bar-header)) .detail-bar-text {
    margin-top: 0;
}

.detail-bar-text {
    min-width: 0 !important;
    display: block !important;
    color: #777777; 
    font-size: 0.9rem;
    line-height: 1.42;
}

.detail-bar-text p {
    margin-bottom: 0.45rem;
}

.detail-bar-text .blog-detail-content h2,
.detail-bar-text .blog-detail-content h3,
.detail-bar-text .service-detail-content h2,
.detail-bar-text .service-detail-content h3 {
    margin-top: 0.95rem !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.2 !important;
}

.detail-bar-text h2,
.detail-bar-text h3,
.detail-bar-text h4 {
    color: #4b3a65;
    font-weight: 600;
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.detail-bar-text h2 {
    font-size: 1.6rem;
}

.detail-bar-text h3 {
    font-size: 1.3rem;
}

.detail-bar-text h4 {
    font-size: 1.1rem;
}

.detail-bar-text ul,
.detail-bar-text ol {
    margin: 0 0 1.4rem 1.5rem;
    padding: 0;
    color: #4b3a65;
}

.detail-bar-text li {
    margin-bottom: 0.5rem;
}

.detail-bar-text strong {
    color: #5f3b8a;
    font-weight: 600;
}

.blog-detail-page .detail-bar-text blockquote {
    border-left: 4px solid #7c5ab3;
    padding-left: 1.25rem;
    margin: 1.8rem 0;
    color: #4b3a65;
    font-style: italic;
}

.detail-bar-text .blog-detail-content,
.detail-bar-text .service-detail-content {
    width: 100%;
}

.detail-side-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.detail-side-image {
    min-height: 280px;
}
.detail-side-image img {
    width: 100% !important;
    height: auto !important;
    min-height: 300px;
    object-fit: cover !important;
    display: block !important;
}

.detail-side-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 900px) {
    .detail-page-layout {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }
    .detail-sidebar {
        display: contents !important;
    }
    .detail-side-image {
        order: -1;
    }
    .detail-main {
        order: 0;
    }
    .detail-sidebar .btn-pre-consultation-sidebar {
        order: 1;
    }
    .detail-sidebar .sidebar-block {
        order: 2;
    }
    .detail-sidebar .detail-side-actions {
        order: 3;
    }
    .detail-page-layout > .detail-side-image,
    .detail-page-layout > .btn-pre-consultation-sidebar,
    .detail-page-layout > .sidebar-block,
    .detail-page-layout > .detail-side-actions {
        width: 100%;
        max-width: 100%;
    }
    .detail-side-image img {
        min-height: 200px;
    }
}

.blog-detail-page {
    line-height: 1.8;
}

.blog-detail-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e8dfe9;
    text-align: left;
}
.service-detail-page {
    line-height: 1.8;
}

.service-detail-header {
    margin-bottom: 3rem;
    text-align: center;
}

.detail-content-bar .service-detail-header {
    margin-bottom: 1.5rem !important;
    text-align: left !important;
}

.service-detail-header h1 {
    font-size: 3rem;
    color: var(--dark-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.detail-content-bar .service-detail-header h1 {
    font-size: 1.85rem !important;
    margin-bottom: 0.5rem !important;
}

.service-detail-description {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--beige);
    font-style: italic;
}

.detail-content-bar .service-detail-description {
    margin-bottom: 1rem !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.service-detail-content {
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 1.9;
}

.service-detail-content p {
    margin-bottom: 1.5rem;
}

.service-detail-content h3 {
    color: var(--dark-primary);
    margin: 2.5rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.service-detail-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e8dfe9;
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
}

.error-message h2 {
    color: var(--dark-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.error-message p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-appointment {
    display: inline-block;
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-appointment:hover {
    background: var(--dark-primary);
    border-color: var(--dark-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
    .detail-page {
        padding: 120px 0 60px;
    }
    
    .blog-detail-container,
    .service-detail-container {
        padding: 0 1rem;
    }
    
    .blog-detail-header h1,
    .service-detail-header h1 {
        font-size: 2rem;
    }
    
    .blog-detail-meta,
    .service-detail-description {
        font-size: 1rem;
    }
    
    .blog-detail-content,
    .service-detail-content {
        font-size: 1rem;
    }
    
    .service-detail-footer {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .blog-detail-footer .btn-back,
    .service-detail-footer .btn-back,
    .service-detail-footer .btn-appointment {
        width: auto;
        text-align: left;
    }
}

.service-overlay .service-link,
.service-image .service-overlay .service-link,
.service-card .service-image .service-overlay .service-link,
.service-overlay span.service-link,
span.service-link,
.service-card a .service-overlay .service-link,
.services-grid .service-card .service-overlay .service-link {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: color 0.3s ease !important;
}
.service-overlay .service-link:hover,
.service-image .service-overlay .service-link:hover,
.service-card .service-image .service-overlay .service-link:hover,
.service-overlay span.service-link:hover,
span.service-link:hover,
.service-card:hover .service-overlay .service-link:hover,
.service-card:hover .service-image .service-overlay .service-link:hover,
.service-card a:hover .service-overlay .service-link:hover,
.services-grid .service-card:hover .service-overlay .service-link:hover,
.service-card:hover .service-overlay span.service-link:hover {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    color: #9B59B6 !important;
    text-decoration: none !important;
}

@media (max-width: 767px) {
  .about-clinic-content h2 {
    margin-top: 120px !important;
    font-size: 2rem !important;
    text-align: center !important;
    color: #683586 !important;
  }
}
@media (min-width: 768px) {
  .about-clinic-content h2 {
    margin-top: 0 !important;
    font-size: 2.5rem !important;
    color: #533688 !important;
  }
}
.navbar .container,
.navbar .nav-bar-inner {
  position: relative;
}

@media (max-width: 1024px) {
  .blog-carousel-wrapper {
    padding: 0 !important;
  }
  .blog-carousel {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    overflow: visible !important;
    position: static !important;
  }
  .blog-carousel-track {
    display: contents !important;
    gap: 0 !important;
    transition: none !important;
    will-change: auto !important;
  }
  .blog-card {
    min-width: unset !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
    cursor: pointer !important;
  }
  .blog-carousel-btn, .blog-slider-indicators {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .blog-carousel {
    grid-template-columns: 1fr !important;
  }
}
@media (min-width: 1025px) {
  .blog-carousel {
    display: block !important;
    overflow: hidden !important;
  }
  .blog-carousel-track {
    display: flex !important;
    gap: 2rem !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
}
.blog-carousel {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  overflow: visible !important;
  position: static !important;
}
.blog-carousel-track {
  display: contents !important;
  gap: 0 !important;
  transition: none !important;
  will-change: auto !important;
}
.blog-card {
  min-width: unset !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: var(--shadow-sm) !important;
  cursor: pointer !important;
}
.blog-carousel-btn, .blog-slider-indicators {
  display: none !important;
}
@media (max-width: 1024px) {
  .blog-carousel {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 600px) {
  .blog-carousel {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 768px) {
  .navbar,
  .nav-menu,
  .nav-menu a {
    pointer-events: auto !important;
  }
  .nav-menu.active {
    pointer-events: auto !important;
  }
}
.hamburger span {
  background: #6B4E8D !important;
}
@media (max-width: 767px) {
  .mobile-hero-extra {
    position: relative;
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    display: block;
    margin-bottom: 0 !important;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .mobile-hero-bg {
    width: 100vw;
    max-width: 100%;
    display: block;
    border-radius: 0 0 32px 32px;
    object-fit: cover;
    min-height: 280px;
    height: clamp(280px, 52vw, 420px);
  }

  .mobile-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-end;
    padding-bottom: 3rem;
    background: rgba(255,255,255,0.15);
    text-align: left;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
 
  .mobile-hero-title {
    color: #533688 !important;
    font-size: clamp(1.75rem, 5.5vw, 2.25rem);
    font-weight: 700;
    z-index: 2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    text-shadow: none;
    text-align: left !important;
    margin: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    max-width: 500px !important;
  }
  .mobile-hero-desc {
    color: #9e9e9e !important;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 400;
    background: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    border-radius: 12px;
    padding: 8px 0 0 0 !important;
    margin: 0 !important;
    box-shadow: none;
    text-align: left !important;
    padding-left: 0 !important;
    width: 100% !important;
    max-width: 500px !important;
    line-height: 1.55;
  }
  .mobile-hero-btns {
    display: none !important;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    z-index: 2;
  }
  .mobile-hero-btn {
    display: inline-block !important;
    background: #6B4E8D !important;
    color: var(--white) !important;
    border: 2px solid #D3D3D3 !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .mobile-hero-btn:hover {
    background: #E8D5F2 !important;
    color: #6B4E8D !important;
    border-color: #E8D5F2 !important;
  }
}
@media (max-width: 767px) {
  .mobile-hero-btns {
    display: flex !important;
  }
}
@media (min-width: 768px) {
  .mobile-hero-extra { display: none !important; }
}
.about-clinic-content h2 {
    margin-top: 0 !important;
}
@media (max-width: 1024px) {
  .navbar-right .appointment-btn,
  .navbar-right .online-consultation-btn,
  .navbar-right .appointment-btn.online-consultation-btn {
    display: none !important;
  }
  .navbar-right {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }
}

.policy-content h1,
.policy-modal-content h1 {
  color: #2f2f2f !important;
  font-size: 1.25rem !important;
}

.policy-content h2,
.policy-modal-content h2 {
  color: #2f2f2f !important;
  font-size: 0.95rem !important;
}

.policy-content p,
.policy-modal-content p {
  color: #2f2f2f !important;
  font-size: 0.86rem !important;
  line-height: 1.65 !important;
}

.policy-content li,
.policy-modal-content li {
  color: #2f2f2f !important;
  font-size: 0.86rem !important;
  line-height: 1.65 !important;
}

.policy-content ul,
.policy-modal-content ul {
  font-size: 0.86rem !important;
}

.policy-content ul,
.policy-modal-content ul {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* ---- Mega menu (hizmetler) + navbar tablet ---- */
.navbar .nav-bar-inner,
.navbar .container.nav-bar-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.nav-mega .mega-nav-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
}

.nav-mega .mega-nav-title {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-mega .mega-nav-title:hover {
  color: #6b4e8d;
}

.mega-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.45rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
}

.mega-nav-toggle-icon {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-mega.nav-mega-open .mega-nav-toggle-icon {
  transform: rotate(180deg);
}

.nav-mega .mega-services-panel {
  display: none;
}

.mega-panel-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 28px);
  padding-right: clamp(16px, 4vw, 28px);
}

.mega-panel-lead {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.mega-services-layout {
  display: grid;
  grid-template-columns: minmax(9.75rem, 17%) minmax(12rem, 1fr) minmax(10.5rem, 30%);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: stretch;
  width: 100%;
}

.mega-services-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.15rem 0.6rem 0.15rem 0;
  border-right: 1px solid rgba(107, 78, 141, 0.12);
  min-width: 0;
}

.mega-services-brand {
  margin: 0;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
  color: #362747;
  letter-spacing: -0.02em;
}

.mega-services-lead {
  margin: 0 !important;
  font-size: 0.8rem !important;
  line-height: 1.45;
  color: var(--text-light) !important;
  max-width: 15rem;
}

.mega-services-main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.mega-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(0.65rem, 1.5vw, 1.1rem);
  row-gap: 0.15rem;
  max-height: 14.25rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 0.3rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(107, 78, 141, 0.35) transparent;
}

.mega-services-grid::-webkit-scrollbar {
  width: 5px;
}

.mega-services-grid::-webkit-scrollbar-thumb {
  background: rgba(107, 78, 141, 0.28);
  border-radius: 99px;
}

.mega-service-link {
  display: block;
  padding: 0.36rem 0.28rem;
  border-radius: 8px;
  text-decoration: none !important;
  color: #4a3760 !important;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.32;
  transition: background 0.15s ease, color 0.15s ease;
  border: 1px solid transparent;
  overflow-wrap: break-word;
}

.mega-service-link:hover,
.mega-service-link:focus-visible {
  background: rgba(107, 78, 141, 0.09);
  color: #2d1f3d !important;
  outline: none;
}

.mega-service-link-text {
  display: block;
}

.mega-services-preview-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.mega-services-preview-frame {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(155deg, #e8dff5 0%, #faf7ff 55%, #f0eaf8 100%);
  box-shadow:
    inset 0 0 0 1px rgba(107, 78, 141, 0.11),
    0 8px 22px rgba(83, 54, 136, 0.08);
  aspect-ratio: 16 / 10;
  max-height: min(15rem, 28vh);
}

.mega-services-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.mega-services-preview-img--fade {
  opacity: 0.35;
}

.mega-see-all {
  display: inline-block;
  margin-top: 0.15rem;
  font-weight: 600;
  font-size: 0.86rem;
  color: #6b4e8d !important;
  text-decoration: none;
}

.mega-see-all:hover {
  text-decoration: underline;
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .mega-services-layout {
    grid-template-columns: minmax(8.5rem, 16%) minmax(11rem, 1fr) minmax(9.5rem, 28%);
  }

  .mega-services-grid {
    max-height: 13rem;
  }
}

@media (min-width: 1025px) {
  .nav-mega {
    position: static;
    height: 100%;
  }

  .nav-mega .mega-services-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: 92px;
    z-index: 12001;
    background: var(--white);
    border-bottom: 1px solid rgba(107, 78, 141, 0.12);
    box-shadow: 0 14px 40px rgba(83, 54, 136, 0.14);
    padding: 0.75rem 0 0.9rem;
  }

  .nav-mega:hover .mega-services-panel,
  .nav-mega:focus-within .mega-services-panel {
    display: block !important;
  }

  .mega-services-panel:focus-within {
    display: block !important;
  }
}

@media (max-width: 1024px) {
  .nav-mega .mega-nav-toggle {
    display: inline-flex;
    margin-left: 0;
  }

  .nav-mega .mega-services-panel {
    display: none;
    padding: 0 0 0.75rem 0 !important;
  }

  .mega-services-layout {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .mega-services-aside {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.65rem 1.25rem;
    padding: 0 0 0.65rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(107, 78, 141, 0.1);
  }

  .mega-services-lead {
    flex: 1 1 12rem;
    max-width: none;
  }

  .mega-services-preview-wrap {
    order: 2;
  }

  .mega-services-main {
    order: 3;
  }

  .mega-services-preview-frame {
    max-height: min(12rem, 42vw);
    aspect-ratio: 21 / 9;
  }

  .mega-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(16rem, 48vh);
  }

  .nav-mega.nav-mega-open > .mega-services-panel {
    display: block !important;
  }

  .dropdown.dropdown-open-mobile > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    margin-top: 0 !important;
    max-height: none !important;
    box-shadow: none !important;
    border: none !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0.25rem 0 0.5rem 0 !important;
  }

  .nav-mega:hover > .mega-services-panel {
    display: none !important;
  }

  .nav-mega.nav-mega-open:hover > .mega-services-panel {
    display: block !important;
  }

  .breadcrumb-mid[hidden] {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .mega-services-grid {
    grid-template-columns: 1fr;
  }

  .mega-services-aside {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-right .appointment-btn,
  .navbar-right .online-consultation-btn {
    font-size: 0.82rem !important;
    padding: 0.45rem 0.75rem !important;
  }
}

/* SSS tek sayfası (akordeon) + anasayfa CTA */
#faq-standalone-body .faq-standalone-main {
  padding: calc(92px + 1.65rem) 0 3.25rem;
  min-height: 48vh;
}

.faq-standalone-breadcrumb {
  margin-bottom: 1.25rem;
}

.faq-standalone-header {
  margin-bottom: 1.65rem;
  max-width: 720px;
}

.faq-standalone-header h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #362747;
  font-weight: 700;
}

.faq-standalone-accordion {
  max-width: 720px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-acc-item {
  border: 1px solid rgba(107, 78, 141, 0.2);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(83, 54, 136, 0.07);
}

.faq-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  color: #402e55;
  text-align: left;
  transition: background 0.15s ease;
}

.faq-acc-trigger:hover {
  background: rgba(107, 78, 141, 0.06);
}

.faq-acc-chevron {
  flex-shrink: 0;
  font-size: 0.65rem;
  color: #6b4e8d;
  transition: transform 0.22s ease;
}

.faq-acc-item.faq-acc-open .faq-acc-chevron {
  transform: rotate(180deg);
}

.faq-acc-panel {
  padding: 0 1.15rem 1.05rem;
  color: var(--text-dark);
  line-height: 1.62;
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-acc-item.faq-acc-open .faq-acc-panel {
  border-top-color: rgba(107, 78, 141, 0.1);
  padding-top: 0.35rem;
}

.faq-acc-panel[hidden] {
  display: none !important;
}

.faq-acc-panel p {
  margin: 0;
}

.faq-standalone-back {
  text-align: center;
  margin-top: 0.5rem;
}

.faq-home-cta-section {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 55%);
}

.faq-home-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.faq-home-cta-inner h2 {
  margin: 0 0 0.65rem;
  color: #362747;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.faq-home-cta-inner .section-subtitle {
  margin-bottom: 1.35rem;
}

.faq-home-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  background: linear-gradient(135deg, #6b4e8d, #8360a8);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(83, 54, 136, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.faq-home-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(83, 54, 136, 0.28);
}
#site-preloader { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #ffffff; z-index: 999999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
body.loaded #site-preloader { opacity: 0; visibility: hidden; }

/* New Header Styles */
.navbar {
    background: #ffffff;
    padding: 15px 0;
}
.nav-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-image {
    height: 70px;
    width: auto;
}
.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-search-btn, .header-lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.header-search-btn:hover, .header-lang-btn:hover {
    transform: scale(1.1);
}
.hamburger-new {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}
.hamburger-new span {
    display: block;
    width: 30px;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

/* Fullscreen Menu Overlay */
.fs-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    color: #fff;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fs-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.fs-menu-container {
    width: 90%;
    max-width: 1200px;
    position: relative;
}
.fs-menu-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #222;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.fs-menu-close:hover {
    background: rgba(255,255,255,0.2);
}
.fs-menu-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.fs-menu-left {
    flex: 2;
}
.fs-menu-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 40px;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.fs-menu-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}
.fs-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fs-menu-links li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.fs-menu-num {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.3);
}
.fs-menu-links a {
    color: #222;
    text-decoration: none;
    font-size: 3rem;
    font-weight: 700;
    transition: color 0.3s, transform 0.3s;
    display: block;
}
.fs-menu-links a:hover {
    color: #9B59B6;
    transform: translateX(10px);
}
.fs-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #ccc;
}
.fs-info-item i {
    font-style: normal;
    background: rgba(255,255,255,0.05);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fs-btn {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    transition: 0.3s;
}
.fs-btn:hover {
    background: #ccc;
}
.fs-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.fs-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Language Modal */
.lang-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.lang-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lang-modal {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    max-width: 800px;
    width: 90%;
    transform: translateY(30px);
    transition: 0.4s;
}
.lang-modal-overlay.active .lang-modal {
    transform: translateY(0);
}
.lang-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
}
.lang-modal h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #000;
}
.lang-modal p {
    color: #666;
    margin-bottom: 40px;
}
.lang-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
}
.lang-card {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px 20px;
    text-decoration: none;
    color: #000;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lang-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: #ddd;
    transform: translateY(-5px);
}
.lang-card.tr-card {
    background: #0a0a0a;
    color: #fff;
}
.lang-card.tr-card .lang-region {
    color: rgba(255,255,255,0.5);
}
.lang-map {
    font-size: 5rem;
    margin-bottom: 20px;
}
.lang-region {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 10px;
}
.lang-card h3 {
    font-size: 2rem;
    margin: 0;
}

@media(max-width: 768px) {
    .fs-menu-content {
        flex-direction: column;
        gap: 20px;
    }
    .fs-menu-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 20px;
    }
    .fs-menu-links a {
        font-size: 2rem;
    }
    .lang-cards {
        flex-direction: column;
    }
}
/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.search-overlay.active { display: flex; }
.search-container {
    width: 90%;
    max-width: 800px;
    position: relative;
    text-align: center;
}
.search-close {
    position: absolute;
    top: -60px; right: 0;
    background: none; border: none;
    font-size: 40px; cursor: pointer;
    color: #222;
}
.search-box {
    position: relative;
    border-bottom: 2px solid #6B4E8D;
    margin-bottom: 30px;
}
.search-box input {
    width: 100%;
    border: none;
    background: none;
    padding: 15px 40px 15px 0;
    font-size: 24px;
    outline: none;
    font-family: 'Inter', sans-serif;
}
.search-box i {
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #6B4E8D;
}
.search-results {
    max-height: 50vh;
    overflow-y: auto;
    text-align: left;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #222;
    transition: background 0.3s;
}
.search-result-item:hover { background: #f8f8f8; }
.search-result-item img {
    width: 60px; height: 60px;
    border-radius: 8px;
    object-fit: cover;
}
.search-result-info h4 { margin: 0 0 5px 0; color: #6B4E8D; }
.search-result-info p { margin: 0; font-size: 14px; color: #666; }

/* Responsive Visibility */
.mobile-only-flex { display: none !important; }
@media (max-width: 1024px) {
    .desktop-only-icon { display: none !important; }
    .mobile-only-flex { display: flex !important; }
    .fs-menu-mobile-actions {
        margin-top: 30px;
        gap: 15px;
    }
    .fs-menu-mobile-actions button {
        flex: 1;
        padding: 12px;
        border: 1px solid #ddd;
        background: #fff;
        border-radius: 8px;
        font-size: 14px;
        cursor: pointer;
    }
}

/* FS Menu FontAwesome Adjustments */
.fs-menu-links a i {
    width: 30px;
    color: #6B4E8D;
    font-size: 0.8em;
    margin-right: 10px;
}

/* Preloader Styles */
#site-preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
body.loaded #site-preloader {
    opacity: 0;
    visibility: hidden;
}


/* Mega Menu - Sabit Pozisyon */
.nav-mega { position: relative !important; }
.mega-panel {
position: fixed !important;
top: 70px !important;
left: 0 !important;
right: 0 !important;
width: 100% !important;
background: #fff !important;
border-radius: 0 0 20px 20px !important;
box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
opacity: 0 !important;
visibility: hidden !important;
transform: translateY(-10px) !important;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
padding: 24px 0 !important;
border: none !important;
border-bottom: 1px solid rgba(107, 78, 141, 0.1) !important;
z-index: 9999 !important;
}
.nav-mega:hover .mega-panel {
opacity: 1 !important;
visibility: visible !important;
transform: translateY(0) !important;
}
.mega-services-layout {
display: flex !important;
flex-direction: column !important;
gap: 20px !important;
max-width: 1200px !important;
margin: 0 auto !important;
padding: 0 24px !important;
}
.mega-services-aside { display: none !important; }
.mega-services-preview-wrap { display: none !important; }
.mega-services-main { width: 100% !important; }
.mega-services-grid {
display: flex !important;
flex-wrap: wrap !important;
gap: 8px 12px !important;
justify-content: flex-start !important;
}
.mega-service-link {
display: inline-block !important;
padding: 10px 18px !important;
border-radius: 10px !important;
color: #444 !important;
text-decoration: none !important;
transition: all 0.2s !important;
font-size: 14px !important;
background: #f8f5ff !important;
border: 1px solid #e8e0f0 !important;
white-space: nowrap !important;
}
.mega-service-link:hover {
background: #6B4E8D !important;
color: #fff !important;
transform: none !important;
border-color: #6B4E8D !important;
}
.mega-see-all { display: none !important; }

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .container { width: 95% !important; padding: 0 15px !important; }
    .navbar { padding: 10px 0 !important; }
    .logo-image { height: 50px !important; }
    .fs-menu-links a { font-size: 1.8rem !important; }
    .fs-menu-content { flex-direction: column !important; gap: 20px !important; }
    .fs-menu-right { padding: 0 !important; border: none !important; }
}

/* FINAL RESPONSIVE & STYLE FIXES */
html, body {
overflow-x: hidden !important;
width: 100% !important;
position: relative !important;
}

.fs-menu-overlay {
background-color: #ffffff !important;
background: rgba(255, 255, 255, 0.99) !important;
}

.fs-menu-overlay .fs-menu-links a,
.fs-menu-overlay .fs-menu-label,
.fs-menu-overlay .fs-menu-num,
.fs-menu-overlay .fs-info-item span,
.fs-menu-overlay .fs-menu-close {
color: #222 !important;
}

.fs-menu-overlay .fs-menu-num {
color: rgba(0,0,0,0.2) !important;
}

.fs-menu-overlay .fs-menu-label {
color: rgba(0,0,0,0.4) !important;
}

.fs-menu-overlay i {
color: #6B4E8D !important;
}

.fs-menu-close {
background: rgba(0,0,0,0.05) !important;
}

/* Mobile Alignment Fixes */
@media (max-width: 768px) {
.hero-content h1 { font-size: 2rem !important; }
.hero-content p { font-size: 1rem !important; }
.section-title { font-size: 1.8rem !important; }
.nav-menu { display: none !important; } /* Hide desktop menu */
.navbar-right { gap: 10px !important; }
.logo-image { height: 80px !important; }

/* Fix potential grid overflows */
.services-grid, .blog-grid, .team-grid {
grid-template-columns: 1fr !important;
gap: 20px !important;
}
}
