:root {
    --primary: #4A7033;
    --primary-light: #658E4A;
    --primary-dark: #355322;
    --secondary: #C8D9BB;
    --accent: #E3EBD4;
    
    /* Premium Gold accents */
    --gold: #C5A880;
    --gold-light: #DFD0BD;
    --gold-dark: #A58455;
    
    --text-dark: #F9FAFB;
    --text-muted: #9CA3AF;
    --text-light: #111827;
    
    --bg-main: #020C10;
    --bg-light: #061820;
    --bg-dark: #010609;
    
    --border-radius: 12px;
    --border-radius-lg: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    
    --glass-bg: rgba(6, 24, 32, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}
html {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    color: var(--accent);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--gold) 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-light) !important;
    box-shadow: 0 4px 14px rgba(135, 173, 109, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(135, 173, 109, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--gold-light));
}

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

.btn-secondary:hover {
    background-color: rgba(197, 168, 128, 0.08);
    color: var(--gold-light);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

.grid {
    display: grid;
    gap: 32px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(2, 12, 16, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 72px !important;
    object-fit: contain !important;
    filter: brightness(1.5) contrast(1.1);
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .logo img {
        height: 55px !important;
    }
}

.menu-icon {
    color: var(--primary);
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
}

/* Dropdown styling */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-toggle i,
.nav-item-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background-color: rgba(6, 24, 32, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
}

/* Arrow indicator on the top of the dropdown menu */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: rgba(6, 24, 32, 0.95);
    border-left: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.dropdown-item:hover {
    color: var(--gold-light);
    background-color: rgba(255, 255, 255, 0.04);
    padding-left: 24px;
}

.dropdown-item.active {
    color: var(--gold) !important;
    background-color: rgba(255, 255, 255, 0.06);
    font-weight: 600;
}

@media (min-width: 1025px) {
    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(4px);
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link.btn-primary {
    color: var(--text-light) !important;
}

.nav-link:not(.btn-primary):hover {
    color: var(--gold-light);
}

.nav-link.active {
    color: var(--gold) !important;
    font-weight: 600;
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .nav-links {
        gap: 16px;
    }
    .nav-link {
        font-size: 0.9rem;
    }
    .nav-link.btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--accent);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, var(--bg-main) 50%, var(--bg-light) 50%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-glass {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    background: var(--glass-bg);
    opacity: 0.5;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 32px;
    box-shadow: var(--shadow-lg);
}

.stat h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat p {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(197, 168, 128, 0.15);
    border-color: var(--gold);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--bg-main);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.service-card:hover .card-icon {
    background: var(--gold);
    color: var(--bg-main);
    transform: rotate(5deg) scale(1.08);
}

.footer-links h2 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.info-block h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Treatments / Surgeries */
.treatment-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

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

.treatment-item {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
}

.treatment-item:hover {
    box-shadow: 0 12px 30px rgba(197, 168, 128, 0.15);
    transform: translateY(-5px) scale(1.01);
    border-color: var(--gold);
}

.treatment-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.treatment-image h3 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.treatment-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.treatment-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
    align-self: flex-start;
}

.link-arrow:hover {
    gap: 12px;
    color: var(--primary);
}

.treatment-actions {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.mission-points {
    margin-top: 32px;
}

.mission-points p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.mission-points i {
    color: var(--primary);
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
}

.img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

/* Contact */
.contact-section {
    background: linear-gradient(135deg, var(--bg-main), var(--primary-dark));
    color: var(--text-dark);
}

.contact-container {
    display: flex;
    gap: 40px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    flex: 1;
}

.contact-info h2 {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info > p {
    margin-bottom: 40px;
    color: var(--text-muted);
}

.info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-block.stat .stat-number {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.info-block i {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-top: 4px;
}

.info-block h3 {
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.info-block p {
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--glass-border);
}

.contact-form-wrapper h2 {
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: var(--accent);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-main);
    color: var(--text-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(135, 173, 109, 0.2);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-muted);
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
}

.text-white {
    color: var(--accent) !important;
}

.footer-links h2 {
    color: var(--accent);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-legal {
    width: 100%;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .about-container, .contact-container {
        flex-direction: column;
    }

    .hero {
        background: var(--bg-main);
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        display: contents;
    }
    
    .hero-title {
        order: 1;
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        order: 2;
    }
    
    .hero-visual {
        order: 3;
        width: 100%;
        height: 400px;
        margin-bottom: 20px;
    }
    
    .hero-actions {
        order: 4;
        width: 100%;
    }
    
    .about-image {
        width: 100%;
    }
    
    .contact-info, .contact-form-wrapper {
        width: 100%;
    }
    
    .hero-glass {
        bottom: 20px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) scale(0.85);
        transform-origin: bottom center;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-light);
        flex-direction: column;
        padding: 24px 20px;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--glass-border);
        gap: 16px;
        align-items: center;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }

    .nav-item-dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-toggle {
        justify-content: center;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background-color: rgba(255, 255, 255, 0.02);
        border: none;
        border-left: 2px solid var(--primary);
        border-radius: 0;
        padding: 8px 0;
        margin-top: 10px;
        min-width: 100%;
        box-shadow: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .dropdown-item:hover {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100dvh;
        height: 100dvh;
        padding-top: 80px;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 100%;
        gap: 10px;
    }

    .hero-title {
        font-size: 2.3rem;
        margin-bottom: 5px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .hero-visual {
        flex: 1;
        width: 100%;
        height: auto;
        min-height: 0;
        margin-bottom: 15px;
    }
    
    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        width: 100%;
    }

    .hero-actions .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        flex: 1;
        min-width: 140px;
        text-align: center;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .treatment-actions {
        flex-direction: column;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}

/* Patient Education Accordion */
.accordion-container {
    text-align: left;
    margin-bottom: 40px;
}
.category-heading {
    margin: 40px 0 20px;
    font-size: 1.8rem;
    color: var(--primary);
    border-bottom: 2px solid var(--accent-light);
    padding-bottom: 10px;
}
.accordion-group {
    background: var(--bg-hover);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--accent-light);
}
.accordion-item {
    border-bottom: 1px solid var(--accent-light);
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.accordion-header:hover {
    background: rgba(0, 115, 172, 0.05); /* very light primary */
}
.accordion-header[aria-expanded="true"] {
    color: var(--primary);
}
.accordion-icon {
    transition: transform 0.3s ease;
}
.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--bg-main);
}
.accordion-inner {
    padding: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}
.accordion-inner p {
    margin-bottom: 15px;
}
.accordion-inner img.legacy-img {
    display: block;
    margin: 20px auto;
}

.medical-list {
    margin-left: 20px;
    padding-left: 15px;
    list-style-type: disc;
    margin-bottom: 20px;
}
.medical-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Clinic Info Map Link Animation */
.clinic-info-link {
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius, 12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clinic-info-link:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(135, 173, 109, 0.3);
}

.clinic-info-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.clinic-info-link:hover .clinic-info-img {
    transform: scale(1.05);
}

/* Social Media Cards */
.social-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 40px;
}

.social-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
    text-decoration: none;
}

.social-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(197, 168, 128, 0.15);
    border-color: var(--gold);
}

.social-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
    color: white;
}

.social-card.linkedin .social-icon { background-color: #0077b5; }
.social-card.facebook .social-icon { background-color: #1877f2; }
.social-card.instagram .social-icon { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-card.twitter .social-icon { background-color: #1DA1F2; }
.social-card.youtube .social-icon { background-color: #ff0000; }
.social-card.clinic-platform .social-icon { background-color: var(--primary-dark); }

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.social-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.social-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Compact Social Page Layout for Mobile */
@media (max-width: 768px) {
    .compact-social-page .social-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .compact-social-page .social-card {
        padding: 12px 15px;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: 
            "icon title"
            "icon desc";
        column-gap: 15px;
        row-gap: 2px;
        text-align: left;
        align-items: center;
    }
    
    .compact-social-page .social-icon {
        grid-area: icon;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin: 0;
        flex-shrink: 0;
    }
    
    .compact-social-page .social-card h3 {
        grid-area: title;
        font-size: 1rem;
        margin: 0;
        line-height: 1.2;
        align-self: end;
    }
    
    .compact-social-page .social-card p {
        grid-area: desc;
        font-size: 0.75rem;
        margin: 0;
        line-height: 1.3;
        align-self: start;
    }
}

/* Accessibility & E-A-T Enhancements */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.author-attribution {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.legal-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
    text-align: center;
}

.trust-badges {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.trust-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    box-shadow: 0 4px 10px rgba(135, 173, 109, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(135, 173, 109, 0.5);
}

/* Visually hidden for screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Treatment image refactor */
.treatment-image {
    position: relative;
    padding: 0;
    display: block;
    height: 250px;
}
.treatment-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.treatment-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
}
.treatment-image h3 {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 3;
    margin: 0;
    color: white;
}

/* Enhanced stat sizing for mobile */
@media (max-width: 768px) {
    .stat-patients {
        font-size: 1.7rem !important;
        font-weight: 700;
        white-space: nowrap;
    }
    .stat-patients-label {
        font-size: 0.85rem !important;
        font-weight: 600;
    }
}

/* Micro-Animations & Glow Effects */
@keyframes float-animation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
.hero-visual img {
    animation: float-animation 6s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-visual {
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
    opacity: 0;
}
