/*
Theme Name: FitIndiaMission
Theme URI: https://fitindiamission.in
Author: FitIndiaMission Team
Author URI: https://fitindiamission.in
Description: A vibrant, multilingual WordPress theme dedicated to India's national health movement — helping people overcome obesity through diet, exercise, and mindset change. Features a full-width hero slider, easy-to-read content, and RTL/multilingual support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fitindiamission
Domain Path: /languages
Tags: health, fitness, india, multilingual, slider, responsive, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Table of Contents:
   1. CSS Variables & Theme Colors
   2. Reset & Base
   3. Typography
   4. Layout & Grid
   5. Header & Navigation
   6. Hero Slider
   7. Language Switcher
   8. Content Sectionsf   9. Cards & Widgets
   10. Sidebar
   11. Footer
   12. Forms & Buttons
   13. Accessibility
   14. Responsive
   ========================================================================== */

/* ============================================================
   1. CSS Variables & Theme Colors
   ============================================================ */
:root {
    --fim-saffron:       #FF9933;
    --fim-green:         #138808;
    --fim-navy:          #000080;
    --fim-white:         #FFFFFF;
    --fim-light-bg:      #FFF9F0;
    --fim-card-bg:       #FFFFFF;
    --fim-text:          #1A1A2E;
    --fim-text-light:    #555566;
    --fim-text-muted:    #888899;
    --fim-border:        #E8E0D0;
    --fim-shadow:        0 4px 24px rgba(0,0,0,0.08);
    --fim-shadow-hover:  0 8px 32px rgba(255,153,51,0.18);
    --fim-radius:        12px;
    --fim-radius-sm:     6px;
    --fim-font-heading:  'Poppins', 'Noto Sans Devanagari', sans-serif;
    --fim-font-body:     'Inter', 'Noto Sans', sans-serif;
    --fim-transition:    0.3s ease;
    --fim-max-width:     1200px;
    --fim-header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--fim-font-body);
    color: var(--fim-text);
    background-color: var(--fim-light-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--fim-green);
    text-decoration: none;
    transition: color var(--fim-transition);
}

a:hover {
    color: var(--fim-saffron);
}

ul, ol {
    list-style: none;
}

/* ============================================================
   3. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fim-font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--fim-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

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

.section-subtitle {
    text-align: center;
    color: var(--fim-text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-saffron { color: var(--fim-saffron); }
.text-green   { color: var(--fim-green); }

/* ============================================================
   4. Layout & Grid
   ============================================================ */
.container {
    max-width: var(--fim-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--alt {
    background-color: #F0F8F0;
}

.section--dark {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a1a 100%);
    color: var(--fim-white);
}

.section--dark h2,
.section--dark h3,
.section--dark p {
    color: var(--fim-white);
}

.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(260px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

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

/* ============================================================
   5. Header & Navigation
   ============================================================ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--fim-saffron);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--fim-header-height);
    gap: 1.5rem;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    height: 48px;
    width: auto;
}

.site-title-wrap .site-title {
    font-family: var(--fim-font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--fim-green);
    line-height: 1.2;
}

.site-title-wrap .site-tagline {
    font-size: 0.7rem;
    color: var(--fim-saffron);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Primary Navigation */
#primary-navigation {
    flex: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: left;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fim-text);
    border-radius: var(--fim-radius-sm);
    transition: all var(--fim-transition);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--fim-green);
    background: rgba(19, 136, 8, 0.07);
}

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--fim-white);
    border: 1px solid var(--fim-border);
    border-radius: var(--fim-radius);
    box-shadow: var(--fim-shadow);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 999;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li a {
    border-radius: 0;
    padding: 0.6rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--fim-text);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: all 0.3s;
}

/* ============================================================
   6. Hero Slider
   ============================================================ */
#hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 560px;
    max-height: 800px;
    overflow: hidden;
    background: #0a1628;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
}

.slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.slide.is-active .slide-img {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.2) 60%,
        transparent 100%
    );
}

.slide-content {
    position: absolute;
    bottom: 12%;
    left: 0;
    right: 0;
    padding: 0 2rem;
    max-width: var(--fim-max-width);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.slide.is-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-badge {
    display: inline-block;
    background: var(--fim-saffron);
    color: var(--fim-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.875rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.slide-title {
    color: var(--fim-white);
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
    max-width: 620px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.slide-text {
    color: rgba(255,255,255,0.88);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--fim-saffron);
    color: var(--fim-white);
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 999px;
    font-size: 1rem;
    transition: all var(--fim-transition);
    box-shadow: 0 4px 20px rgba(255,153,51,0.4);
}

.slide-cta:hover {
    background: var(--fim-green);
    color: var(--fim-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(19,136,8,0.35);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--fim-white);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all var(--fim-transition);
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: var(--fim-saffron);
    border-color: var(--fim-saffron);
}

.slider-btn--prev { left: 1.5rem; }
.slider-btn--next { right: 1.5rem; }

.slider-dots {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all var(--fim-transition);
}

.slider-dot.is-active {
    background: var(--fim-saffron);
    width: 30px;
    border-radius: 5px;
}

/* ============================================================
   7. Language Switcher
   ============================================================ */
.language-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: #F0F8F0;
    border: 1px solid var(--fim-border);
    border-radius: var(--fim-radius-sm);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--fim-text);
    transition: all var(--fim-transition);
}

.lang-toggle:hover {
    border-color: var(--fim-green);
    color: var(--fim-green);
}

.lang-toggle svg {
    width: 16px;
    height: 16px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--fim-white);
    border: 1px solid var(--fim-border);
    border-radius: var(--fim-radius);
    box-shadow: var(--fim-shadow);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 999;
    overflow: hidden;
}

.language-switcher:hover .lang-dropdown,
.language-switcher.is-open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    color: var(--fim-text);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background var(--fim-transition);
    text-decoration: none;
}

.lang-item:hover,
.lang-item.is-active {
    background: #F0F8F0;
    color: var(--fim-green);
}

.lang-item.is-active::after {
    content: '✓';
    margin-left: auto;
    color: var(--fim-green);
    font-weight: 700;
}

.lang-flag {
    font-size: 1.25rem;
    line-height: 1;
}

/* ============================================================
   8. Content Sections
   ============================================================ */

/* Stats Bar */
.stats-bar {
    background: linear-gradient(90deg, var(--fim-green) 0%, #1a5c10 100%);
    color: var(--fim-white);
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-family: var(--fim-font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--fim-saffron);
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.4rem;
}

/* About Section */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--fim-radius);
    overflow: hidden;
    box-shadow: var(--fim-shadow);
}

.about-image-wrap img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--fim-saffron);
    color: var(--fim-white);
    padding: 1rem 1.5rem;
    border-radius: var(--fim-radius);
    text-align: center;
    font-weight: 700;
    box-shadow: var(--fim-shadow);
}

.about-badge strong {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
}

.about-content ul {
    margin: 1.5rem 0;
}

.about-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--fim-text);
}

.about-content ul li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fim-green);
    flex-shrink: 0;
    margin-top: 0.5rem;
}

/* Program Cards */
.program-card {
    background: var(--fim-card-bg);
    border-radius: var(--fim-radius);
    overflow: hidden;
    box-shadow: var(--fim-shadow);
    transition: transform var(--fim-transition), box-shadow var(--fim-transition);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fim-shadow-hover);
}

.program-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.program-card-body {
    padding: 1.5rem;
}

.program-tag {
    display: inline-block;
    background: rgba(19,136,8,0.1);
    color: var(--fim-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.program-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--fim-text);
}

.program-card-text {
    font-size: 0.9rem;
    color: var(--fim-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Tips Section */
.tip-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--fim-card-bg);
    border-radius: var(--fim-radius);
    border-left: 4px solid var(--fim-saffron);
    box-shadow: var(--fim-shadow);
    transition: transform var(--fim-transition);
}

.tip-item:hover {
    transform: translateX(6px);
}

.tip-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--fim-radius-sm);
    background: linear-gradient(135deg, var(--fim-saffron), #e67e22);
    color: var(--fim-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    flex-shrink: 0;
}

.tip-icon.green {
    background: linear-gradient(135deg, var(--fim-green), #0e6600);
}

.tip-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--fim-text);
}

.tip-text {
    font-size: 0.875rem;
    color: var(--fim-text-light);
    line-height: 1.6;
}

/* BMI Calculator */
.bmi-calc-wrap {
    background: var(--fim-card-bg);
    border-radius: var(--fim-radius);
    padding: 2.5rem;
    box-shadow: var(--fim-shadow);
    max-width: 520px;
    margin: 0 auto;
}

.bmi-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fim-text);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--fim-border);
    border-radius: var(--fim-radius-sm);
    font-size: 1rem;
    color: var(--fim-text);
    background: var(--fim-white);
    transition: border-color var(--fim-transition);
    font-family: var(--fim-font-body);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--fim-green);
    box-shadow: 0 0 0 3px rgba(19,136,8,0.1);
}

.bmi-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #F0F8F0;
    border-radius: var(--fim-radius-sm);
    text-align: center;
    display: none;
}

.bmi-result.visible {
    display: block;
}

.bmi-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--fim-green);
    line-height: 1;
}

.bmi-category {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.25rem;
    color: var(--fim-text);
}

.bmi-advice {
    font-size: 0.9rem;
    color: var(--fim-text-light);
    margin-top: 0.75rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--fim-card-bg);
    border-radius: var(--fim-radius);
    padding: 2rem;
    box-shadow: var(--fim-shadow);
    border-top: 4px solid var(--fim-saffron);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--fim-text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--fim-saffron);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--fim-text);
}

.testimonial-location {
    font-size: 0.8rem;
    color: var(--fim-text-muted);
}

.testimonial-stars {
    color: var(--fim-saffron);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* Newsletter / CTA */
.cta-section {
    background: linear-gradient(135deg, var(--fim-saffron) 0%, #e67e22 100%);
    color: var(--fim-white);
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2,
.cta-section p {
    color: var(--fim-white);
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 2rem auto 0;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 220px;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    outline: none;
}

/* ============================================================
   9. Cards & Widgets
   ============================================================ */
.widget {
    background: var(--fim-card-bg);
    border-radius: var(--fim-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--fim-shadow);
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fim-text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--fim-saffron);
}

/* ============================================================
   10. Sidebar
   ============================================================ */
.content-sidebar-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.sidebar {
    align-self: start;
    position: sticky;
    top: calc(var(--fim-header-height) + 1rem);
}

/* ============================================================
   11. Footer
   ============================================================ */
#site-footer {
    background: linear-gradient(135deg, #0a1628 0%, #1a2a1a 100%);
    color: rgba(255,255,255,0.8);
}

.footer-top {
    padding: 4rem 0 2.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-about .site-title {
    color: var(--fim-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

.footer-col-title {
    font-family: var(--fim-font-heading);
    font-weight: 700;
    color: var(--fim-saffron);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    transition: color var(--fim-transition);
}

.footer-links a:hover {
    color: var(--fim-saffron);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-tricolor {
    height: 4px;
    background: linear-gradient(to right, var(--fim-saffron) 33.33%, var(--fim-white) 33.33%, var(--fim-white) 66.66%, var(--fim-green) 66.66%);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--fim-transition);
}

.social-link:hover {
    background: var(--fim-saffron);
    color: var(--fim-white);
}

/* ============================================================
   12. Forms & Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all var(--fim-transition);
    font-family: var(--fim-font-body);
    text-decoration: none;
}

.btn-primary {
    background: var(--fim-green);
    color: var(--fim-white);
    box-shadow: 0 4px 16px rgba(19,136,8,0.3);
}

.btn-primary:hover {
    background: #0e6600;
    color: var(--fim-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(19,136,8,0.4);
}

.btn-saffron {
    background: var(--fim-saffron);
    color: var(--fim-white);
    box-shadow: 0 4px 16px rgba(255,153,51,0.35);
}

.btn-saffron:hover {
    background: #e67e22;
    color: var(--fim-white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--fim-green);
    border: 2px solid var(--fim-green);
}

.btn-outline:hover {
    background: var(--fim-green);
    color: var(--fim-white);
}

.btn-white {
    background: var(--fim-white);
    color: var(--fim-saffron);
}

.btn-white:hover {
    background: var(--fim-light-bg);
    color: var(--fim-green);
}

/* ============================================================
   13. Accessibility
   ============================================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: var(--fim-white);
    border-radius: var(--fim-radius-sm);
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
    clip: auto;
    clip-path: none;
    color: var(--fim-text);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

:focus-visible {
    outline: 3px solid var(--fim-saffron);
    outline-offset: 2px;
}

/* ============================================================
   14. Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .content-sidebar-wrap {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --fim-header-height: 64px;
    }

    #primary-navigation {
        display: none;
        position: absolute;
        top: var(--fim-header-height);
        left: 0;
        right: 0;
        background: var(--fim-white);
        border-bottom: 1px solid var(--fim-border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        padding: 1rem;
    }

    #primary-navigation.is-open {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8f8f8;
        border-radius: var(--fim-radius-sm);
        margin-top: 0.25rem;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #hero-slider {
        height: 70vh;
        min-height: 460px;
    }

    .slide-cta { font-size: 0.9rem; }

    .slider-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .bmi-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    #hero-slider {
        height: 85vh;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}
