/* FitX Bharat - Finsmart-inspired responsive theme */
:root {
    --primary: #0c3d6e;
    --primary-dark: #082a4d;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(12, 61, 110, 0.08);
    --shadow-lg: 0 12px 40px rgba(12, 61, 110, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --header-top-h: 42px;
    --header-h: 88px;
    --header-top-bg: #ebebeb;
    --nav-cta-red: #e31e24;
    --nav-brand-red: #c41e3a;
    --nav-hover-orange: #e8a317;
    --nav-menu-grey: #6b7280;
    --nav-contact-orange: #f57c00;
    --mobile-nav-h: 64px;
    --transition: 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header - Finsmart style */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Top bar */
.header-top {
    background: var(--header-top-bg);
    border-bottom: 1px solid #dddddd;
    font-size: 0.8125rem;
}
.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-top-h);
    gap: 20px;
    padding: 0 20px;
}
.header-top-left {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.header-contact {
    color: #555555;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: color var(--transition);
}
.header-contact i {
    font-size: 0.75rem;
    color: #666666;
}
.header-contact:hover { color: #333333; }

/* Search pill */
.header-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 50px;
    overflow: hidden;
    min-width: 220px;
    max-width: 280px;
    flex-shrink: 0;
}
.header-search input {
    border: none;
    outline: none;
    padding: 8px 14px;
    font-size: 0.8125rem;
    flex: 1;
    min-width: 0;
    font-family: inherit;
    color: #555555;
    background: transparent;
}
.header-search input::placeholder { color: #aaaaaa; }
.header-search button {
    border: none;
    background: transparent;
    padding: 8px 14px;
    color: #888888;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.header-search button:hover { color: #333333; }

/* Main nav bar - Finsmart style */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
}
.nav-inner {
    display: flex;
    align-items: center;
    min-height: 78px;
    gap: 24px;
    padding: 8px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
    min-width: 200px;
}
.logo:hover { opacity: 0.9; }
.logo-img {
    height: 48px;
    width: auto;
    flex-shrink: 0;
}
.logo-text {
    display: none;
    flex-direction: column;
    line-height: 1.2;
}
.logo.show-text .logo-text {
    display: flex;
}
.logo-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--nav-brand-red);
    letter-spacing: 0.03em;
    line-height: 1.1;
}
.logo-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--nav-brand-red);
    margin-top: 3px;
    max-width: 200px;
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu > li > a:not(.btn-book-appointment),
.nav-menu .nav-drop-toggle {
    padding: 12px 16px;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--nav-menu-grey);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
    position: relative;
}
.nav-link-icon {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.85;
    transition: color 0.2s;
}
.nav-chevron {
    font-size: 0.55rem;
    margin-left: 2px;
    opacity: 0.65;
    transition: transform var(--transition);
}
.nav-menu > li > a:not(.btn-book-appointment):hover .nav-link-icon,
.nav-menu > li > a:not(.btn-book-appointment).active .nav-link-icon,
.nav-menu .nav-drop-toggle:hover .nav-link-icon,
.nav-menu .nav-drop-toggle.active .nav-link-icon {
    opacity: 1;
}
.nav-menu > li > a:not(.btn-book-appointment):hover,
.nav-menu .nav-drop-toggle:hover,
.nav-menu > li > a:not(.btn-book-appointment).active,
.nav-menu .nav-drop-toggle.active {
    color: var(--nav-hover-orange);
}
.nav-menu .nav-dropdown:hover > .nav-drop-toggle {
    color: var(--nav-hover-orange);
}

/* Contact - same grey, orange on hover/active */
.nav-contact-link {
    color: var(--nav-menu-grey) !important;
    font-weight: 500 !important;
}
.nav-contact-link:hover,
.nav-contact-link.active {
    color: var(--nav-hover-orange) !important;
}

/* Dropdown - white box, red top line */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    list-style: none;
    padding: 6px 0 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.22s ease;
    z-index: 100;
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--nav-cta-red);
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown:hover > .nav-drop-toggle {
    color: var(--nav-hover-orange);
}
.nav-dropdown:hover > .nav-drop-toggle .nav-chevron {
    transform: rotate(180deg);
}
.nav-dropdown-menu li {
    list-style: none;
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: var(--nav-menu-grey);
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.75;
}
.nav-dropdown-menu a:hover {
    background: #fafafa;
    color: var(--nav-hover-orange);
}
.nav-dropdown-menu a:hover i {
    opacity: 1;
    color: var(--nav-hover-orange);
}

.nav-cta {
    flex-shrink: 0;
    margin-left: 8px;
}

/* Book Appointment - red pill (Finsmart) */
.nav-menu .btn-book-appointment,
a.btn-book-appointment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--nav-cta-red) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.25);
    transition: background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}
.nav-menu .btn-book-appointment:hover,
a.btn-book-appointment:hover {
    background: #c4191f !important;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.35);
    color: #ffffff !important;
    transform: none;
}
.nav-menu .btn-book-appointment .nav-link-icon,
a.btn-book-appointment .nav-link-icon {
    color: #ffffff !important;
    opacity: 1;
}
.nav-menu .btn-book-appointment .fa-arrow-right,
a.btn-book-appointment .fa-arrow-right {
    font-size: 0.75rem;
    color: #ffffff !important;
    margin-top: 0;
    width: auto;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #444444;
    cursor: pointer;
    padding: 8px;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; font-weight: 600; font-size: 0.95rem;
    border-radius: var(--radius); border: 2px solid transparent;
    cursor: pointer; transition: all var(--transition); text-align: center;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

/* Hero Slider */
.hero-slider { position: relative; width: 100%; overflow: hidden; background: var(--primary-dark); }
.hero-slides { display: flex; transition: transform 0.6s ease; }
.hero-slide {
    min-width: 100%; position: relative;
    aspect-ratio: 21/9;
    max-height: 560px;
}
.hero-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,42,77,0.85) 0%, rgba(8,42,77,0.4) 60%, transparent 100%);
    display: flex; align-items: center;
}
.hero-slide-content {
    padding: 40px 60px; max-width: 600px; color: var(--white);
}
.hero-slide-content h1 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.hero-slide-content p { font-size: clamp(1rem, 2vw, 1.25rem); opacity: 0.95; margin-bottom: 24px; }
.hero-dots {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(255,255,255,0.4); border: none; cursor: pointer;
    transition: background var(--transition);
}
.hero-dot.active { background: var(--accent); }
.hero-arrows button {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.2); border: none; color: white;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    font-size: 1.2rem; z-index: 10; transition: background var(--transition);
}
.hero-arrows button:hover { background: var(--accent); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section); }
.section-title {
    text-align: center; margin-bottom: 48px;
}
.section-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--primary); font-weight: 800;
    position: relative; display: inline-block;
}
.section-title h2::after {
    content: ''; display: block; width: 60px; height: 4px;
    background: var(--accent); margin: 12px auto 0;
    border-radius: 2px;
}
.section-title p { color: var(--text-muted); margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* About row */
.about-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.about-row.reverse { direction: rtl; }
.about-row.reverse > * { direction: ltr; }
.about-image {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-text h2 { font-size: 2rem; color: var(--primary); margin-bottom: 20px; font-weight: 700; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }

/* Solutions grid (Finsmart Solutions style) */
.solutions-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.solution-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 36px 28px; text-align: center;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}
.solution-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.solution-icon {
    width: 72px; height: 72px; margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.75rem;
}
.solution-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 12px; }
.solution-card p { color: var(--text-muted); font-size: 0.95rem; }

/* BMI Calculator panel */
.bmi-calculator-panel {
    margin-top: 48px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.bmi-calc-intro {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.bmi-calc-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}
.bmi-calc-intro h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.bmi-calc-intro p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}
.bmi-unit-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border);
}
.bmi-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}
.bmi-tab:hover { color: var(--primary); }
.bmi-tab.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}
.bmi-calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.bmi-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.bmi-field label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
    margin-bottom: 6px;
}
.bmi-field label span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.bmi-field input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
}
.bmi-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 61, 110, 0.1);
}
.bmi-gender-row {
    display: flex;
    gap: 16px;
    padding: 10px 0;
}
.bmi-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}
.bmi-height-split {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.bmi-height-split input {
    width: 70px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
}
.bmi-height-split span {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.bmi-calc-btn {
    width: 100%;
    margin-top: 4px;
}
.bmi-result-panel {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
}
.bmi-result-panel h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}
.bmi-result-placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.bmi-result-value {
    text-align: center;
    padding: 16px 0;
}
.bmi-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
}
.bmi-unit-label {
    font-size: 0.9rem;
    opacity: 0.8;
}
.bmi-category-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 8px;
}
.bmi-result-value.cat-under .bmi-number,
.bmi-result-value.cat-under .bmi-category-label { color: #3b82f6; }
.bmi-result-value.cat-normal .bmi-number,
.bmi-result-value.cat-normal .bmi-category-label { color: #16a34a; }
.bmi-result-value.cat-over .bmi-number,
.bmi-result-value.cat-over .bmi-category-label { color: #ea580c; }
.bmi-result-value.cat-obese .bmi-number,
.bmi-result-value.cat-obese .bmi-category-label { color: #dc2626; }
.bmi-scale {
    position: relative;
    margin: 20px 0 16px;
    display: none;
}
.bmi-scale-bar {
    display: flex;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    font-size: 0;
}
.bmi-scale-seg.under { flex: 3; background: #60a5fa; }
.bmi-scale-seg.normal { flex: 4; background: #4ade80; }
.bmi-scale-seg.over { flex: 2; background: #fb923c; }
.bmi-scale-seg.obese { flex: 4; background: #f87171; }
.bmi-scale-marker {
    position: absolute;
    top: -4px;
    width: 4px;
    height: 20px;
    background: var(--primary-dark);
    border-radius: 2px;
    transform: translateX(-50%);
    display: none;
    transition: left 0.4s ease;
}
.bmi-result-details {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bmi-result-details li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-top: 1px solid var(--border);
    line-height: 1.5;
}
.bmi-result-details li:first-child { border-top: none; }
.bmi-category-table {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.bmi-category-table h4 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.bmi-category-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.bmi-category-table th,
.bmi-category-table td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid var(--border);
}
.bmi-category-table th {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 600;
}
.bmi-category-table tr.highlight-normal {
    background: #f0fdf4;
}
.bmi-category-table tr.highlight-normal td {
    font-weight: 600;
    color: #166534;
}

@media (max-width: 900px) {
    .bmi-calc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .bmi-form-grid { grid-template-columns: 1fr; }
    .bmi-calc-intro { flex-direction: column; }
}

/* Strengths counters */
.strengths-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.strength-item {
    text-align: center; padding: 32px 16px;
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.strength-item .counter {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
    color: var(--accent); line-height: 1;
}
.strength-item .label { font-size: 0.95rem; color: var(--text-muted); margin-top: 8px; font-weight: 500; }

/* Testimonials */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
    min-width: 100%; padding: 0 20px;
}
.testimonial-inner {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 40px; box-shadow: var(--shadow);
    max-width: 800px; margin: 0 auto; text-align: center;
}
.testimonial-stars { color: var(--accent); margin-bottom: 16px; font-size: 1.1rem; }
.testimonial-text { font-size: 1.1rem; font-style: italic; color: var(--text); margin-bottom: 20px; line-height: 1.8; }
.testimonial-author { font-weight: 700; color: var(--primary); }
.testimonial-source { font-size: 0.85rem; color: var(--text-muted); }
.google-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg-light); padding: 4px 12px; border-radius: 20px;
    font-size: 0.8rem; color: var(--text-muted); margin-top: 8px;
}

/* Gallery */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.gallery-item {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4/3; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-overlay {
    position: absolute; inset: 0; background: rgba(12,61,110,0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--transition);
    color: white; font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Events */
.events-grid { display: grid; gap: 32px; }
.event-card {
    display: grid; grid-template-columns: 320px 1fr; gap: 28px;
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
}
.event-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.event-card-body { padding: 28px; }
.event-date { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.event-card h3 { color: var(--primary); margin-bottom: 12px; font-size: 1.35rem; }

/* Success stories */
.videos-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px;
}
.video-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
}
.video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0;
}
.video-wrapper iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.video-card h3 { padding: 16px 20px; font-size: 1.1rem; color: var(--primary); }
.video-card p { padding: 0 20px 20px; color: var(--text-muted); font-size: 0.9rem; }

/* Home page - Success Stories (5 per row, 2 rows) */
.home-videos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.home-video-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.home-video-card h3 {
    padding: 10px 12px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-video-card .video-wrapper {
    padding-bottom: 56.25%;
}

/* Home page - Gallery (5 per row, 2 rows = 10 images) */
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.home-gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
}
.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-cta-link {
    text-align: center;
    margin-top: 36px;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card {
    background: var(--primary); color: var(--white);
    padding: 40px; border-radius: var(--radius-lg);
}
.contact-info-card h3 { margin-bottom: 24px; font-size: 1.5rem; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-item i { font-size: 1.2rem; color: var(--accent); margin-top: 4px; }
.contact-form { background: var(--bg-light); padding: 40px; border-radius: var(--radius-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border);
    border-radius: var(--radius); font-family: inherit; font-size: 1rem;
    transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.map-container {
    margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow);
}
.map-container iframe { width: 100%; height: 400px; border: 0; display: block; }

/* Page hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white); padding: 60px 0; text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; }

/* Dynamic content */
.content-page { padding: 60px 0; }
.content-page .page-content {
    max-width: 900px; margin: 0 auto;
    line-height: 1.8;
}
.content-page .page-content h2, .content-page .page-content h3 { color: var(--primary); margin: 24px 0 12px; }
.content-page .page-content p { margin-bottom: 16px; color: var(--text-muted); }

/* About panels */
.about-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.about-panel {
    background: var(--white); padding: 32px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); border-top: 4px solid var(--accent);
}
.about-panel h3 { color: var(--primary); margin-bottom: 16px; font-size: 1.25rem; }

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white); padding: 60px 0; text-align: center;
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.cta-banner p { opacity: 0.9; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer - Finsmart light gray style */
.site-footer {
    background: #ebebeb;
    color: #555555;
    padding: 56px 0 0;
}
.site-footer .container:first-child {
    padding-bottom: 48px;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col h4 {
    color: #333333;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.footer-col h4::after { display: none; }
.footer-col p { font-size: 0.9rem; line-height: 1.75; color: #555555; }
.footer-social-title {
    color: #333333;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 22px 0 12px;
    letter-spacing: 0.02em;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #555555; font-size: 0.9rem; }
.footer-links a:hover { color: #333333; }
.footer-contact { list-style: none; }
.footer-contact li {
    margin-bottom: 14px;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #555555;
}
.footer-contact i { display: none; }
.footer-contact a { color: #555555; }
.footer-contact a:hover { color: #333333; text-decoration: underline; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #ffffff; font-size: 0.95rem;
    transition: transform var(--transition), opacity var(--transition);
}
.footer-social a:hover { transform: scale(1.08); opacity: 0.9; color: #ffffff; }
.footer-social .social-linkedin { background: #0077b5; }
.footer-social .social-facebook { background: #1877f2; }
.footer-social .social-youtube { background: #ff0000; }
.footer-social .social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social .social-twitter { background: #000000; }
.footer-bottom {
    background: #d9d9d9;
    padding: 0;
    margin-top: 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 52px;
    padding: 14px 60px 14px 20px;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: #555555;
    text-align: center;
}
.scroll-top-btn {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 44px;
    height: 44px;
    background: #e31e24;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.scroll-top-btn:hover { background: #c4191f; }

/* Mobile sidebar */
.mobile-sidebar {
    position: fixed; top: 0; left: -300px; width: 300px; height: 100%;
    background: var(--white); z-index: 2000;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    transition: left var(--transition);
    overflow-y: auto;
}
.mobile-sidebar.open { left: 0; }
.mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 1999; opacity: 0; visibility: hidden;
    transition: all var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid #eeeeee;
    background: var(--header-top-bg);
}
.sidebar-header img { max-height: 44px; width: auto; }
.sidebar-close { background: none; border: none; color: #555555; font-size: 1.5rem; cursor: pointer; }
.sidebar-contacts {
    padding: 14px 20px; background: var(--header-top-bg);
    border-bottom: 1px solid #dddddd;
    display: flex; flex-direction: column; gap: 10px;
}
.sidebar-contacts a {
    color: #555555; font-size: 0.85rem;
    display: flex; align-items: center; gap: 10px;
}
.sidebar-menu { list-style: none; padding: 8px 0 24px; }
.sidebar-menu > li > a,
.sidebar-drop-btn {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px; color: #444444; font-weight: 500;
    width: 100%; background: none; border: none;
    font-family: inherit; font-size: 0.95rem; cursor: pointer;
    text-decoration: none; text-align: left;
}
.sidebar-menu > li > a:hover,
.sidebar-drop-btn:hover { background: #f5f5f5; }
.sidebar-menu > li > a i { width: 20px; color: var(--nav-contact-orange); }
.sidebar-sub {
    list-style: none; background: #fafafa; display: none; padding: 4px 0;
}
.sidebar-dropdown.open .sidebar-sub { display: block; }
.sidebar-dropdown.open .sidebar-drop-btn i { transform: rotate(180deg); }
.sidebar-sub a {
    display: block; padding: 12px 24px 12px 48px;
    color: #555555; font-size: 0.9rem;
}
.sidebar-sub a:hover { background: #f0f0f0; color: #222; }
.sidebar-contact-link { color: var(--nav-contact-orange) !important; font-weight: 600 !important; }
.sidebar-cta-btn {
    display: block; margin: 16px 20px 0; padding: 14px 20px;
    background: var(--nav-cta-red); color: #ffffff !important;
    text-align: center; font-weight: 600; border-radius: 50px;
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.25);
}
.sidebar-cta-btn:hover { background: #c4191f; color: #fff !important; }

/* Mobile bottom nav */
.mobile-bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--white); box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000; height: var(--mobile-nav-h);
    justify-content: space-around; align-items: center;
    padding: 0 8px;
}
.mobile-bottom-nav a, .mobile-bottom-nav button {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: var(--text-muted); font-size: 0.7rem; background: none; border: none;
    cursor: pointer; padding: 8px; flex: 1; font-family: inherit;
}
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover,
.mobile-bottom-nav button:hover { color: var(--primary); }
.mobile-bottom-nav i { font-size: 1.25rem; }

/* Alerts */
.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    z-index: 3000; display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 95%; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none; color: white; font-size: 2rem; cursor: pointer;
}

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 3rem; color: var(--border); margin-bottom: 16px; }

/* Responsive */
@media (max-width: 1024px) {
    .strengths-grid { grid-template-columns: repeat(3, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-slide { aspect-ratio: 16/9; max-height: 420px; }
    .home-videos-grid { grid-template-columns: repeat(4, 1fr); }
    .home-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .home-videos-grid { grid-template-columns: repeat(3, 1fr); }
    .home-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .nav-menu > li > a,
    .nav-menu .nav-drop-toggle { padding: 8px 10px; font-size: 0.85rem; }
    .btn-book-appointment { padding: 10px 18px; font-size: 0.8125rem; }
}

@media (max-width: 768px) {
    .header-top {
        display: block;
    }
    .header-top-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 16px;
        min-height: auto;
    }
    .header-top-left {
        width: 100%;
        justify-content: center;
        gap: 16px;
    }
    .header-top-left .header-contact span { display: inline; }
    .header-search {
        width: 100%;
        max-width: 100%;
    }
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }
    .logo-img { height: 44px; }
    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: var(--mobile-nav-h); }
    .section { padding: 50px 0; }
    .about-row, .contact-grid { grid-template-columns: 1fr; }
    .about-row.reverse { direction: ltr; }
    .solutions-grid, .about-panels { grid-template-columns: 1fr; }
    .strengths-grid { grid-template-columns: repeat(2, 1fr); }
    .event-card { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { padding-right: 56px; }
    .scroll-top-btn { width: 40px; height: 40px; right: 12px; }
    .hero-slide-content { padding: 24px 28px; }
    .hero-arrows button { width: 36px; height: 36px; font-size: 0.9rem; }
    .hero-slide { aspect-ratio: 4/3; max-height: 360px; }
    .hero-slide-overlay {
        background: linear-gradient(0deg, rgba(8,42,77,0.9) 0%, rgba(8,42,77,0.3) 100%);
        align-items: flex-end;
    }
}

@media (max-width: 480px) {
    .strengths-grid { grid-template-columns: 1fr; }
    .videos-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .home-videos-grid { grid-template-columns: repeat(2, 1fr); }
    .home-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
