/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --primary-color: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --secondary-color: #0284c7;
    --accent-color: #14b8a6;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-bg: #f8fafc;
    --warm-bg: #fefcf9;
    --warm-accent: #d97706;
    --white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --gradient-warm: linear-gradient(135deg, var(--primary-color), var(--warm-accent));
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-main); background-color: var(--white); line-height: 1.6; overflow-x: hidden; }

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--dark-bg); line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
a { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
p { margin-bottom: 1.5rem; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; }
.bg-light { background-color: var(--light-bg); }
.mt-2 { margin-top: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

/* Buttons */
.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 500; font-family: var(--font-heading); cursor: pointer; transition: var(--transition); border: none; text-align: center; }
.btn-primary { background: var(--gradient-primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: var(--white); }
.btn-glass { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); color: var(--white); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.25); color: var(--white); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-text { color: var(--primary-color); font-weight: 600; padding: 0; }
.btn-text:hover { color: var(--secondary-color); }

/* Navigation */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1rem 0; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); box-shadow: var(--shadow-sm); padding: 0.75rem 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.logo-img { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links > a { color: var(--white); font-weight: 500; font-size: 0.95rem; position: relative; }
.navbar.scrolled .nav-links > a { color: var(--text-main); }
.nav-links > a:not(.btn)::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: var(--transition); }
.nav-links > a:not(.btn):hover::after, .nav-links > a.active::after { width: 100%; }
.nav-links .btn { margin-left: 0.5rem; }
.nav-links .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.navbar.scrolled .nav-links .btn-outline { border-color: var(--primary-color); color: var(--primary-color); }
.navbar.scrolled .nav-links .btn-outline:hover { background: var(--primary-color); color: var(--white); }
.nav-dropdown { position: relative; }
.dropdown-trigger { cursor: pointer; }
.dropdown-trigger i { font-size: 0.7rem; margin-left: 4px; transition: var(--transition); }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 0.75rem; min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(5px); }
.dropdown-menu a { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; color: var(--text-main); border-radius: 8px; font-size: 0.9rem; }
.dropdown-menu a:hover { background: var(--light-bg); color: var(--primary-color); }
.dropdown-menu a i { color: var(--primary-color); width: 20px; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--white); }
.navbar.scrolled .hamburger { color: var(--dark-bg); }

/* Navbar Auth Buttons */
.nav-auth { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.5rem; padding-left: 1rem; border-left: 1px solid rgba(255,255,255,0.2); }
.navbar.scrolled .nav-auth { border-left-color: var(--border-color); }
.nav-auth-link { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; padding: 0.4rem 0.75rem; border-radius: 6px; transition: var(--transition); white-space: nowrap; }
.nav-auth-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-auth-link { color: var(--text-main); }
.navbar.scrolled .nav-auth-link:hover { color: var(--primary-color); }
.nav-auth-login { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); }
.navbar.scrolled .nav-auth-login { background: transparent; border-color: var(--border-color); }

/* Admin Nav Button — subtle, accessible for admins */
.btn-admin-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    transition: var(--transition);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    margin-left: 0.25rem;
}
.btn-admin-nav i { font-size: 0.75rem; }
.btn-admin-nav:hover {
    color: var(--primary-light);
    border-color: var(--primary-color);
    background: rgba(13, 148, 136, 0.12);
}
.navbar.scrolled .btn-admin-nav {
    color: var(--text-muted);
    border-color: var(--border-color);
    background: transparent;
}
.navbar.scrolled .btn-admin-nav:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(13, 148, 136, 0.08);
}

/* App Store Badges */
.app-badges { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.app-badge img { height: 40px; width: auto; border-radius: 8px; }

/* Footer Social Links */
.footer-social-links { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-email { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.25rem; }
.footer-email i { color: var(--primary-light); }
.footer-email a { color: rgba(255,255,255,0.7); }
.footer-email a:hover { color: var(--primary-light); }

/* Donation Payment Methods */
.donation-payment-methods { margin: 1.5rem 0; }
.payment-label { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.payment-badges { display: flex; gap: 0.75rem; font-size: 1.75rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.alt-payment { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.alt-payment strong { color: var(--white); }
.donation-mission { font-size: 1rem; color: rgba(255,255,255,0.85); font-style: italic; border-left: 3px solid rgba(255,255,255,0.3); padding-left: 1rem; margin: 1rem 0; }
.donation-contact { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 1rem; }
.donation-contact a { color: rgba(255,255,255,0.8); }

/* FMBODS CTA */
.fmbods-cta { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.fmbods-note { font-size: 0.85rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.fmbods-note i { color: var(--primary-light); }

/* FMBODS Services List */
.fmbods-services { margin: 1.5rem 0; }
.fmbods-service-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; padding: 1rem; background: rgba(255,255,255,0.05); border-radius: 12px; border-left: 3px solid var(--primary-light); transition: var(--transition); }
.fmbods-service-item:hover { background: rgba(255,255,255,0.1); transform: translateX(5px); }
.service-number { width: 28px; height: 28px; background: var(--primary-color); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.service-content h4 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.service-content p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0; }

/* FMBODS Workflow */
.fmbods-workflow { background: rgba(15, 23, 42, 0.5); border-radius: 16px; padding: 1.5rem; }
.workflow-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); font-weight: 600; color: var(--white); }
.workflow-header i { color: var(--primary-light); }
.workflow-steps { display: flex; flex-direction: column; align-items: center; }
.workflow-step { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 0.75rem; background: rgba(255,255,255,0.05); border-radius: 10px; margin-bottom: 0.5rem; }
.step-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; flex-shrink: 0; }
.step-info { flex: 1; }
.step-info strong { display: block; font-size: 0.9rem; color: var(--white); }
.step-info span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.workflow-arrow { color: var(--primary-light); padding: 0.25rem 0; font-size: 0.9rem; }
.workflow-footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.badge-success { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(34, 197, 94, 0.2); color: #4ade80; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 500; }
.badge-success i { color: #4ade80; }

/* Preview Analyses Tags */
.preview-analyses { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.analysis-tag { background: rgba(13,148,136,0.2); color: var(--primary-light); padding: 0.25rem 0.6rem; border-radius: 50px; font-size: 0.75rem; font-weight: 500; border: 1px solid rgba(13,148,136,0.3); }

/* Newsletter Section */
.newsletter-section { padding: 5rem 0; background: var(--white); }
.newsletter-container { display: flex; align-items: center; gap: 3rem; background: linear-gradient(135deg, rgba(13,148,136,0.05), rgba(2,132,199,0.05)); border: 1px solid var(--border-color); border-radius: 24px; padding: 3rem; }
.newsletter-icon { font-size: 3.5rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; flex-shrink: 0; }
.newsletter-content { flex: 1; }
.newsletter-content h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.newsletter-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 250px; padding: 0.875rem 1.25rem; border: 2px solid var(--border-color); border-radius: 50px; font-family: var(--font-body); font-size: 1rem; transition: var(--transition); background: var(--white); }
.newsletter-form input:focus { outline: none; border-color: var(--primary-color); }
.newsletter-note { font-size: 0.8rem; color: var(--text-light); margin-top: 0.75rem; margin-bottom: 0; display: flex; align-items: center; gap: 0.4rem; }
.newsletter-note i { color: var(--primary-color); }

/* ==========================================
   INNER PAGE STYLES (Sub-pages)
   ========================================== */

/* Page Hero / Banner */
.page-hero { padding: 140px 0 60px; background: var(--dark-bg); color: var(--white); text-align: center; }
.page-hero .container { max-width: 800px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.page-hero .breadcrumb { display: flex; justify-content: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 1.5rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a:hover { color: var(--primary-light); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.4); }

/* Inner Page Content */
.inner-content { padding: 5rem 0; }
.inner-content.bg-light { background: var(--light-bg); }
.inner-content.bg-warm { background: var(--warm-bg); }

/* Section Card */
.section-card { background: var(--white); border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow-md); margin-bottom: 2rem; }
.section-card h2 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--dark-bg); }
.section-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--dark-bg); }
.section-card p { color: var(--text-muted); line-height: 1.8; }
.section-card ul { list-style: none; padding: 0; }
.section-card ul li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; color: var(--text-muted); border-bottom: 1px solid var(--border-color); }
.section-card ul li:last-child { border-bottom: none; }
.section-card ul li i { color: var(--primary-color); margin-top: 0.25rem; flex-shrink: 0; }

/* Services List */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.service-item { background: var(--light-bg); border-radius: 16px; padding: 1.5rem; border: 1px solid var(--border-color); transition: var(--transition); }
.service-item:hover { border-color: var(--primary-color); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-item h4 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--dark-bg); display: flex; align-items: center; gap: 0.5rem; }
.service-item h4 i { color: var(--primary-color); }
.service-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* FAQ Accordion */
.faq-item { border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; background: var(--white); }
.faq-question { width: 100%; background: var(--white); border: none; padding: 1.25rem 1.5rem; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; color: var(--dark-bg); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { color: var(--primary-color); }
.faq-question i { color: var(--primary-color); transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.5rem; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 1.5rem 1.25rem; }
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin: 0; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; margin: 2rem 0; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--primary-color), var(--secondary-color)); border-radius: 3px; }
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before { content: ''; position: absolute; left: -2rem; top: 0.5rem; width: 14px; height: 14px; background: var(--primary-color); border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--primary-color); transform: translateX(-5.5px); }
.timeline-year { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--primary-color); margin-bottom: 0.25rem; }
.timeline-item h4 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--dark-bg); }
.timeline-item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Team Grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.team-card { background: var(--white); border-radius: 16px; padding: 1.5rem; text-align: center; border: 1px solid var(--border-color); transition: var(--transition); }
.team-card:hover { border-color: var(--primary-color); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-card .team-avatar { width: 80px; height: 80px; background: var(--gradient-primary); border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--white); font-weight: 700; }
.team-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-card .team-title { font-size: 0.85rem; color: var(--primary-color); font-weight: 500; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* Legal Content */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; margin-top: 2.5rem; margin-bottom: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); color: var(--dark-bg); }
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.5rem; }
.legal-content strong { color: var(--dark-bg); }

/* Form Styles for Inner Pages */
.form-card { background: var(--white); border-radius: 20px; padding: 3rem; box-shadow: var(--shadow-lg); max-width: 600px; margin: 0 auto; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-card .form-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.form-card .form-group { margin-bottom: 1.5rem; }
.form-card .form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--text-main); }
.form-card .form-group input, .form-card .form-group select, .form-card .form-group textarea { width: 100%; padding: 0.875rem 1rem; border: 2px solid var(--border-color); border-radius: 12px; font-family: var(--font-body); font-size: 1rem; transition: var(--transition); background: var(--light-bg); }
.form-card .form-group input:focus, .form-card .form-group select:focus, .form-card .form-group textarea:focus { outline: none; border-color: var(--primary-color); background: var(--white); }

/* Manual List */
.manual-list { display: grid; gap: 1rem; margin: 2rem 0; }
.manual-item { display: flex; align-items: center; gap: 1.25rem; background: var(--white); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.25rem 1.5rem; transition: var(--transition); }
.manual-item:hover { border-color: var(--primary-color); box-shadow: var(--shadow-sm); transform: translateX(5px); }
.manual-icon { font-size: 2rem; color: var(--primary-color); flex-shrink: 0; }
.manual-info { flex: 1; }
.manual-info h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--dark-bg); }
.manual-info p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.manual-download { padding: 0.5rem 1rem; background: var(--primary-color); color: var(--white); border-radius: 8px; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: var(--transition); white-space: nowrap; }
.manual-download:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); }

/* Donation Page Tiers Extended */
.donation-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.donation-option { background: var(--white); border-radius: 20px; padding: 2rem; text-align: center; border: 2px solid var(--border-color); transition: var(--transition); cursor: pointer; }
.donation-option:hover { border-color: var(--primary-color); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.donation-option.selected { border-color: var(--primary-color); background: rgba(13,148,136,0.03); }
.donation-option .amount { display: block; font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--primary-color); }
.donation-option .tier-label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 1px; }

/* Mobile Responsive for Inner Pages */
@media (max-width: 768px) {
    .page-hero { padding: 120px 0 50px; }
    .newsletter-container { flex-direction: column; text-align: center; padding: 2rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { min-width: 100%; }
    .form-card { padding: 2rem; }
    .donation-options { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .donation-options { grid-template-columns: 1fr; }
    .nav-auth { display: none; }
}

/* Hero Section */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.5) 100%); }
.hero-content { color: var(--white); max-width: 800px; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; backdrop-filter: blur(10px); }
.badge-dot { width: 8px; height: 8px; background: var(--primary-light); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-content h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero-content h1 .text-gradient { background: linear-gradient(135deg, var(--primary-light), #5eead4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 2rem; max-width: 600px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-buttons .btn { white-space: nowrap; }
.hero-scroll-indicator { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.6); font-size: 0.8rem; animation: bounce 2s infinite; }
.hero-scroll-indicator i { font-size: 1.2rem; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

@media (max-width: 768px) {
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-content { text-align: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* Trust Bar */
.trust-bar { background: var(--white); padding: 2.5rem 0; margin-top: -60px; position: relative; z-index: 10; }
.trust-bar .container { max-width: 1100px; }
.trust-stats { display: flex; justify-content: space-around; align-items: center; background: var(--white); border-radius: 20px; padding: 2rem 3rem; box-shadow: var(--shadow-xl); }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--primary-color); }
.stat-plus { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.stat-label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; font-weight: 500; }
.stat-divider { width: 1px; height: 50px; background: var(--border-color); }

/* About Section */
.about { padding: 7rem 0; background: var(--warm-bg); }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.tag { display: inline-block; padding: 0.3rem 1rem; background: rgba(13, 148, 136, 0.1); color: var(--primary-color); border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: 1px; text-transform: uppercase; }
.tag.tag-light { background: rgba(255,255,255,0.15); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--primary-color); }
.link-arrow:hover { gap: 1rem; }
.glass-card { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.5); padding: 2rem; border-radius: 20px; box-shadow: var(--shadow-lg); transition: var(--transition); }
.glass-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.glass-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.glass-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.icon-large { font-size: 2.5rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; display: block; }

/* Philosophy Section */
.philosophy { padding: 7rem 0; background: var(--white); }
.philosophy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.philosophy-card { background: var(--white); border-radius: 20px; padding: 2.5rem; border: 1px solid var(--border-color); transition: var(--transition); }
.philosophy-card:hover { border-color: var(--primary-color); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.philosophy-icon { width: 60px; height: 60px; background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(2, 132, 199, 0.05)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.philosophy-icon i { font-size: 1.5rem; color: var(--primary-color); }
.philosophy-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.philosophy-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; line-height: 1.7; }

/* FMBODS Section */
.fmbods { padding: 7rem 0; background: var(--dark-bg); color: var(--white); }
.fmbods h2, .fmbods h3 { color: var(--white); }
.fmbods .tag { background: rgba(255,255,255,0.15); color: var(--white); }
.fmbods-container { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.fmbods-features { list-style: none; margin: 1.5rem 0 2rem; }
.fmbods-features li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: rgba(255,255,255,0.85); }
.fmbods-features li i { color: var(--primary-light); }
.fmbods-card { background: rgba(255,255,255,0.05); border-radius: 20px; padding: 2rem; border: 1px solid rgba(255,255,255,0.1); }
.fmbods-mockup { background: var(--dark-bg); border-radius: 12px; overflow: hidden; }
.mockup-header { background: rgba(255,255,255,0.1); padding: 0.75rem 1rem; display: flex; gap: 0.5rem; }
.mockup-header span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mockup-content { padding: 1.5rem; }
.analysis-preview .preview-label { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1rem; }
.preview-bars .bar { margin-bottom: 0.75rem; display: flex; align-items: center; gap: 1rem; }
.preview-bars .bar span { width: 50px; font-size: 0.85rem; color: var(--text-light); }
.bar-fill { height: 8px; background: var(--gradient-primary); border-radius: 4px; }

/* Programs Section */
.programs { padding: 7rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0.5rem auto 0; }
.program-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); }
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.program-img { position: relative; height: 220px; }
.program-img img { width: 100%; height: 100%; object-fit: cover; }
.program-badge { position: absolute; top: 1rem; right: 1rem; background: var(--secondary-color); color: var(--white); padding: 0.4rem 1rem; border-radius: 50px; font-weight: 600; font-size: 0.75rem; }
.program-content { padding: 2rem; }
.program-content .subtitle { color: var(--primary-color); font-weight: 500; font-size: 0.9rem; margin-top: -0.5rem; margin-bottom: 1rem; }
.program-content p { color: var(--text-muted); font-size: 0.95rem; }

/* Collaboration Section */
.collaboration { padding: 7rem 0; background: var(--light-bg); }
.collaboration-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: center; }
.collaboration-visual { text-align: center; }
.collab-logos { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-bottom: 2rem; }
.collab-logo { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.collab-logo img { height: 90px; width: auto; }
.collab-logo span { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--primary-color); }
.collab-plus { font-size: 2rem; font-weight: 700; color: var(--text-muted); }
.drannie-icon { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--secondary-color); padding: 0.75rem 1.5rem; border: 2px solid var(--secondary-color); border-radius: 12px; }
.collab-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--white); padding: 0.75rem 1.5rem; border-radius: 50px; box-shadow: var(--shadow-md); font-weight: 600; color: var(--primary-color); }
.collab-badge i { color: var(--primary-color); }
.collab-features { margin: 2rem 0; }
.collab-feature { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.collab-feature i { width: 50px; height: 50px; background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(2, 132, 199, 0.1)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 1.25rem; flex-shrink: 0; }
.collab-feature h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.collab-feature p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Resources Section */
.resources { padding: 7rem 0; background: var(--white); }
.resources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.resource-card { background: var(--light-bg); border-radius: 20px; padding: 2.5rem; text-align: center; transition: var(--transition); border: 1px solid transparent; }
.resource-card:hover { border-color: var(--primary-color); transform: translateY(-5px); }
.resource-icon { width: 70px; height: 70px; background: var(--white); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: var(--shadow-md); }
.resource-icon i { font-size: 1.75rem; color: var(--primary-color); }
.resource-card h4 { margin-bottom: 0.75rem; }
.resource-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.resource-card a { font-weight: 600; font-size: 0.9rem; }

/* Events Section */
.events { padding: 7rem 0; }
.events-grid { display: grid; gap: 2rem; }
.event-card { display: flex; gap: 2rem; background: var(--white); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); transition: var(--transition); border: 1px solid var(--border-color); }
.event-card:hover { border-color: var(--primary-color); transform: translateX(5px); }
.event-date { min-width: 80px; text-align: center; background: var(--light-bg); border-radius: 16px; padding: 1rem; }
.event-date .month { display: block; font-size: 0.8rem; font-weight: 600; color: var(--primary-color); text-transform: uppercase; }
.event-date .day { display: block; font-size: 2rem; font-weight: 800; color: var(--dark-bg); line-height: 1; margin-top: 0.25rem; }
.event-details { flex: 1; }
.event-type { display: inline-block; background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(2, 132, 199, 0.05)); color: var(--primary-color); padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem; }
.event-details h4 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.event-details p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.event-meta { display: flex; gap: 1.5rem; font-size: 0.85rem; color: var(--text-muted); }
.event-meta i { color: var(--primary-color); margin-right: 0.25rem; }

/* Testimonials Section */
.testimonials { padding: 7rem 0; background: var(--warm-bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background: var(--white); border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow-md); position: relative; }
.quote-icon { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 3rem; color: var(--primary-color); opacity: 0.1; }
.testimonial-card p { font-size: 1.05rem; line-height: 1.8; color: var(--text-main); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 50px; height: 50px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 0.9rem; }
.author-info strong { display: block; font-size: 1rem; }
.author-info span { font-size: 0.85rem; color: var(--text-muted); }

/* Donation Section */
.donation { padding: 5rem 0; background: var(--gradient-primary); }
.donation-container { max-width: 800px; margin: 0 auto; text-align: center; color: var(--white); }
.donation-content h2 { color: var(--white); margin-bottom: 1rem; }
.donation-content p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 2rem; }
.donation-tiers { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.tier { background: rgba(255,255,255,0.15); border-radius: 16px; padding: 1.5rem 2rem; min-width: 140px; transition: var(--transition); }
.tier:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }
.tier.tier-featured { background: rgba(255,255,255,0.25); border: 2px solid rgba(255,255,255,0.5); }
.tier-name { display: block; font-size: 0.85rem; margin-bottom: 0.5rem; opacity: 0.9; }
.tier-amount { display: block; font-size: 1.75rem; font-weight: 800; }
.donation .btn-primary { background: var(--white); color: var(--primary-color); }
.donation .btn-primary:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

/* News Section */
.news { padding: 7rem 0; background: var(--white); }
.news-card { background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-5px); }
.news-img { position: relative; height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img img { transform: scale(1.1); }
.category { position: absolute; bottom: 1rem; left: 1rem; background: var(--white); color: var(--primary-color); padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.news-content { padding: 1.5rem; }
.date { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 0.5rem; }
.news-content h4 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.news-content p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* CTA Section */
.cta { padding: 7rem 0; background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(2, 132, 199, 0.05)); }
.cta h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 1rem; }
.cta .small-text { font-size: 0.9rem; color: var(--text-light); margin-bottom: 2rem; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta .btn-outline { border-color: var(--primary-color); color: var(--primary-color); }
.cta .btn-outline:hover { background: var(--primary-color); color: var(--white); }

/* Contact Section */
.contact-section { padding: 7rem 0; background: var(--warm-bg); }
.contact-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-details { margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item i { width: 40px; height: 40px; background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(2, 132, 199, 0.05)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary-color); }
.contact-item strong { display: block; margin-bottom: 0.25rem; }
.contact-item span { color: var(--text-muted); font-size: 0.95rem; }
.contact-form-wrapper { background: var(--white); border-radius: 24px; padding: 3rem; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--border-color); border-radius: 12px; font-family: var(--font-body); font-size: 1rem; transition: var(--transition); background: var(--light-bg); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; }

/* Footer */
.footer { background: var(--dark-bg); color: var(--white); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .footer-logo { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-logo-link { display: inline-block; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-address { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: -0.5rem; }
.footer-address i { color: var(--primary-light); }
.social-links { display: flex; gap: 0.75rem; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); color: var(--white); border-radius: 10px; transition: var(--transition); }
.social-links a:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-links h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.5rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); padding-left: 5px; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: rgba(255,255,255,0.5); font-size: 0.875rem; }

/* Animations
 * PENTING: Elemen dimulai visible (opacity:1) sebagai fallback.
 * Class .js-ready ditambahkan oleh JavaScript saat JS berhasil dimuat.
 * Hanya ketika .js-ready ada, animasi opacity:0 aktif.
 * Ini mencegah halaman blank jika JS gagal/lambat di Azure.
 */
.js-ready .fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-up.visible, .js-ready .fade-in-up.visible { opacity: 1; transform: translateY(0); }

.js-ready .slide-in-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js-ready .slide-in-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.slide-in-left.visible, .slide-in-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .about-container, .fmbods-container, .contact-container, .collaboration-container { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-stats { flex-wrap: wrap; gap: 2rem; padding: 1.5rem; }
    .stat-divider { display: none; }
    .stat-item { min-width: 120px; }
}

@media (max-width: 768px) {
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 1.5rem; gap: 0.5rem; box-shadow: var(--shadow-lg); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: var(--transition); }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-links > a:not(.btn) { color: var(--dark-bg) !important; width: 100%; padding: 0.5rem 0; }
    .nav-dropdown { width: 100%; }
    .dropdown-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding-left: 1rem; }
    .nav-links .btn { width: 100%; text-align: center; }
    .hamburger { display: block; }
    .logo-img { height: 48px; }
    .trust-bar { margin-top: 0; }
    .trust-stats { grid-template-columns: 1fr 1fr; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .event-card { flex-direction: column; }
    .event-date { flex-direction: row; display: flex; align-items: center; gap: 1rem; padding: 1rem; }
    .event-date .day { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 2rem; }
    .donation-tiers { flex-direction: column; align-items: center; }
    .tier { width: 100%; max-width: 200px; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .trust-stats { padding: 1rem; }
    .stat-number { font-size: 2rem; }
}
