/* ==========================================================================
   MCSP & ASSOCIATES LLP - CHARTERED ACCOUNTANTS
   Primary Theme: Clean White & Corporate Royal Blue (vkpatawari aesthetic)
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-950: #061526;
    --primary-900: #0a2540;   /* Deep Executive Navy */
    --primary-800: #0d3880;
    --primary-700: #1052b0;
    --primary-600: #0066ff;   /* Vivid Royal Accent Blue */
    --primary-500: #2575fc;
    --primary-100: #e8f1fe;   /* Light Sky Tint */
    --primary-50:  #f0f7ff;

    --neutral-900: #0f172a;   /* Primary Dark Text */
    --neutral-800: #1e293b;
    --neutral-700: #334155;
    --neutral-600: #475569;   /* Body Text */
    --neutral-400: #94a3b8;
    --neutral-200: #e2e8f0;   /* Subtle Border */
    --neutral-100: #f1f5f9;
    --neutral-50:  #f8fafc;   /* Page Background */
    --white:       #ffffff;

    --accent-gold: #f59e0b;
    --success-green: #10b981;

    /* Elevation */
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06), 0 1px 2px rgba(10, 37, 64, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(10, 37, 64, 0.08), 0 2px 4px -2px rgba(10, 37, 64, 0.05);
    --shadow-lg: 0 12px 24px -4px rgba(10, 37, 64, 0.12), 0 4px 8px -2px rgba(10, 37, 64, 0.06);
    --shadow-xl: 0 20px 35px -5px rgba(10, 37, 64, 0.16), 0 10px 15px -5px rgba(10, 37, 64, 0.08);

    /* Fonts & Radii */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--neutral-50);
    color: var(--neutral-700);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0a2540 0%, #061526 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.preloader-logo-ring {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: #ffffff;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 0 35px rgba(0, 102, 255, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.05);
    animation: floatLogo 2s ease-in-out infinite;
}

.preloader-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
}

.preloader-text h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.preloader-text p {
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.loading-bar {
    width: 180px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #0066ff, #60a5fa);
    border-radius: var(--radius-full);
    animation: progressAnim 1.2s infinite ease-in-out;
}

@keyframes progressAnim {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

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

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

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

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

.container {
    width: 100%;
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

/* Top Announcement Bar */
.top-bar {
    background-color: var(--primary-900);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.84rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-info, .top-contact {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.top-ca-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 700;
}

.top-ca-icon {
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 4px;
    padding: 2px;
    object-fit: contain;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.top-info span, .top-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
}

.top-contact a:hover {
    color: #93c5fd;
}

.top-bar i {
    width: 15px;
    height: 15px;
    color: #60a5fa;
}

.divider {
    color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Navigation Bar & Dropdown (vkpatawari style)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: 0 2px 10px rgba(10, 37, 64, 0.04);
    transition: all var(--transition-normal);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.logo-wrapper {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 3px 10px rgba(0, 102, 255, 0.15);
    border: 1px solid var(--neutral-200);
    padding: 4px;
    transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-wrapper {
    transform: scale(1.05);
}

.brand-ca-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 800;
    color: var(--primary-900);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.brand-subtitle {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--primary-600);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-link {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--neutral-700);
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-600);
}

/* Nav Dropdowns */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle i {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 0.65rem 0;
    display: none;
    z-index: 1010;
    animation: dropdownFade 0.25s ease forwards;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.25rem;
    color: var(--neutral-700);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.dropdown-menu a i {
    width: 16px;
    height: 16px;
    color: var(--primary-600);
}

.dropdown-menu a:hover {
    background-color: var(--primary-50);
    color: var(--primary-700);
    padding-left: 1.5rem;
}

/* Schedule Appointment Button with Radar Pulse Dot (vkpatawari style) */
.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
    color: var(--white);
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
    position: relative;
    transition: all var(--transition-fast);
}

.btn-appointment:hover {
    background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.38);
}

.btn-appointment i {
    width: 16px;
    height: 16px;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.6);
    animation: radarPulse 1.8s infinite;
}

@keyframes radarPulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-900);
    cursor: pointer;
    padding: 0.5rem;
}

/* ==========================================================================
   News Ticker Bar (vkpatawari style)
   ========================================================================== */
.news-ticker-bar {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.84rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.news-ticker-container {
    display: flex;
    align-items: center;
    height: 42px;
}

.ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-600);
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.ticker-label i {
    width: 14px;
    height: 14px;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    animation: scrollTicker 30s linear infinite;
}

.ticker-content::-webkit-scrollbar {
    display: none;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #e2e8f0;
}

.ticker-item i {
    width: 14px;
    height: 14px;
    color: #38bdf8;
}

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

/* ==========================================================================
   Hero Section (vkpatawari.com High-Impact Style)
   ========================================================================== */
/* ==========================================================================
   Hero Carousel Section (Auto-Sliding Multi-Image Slider)
   ========================================================================== */
.hero-slider-sec {
    position: relative;
    background-color: #061526;
    color: var(--white);
    padding-bottom: 4rem;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    min-height: 640px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    padding: clamp(4.5rem, 8vw, 6.5rem) 0 4rem;
    z-index: 1;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 7s ease-out;
    z-index: 1;
}

.hero-slide.active .slide-bg {
    transform: scale(1.06);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 21, 38, 0.92) 0%, rgba(10, 37, 64, 0.82) 45%, rgba(0, 102, 255, 0.5) 100%);
    z-index: 2;
}

.slide-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.slide-content {
    max-width: 840px;
    animation: slideUpContent 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpContent {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #93c5fd;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 8px #60a5fa;
}

.hero-main-title {
    color: var(--white);
    font-size: clamp(2.4rem, 4.8vw, 3.7rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 1.35rem;
}

.hero-highlight {
    background: linear-gradient(90deg, #60a5fa 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-main-desc {
    font-size: clamp(1.05rem, 2vw, 1.18rem);
    color: #e2e8f0;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 740px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.hero-btn-group {
    display: flex;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #0066ff;
    color: var(--white);
    padding: 0.95rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.4);
    transition: all var(--transition-fast);
}

.btn-hero-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.5);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.95rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--primary-900);
}

/* Slider Arrow Controls */
.slider-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 37, 64, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
    left: 2rem;
}

.slider-arrow.next {
    right: 2rem;
}

.slider-arrow i {
    width: 22px;
    height: 22px;
}

/* Slider Pagination Dots */
.slider-dots {
    position: absolute;
    bottom: 2.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    width: 32px;
    background: #60a5fa;
    box-shadow: 0 0 10px #60a5fa;
}

/* ==========================================================================
   Core Practice Pillars (Modern 4-Deck Matrix)
   ========================================================================== */
.hero-matrix-container {
    position: relative;
    z-index: 15;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.hero-floating-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.floating-service-card {
    background: var(--white);
    color: var(--neutral-800);
    border-radius: var(--radius-lg);
    padding: 1.85rem 1.5rem 1.5rem;
    box-shadow: 0 12px 30px rgba(10, 37, 64, 0.1);
    border: 1px solid var(--neutral-200);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.floating-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 50, 120, 0.18);
    border-color: var(--primary-600);
}

/* Card Top Accent Bars */
.card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.accent-blue { background: linear-gradient(90deg, #0066ff, #60a5fa); }
.accent-navy { background: linear-gradient(90deg, #0a2540, #1e40af); }
.accent-cyan { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.accent-gold { background: linear-gradient(90deg, #d97706, #fbbf24); }

.card-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-50);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.12);
}

.floating-card-icon i {
    width: 22px;
    height: 22px;
}

.card-category-tag {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    background: var(--neutral-100);
    color: var(--neutral-700);
}

.floating-service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-900);
    line-height: 1.3;
}

.floating-service-card p {
    font-size: 0.86rem;
    color: var(--neutral-600);
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.card-mini-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0.5rem 0 1.25rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--neutral-100);
    flex-grow: 1;
}

.card-mini-bullets li {
    font-size: 0.82rem;
    color: var(--neutral-700);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
}

.card-mini-bullets i {
    width: 14px;
    height: 14px;
    color: var(--primary-600);
    flex-shrink: 0;
}

.card-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-50);
    color: var(--primary-700);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.84rem;
    font-weight: 700;
    transition: all var(--transition-fast);
    border: 1px solid var(--primary-100);
    margin-top: auto;
}

.card-cta-btn i {
    width: 15px;
    height: 15px;
    transition: transform var(--transition-fast);
}

.floating-service-card:hover .card-cta-btn {
    background: var(--primary-600);
    color: var(--white);
    border-color: var(--primary-600);
}

.floating-service-card:hover .card-cta-btn i {
    transform: translateX(4px);
}

/* ==========================================================================
   Consultation Modal (vkpatawari style)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 37, 64, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 580px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-ca-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-ca-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-title-group h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
}

.modal-title-group p {
    font-size: 0.8rem;
    color: #93c5fd;
}

.modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 2rem;
}

/* Global Sections */
.section {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.section-header {
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--primary-600);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.35rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--neutral-600);
    font-size: 1.05rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-card {
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-100);
}

.icon-box-primary {
    width: 52px;
    height: 52px;
    background-color: var(--primary-100);
    color: var(--primary-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.check-list i {
    width: 18px;
    height: 18px;
    color: var(--primary-600);
}

.stats-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-900);
}

.stat-pill i {
    width: 16px;
    height: 16px;
    color: var(--primary-600);
}

/* Partners Section (Circular Photos) */
.partners-section {
    background-color: var(--neutral-50);
}

.partner-card {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.partner-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-600);
    transform: translateY(-4px);
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.avatar-circle-wrapper {
    width: 100px;
    height: 100px;
    position: relative;
    flex-shrink: 0;
}

.avatar-circle-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-600), #60a5fa);
    opacity: 0.85;
    z-index: 1;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.partner-card:hover .avatar-circle-glow {
    transform: scale(1.05);
    opacity: 1;
}

.partner-circle-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.avatar-ca-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    z-index: 3;
    background: var(--primary-900);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.partner-meta {
    flex: 1;
}

.partner-name {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.partner-qualification {
    font-size: 0.88rem;
    color: var(--primary-600);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.badge-membership {
    display: inline-block;
    font-size: 0.76rem;
    background-color: var(--primary-50);
    color: var(--primary-900);
    border: 1px solid var(--primary-100);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.partner-bio {
    color: var(--neutral-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.expertise-tags span {
    background-color: var(--neutral-100);
    color: var(--neutral-700);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
}

.partner-contact {
    padding-top: 1.25rem;
    border-top: 1px dashed var(--neutral-200);
}

.partner-mail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-700);
}

.partner-mail i {
    width: 16px;
    height: 16px;
}

/* Practice Areas / Services */
.services-section {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all var(--transition-normal);
}

.service-card:hover {
    background-color: var(--white);
    border-color: var(--primary-600);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--neutral-600);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid var(--neutral-200);
    padding-top: 1rem;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--neutral-700);
    position: relative;
    padding-left: 1.25rem;
}

.service-features li::before {
    content: "•";
    color: var(--primary-600);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Tools & Calculators */
.tools-section {
    background-color: var(--neutral-50);
}

.tools-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tools-tabs {
    display: flex;
    background-color: var(--neutral-100);
    border-bottom: 1px solid var(--neutral-200);
    overflow-x: auto;
    scrollbar-width: thin;
}

.tool-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.15rem 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-600);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.tool-tab:hover {
    color: var(--primary-600);
}

.tool-tab.active {
    background-color: var(--white);
    color: var(--primary-700);
    border-bottom-color: var(--primary-600);
}

.tool-tab i {
    width: 18px;
    height: 18px;
}

.tool-content-wrapper {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.tool-card {
    display: none;
}

.tool-card.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.calc-inputs h4 {
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--neutral-900);
    background-color: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--neutral-600);
    margin-top: 0.5rem;
}

.form-hint i {
    width: 14px;
    height: 14px;
    color: var(--primary-600);
}

.result-box {
    background: linear-gradient(145deg, var(--primary-900), var(--primary-800));
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.result-row strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.result-row.total-row {
    border-bottom: none;
    border-top: 2px solid rgba(255, 255, 255, 0.25);
    margin-top: 0.75rem;
    padding-top: 1rem;
    font-size: 1.05rem;
}

.result-row.total-row strong {
    font-size: 1.4rem;
    color: #60a5fa;
}

.due-dates-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.due-date-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.25rem;
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
}

.due-badge {
    background-color: var(--primary-100);
    color: var(--primary-800);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
}

.due-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.due-details p {
    font-size: 0.88rem;
    color: var(--neutral-600);
}

/* Offices Section */
.offices-section {
    background-color: var(--white);
}

.office-card {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    position: relative;
    transition: all var(--transition-normal);
}

.office-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-600);
    transform: translateY(-4px);
}

.office-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.office-tag i {
    width: 14px;
    height: 14px;
}

.ho-tag {
    background-color: #dbeafe;
    color: #1e40af;
}

.bo-tag {
    background-color: #e0e7ff;
    color: #3730a3;
}

.office-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.office-address {
    display: flex;
    gap: 0.85rem;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.office-address i {
    width: 22px;
    height: 22px;
    color: var(--primary-600);
    flex-shrink: 0;
    margin-top: 3px;
}

.office-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    border-top: 1px solid var(--neutral-200);
    padding-top: 1.25rem;
}

.office-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.office-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-600);
}

/* Contact Section */
.contact-section {
    background-color: var(--neutral-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.contact-intro h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.25rem);
    margin-bottom: 1rem;
}

.contact-intro p {
    color: var(--neutral-600);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-meta-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-200);
}

.meta-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary-100);
    color: var(--primary-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-label {
    display: block;
    font-size: 0.78rem;
    color: var(--neutral-600);
}

.meta-val {
    font-size: 0.98rem;
    color: var(--primary-900);
    word-break: break-all;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Google Maps Section */
.maps-section {
    background-color: var(--white);
    border-top: 1px solid var(--neutral-200);
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.map-card {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.map-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-600);
    transform: translateY(-3px);
}

.map-card-header {
    padding: 1.5rem;
    background: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.map-header-title h3 {
    font-size: 1.25rem;
    margin: 0.35rem 0 0.25rem;
}

.map-header-title p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.map-header-title i {
    width: 14px;
    height: 14px;
    color: var(--primary-600);
}

.map-iframe-wrapper {
    width: 100%;
    height: 340px;
    position: relative;
    background-color: var(--neutral-100);
}

.map-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ICAI Disclaimer Bar */
.icai-disclaimer-bar {
    background-color: var(--neutral-100);
    border-top: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
    padding: 1.5rem 0;
    font-size: 0.82rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--primary-900);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 4.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}

.footer-logo .logo-wrapper {
    background: var(--white);
    border-color: transparent;
}

.footer-logo .brand-title {
    color: var(--white);
}

.footer-about {
    font-size: 0.88rem;
    margin: 1.25rem 0;
    line-height: 1.6;
}

.footer-frn {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
}

.footer-frn span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

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

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.88rem;
}

.footer-contact-info p {
    display: flex;
    gap: 0.5rem;
}

.footer-contact-info i {
    width: 18px;
    height: 18px;
    color: #60a5fa;
    flex-shrink: 0;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Smooth Interaction & Floating Back-To-Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 990;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.5);
    background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
}

.back-to-top i {
    width: 20px;
    height: 20px;
}

/* Navbar Scrolled State */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 25px rgba(10, 37, 64, 0.08);
}

.navbar.scrolled .nav-container {
    height: 68px;
}

/* Mobile Offcanvas Backdrop */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 21, 38, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    z-index: 998;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints
   ========================================================================== */

/* Laptops / Smaller Desktops */
@media (max-width: 1200px) {
    .hero-floating-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .hero-main-title {
        font-size: 2.8rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .slider-wrapper {
        min-height: 580px;
    }
}

/* Small Tablets & Mobile Devices */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 0;
    }

    .top-bar-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.35rem;
        font-size: 0.76rem;
    }

    .top-bar .divider {
        display: none;
    }

    .nav-container {
        height: 68px;
    }

    /* Off-Canvas Slide-In Drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 290px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.75rem 2.5rem;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
        display: flex;
        gap: 1rem;
        overflow-y: auto;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        font-size: 1rem;
        padding: 0.65rem 0;
        border-bottom: 1px solid var(--neutral-100);
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: var(--neutral-50);
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
        border-radius: var(--radius-md);
        display: none;
        padding: 0.5rem;
        width: 100%;
    }

    .nav-dropdown.active-mobile .dropdown-menu {
        display: block;
    }

    .btn-appointment {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding: 0.85rem;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: var(--radius-md);
        background: var(--neutral-100);
        color: var(--primary-900);
        border: none;
        cursor: pointer;
        z-index: 1001;
        transition: all var(--transition-fast);
    }

    .mobile-toggle:hover {
        background: var(--primary-50);
        color: var(--primary-600);
    }

    /* Slider Adjustments for Mobile */
    .slider-wrapper {
        min-height: 520px;
    }

    .hero-slide {
        padding: 3.5rem 0 3.5rem;
        text-align: center;
    }

    .slide-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-pill-badge {
        font-size: 0.78rem;
        padding: 0.35rem 0.95rem;
    }

    .hero-main-title {
        font-size: 2.1rem;
        margin-bottom: 1rem;
    }

    .hero-main-desc {
        font-size: 0.96rem;
        margin-bottom: 1.75rem;
    }

    .hero-btn-group {
        justify-content: center;
        width: 100%;
    }

    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
        top: auto;
        bottom: 1.5rem;
        transform: none;
    }

    .slider-arrow.prev {
        left: 1.25rem;
    }

    .slider-arrow.next {
        right: 1.25rem;
    }

    .slider-arrow:hover {
        transform: scale(1.06);
    }

    .hero-floating-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

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

    .partner-header {
        flex-direction: column;
        text-align: center;
    }

    .expertise-tags {
        justify-content: center;
    }

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

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

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

    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    .brand-title {
        font-size: 0.92rem;
    }

    .brand-subtitle {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
    }

    .hero-main-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .tools-tabs {
        flex-direction: column;
        width: 100%;
    }

    .tool-tab {
        width: 100%;
        justify-content: center;
    }

    .due-date-item {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}
