/* ===================================
   APOP - Association of Pediatric Ophthalmology Pakistan
   Custom Stylesheet
   =================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Deep Teal & Emerald inspired by Pakistan's heritage */
    --color-primary: #0d6e6e;
    --color-primary-dark: #0a5555;
    --color-primary-light: #14a3a3;
    
    /* Accent Colors - Warm Gold */
    --color-accent: #d4a03c;
    --color-accent-light: #f0c95c;
    --color-accent-dark: #b8892f;
    
    /* Neutral Colors */
    --color-dark: #1a2e35;
    --color-text: #2d3e45;
    --color-text-light: #5a6b73;
    --color-border: #d8e0e3;
    --color-bg: #f8fafb;
    --color-bg-alt: #eef3f5;
    --color-white: #ffffff;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-dark);
    border-color: var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===================================
   TOP BAR
   =================================== */
.top-bar {
    background: var(--color-dark);
    color: var(--color-white);
    font-size: 0.8125rem;
    padding: var(--space-sm) 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: var(--space-lg);
    opacity: 0.9;
}

.top-bar-right {
    display: flex;
    gap: var(--space-lg);
}

.top-bar-right a {
    color: var(--color-white);
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.top-bar-right a:hover {
    opacity: 1;
    color: var(--color-accent-light);
}

/* ===================================
   HEADER
   =================================== */
.header {
    background: var(--color-white);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-primary);
}

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

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    max-width: 180px;
    line-height: 1.3;
}

/* Main Navigation */
.main-nav > ul {
    display: flex;
    gap: var(--space-xl);
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: var(--space-sm) 0;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a:focus::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: -1rem;
    min-width: 220px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

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

.dropdown a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.dropdown a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
    padding-left: 1.75rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: all var(--transition-fast);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a3d3d 50%, var(--color-primary-dark) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--color-accent) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--color-primary-light) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-text {
    max-width: 650px;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: var(--space-xl);
}

.hero-title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.2s; }
.hero-title-line:nth-child(2) { animation-delay: 0.4s; }
.hero-title-line:nth-child(3) { animation-delay: 0.6s; }

.hero-title-line.accent {
    color: var(--color-accent-light);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
    max-width: 550px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-actions .btn-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.hero-actions .btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
}

.hero-actions .btn-secondary {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    opacity: 0;
    animation: fadeInRight 0.8s ease 1.2s forwards;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    min-width: 160px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-light);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--space-xs);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

/* ===================================
   ANNOUNCEMENT BANNER
   =================================== */
.announcement-banner {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: var(--space-md) 0;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    text-align: center;
}

.announcement-badge {
    background: var(--color-accent);
    color: var(--color-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.announcement-text {
    color: var(--color-white);
    font-size: 0.9375rem;
}

.announcement-link {
    color: var(--color-accent-light);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.announcement-link:hover {
    color: var(--color-white);
}

/* ===================================
   SECTION STYLES
   =================================== */
.section-header {
    margin-bottom: var(--space-3xl);
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-tag.light {
    color: var(--color-accent-light);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.service-link:hover {
    gap: var(--space-sm);
}

/* ===================================
   FIND A DOCTOR SECTION
   =================================== */
.find-doctor-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    position: relative;
    overflow: hidden;
}

.find-doctor-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.find-doctor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.find-doctor-text {
    color: var(--color-white);
}

.find-doctor-text h2 {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.find-doctor-text p {
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    font-size: 1.125rem;
}

.search-box {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.search-select {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-md);
    background: var(--color-white);
    color: var(--color-text);
    cursor: pointer;
}

.search-box .btn-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.search-box .btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
}

.browse-link {
    color: var(--color-accent-light);
    font-weight: 500;
}

.browse-link:hover {
    color: var(--color-white);
}

.find-doctor-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.image-placeholder svg {
    width: 120px;
    height: 120px;
    margin-bottom: var(--space-md);
}

.image-placeholder span {
    font-size: 0.875rem;
}

/* ===================================
   NEWS SECTION
   =================================== */
.news-section {
    padding: var(--space-4xl) 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.news-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.news-card.featured {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-card.featured .news-image {
    flex: 1;
    min-height: 250px;
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.news-content {
    padding: var(--space-lg);
}

.news-date {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card h3 {
    margin: var(--space-sm) 0;
    font-size: 1.125rem;
    line-height: 1.4;
}

.news-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
}

.news-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
}

.faq-header p {
    color: var(--color-text-light);
    margin-top: var(--space-md);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    cursor: pointer;
    font-weight: 500;
    color: var(--color-dark);
    list-style: none;
    transition: all var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: var(--color-bg);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-primary);
    transition: transform var(--transition-base);
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.faq-item[open] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===================================
   RESOURCES SECTION
   =================================== */
.resources-section {
    padding: var(--space-4xl) 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.resource-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition-base);
    color: var(--color-text);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
    color: var(--color-text);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.resource-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.resource-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: var(--space-4xl) 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, var(--color-primary) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--color-accent) 0%, transparent 40%);
    opacity: 0.15;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.cta-actions .btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
}

.cta-actions .btn-secondary {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-actions .btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #0f1c20;
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-light);
    padding-left: var(--space-xs);
}

.footer-contact address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .find-doctor-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .find-doctor-image {
        display: none;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-row: auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
    }
    
    .stat-card {
        width: 100%;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

