:root {
    /* Brand Colors - User Specific Palette */
    /* Primary Blue */
    --color-primary: #0000FF;
    /* Medium Blue */
    --color-primary-light: #3482CB;
    /* Deep Black (used for Dark variants) */
    --color-primary-dark: #1A1A1B;

    /* Accents */
    --color-accent-red: #E44B53;
    /* Muted Red */
    --color-accent-blue-med: #3482CB;
    /* Medium Blue alias */
    --color-accent-black: #1A1A1B;
    /* Deep Black alias */

    --color-accent-lime: #a3d922;
    /* Legacy/Backup */
    --color-accent-yellow: #fadb14;

    /* Neutrals */
    --color-text-main: #1A1A1B;
    /* Deep Black */
    --color-text-light: #444444;
    --color-bg-light: #f4f6f8;
    --color-bg-beige: #ffffff;
    --color-bg-dark: #1A1A1B;
    /* Deep Black for backgrounds */
    --color-white: #ffffff;
    --color-top-bar: #1A1A1B;
    /* Deep Black Top Bar */

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Typography */
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 1.5;
    background: #fff;
    padding-top: 0;
    /* Sticky header handles itself */
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.hidden-desktop {
    display: none;
}

.hidden-mobile {
    display: block;
}

.text-xs {
    font-size: 12px;
}

.font-bold {
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    width: auto;
}

.btn-pill {
    border-radius: 50px;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

/* Header Structures */
.top-bar {
    background: var(--color-top-bar);
    color: white;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-links {
    display: flex;
    gap: 20px;
}

.top-bar-links a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    border-bottom: 1px solid #eee;
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
}

/* Logo icon mimicking the uploaded image tri-stripe */
.logo-icon {
    display: flex;
    gap: 4px;
    height: 32px;
}

.logo-stripe {
    width: 8px;
    height: 100%;
    transform: skewX(-20deg);
}

.stripe-1 {
    background: var(--color-primary-light);
}

/* Left Stripe */
.stripe-2 {
    background: var(--color-accent-lime);
}

/* Middle Stripe */
.stripe-3 {
    background: var(--color-primary);
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.main-nav a:hover {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-main);
}

.action-link:hover {
    color: var(--color-primary);
}

.sign-in-btn {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sign-in-btn:hover {
    background: var(--color-primary);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-primary);
}

/* Promotional Banner */
.promo-banner {
    background: var(--color-bg-light);
    color: var(--color-text-main);
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}

.promo-banner a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Hero */
.hero-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    /* Dark Blue Background / Fallback */
    background: var(--color-bg-dark);
    color: white;
    min-height: 450px;
    display: flex;
    align-items: center;
}

/* Background Image Overlay Simulation */
/* Background Image Overlay Simulation */
.hero-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Cover full width to manage the split */
    height: 100%;
    /* Solid Black up to 45%, fade out by 65%, transparent afterwards */
    background: linear-gradient(to right, var(--color-bg-dark) 45%, rgba(26, 26, 27, 0) 65%);
    z-index: 1;
}

.hero-overlay-bg::after {
    display: none;
}

/* Ensure a full width image on the right */
/* Ensure a full width image on the right */
/* Ensure a full width image on the right */
/* Pattern Layer (Behind Man) */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('../images/hero-pattern.png') center/cover no-repeat;
    z-index: 0;
}

/* Man Layer (On Top of Pattern) */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('../images/hero-bg.png') 80% center/cover no-repeat;
    z-index: 0;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Force strict left alignment */
    width: 100%;
    /* Ensure it spans the fluid container */
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 0 0 auto;
    /* Do not grow, strictly sized */
    width: 100%;
    max-width: 550px;
    text-align: left;
    /* Ensure text is left aligned */
    padding-right: 20px;
    position: relative;
    z-index: 5;
}

.hero-tag {
    color: var(--color-primary-light);
    /* Medium Blue to match design placement */
    font-size: 16px;
    font-weight: 800;
    text-transform: none;
    /* Screenshot has sentence case/lowercase mix? "70 years..." */
    margin-bottom: 16px;
    display: block;
    border: none;
    background: transparent;
    padding: 0;
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    line-height: 1.1;
    margin-bottom: 20px;
    /* User requested 20px */
    font-weight: 900;
    font-weight: 900;
    /* Extra Bold */
    letter-spacing: -1.5px;
    color: white;
}

.hero-desc {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    /* User requested 15px */
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--color-primary-dark);
}

.btn-white {
    background: white;
    color: var(--color-text-main);
    border: 2px solid white;
}

.btn-white:hover {
    background: #f0f0f0;
}

.hero-spacer {
    flex: 1;
}

/* Pricing Cards Section (Three Pillars) */
.pricing-section {
    padding: 80px 0;
    background: #F9F8F4;
    /* Beige Background */
}

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.pricing-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 800;
}

/* Pricing Grid & Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
    /* Equal height */
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease;
    border: none;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-content {
    margin-bottom: 20px;
}

.pricing-title {
    font-size: 26px;
    /* Larger to match bold reference */
    font-weight: 900;
    /* Extra bold */
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--color-text-main);
}

.pricing-desc {
    font-size: 15px;
    color: var(--color-text-main);
    line-height: 1.5;
    margin-bottom: 20px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

/* Feature Dots */
.feature-dot {
    width: 8px;
    height: 8px;
    background: #000;
    margin-top: 6px;
    flex-shrink: 0;
}

.feature-dot.red {
    background: var(--color-accent-red);
}

.feature-dot.blue {
    background: var(--color-primary);
}

.feature-dot.black {
    background: var(--color-accent-black);
}

/* Pricing Footer Area */
.pricing-footer {
    margin-top: auto;
}

.price-box {
    margin-bottom: 20px;
}

.price-label {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    margin-bottom: 4px;
}

.price-value {
    font-size: 56px;
    /* Even larger for exact match */
    font-weight: 900;
    line-height: 1;
    color: var(--color-text-main);
    letter-spacing: -2px;
}

/* Color specific overrides for price value */
.card-pillar-1 .price-value {
    color: var(--color-accent-red);
}

.card-pillar-2 .price-value {
    color: var(--color-primary);
}

.card-pillar-3 .price-value {
    color: var(--color-accent-black);
}

/* Button Colors - RESTORED */
.btn-pillar-1 {
    background: var(--color-accent-red);
    color: white;
    border: none;
}

.btn-pillar-1:hover {
    background: #b52b3a;
}

.btn-pillar-2 {
    background: var(--color-primary);
    color: white;
    border: none;
}

.btn-pillar-2:hover {
    background: var(--color-primary-dark);
}

.btn-pillar-3 {
    background: var(--color-accent-black);
    color: white;
    border: none;
}

.btn-pillar-3:hover {
    background: #333;
}

/* Buttons Base */
.btn-pill {
    border-radius: 50px;
    /* Explicit pill shape */
}

.btn-full {
    width: 100%;
    display: block;
    text-align: center;
    padding: 14px;
    /* Slightly taller */
    font-weight: 800;
    margin-bottom: 20px;
}

/* Learn More Link */
.learn-more-link {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-main);
}

.learn-more-link i {
    font-size: 12px;
    margin-left: 4px;
}


/* Refund Advance Promo Section */
.refund-section {
    padding: 60px 0;
    background: white;
}

.refund-card {
    display: flex;
    background: var(--color-bg-dark);
    /* Deep Black/Dark from Theme */
    border-radius: 12px;
    overflow: hidden;
    color: white;
    min-height: 400px;
}

.refund-image {
    flex: 1;
    background: url('../images/promo-refund-bg.png') center/cover no-repeat;
    min-height: 300px;
}

.refund-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.refund-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.refund-desc {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.refund-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.refund-link i {
    font-size: 12px;
    margin-left: 5px;
}

.refund-link:hover {
    text-decoration: underline;
}

/* Responsive check for promo */
@media (max-width: 768px) {
    .refund-card {
        flex-direction: column;
    }

    .refund-image {
        min-height: 250px;
    }

    .refund-content {
        padding: 30px;
    }
}


/* Office Locator Section */
.locator-section {
    position: relative;
    height: 500px;
    background: #f0f0f0;
    overflow: hidden;
}

.locator-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.locator-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%);
    /* Optional: Slightly desaturate map for focus */
}

.locator-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.locator-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.locator-desc {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.locator-search {
    display: flex;
    gap: 10px;
}

.locator-search input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
}

.locator-search input:focus {
    border-color: var(--color-primary);
}

.locator-search button {
    padding: 12px 24px;
    white-space: nowrap;
}

.learn-more-link i {
    font-size: 12px;
    margin-left: 4px;
}


/* Special Card 2 Styling (Badge) */
.card-pillar-2 {
    position: relative;
    overflow: hidden;
    /* For badge clipping if needed */
}

/* Badge sitting on top of the card */
.card-badge-top {
    background: #00D660;
    /* Bright Green from image, or use Brand color? Sticking to Green for contrast/reference match or Blue? User accepted "Taxwood Palette". Let's use darker green or just Brand Blue. Actually user said "Taxwood Palette". Let's use --color-primary-light */
    background: var(--color-primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 8px;
    border-radius: 8px 8px 0 0;
    margin: -30px -30px 20px -30px;
    /* Pull to edges */
}


/* Software Promo Section */
.software-section {
    padding: 80px 0;
    background: var(--color-bg-dark);
    /* Dark Green */
    color: white;
}

.software-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

.software-content {
    flex: 1;
}

.software-image {
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}


/* Dual Features Section */
.dual-features {
    padding: 60px 0;
    background: white;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-block {
    padding: 40px;
    border-radius: 12px;
    background: #f4f6f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
}

.feature-block h3 {
    margin-bottom: 16px;
    font-size: 28px;
    font-weight: 800;
}

.feature-block.dark {
    background: #1a1a1a;
    color: white;
}

.feature-block.green-accent {
    background: #e7f5ff;
    /* Light blue tint */
    color: #004085;
    /* Dark blue text */
}

/* Keep slight variation or use brand color bg */


/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: #1a1a1a;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stat-highlight {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-accent-lime);
}


/* Office Locator */
.locator-section {
    padding: 80px 0;
    background: url('../img/map-bg.jpg') center/cover no-repeat, #eee;
    /* Fallback */
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
}

.locator-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.locator-content {
    position: relative;
    z-index: 2;
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    margin-left: 10%;
}


/* Disclosures */
.disclosure-section {
    padding: 60px 0;
    background: #fff;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
}

.disclosure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.disclosure-col h4 {
    margin-bottom: 16px;
    color: #333;
    font-weight: 700;
}

.disclosure-col ul {
    list-style: disc;
    padding-left: 20px;
}

.disclosure-col li {
    margin-bottom: 8px;
}

.fine-print {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}


/* Responsive */
@media (max-width: 992px) {

    .pricing-grid,
    .stats-grid,
    .dual-grid,
    .software-grid {
        grid-template-columns: 1fr;
    }

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .locator-content {
        margin: 0 auto;
        max-width: 90%;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions .sign-in-btn span {
        display: none;
    }

    /* Show only icon on mobile if needed */
}

/* Mega Footer Styles */

/* Mega Footer Styles */
.main-footer {
    background: #111;
    /* Dark background */
    color: white;
    padding: 80px 0 40px;
    font-size: 14px;
    border-top: 4px solid var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    /* Ensure no bullets */
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: white;
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-copy {
    text-align: center;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        /* Stack on very small screens */
    }
}

/* Subscription Section Styles (Split Layout) */
.subscription-section {
    padding: 100px 0;
    background: white;
    /* Clean white background */
}

/* Flex Container for Split Layout */
.subscription-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    background: transparent;
    box-shadow: none;
    padding: 0;
    text-align: left;
}

/* Left Column: Text */
.sub-text-col {
    flex: 0 0 400px;
    padding-top: 20px;
}

.sub-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text-main);
    letter-spacing: -1px;
    margin: 0;
}

/* Middle Divider (Visual Dot) */
.sub-divider {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.sub-divider .dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent-red);
    border-radius: 50%;
    display: block;
}

/* Right Column: Form */
.sub-form-col {
    flex: 1;
    max-width: 600px;
}

.subscription-form {
    text-align: left;
}

/* Minimal Input Styling */
.input-group-minimal {
    position: relative;
    margin-bottom: 40px;
}

.input-icon {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    color: #999;
}

.form-control-minimal {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 0 0 10px 24px;
    /* Space for icon */
    font-size: 16px;
    color: #333;
    background: transparent;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s;
}

.form-control-minimal:focus {
    border-color: var(--color-primary);
}

.form-control-minimal::placeholder {
    color: #999;
}

/* Checkboxes */
.form-check {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-label {
    font-size: 13px;
    line-height: 1.5;
    color: #777;
    cursor: pointer;
}


/* Button Right Aligned */
.form-action-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-subscribe {
    background: var(--color-accent-red);
    /* Brand Red */
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 4px;
    /* Rectangular/slightly rounded */
    letter-spacing: 0.5px;
    border: none;
}

.btn-subscribe:hover {
    background: #c03940;
    transform: translateY(-1px);
}

/* Utilities */
.mb-3 {
    margin-bottom: 16px !important;
}

.mb-4 {
    margin-bottom: 24px !important;
}

.mr-2 {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .subscription-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .sub-text-col {
        flex: auto;
        text-align: center;
        padding-top: 0;
    }

    .sub-divider {
        display: none;
    }

    .sub-form-col {
        max-width: 100%;
    }

    .form-action-right {
        justify-content: center;
    }
}

/* Utilities manually added for missing bootstrap classes */
.px-5 {
    padding-left: 48px !important;
    padding-right: 48px !important;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* SR Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Button Pulse Animation */
@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
}

.btn-pulse {
    animation: pulse-white 2s infinite;
}

.btn-pulse:hover {
    background: var(--color-primary) !important;
    color: white !important;
    border-color: var(--color-primary) !important;
    animation: none;
    /* Optional: stop pulsing on hover to focus? Or keep it? Usually stopping is nicer for interaction. User didn't specify, but let's just do colors first. Actually, 'animation: none' prevents conflict if we want a hover transform. Let's keep it simple: just colors. */
}

/* Services Section ("What We Do") Styles */
.services-section {
    padding: 80px 0;
    background: #f8fbff;
    /* Very light blue background */
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 255, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 255, 0.05);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: white;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
}

.mb-5 {
    margin-bottom: 3rem !important;
}


/* Onboarding Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

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

.loader-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    animation: loaderSpin 2s infinite linear;
}

.loader-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    animation: pulse-text 1.5s infinite ease-in-out;
}

@keyframes loaderSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-text {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Onboarding Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    /* White backdrop as requested */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    background: white;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
    animation: slideUp 0.4s ease-out;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    /* Dark text */
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-header p {
    color: #666;
    margin-bottom: 30px;
}

/* Options Grid */
.onboarding-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    background: white;
}

.option-card:hover {
    border-color: #ddd;
    background: #fafafa;
}

.option-card.selected {
    border-color: var(--color-primary);
    /* Green in original, Blue here */
    background: rgba(0, 0, 255, 0.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.option-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.option-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.option-icon {
    font-size: 24px;
    color: #1a1a1a;
    /* Dark icons originally */
}

.option-card.selected .option-icon {
    color: var(--color-primary);
}

/* Modal Footer */
.modal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.compare-link {
    font-size: 14px;
    color: #666;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Social Proof & Testimonials Section */
.social-proof-section {
    background-color: var(--color-bg-dark);
    /* Changed from Green to Brand Dark */
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.social-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

/* Left Side: Text */
.social-text {
    flex: 1;
    max-width: 500px;
}

.social-text h2 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
}

.highlight-text {
    color: var(--color-primary-light);
    /* Changed from Lime to Brand Blue */
}

.guarantee-label {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    opacity: 0.9;
}

.guarantee-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.guarantee-list li {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.guarantee-list i {
    font-size: 18px;
    color: var(--color-primary-light);
    /* Changed Icons to Brand Blue */
}

.guarantee-link {
    color: var(--color-primary-light);
    /* Changed Link to Brand Blue */
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guarantee-link:hover {
    text-decoration: underline;
}

/* Right Side: Slider */
.social-slider {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    max-width: 700px;
}

.testimonial-card {
    background: white;
    color: var(--color-text-main);
    border-radius: 12px;
    padding: 40px;
    flex: 1;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Transition for slide effect could be added here or via JS class */
    transition: opacity 0.3s ease;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
}

.reviewer-name {
    font-weight: 800;
    font-size: 16px;
    color: var(--color-primary);
    /* Changed to Brand Blue */
}

.reviewer-type {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    margin-top: 4px;
}

.review-date {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.review-content {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    color: var(--color-text-main);
}

.slider-arrow {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
}

.slider-arrow:hover {
    transform: scale(1.2);
    color: var(--color-primary-light);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid white;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s;
}

.dot.active,
.dot:hover {
    background: white;
}

/* Responsive */
@media (max-width: 992px) {
    .social-wrapper {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 40px;
    }

    .social-text {
        max-width: 100%;
    }

    .guarantee-list li {
        justify-content: center;
    }

    .guarantee-link {
        justify-content: center;
    }

    .social-slider {
        max-width: 100%;
    }
}

/* Dark Icon Service Strip */
.dark-service-strip {
    background-color: #0d0d0d;
    /* Premium Black */
    padding: 50px 0;
    color: white;
}

.service-strip-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.strip-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;

    /* Animation */
    opacity: 0;
    animation: slideUpFade 0.8s ease-out forwards;
}

.strip-item:nth-child(1) {
    animation-delay: 0.1s;
}

.strip-item:nth-child(2) {
    animation-delay: 0.2s;
}

.strip-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.strip-item:last-child {
    border-right: none;
}

.strip-item:hover {
    background: #111122;
    /* Deep Blue-Black Tint */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    border-color: transparent;
}

.strip-icon {
    font-size: 40px;
    /* Slightly smaller to save space */
    margin-bottom: 20px;
    color: white;
    transition: transform 0.3s ease;
}

.strip-item:hover .strip-icon {
    transform: scale(1.1);
    color: var(--color-primary-light);
}

.strip-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    min-height: auto;
}

.strip-desc {
    font-size: 15px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 300px;
}

.strip-arrow {
    font-size: 16px;
    color: white;
    opacity: 0.6;
    transition: all 0.3s;
}

.strip-item:hover .strip-arrow {
    opacity: 1;
    transform: translateX(5px);
    color: var(--color-primary-light);
}

@media (max-width: 992px) {
    .service-strip-grid {
        flex-wrap: wrap;
        border: none;
    }

    .strip-item {
        flex: 0 0 50%;
        /* 2 cols */
        border: 1px solid #333;
        margin-bottom: -1px;
        margin-right: -1px;
    }
}

@media (max-width: 576px) {
    .strip-item {
        flex: 0 0 100%;
        /* 1 col */
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
}

.icon-toggle {
    font-size: 14px;
    color: #999;
    transition: transform 0.3s ease;
}

.faq-item.active .icon-toggle {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Secondary Page Styles */
.page-hero {
    background: linear-gradient(rgba(26, 26, 27, 0.7), rgba(26, 26, 27, 0.7)), url('../images/taxes-hero-composite.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 20px;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Feature Grid (Generic) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 36px;
    }
}


/* News Alert Card */
.news-alert-card {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-left: 5px solid var(--color-primary);
    border-radius: 12px;
    /* Added border-radius for better look */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Added shadow */
}

@media (max-width: 768px) {
    .news-alert-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .news-alert-card .fa-newspaper {
        margin-bottom: 15px;
    }
}

/* Lead Generation Modal */
.lead-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lead-modal.active {
    opacity: 1;
    visibility: visible;
}

.lead-modal-content {
    background: white;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.lead-modal.active .lead-modal-content {
    transform: translateY(0);
}

.lead-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
}

.lead-close:hover {
    color: var(--color-text-main);
}

.lead-header {
    text-align: center;
    margin-bottom: 25px;
}

.lead-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.lead-header p {
    color: #666;
    font-size: 15px;
}

.lead-form .form-group {
    margin-bottom: 20px;
}

.lead-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--color-text-main);
}

.lead-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.lead-form input:focus {
    border-color: var(--color-primary);
    outline: none;
}

.lead-form .btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.lead-form .btn-submit:hover {
    background: var(--color-primary-dark);
}

.security-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    .hidden-mobile {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 28px;
        color: var(--color-primary);
        cursor: pointer;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none !important;
        /* Hidden by default on mobile */
        flex-direction: column;
        z-index: 1000;
        border-top: 1px solid #eee;
    }

    .main-nav.active {
        display: flex !important;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
        border-bottom: 1px solid #f5f5f5;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    /* Ensure the toggle is visible */
    .header-actions .mobile-menu-toggle {
        display: block;
    }

    /* Hide desktop nav elements */
    .header-actions .action-link,
    .header-actions .sign-in-btn {
        display: none;
    }
}

/* Responsive Hero Section */
@media (max-width: 992px) {
    .hero-section {
        padding: 40px 0;
        min-height: auto;
        text-align: center;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Adjust background for mobile */
    .hero-overlay-bg {
        background: rgba(26, 26, 27, 0.85);
        /* Darker overlay for readability */
    }

    .hero-section::before,
    .hero-section::after {
        width: 100%;
        /* Full width background */
        opacity: 0.3;
        /* Fade out image slightly */
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-desc {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Responsive Styles for Other Sections */
@media (max-width: 992px) {

    /* Pricing/Pillars */
    .pricing-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        max-width: 500px;
        margin: 0 auto;
    }

    /* Software Section */
    .software-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    /* Dual Features */
    .dual-grid {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Disclosures */
    .disclosure-grid {
        grid-template-columns: 1fr;
    }

    /* Locator */
    .locator-section {
        height: auto;
        padding: 60px 20px;
        justify-content: center;
    }

    .locator-content {
        margin-left: 0;
        max-width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on tablet */
    }
}

@media (max-width: 576px) {

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        /* 1 col on mobile */
        text-align: center;
    }

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

    .footer-social {
        justify-content: center;
    }
}