/**
 * CA AMIT AMBIKA & ASSOCIATES - PREMIUM DESIGN SYSTEM
 * Corporate Finance, Statutory Assurance, and Tier-1 Business Advisory
 */

:root {
    /* Brand Colors */
    --navy-darker: #040d1a;
    --navy-dark: #071327;
    --navy-base: #0A192F;
    --navy-light: #112240;
    --navy-surface: #1B2A4A;
    --slate-dark: #1E293B;
    --slate-muted: #64748B;
    --slate-light: #94A3B8;
    --slate-border: #E2E8F0;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;

    /* Metallic Gold / Champagne Accents */
    --gold-primary: #C5A880;
    --gold-light: #E5C07B;
    --gold-dark: #9A7B4F;
    --gold-amber: #D97706;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #C5A880 50%, #B38F5B 100%);
    --gold-glow: rgba(197, 168, 128, 0.25);

    /* Status Colors */
    --success-green: #10B981;
    --danger-red: #EF4444;
    --info-blue: #2563EB;
    --warning-yellow: #F59E0B;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 4px 20px -2px rgba(10, 25, 47, 0.05);
    --shadow-medium: 0 10px 30px -4px rgba(10, 25, 47, 0.1);
    --shadow-deep: 0 20px 45px -8px rgba(7, 19, 39, 0.25);
    --shadow-gold: 0 8px 25px -4px rgba(197, 168, 128, 0.35);
}

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

body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

/* Selection */
::selection {
    background: var(--gold-primary);
    color: #FFFFFF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0A192F;
}
::-webkit-scrollbar-thumb {
    background: #233554;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Utility Helpers */
.bg-navy { background-color: var(--navy-base) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-navy-light { background-color: var(--navy-light) !important; }
.text-navy { color: var(--navy-base) !important; }
.text-gold { color: var(--gold-primary) !important; }
.text-slate-muted { color: var(--slate-muted) !important; }
.text-slate-light { color: var(--slate-light) !important; }
.max-w-700 { max-width: 700px; }
.max-w-850 { max-width: 850px; }
.section-padding { padding: 90px 0; }
@media (max-width: 768px) {
    .section-padding { padding: 55px 0; }
}

/* Section Headings */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-dark);
    background: rgba(197, 168, 128, 0.12);
    border: 1px solid rgba(197, 168, 128, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-heading {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
}
@media (max-width: 768px) {
    .section-heading { font-size: 1.75rem; }
}

/* ----------------------------------------------------
   1. TICKER BAR & NAVIGATION HEADER
------------------------------------------------------- */
.compliance-ticker-bar {
    background: #030914;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #F1F5F9;
    font-size: 0.82rem;
    padding: 7px 0;
    overflow: hidden;
    position: relative;
    z-index: 1040;
}

.ticker-badge {
    background: var(--gold-gradient);
    color: #040D1A;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(197, 168, 128, 0.35);
}

.ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 38s linear infinite;
}
.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    margin: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticker-tax-type {
    color: #FCD34D;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ticker-form-name {
    color: #FFFFFF;
    font-weight: 600;
}

.ticker-due-tag {
    color: #FEF08A;
    font-weight: 700;
    background: rgba(254, 240, 138, 0.15);
    border: 1px solid rgba(254, 240, 138, 0.35);
    padding: 1px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.ticker-applicability {
    color: #CBD5E1;
    font-weight: 400;
    font-size: 0.8rem;
}

.ticker-star {
    color: var(--gold-primary);
    margin: 0 8px;
    opacity: 0.85;
    font-size: 0.8rem;
}

/* 2. MAIN NAVBAR */
.ca-navbar {
    background: rgba(6, 15, 30, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
    transition: all var(--transition-smooth);
    z-index: 1030;
}

.ca-navbar.scrolled {
    background: rgba(4, 10, 22, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    padding: 8px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(197, 168, 128, 0.4);
    transition: all var(--transition-fast);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-sub {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 2px;
}

@media (max-width: 575.98px) {
    .brand-logo-img {
        width: 38px !important;
        height: 38px !important;
    }
    .brand-name {
        font-size: 1.02rem !important;
    }
    .brand-sub {
        font-size: 0.58rem !important;
        letter-spacing: 0.12em !important;
    }
}

.brand-icon-box {
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 1.15rem;
    box-shadow: var(--shadow-gold);
    flex-shrink: 0;
}

.ca-navbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ca-navbar .nav-link {
    color: #CBD5E1;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 12px !important;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.ca-navbar .nav-link:hover {
    color: var(--gold-primary);
    background: transparent;
}

.ca-navbar .nav-link.active {
    color: #FFFFFF;
    font-weight: 600;
    background: transparent;
}

.ca-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 2px;
}

.nav-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.18);
    color: #F6E05E;
    border: 1px solid rgba(212, 175, 55, 0.4);
    margin-left: 5px;
    line-height: 1.2;
    display: inline-block;
}

.ca-navbar .dropdown-menu {
    background: #09172A;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
    border-radius: 12px;
    padding: 8px;
    min-width: 250px;
}

.ca-navbar .dropdown-item {
    color: #F1F5F9;
    font-size: 0.88rem;
    padding: 9px 14px;
    border-radius: 6px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.ca-navbar .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.18);
    color: #FFFFFF;
    transform: translateX(3px);
}

.ca-navbar .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 6px 0;
}

.ca-navbar .dropdown-header {
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px 4px;
}

/* Mega Menu Dropdown */
.dropdown-menu-mega {
    min-width: 580px;
    max-width: 620px;
    padding: 18px !important;
}
@media (max-width: 1199.98px) {
    .dropdown-menu-mega { 
        min-width: 100% !important; 
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 6px !important;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
    }
}

/* Action Buttons in Navbar */
.ca-navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-nav-action {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.84rem;
    padding: 0 16px;
    line-height: 1;
    border-radius: 8px;
    transition: all var(--transition-smooth);
}

@media (max-width: 1199px) {
    .ca-navbar .navbar-collapse {
        background: #061122;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        padding: 16px 20px;
        margin-top: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    }
    .ca-navbar .navbar-nav {
        align-items: flex-start;
        gap: 4px;
        width: 100%;
    }
    .ca-navbar .nav-link {
        width: 100%;
        padding: 10px 14px !important;
        border-radius: 8px;
    }
    .ca-navbar .nav-link.active::after {
        display: none;
    }
    .ca-navbar .nav-link.active {
        background: rgba(212, 175, 55, 0.12);
        color: var(--gold-primary);
    }
    .ca-navbar-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .ca-navbar-actions .btn-nav-action,
    .ca-navbar-actions .dropdown,
    .ca-navbar-actions .dropdown > a,
    .ca-navbar-actions .dropdown > button {
        width: 100%;
        text-align: center;
    }
}

/* Standard Buttons */
.btn-gold {
    background: var(--gold-gradient);
    color: #071327 !important;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.45);
    filter: brightness(1.05);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-primary) !important;
    border: 1.5px solid var(--gold-primary);
    font-weight: 600;
    border-radius: 8px;
    padding: 9px 20px;
    transition: all var(--transition-smooth);
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: #071327 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.3);
}

.btn-navy {
    background-color: var(--navy-base);
    color: #FFFFFF !important;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    transition: all var(--transition-smooth);
}

.btn-navy:hover {
    background-color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.25);
}

/* ----------------------------------------------------
   2. HERO SECTION
------------------------------------------------------- */
.hero-section {
    background: radial-gradient(circle at top right, #172a45 0%, #0A192F 50%, #040D1A 100%);
    color: #FFFFFF;
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.02" fill-rule="evenodd"><path d="M0 40L40 0H20L0 20M40 40V20L20 40"/></g></svg>');
    pointer-events: none;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
@media (max-width: 991px) {
    .hero-title { font-size: 2.35rem; }
}

.hero-desc {
    font-size: 1.12rem;
    color: #94A3B8;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-card-glass {
    background: rgba(17, 34, 64, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.stat-counter-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    transition: transform var(--transition-smooth);
}
.stat-counter-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 168, 128, 0.4);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: #94A3B8;
    font-weight: 500;
    margin-bottom: 0;
}

/* ----------------------------------------------------
   3. SERVICE CARDS & PRACTICE AREAS
------------------------------------------------------- */
.service-card {
    background: #FFFFFF;
    border: 1px solid var(--slate-border);
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-subtle);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-deep);
    border-color: rgba(197, 168, 128, 0.6);
}

.service-icon-wrap {
    width: 54px;
    height: 54px;
    background: rgba(10, 25, 47, 0.05);
    color: var(--navy-base);
    border: 1px solid rgba(10, 25, 47, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all var(--transition-smooth);
}

.service-card:hover .service-icon-wrap {
    background: var(--gold-gradient);
    color: var(--navy-dark);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.service-desc {
    color: var(--slate-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.service-fee {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-dark);
}

/* ----------------------------------------------------
   4. FINANCIAL CALCULATORS HUB
------------------------------------------------------- */
.calculator-box {
    background: #FFFFFF;
    border: 1px solid var(--slate-border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-medium);
}
@media (max-width: 768px) {
    .calculator-box { padding: 20px; }
}

.nav-calc-tabs {
    gap: 8px;
    border-bottom: 2px solid var(--slate-border);
    padding-bottom: 12px;
}

.nav-calc-tabs .nav-link {
    color: var(--slate-muted);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 10px;
    padding: 9px 16px;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.nav-calc-tabs .nav-link:hover {
    color: var(--navy-base);
    background: rgba(10, 25, 47, 0.05);
}

.nav-calc-tabs .nav-link.active {
    background: var(--navy-base);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(10, 25, 47, 0.2);
}

.calc-result-card {
    background: radial-gradient(circle at top right, #172a45, #0A192F);
    color: #FFFFFF;
    border-radius: 16px;
    padding: 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-medium);
}

.calc-stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-light);
    margin-bottom: 4px;
}

.calc-stat-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
}

/* ----------------------------------------------------
   5. PROCESS PIPELINE / 4 STAGES
------------------------------------------------------- */
.process-step-card {
    background: #FFFFFF;
    border: 1px solid var(--slate-border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    position: relative;
    height: 100%;
    transition: all var(--transition-smooth);
}
.process-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold-primary);
}

.process-step-num {
    width: 44px;
    height: 44px;
    background: var(--gold-gradient);
    color: #071327;
    font-weight: 800;
    font-size: 1.15rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-gold);
}

/* ----------------------------------------------------
   6. TEAM & LEADERSHIP PROFILES
------------------------------------------------------- */
.team-card {
    background: #FFFFFF;
    border: 1px solid var(--slate-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-deep);
    border-color: rgba(197, 168, 128, 0.5);
}

.team-avatar-box {
    height: 220px;
    background: radial-gradient(circle at center, #1E293B, #0A192F);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 4rem;
}

/* ----------------------------------------------------
   7. TESTIMONIALS & FAQS
------------------------------------------------------- */
.testimonial-card {
    background: #FFFFFF;
    border: 1px solid var(--slate-border);
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-smooth);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.accordion-ca .accordion-item {
    border: 1px solid var(--slate-border);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #FFFFFF;
}

.accordion-ca .accordion-button {
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy-dark);
    padding: 18px 22px;
    background: #FFFFFF;
    box-shadow: none;
}
.accordion-ca .accordion-button:not(.collapsed) {
    background: rgba(10, 25, 47, 0.03);
    color: var(--navy-base);
}

/* ----------------------------------------------------
   8. FOOTER
------------------------------------------------------- */
.ca-footer {
    background: #040D1A;
    color: #94A3B8;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ca-footer h5 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.ca-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ca-footer ul li {
    margin-bottom: 10px;
}

.ca-footer ul li a {
    color: #94A3B8;
    font-size: 0.88rem;
    transition: color var(--transition-fast);
}

.ca-footer ul li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

/* ==========================================================================
   OMNICHANNEL RESPONSIVE SYSTEM (ALL SCREEN SIZES)
   ========================================================================== */

/* 1. Global Viewport & Touch Ergonomics */
html, body {
    overflow-x: clip;
    max-width: 100vw;
}

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

/* 2. Responsive Hero Section */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 75px 0 65px;
    }
    .hero-title {
        font-size: 2.35rem;
    }
    .hero-desc {
        font-size: 1.02rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 48px 0 40px;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.2;
        margin-bottom: 14px;
        letter-spacing: -0.02em;
    }
    .hero-desc {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 20px;
    }
    .hero-card-glass {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .stat-counter-card {
        padding: 14px 10px;
        border-radius: 10px;
    }
    .stat-number {
        font-size: 1.65rem;
    }
    .stat-label {
        font-size: 0.72rem;
    }
}

/* 3. Compliance Ticker Bar on Small Screens */
@media (max-width: 767.98px) {
    .compliance-ticker-bar {
        font-size: 0.76rem;
    }
    .ticker-badge {
        font-size: 0.68rem;
        padding: 3px 8px;
        margin-right: 8px !important;
    }
    .ticker-item {
        margin-right: 12px;
    }
}

/* 4. Section Headings & Spacers */
@media (max-width: 767.98px) {
    .section-heading {
        font-size: 1.72rem !important;
    }
    .section-padding {
        padding: 48px 0 !important;
    }
    .section-tag {
        font-size: 0.72rem;
        padding: 4px 10px;
    }
    .service-card {
        padding: 20px !important;
    }
    .team-avatar-box {
        height: 190px !important;
    }
    .testimonial-card {
        padding: 20px !important;
    }
    .ca-footer {
        padding: 50px 0 25px;
    }
    .ca-footer h5 {
        margin-top: 15px;
        margin-bottom: 12px;
    }
}

/* 5. Interactive Calculators Responsiveness */
@media (max-width: 991.98px) {
    .calculator-pane {
        margin-bottom: 1.5rem;
    }
    .calc-tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .calc-tabs-nav .nav-link {
        white-space: nowrap;
    }
}

/* 6. Form Modals on Mobile */
@media (max-width: 575.98px) {
    .modal-dialog {
        margin: 0.5rem auto !important;
        max-width: calc(100% - 1rem) !important;
    }
    .modal-content {
        border-radius: 16px !important;
    }
}

/* 7. Ultra-Wide Screens (>= 1600px) */
@media (min-width: 1600px) {
    .container, 
    .container-lg, 
    .container-xl, 
    .container-xxl {
        max-width: 1560px;
    }
}

