/* ==========================================================================
   AFC JAPAN INDONESIA - Global Stylesheet & Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
    /* Color Palette */
    --bg-dark: #090D1A;
    --bg-card: rgba(18, 26, 47, 0.7);
    --bg-card-hover: rgba(26, 38, 68, 0.85);
    --border-glow: rgba(217, 119, 6, 0.15);
    
    --primary: #121E3D;
    --primary-light: #1E2D5A;
    --primary-accent: #2A3E7C;
    
    --gold: #D4AF37;
    --gold-light: #F3C63F;
    --gold-dark: #AA841C;
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --text-white: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dark: #1E293B;
    
    --danger: #EF4444;
    --danger-glow: rgba(239, 68, 68, 0.25);
    --success: #10B981;
    
    /* Font Families */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout Constants */
    --container-width: 1280px;
    --header-height: 80px;
    
    /* Box Shadows & Glassmorphism */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 20px 0 rgba(212, 175, 55, 0.15);
    --shadow-danger: 0 0 25px 0 rgba(239, 68, 68, 0.2);
    --glass-border: rgba(255, 255, 255, 0.07);
    
    /* Animation Speeds */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-secondary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    position: relative;
}

/* Decorative Background Glows */
body::before {
    content: '';
    position: absolute;
    top: 5%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 45, 90, 0.15) 0%, rgba(9, 13, 26, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(9, 13, 26, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.25;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 12px;
}

h2.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 2px;
}

h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p {
    color: var(--text-muted);
    font-weight: 400;
}

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

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

/* --- Layout Components --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Navigation Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(9, 13, 26, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: rgba(6, 9, 18, 0.95);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.logo-icon img {
    height: 22px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #FFFFFF, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 0.65rem;
    display: block;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: -2px;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    margin-bottom: 6px;
    transition: var(--transition-normal);
}

.mobile-nav-toggle span:last-child {
    margin-bottom: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #FFDF78, var(--gold));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background: #22c35e;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-3px);
}

/* --- Cards (Glassmorphism) --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-md), var(--shadow-gold);
}

/* Card Glow Effect border details */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(9, 13, 26, 0) 50%);
    pointer-events: none;
    transition: var(--transition-normal);
    opacity: 0;
}

.card:hover::before {
    opacity: 1;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding: calc(var(--header-height) + 40px) 0 80px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(30, 45, 90, 0.22) 0%, rgba(9, 13, 26, 1) 60%);
    position: relative;
}

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

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--gold-light), #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 36px;
    color: var(--text-muted);
}

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

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(30, 45, 90, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Floating Stats Badge */
.hero-floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(9, 13, 26, 0.9);
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md), var(--shadow-gold);
    backdrop-filter: blur(8px);
}

.hero-floating-badge .badge-icon {
    font-size: 2rem;
    color: var(--gold-light);
}

.hero-floating-badge .badge-number {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    color: #FFFFFF;
    line-height: 1;
}

.hero-floating-badge .badge-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Counter / Stats Section --- */
.stats-section {
    padding: 40px 0;
    background: rgba(18, 26, 47, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 3.5rem;
    color: var(--gold-light);
    margin-bottom: 6px;
    line-height: 1;
    background: linear-gradient(135deg, #FFFFFF, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-display {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--gold-light);
    margin-bottom: 16px;
    line-height: 1;
    background: linear-gradient(135deg, #FFFFFF, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* --- Value Cards Grid --- */
.val-card {
    text-align: center;
    padding: 40px 24px;
}

.val-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.75rem;
    color: var(--gold-light);
    transition: var(--transition-normal);
}

.val-card:hover .val-icon {
    background: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.val-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.val-card p {
    font-size: 0.9rem;
}

/* --- Product Cards --- */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-container {
    width: 100%;
    height: 280px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(9, 13, 26, 0.5);
    margin-bottom: 24px;
    position: relative;
    border: 1px solid var(--glass-border);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-title {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.product-price {
    color: var(--gold-light);
    font-size: 1.2rem;
    font-weight: 700;
}

.product-desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.meta-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* --- Timeline ordering --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-light), var(--primary-accent));
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    top: 0;
    left: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--gold);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.15rem;
    z-index: 2;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    color: #FFFFFF;
}

.timeline-content p {
    font-size: 0.95rem;
}

/* --- Security / Warning Box --- */
.warning-box {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-danger);
    position: relative;
    overflow: hidden;
}

.warning-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.warning-icon {
    font-size: 2.25rem;
    color: var(--danger);
    animation: pulse 2s infinite;
}

.warning-box h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
}

.warning-box p {
    color: #CBD5E1;
    margin-bottom: 16px;
}

.warning-list {
    list-style: none;
    padding-left: 0;
}

.warning-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #E2E8F0;
    font-size: 0.95rem;
}

.warning-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.85rem;
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(18, 26, 47, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(26, 38, 68, 0.6);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    color: #FFFFFF;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--gold-light);
    transition: transform var(--transition-normal);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-content-inner {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-content {
    max-height: 200px; /* arbitrary large enough value */
}

/* --- Endorsements & Testimonials --- */
.testimonial-card {
    padding: 32px;
}

.testimonial-rating {
    color: var(--gold-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.testimonial-text {
    font-style: italic;
    color: #E2E8F0;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--gold-light);
}

.user-info h4 {
    font-size: 0.95rem;
    color: #FFFFFF;
}

.user-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Doctor Endorsements */
.doctor-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.doctor-avatar-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-accent);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--gold-light);
    flex-shrink: 0;
}

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

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-control {
    width: 100%;
    background: rgba(9, 13, 26, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 20px;
    color: #FFFFFF;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Form success feedback banner */
.toast-msg {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: #FFFFFF;
    padding: 16px 28px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    z-index: 1100;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-msg.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Stockist Details & Map --- */
.stockist-details h3 {
    margin-bottom: 12px;
}

.stockist-info-list {
    list-style: none;
    margin-bottom: 32px;
}

.stockist-info-list li {
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.stockist-info-list .icon {
    color: var(--gold-light);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.map-placeholder {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.map-placeholder-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.map-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 16px;
    animation: float 3s infinite ease-in-out;
}

/* --- Footer --- */
.footer {
    background-color: #05070F;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 1.15rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 6px;
}

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.social-btn:hover {
    background: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
}

/* --- Scroll Observer Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); text-shadow: 0 0 10px rgba(239, 68, 68, 0.6); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero { min-height: auto; padding-top: calc(var(--header-height) + 40px); }
    .grid-2 { gap: 30px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
    .section { padding: 60px 0; }
    
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    
    .hero { text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-actions { justify-content: center; }
    
    .hero-image-container {
        margin-top: 50px;
    }
    .hero-floating-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
        white-space: nowrap;
    }
    
    /* Navigation Drawer for Mobile */
    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1000;
        transition: right var(--transition-normal);
        backdrop-filter: blur(20px);
    }
    
    .nav.open {
        right: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 50px;
    }
    .timeline-number {
        left: 0;
    }
    
    .doctor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
