/* 
   Vita Estetik - Premium Style
   Theme: White (#FFFFFF) & Blue (#005EB8)
*/

:root {
    --brand: #005EB8;
    --ink: #0B0B0B;
    --ink-muted: rgba(11, 11, 11, 0.72);

    /* Mapped Legacy Variables */
    --primary-color: var(--brand);
    --primary-light: #0077E6;
    --primary-dark: #004485;
    --white: #FFFFFF;
    --text-color: var(--ink);
    --text-light: var(--ink-muted);
    --bg-light: #F8F9FA;
    --border-color: #EEEEEE;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --font-display: "Playfair Display", serif;
    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --font-main: var(--font-sans);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    height: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Premium rendering */
    padding-top: 80px;
    /* Space for fixed header */
    min-height: 100%;
    position: relative;
}

/* Typography System Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    /* Changed from Playfair Display */
    color: var(--ink);
    font-weight: 700;
    /* Bold */
    letter-spacing: -0.3px;
    line-height: 1.2;
}

p {
    color: var(--ink-muted);
    font-weight: 400;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 100px 0;
    /* Increased from 5rem (80px) to 100px for desktop */
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
        /* Mobile spacing */
    }
}

/* Global Section Separator */
.section-separator {
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 94, 184, 0.4), transparent);
    margin: 0 auto;
    border-radius: 2px;
    display: block;
}

.section-title {
    font-family: var(--font-sans);
    /* Changed from Playfair Display */
    font-size: 2.5rem;
    font-weight: 700;
    /* Balanced weight */
    text-align: center;
    margin-bottom: 3rem;
    color: var(--ink);
    letter-spacing: -0.5px;
}

/* Buttons (Glossy Blue Gradient) */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #2d8fe5, #005EB8);
    /* Lighter to Royal Blue */
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 94, 184, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    /* Glossy top highlight */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 94, 184, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 94, 184, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* Removed text styles as it is now an image */
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
    transform: scale(2.5);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .logo img {
        height: 48px;
        transform: scale(1.8);
        /* Bigger logo on mobile */
        margin-right: 0;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.btn {
    color: var(--white);
    padding: 10px 24px;
}

/* Navbar Hover Animation (Task 3) */
.nav-link:not(.btn) {
    position: relative;
    display: inline-block;
}

.nav-link:not(.btn)::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--brand);
    /* Blue color */
    transform-origin: left;
    /* Starts from left */
    transition: transform 0.25s ease;
    /* 200-250ms ease */
    border-radius: 2px;
}

.nav-link:not(.btn):hover::after,
.nav-link:not(.btn):focus::after {
    transform: scaleX(1);
}



.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

/* Mobile Navigation Close Button */
.nav-close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--ink);
    z-index: 1002;
    transition: all 0.3s ease;
}

.nav-close-btn:hover {
    color: var(--brand);
    transform: rotate(90deg);
}

.nav-close-btn svg {
    display: block;
}

/* Mobile Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
}

/* Mobile Navigation Styles */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        padding: 80px 30px 40px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav-close-btn {
        display: none;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-list li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
    }

    .nav-link.btn {
        display: inline-block;
        text-align: center;
        width: 100%;
    }

    /* Hamburger animation when active */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(0, 94, 184, 0.05), transparent 70%);
    margin-top: -80px;
    /* Offset the body padding */
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/anasayfa.svg") no-repeat center bottom;
    background-size: cover;
    opacity: 0.50;
    pointer-events: none;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero::before {
        opacity: 0.06;
        background-size: 95% auto;
        background-position: center;
    }
}

@media (max-width: 640px) {
    .hero::before {
        opacity: 0.50;
        background-position: 80% center;
        background-size: cover;
    }
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--ink);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}



.hero-desc {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Visual Area */
.visual-area {
    padding: 0;
}

.visual-placeholder {
    height: 500px;
    background-color: #F0F4F8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* =========================
   PROCESS TIMELINE (Stepper)
========================= */
.process {
    background: var(--white);
    padding: 6rem 0;
}

.process-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Stepper Container */
.process-stepper {
    display: flex;
    align-items: flex-start;
    /* Align to top to control vertical pos */
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
}

/* Step Button */
.step-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    width: 90px;
    padding: 0;
}

/* Circle Icon - Glossy Gradient */
.step-circle {
    width: 60px;
    /* Standardize size */
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.step-btn:hover .step-circle {
    transform: translateY(-4px);
    border-color: rgba(0, 94, 184, 0.5);
    box-shadow: 0 8px 20px rgba(0, 94, 184, 0.12);
}

/* Active State */
.step-btn.is-active .step-circle {
    background: linear-gradient(135deg, #2d8fe5, #005EB8);
    /* Same as Primary Button */
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.15), 0 8px 20px rgba(0, 94, 184, 0.4);
    /* Glow */
    transform: scale(1.05);
}

/* Completed State */
.step-btn.is-complete .step-circle {
    background: linear-gradient(135deg, #2d8fe5, #005EB8);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

/* Icons */
.step-icon,
.step-check {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
    color: var(--ink-muted);
}

.step-btn.is-active .step-icon,
.step-btn.is-complete .step-icon {
    color: white;
    /* White on blue */
}

.step-check {
    position: absolute;
    opacity: 0;
    transform: scale(0.5);
    color: white;
}

.step-btn.is-complete .step-icon {
    opacity: 0;
    transform: scale(0.5);
}

.step-btn.is-complete .step-check {
    opacity: 1;
    transform: scale(1);
}

/* Connector Line - Centered */
.step-line {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    /* Default subtle gray/blue */
    margin: 30px 5px 0;
    /* Top margin = (Circle Height 60px / 2) - (Line Height 3px / 2) = 30 - 1.5 = ~28.5px. Round to 29 or 30. Let's try 29px. */
    margin-top: 29px;
    position: relative;
    border-radius: 3px;
    border: none;
    overflow: hidden;
}

/* Line Progress Fill */
.step-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2d8fe5, #005EB8);
    transition: width 0s;
}

.step-line.is-filling::after {
    width: 100%;
    transition: width 4.5s linear;
    /* Match slide duration */
}

.step-line.is-complete::after {
    width: 100%;
    transition: none;
}

.step-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-muted);
    transition: all 0.3s;
    text-align: center;
}

.step-btn.is-active .step-title {
    color: var(--brand);
    font-weight: 700;
}

.step-btn.is-complete .step-title {
    color: var(--brand);
}

/* Keyframes */
@keyframes iconPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Panel / Card Content */
.process-panel {
    outline: none;
}

.process-card {
    background: var(--white);
    border: 1px solid rgba(0, 94, 184, 0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 32px;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    align-items: center;
}

.card-badge {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 94, 184, 0.1);
    line-height: 1;
    flex-shrink: 0;
}

.card-content {
    flex-grow: 1;
}

.card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--ink);
    margin-bottom: 12px;
    font-weight: 500;
}

.card-desc {
    color: var(--ink-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Dots */
.process-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E0E0E0;
    transition: 0.3s;
}

.dot.active {
    background: var(--brand);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 980px) {

    /* Mobile Process Stepper - Single Centered Icon Refinement */
    .process-stepper {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 0;
        /* Vertical breathing room */
        position: relative;
        overflow: visible;
        /* Prevents shadow clipping */
        gap: 0;
        margin: 20px 0;
    }

    /* Hide individual step buttons by default on mobile */
    .step-btn {
        display: none !important;
        width: auto;
        padding: 0;
    }

    /* Show only the active step */
    .step-btn.is-active {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        flex: 0 0 auto;
        z-index: 5;
    }

    /* Hide redundant step-lines on mobile */
    .process-stepper .step-line {
        display: none;
    }

    /* Decorative side lines matching the "systematic" look */
    .process-stepper::before,
    .process-stepper::after {
        content: '';
        flex: 1;
        height: 2px;
        background: #e2e8f0;
        margin-top: 36px;
        /* Center of 72px circle */
    }

    /* Refined active icon circle */
    .step-btn.is-active .step-circle {
        width: 72px;
        height: 72px;
        margin: 0 15px 12px;
        box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.15), 0 12px 30px rgba(0, 94, 184, 0.3);
        border-width: 3px;
        background: linear-gradient(135deg, #2d8fe5, #005EB8);
        border-color: transparent;
        transform: scale(1.1);
        /* Slight emphasis */
    }

    .step-btn.is-active .step-icon svg {
        width: 32px;
        height: 32px;
        color: white;
    }

    /* Doctor Stats Mobile Fix */
    .doctor-stats-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .stat-box {
        flex: 1 1 calc(50% - 15px);
        min-width: 140px;
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .process-card {
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    .card-badge {
        font-size: 2rem;
        width: 100%;
        text-align: center;
    }

    .card-content {
        width: 100%;
    }

    .card-desc {
        margin: 0 auto;
        font-size: 0.95rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    /* Process dots for navigation on mobile */
    .process-dots {
        margin-top: 20px;
    }

    .process-dots .dot {
        width: 10px;
        height: 10px;
        cursor: pointer;
    }
}





/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #F8FBFF;
    /* Very light blue tint */
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #FFD700;
    /* Gold standard for stars, but could be primary if strict */
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.author {
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    text-align: right;
}

/* Press */
.press-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.press-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #999;
}

/* FAQ Accordion */
/* FAQ Accordion Premium Redesign */
.accordion {
    max-width: 920px;
    /* 15% increase from 800px */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Space between items */
}

.accordion-item {
    background: var(--white);
    border: 1px solid #E5E9F2;
    /* Subtle border */
    border-radius: 24px;
    /* More rounded/elliptical */
    transition: all 0.3s ease;
    overflow: hidden;
    /* Contains the body content */
}

.accordion-item:hover {
    border-color: #D6E0EA;
    box-shadow: 0 4px 20px rgba(0, 94, 184, 0.06);
    /* Soft blue elegant shadow */
}

.accordion-header {
    width: 100%;
    padding: 22px 32px;
    /* Optimized padding */
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    /* Explicitly 600 */
    /* Reduced font weight */
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    /* Consistent font */
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-header.active {
    color: var(--primary-color);
    /* #005EB8 accent */
    padding-bottom: 12px;
    /* Slight adjustment when open */
}

/* Icon using CSS Pseudo-element (Chevron) */
.accordion-header::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 15px;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.accordion-header.active::after {
    transform: rotate(-135deg);
    /* Flips up */
    opacity: 1;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother bezier */
}

.accordion-inner {
    padding: 0 32px 28px 32px;
    /* Matches header alignment */
}

.accordion-inner p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
    /* Optimized line-height */
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(150deg, #005EB8, #004485);
    /* Premium Blue Gradient */
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.footer-col h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    display: inline-block;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
}

/* UI-04: Footer Link Hover - White & Subtle Glow (No Blur) */
.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    /* Subtle White Glow */
    transform: translateX(2px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00C853, #009624);
    /* Standard WA colors, but user asked for blue gradient if possible? No wait, "mavi gradient" was for buttons/CTA, user said "Sağ altta WhatsApp floating buton (mavi gradient)" specifically in the request. */
    /* Wait, user specifically asked for BLUE GRADIENT for whatsapp too in the first prompt: "Sağ altta WhatsApp floating buton (mavi gradient)" */
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 94, 184, 0.4);
    z-index: 9999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 94, 184, 0.5);
}

.footer-logo-img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    margin-bottom: 2rem;
    transform: scale(1.5);
    transform-origin: left center;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
    /* Make logo white */
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem;
        transition: 0.4s ease-in-out;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav-list .btn {
        width: 100%;
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .timeline::before {
        display: none;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Toast (beyaz + Vita mavi) */
.toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%) translateY(18px);
    background: #fff;
    color: #0b1b2a;
    border: 1px solid rgba(0, 94, 184, .25);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
    border-radius: 14px;
    padding: 12px 16px;
    max-width: min(560px, calc(100vw - 32px));
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 99999;
}

.toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}



/* =========================
   FAQ SECTION (User Requested Larger)
========================= */
.faq-container {
    max-width: 1060px;
    /* ~15% larger than 900px */
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(0, 94, 184, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.accordion-header {
    width: 100%;
    padding: 24px 32px;
    background: transparent;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.15rem;
    /* Larger font */
    color: var(--ink);
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--brand);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.accordion-header[aria-expanded="true"] {
    color: var(--brand);
}

.accordion-header[aria-expanded="true"] .icon {
    transform: rotate(45deg);
    /* + turns into x */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 32px;
}

.accordion-content p {
    padding-bottom: 24px;
    color: var(--ink-muted);
    font-size: 1.05rem;
    /* Larger body text */
    line-height: 1.8;
}

.faq-cta {
    margin-top: 48px;
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #F8FBFF, #E6F0FA);
    border-radius: 20px;
    border: 1px solid rgba(0, 94, 184, 0.1);
}

.faq-cta-text {
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-main {
    background-color: var(--brand);
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 94, 184, 0.25);
}

.btn-main:hover {
    background-color: #004c94;
    transform: translateY(-2px);
}

/* =========================
   SERVICE MODAL
========================= */
.service-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    margin-bottom: 1.5rem;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 94, 184, 0.85);
    /* Brand blue overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.overlay-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-card:hover .overlay-text {
    transform: translateY(0);
}

/* Dialog/Modal Styling */
dialog.service-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    max-width: 100vw;
    max-height: 100vh;
    z-index: 9999;
}

dialog::backdrop {
    background: rgba(11, 27, 43, 0.7);
    backdrop-filter: blur(5px);
}

.modal-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: 1px solid #eee;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    z-index: 10;
    transition: 0.2s;
}

.modal-close:hover {
    background: #f1f1f1;
    color: red;
}

.modal-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--brand);
}

.modal-body {
    padding: 30px 40px;
    overflow-y: auto;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}



.modal-section {
    margin-bottom: 30px;
}

.modal-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--ink);
    border-left: 4px solid var(--brand);
    padding-left: 12px;
}

.check-list li,
.step-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 24px;
    color: var(--ink-muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: bold;
}

.step-list {
    counter-reset: step;
}

.step-list li {
    padding-left: 32px;
}

.step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--brand);
    color: white;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.dot-list li {
    display: inline-block;
    background: #f3f4f6;
    padding: 6px 16px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 0.9rem;
}

.modal-footer {
    padding: 20px 40px;
    border-top: 1px solid #eee;
    background: #f9fafb;
    text-align: center;
}

/* =========================
   CONTACT & FOOTER
========================= */
.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-list li {
    font-size: 1.1rem;
    color: var(--ink-muted);
}

.contact-list strong {
    color: var(--brand);
}

.footer {
    background-color: var(--brand);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

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

.footer h3,
.footer h4 {
    color: white;
    margin-bottom: 24px;
    font-weight: 700;
    transition: 0.3s;
}

.footer h3:hover,
.footer h4:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 255, 255, 0.5);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    transition: 0.3s;
}

.footer-desc:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-links a:hover {
    color: white;
    padding-left: 5px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 15px;
}

.icon-svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.9);
    /* White icons */
    transition: 0.3s;
}

.icon-svg:hover {
    color: white;
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding-top: 25px;
    color: white;
    /* Enforce white */
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Floating WhatsApp Button (Green) */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.wa-icon {
    width: 36px;
    height: 36px;
}

/* Animations */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-whatsapp {
    animation: pulse-green 2s infinite;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .press-grid {
        grid-template-columns: 1fr;
    }



    .modal-content {
        max-height: 100vh;
        border-radius: 0;
    }

    .faq-container {
        width: 100%;
    }
}

/* =========================
   PREMIUM DOCTOR SECTION
========================= */
.doctor-section {
    background: #fff;
    overflow: hidden;
}

.doctor-container {
    display: flex;
    align-items: center;
    /* Center vertically specifically for image vs content balance */
    gap: 60px;
    max-width: 1200px;
}

.doctor-image-wrapper {
    flex: 0 0 45%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Soft premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.doctor-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.doctor-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.doctor-label {
    display: inline-block;
    background: linear-gradient(135deg, #005EB8, #004c94);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 94, 184, 0.2);
}

.doctor-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.1;
    font-weight: 700;
}

.doctor-underline {
    width: 60px;
    height: 3px;
    background: var(--brand);
    margin: 16px 0;
    border-radius: 2px;
}

.doctor-specialty {
    font-size: 1.1rem;
    color: var(--ink-muted);
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.doctor-bio-card {
    background: #fcfdfe;
    border: 1px solid rgba(0, 94, 184, 0.08);
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.doctor-bio-card p {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.7;
}

.doctor-bio-card p:last-child {
    margin-bottom: 0;
}

.expertise-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.expertise-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
    list-style: none;
    margin-bottom: 40px;
    padding: 0;
}

.expertise-list li {
    position: relative;
    padding-left: 18px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 500;
}

.expertise-list li::before {
    content: "•";
    color: var(--brand);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -6px;
    line-height: 1;
}

.doctor-stats-row {
    display: flex;
    gap: 20px;
}

.stat-box {
    background: linear-gradient(145deg, #F0F5FA 0%, #fff 100%);
    border: 1px solid rgba(0, 94, 184, 0.1);
    border-radius: 12px;
    padding: 20px 30px;
    min-width: 160px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--brand);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-number .plus {
    font-size: 1.4rem;
    vertical-align: super;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--ink-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Response for Doctor */
@media (max-width: 900px) {
    .doctor-container {
        flex-direction: column;
        gap: 40px;
    }

    .doctor-image-wrapper {
        width: 100%;
        max-width: 500px;
    }

    .doctor-content {
        width: 100%;
    }

    .expertise-list {
        grid-template-columns: 1fr;
    }
}

/* =========================
   PREMIUM CONTACT SECTION
========================= */
.contact-header-info {
    text-align: center;
    margin-bottom: 50px;
}

.contact-details-row {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    background: #fff;
    padding: 16px 32px;
    border-radius: 999px;
    /* Pill */
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.detail-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand);
    background: rgba(0, 94, 184, 0.08);
    /* light blue pill */
    padding: 4px 10px;
    border-radius: 4px;
}

.detail-value {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.detail-value:hover {
    color: var(--brand);
}

.contact-form-grid {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    width: 100%;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    margin-left: 4px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--ink);
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.form-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 10px;
}

.btn-whatsapp-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #2d8fe5, #005EB8);
    /* Standardized Gradient */
    /* Brand Blue */
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 48px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 94, 184, 0.25);
}

.btn-whatsapp-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 94, 184, 0.35);
}

@media (max-width: 600px) {
    .contact-details-row {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        border-radius: 16px;
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form-grid {
        padding: 24px;
    }
}

/* Press Button Polish */
.press-actions {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle separation */
}

#load-more-press {
    min-width: 200px;
}

/* =========================
   CLINIC VISUAL CAROUSEL
========================= */
.clinic-carousel-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fff 0%, #f1f5f9 100%);
    overflow: hidden;
    /* Prevent horizontal scroll */
}

.clinic-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    perspective: 1000px;
}

.carousel-viewport {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    width: 100%;
    /* Transformation handled by JS */
    cursor: grab;
    touch-action: pan-y;
    will-change: transform;
    position: relative;
    /* Essential for accurate JS offsetLeft calc */
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-slide {
    flex: 0 0 60%;
    /* Show neighbor parts */
    max-width: 800px;
    margin: 0 20px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    opacity: 0.5;
    transform: scale(0.92);
    filter: blur(2px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background: #e2e8f0;
    aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 85%;
        margin: 0 10px;
    }
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 40px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.carousel-slide.active .slide-overlay {
    opacity: 1;
    transform: translateY(0);
}

.slide-overlay h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-overlay p {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* Nav Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 94, 184, 0.3);
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #004c94;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 94, 184, 0.5);
}

.prev-btn {
    left: 5%;
}

.next-btn {
    right: 5%;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    /* Light gray */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot-btn:hover {
    background: #94a3b8;
}

.dot-btn.active {
    background: var(--brand);
    width: 24px;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .carousel-btn {
        display: none;
    }

    /* Swipe only */
    .slide-overlay h3 {
        font-size: 1.5rem;
    }
}

/* =========================
   Services Cards (Reference Style)
========================= */
.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 992px) {
    .services-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.svc-card {
    background: var(--white);
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 94, 184, 0.1);
}

.svc-card-img {
    height: 200px;
    overflow: hidden;
    background: #eef2f6;
}

.svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.svc-card:hover .svc-card-img img {
    transform: scale(1.03);
}

.svc-card-body {
    padding: 20px;
    position: relative;
}

.svc-accent {
    width: 40px;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
    margin-bottom: 12px;
}

.svc-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
}

.svc-desc {
    font-size: 0.95rem;
    color: var(--ink-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.svc-list {
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
}

.svc-list li {
    position: relative;
    padding-left: 16px;
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin-bottom: 6px;
    line-height: 1.4;
}

.svc-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: bold;
}

.svc-more {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--brand);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.svc-more:hover {
    color: #004c94;
    text-decoration: underline;
}

/* =========================
   Service Card Hover Overlay
========================= */
.service-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    height: 200px;
    background: #eef2f6;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.overlay-text {
    display: inline-block;
    background: linear-gradient(135deg, #2d8fe5, #005EB8);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 94, 184, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover .overlay-text {
    transform: translateY(0);
}

.overlay-text:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 94, 184, 0.5);
}

/* Service Card Body Styles (Reference Design) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.service-card {
    background: var(--white);
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 94, 184, 0.1);
}

/* Service Media (Image Area) */
.service-media {
    height: 240px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #eef2f6;
}

.service-media .service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.service-card:hover .service-media .service-img {
    transform: scale(1.03);
}

.service-body {
    padding: 24px;
    text-align: left;
}

.service-accent {
    width: 40px;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
    margin-bottom: 16px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 10px;
    text-align: left;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--ink-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin-bottom: 8px;
    line-height: 1.5;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: bold;
    font-size: 1.1rem;
}

/* =========================     PRESS SECTION (NEW)     ========================= */
.press-bg {
    background-color: #F8FBFF;

}

.press-container {
    padding-bottom: 2rem;

}

/* Grid Layout (Desktop) */
/* Initially,
 we rely on the generic 'row'  or 'grid'  logic,
 but let's be specific */
.press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    transition: all 0.3s ease;

}

/* Card Design */
.press-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;

}

.press-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 94, 184, 0.15);

}

/* Card Image Area */
.press-media {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16: 9 Aspect Ratio */
    overflow: hidden;

}

.press-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;

}

.press-card:hover .press-img {
    transform: scale(1.05);

}

/* Source Pill */
.press-source-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;

}

/* Card Content */
.press-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;

}

.press-category {
    font-size: 0.8rem;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;

}

.press-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 12px;
    /* 2 Line Clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
    /* Fallback for height stability */
}

.press-summary {
    font-size: 0.95rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    /* 2 Line Clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    /* Push bottom row down */
}

/* Bottom Row: Date + CTA */
.press-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: auto;

}

.press-date {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;

}

.press-cta {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;

}

.press-card:hover .press-cta {
    gap: 10px;
    text-decoration: underline;

}

/* Toggle Logic */
.press-grid .press-card[data-hidden="true"] {
    display: none;

}

/* Mobile Slider (Scroll Snap) */
@media (max-width: 991px) {
    .press-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 30px;
        /* Space for scrollbar/shadow */
        -webkit-overflow-scrolling: touch;
        margin-right: -20px;
        /* Bleed effect */
        padding-right: 20px;

    }

    .press-card {
        min-width: 300px;
        max-width: 300px;
        scroll-snap-align: start;
        flex-shrink: 0;

    }

    /* Hide scrollbar but keep functionality */
    .press-grid::-webkit-scrollbar {
        height: 6px;

    }

    .press-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;

    }

    /* Slider Controls (Mobile Only) */
    .press-mobile-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;

    }

    .press-arrow-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: white;
        border: 1px solid #eee;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        color: var(--brand);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2;

    }

    .press-dots {
        display: flex;
        gap: 8px;

    }

    .press-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        transition: 0.3s;

    }

    .press-dot.active {
        background: var(--brand);
        width: 24px;
        border-radius: 4px;

    }


}

@media (min-width: 992px) {
    .press-mobile-controls {
        display: none;

    }


}



/* --- Language Switcher (Premium) --- */

/* Language Switcher Refinement */
.lang-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 94, 184, 0.15);
    border-radius: 50%;
    /* Circle if possible or compact pill */
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    color: var(--ink);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    min-width: 0;
    width: auto;
}

.lang-switch {
    margin-inline-start: 20px;
    position: relative;
    z-index: 1001;
    /* Ensure above other elements */
}

/* Flag Icon - Ensure round and cover */
.fi {
    width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    border-radius: 50%;
    object-fit: cover;
    background-position: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.lang-text {
    display: none;
}

.lang-arrow {
    width: 8px;
    color: var(--brand);
    opacity: 0.8;
}

/* Restored Dropdown Styles */
.lang-btn[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-end: 0;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 180px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.lang-item:hover {
    background: rgba(0, 94, 184, 0.04);
    color: var(--brand);
}

.lang-item.active {
    background: rgba(0, 94, 184, 0.08);
    color: var(--brand);
    font-weight: 700;
}

.lang-item .fi {
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
}

/* Mobile Responsiveness for Menu */
@media (max-width: 992px) {
    .lang-item .fi {
        width: 24px !important;
        height: 24px !important;
    }

    .lang-menu {
        inset-inline-end: -10px;
        width: 160px;
        top: calc(100% + 5px);
    }
}

/* RTL Support Logic */

html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

html[dir="rtl"] .lang-switch {
    margin-inline-start: 20px;
}

/* Fix dropdown alignment in RTL */
html[dir="rtl"] .lang-menu {
    left: 0;
    right: auto;
    text-align: right;
}

html[dir="rtl"] .lang-arrow {
    margin-right: 4px;
    margin-left: 0;
}

/* General RTL Fixes for Content */
html[dir="rtl"] .doctor-underline,
html[dir="rtl"] .service-body .service-accent {
    margin-left: auto;
    margin-right: 0;
}

html[dir="rtl"] .check-list li {
    padding-right: 24px;
    padding-left: 0;
}

html[dir="rtl"] .check-list li::before {
    right: 0;
    left: auto;
}

/* Remove Google Translate Hacks - Cleaned up */

/* Google Translate Client-Side Hiding */
/* -------------------------------------------------------------
   Language Switcher & Google Translate Overrides (New System)
   ------------------------------------------------------------- */

/* 1. Hide Google Translate Standard UI */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-te-gadget-simple,
#google_translate_element,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

body {
    top: 0 !important;
    position: static !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

iframe[id^=":"] {
    display: none !important;
}

/* 2. Custom Language Switcher UI */
.lang-switcher {
    position: relative;
    margin-left: 20px;
    z-index: 1001;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: unset;
}

.lang-btn:hover,

.lang-switch.active .lang-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.2);
}

.caret {
    width: 10px;
    height: 10px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.caret-icon {
    width: 10px;
    height: 10px;
}

.lang-switch.active .caret,
.lang-switch.active .caret-icon {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    /* Stronger shadow */
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    /* Wider for names */
    z-index: 1002;
}

.lang-switch.active .lang-menu {
    display: flex;
}

.lang-item {
    background: transparent;
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left */
    gap: 10px;
    transition: background 0.2s;
    width: 100%;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.lang-item:hover {
    background: #f5f5f5;
}

.lang-item.active {
    background: #eef2f6;
    color: var(--brand, #005EB8);
}

/* Flag Icons */
/* Flag Icons (IMG Based) */
.flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
}

/* Specific classes not needed for IMG tags */
.flag-tr,
.flag-en,
.flag-de,
.flag-ar {
    background-image: none;
}

/* Mobile Tweaks */
@media (max-width: 992px) {
    .lang-switch {
        margin-left: auto;
        margin-right: 60px;
        position: absolute;
        top: 24px;
        right: 0;
    }
}

/* RTL Support for Dropdown */
html[dir="rtl"] .lang-menu {
    left: 0;
    right: auto;
}

/* =========================
   MOBILE OPTIMIZATION ( <480px )
========================= */
@media (max-width: 480px) {

    /* 1. Reset & Global Layout */
    html,
    body {
        overflow-x: hidden;
        /* Prevent side scroll */
    }

    .container {
        padding: 0 16px;
        /* standard mobile gutter */
    }

    /* 2. Typography */
    h1.hero-title {
        font-size: 2rem !important;
        /* Smaller hero title */
        line-height: 1.2;
    }

    h2.section-title,
    .doctor-title {
        font-size: 1.75rem !important;
        /* Smaller section headers */
    }

    /* 3. Hero Section */
    .hero-content {
        padding-top: 100px;
        /* Adjust for fixed header */
        padding-bottom: 60px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* 4. Service Cards */
    .services-grid,
    .services-grid-v2 {
        grid-template-columns: 1fr;
        /* Force 1 col */
        gap: 20px;
    }

    .service-media,
    .service-img-wrapper {
        height: 180px;
        /* constant mobile height */
    }

    /* 5. Doctor Section */
    .doctor-container {
        gap: 30px;
        padding-bottom: 20px;
    }

    .doctor-bio-card {
        padding: 20px;
    }

    /* 6. Process Stepper (already handled in 980px block) */


    /* 7. Carousel Adjustments */
    .clinic-carousel-section {
        padding: 40px 0;
    }

    .slide-overlay {
        padding: 40px 20px 20px;
        /* tighter padding */
    }

    .slide-overlay h3 {
        font-size: 1.5rem;
    }

    /* 8. Footer & Contact */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .contact-form-grid {
        padding: 20px;
        border-radius: 16px;
    }
}