/* 
   FILINGS4U MASTER STYLESHEET
   Full Production Version
*/

/* --- 1. Reset & Global Base --- */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    letter-spacing: -0.011em !important;
    box-sizing: border-box;
    background-color: #ffffff !important;
    color: #0a1f44 !important;
    overflow-x: hidden;
}

#wrapper {
    width: 100%;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* --- 2. Fixed Navbar --- */
.brand-nav-bar {
    width: 100% !important;
    height: 80px !important;
    background-color: #ffffff !important;
    border-bottom: 3px solid #FF6B00 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 99999 !important;
    box-shadow: 0 4px 15px rgba(10, 31, 68, 0.1) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.brand-nav-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    gap: 2.5rem !important;
}

.brand-nav-links a {
    color: #0a1f44 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.brand-nav-links a:hover { color: #FF6B00 !important; }

/* 1. Tighten the overall section height */
.full-width-section.color-white {
    padding-top: -25rem !important;    /* Dramatically reduced from 6rem */
    padding-bottom: -25rem !important; /* Dramatically reduced from 6rem */
}

/* 2. Close the gap between the Title and the top of the section */
.section-content-container h2 {
    margin-top: 0 !important;
    margin-bottom: 2rem !important; /* Reduced from 3.5rem to pull cards up */
}

/* 3. Close the gap between the Title and the Cards */
.features-grid {
    margin-top: 0 !important; /* Removes the extra push above the grid */
}


.color-slate { background-color: #f4f7fa !important; }
.color-white { background-color: #ffffff !important; }

.section-content-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 6rem 2rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* 1. Reduce the top padding of the Hero Section */
.hero-section { 
    width: 100%; 
    min-height: 80vh; 
    padding-top: 50px; /* Reduced from 100px to move everything up */
    background-image: linear-gradient(180deg, rgba(10, 31, 68, 0.8), rgba(10, 31, 68, 0.6)), url('images/hero_background.jpg');
    background-size: cover; 
    background-position: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start;
}

/* 2. Remove the top margin from the White Card */
.floating-funnel-card { 
    background: #ffffff; 
    border-radius: 24px; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    width: calc(100% - 40px); 
    max-width: 800px; 
    padding: 3.5rem; 
    text-align: center; 
    box-sizing: border-box; 
    min-height: 480px;
    margin-top: 0; /* Changed from 2rem to 0 to snap it higher */
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}


/* --- 5. Multi-Step Workflow Elements --- */
.funnel-step {
    display: none;
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
}

.funnel-step.active { display: flex !important; animation: fadeIn 0.4s ease; }

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

.funnel-step h1 {
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    color: #0a1f44 !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

.lz-sub {
    color: #475569 !important;
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2.5rem !important;
    max-width: 700px !important;
}

/* --- 6. Form Alignment (Step 2 Spacing Fix) --- */
.step-content-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.8rem !important; /* This creates the vertical space you needed */
    width: 100% !important;
    max-width: 500px !important;
    margin: 1.5rem auto 0 auto !important;
}

.lz-inline-strip {
    display: flex !important;
    gap: 1rem !important;
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-top: 1rem !important;
}

select, input[type="text"], input[type="email"] {
    width: 100% !important;
    height: 3.8rem !important;
    padding: 0 1.25rem !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    color: #0a1f44 !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
}

select:focus, input:focus { border-color: #FF6B00 !important; outline: none; }

/* --- 7. Buttons --- */
.button.primary {
    background-color: #FF6B00 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 12px !important;
    height: 3.8rem !important;
    line-height: 3.8rem !important;
    padding: 0 2.5rem !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.25) !important;
    transition: 0.2s !important;
}

.button.primary:hover { background-color: #e05e00 !important; transform: translateY(-2px); }

/* SECTION 2: FEATURES GRID ALIGNMENT FIX */
.features-grid {
    display: grid !important;
    /* This forces 3 equal columns on desktop */
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 2rem !important;
    width: 100% !important;
    margin-top: 3rem !important;
    box-sizing: border-box !important;
}

/* Ensure individual cards don't have margins that break the row */
.feature-card {
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* Mobile Responsiveness: Stack them only on small screens */
@media screen and (max-width: 980px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}


.review-stars { color: #FF6B00 !important; font-size: 1.2rem !important; margin-bottom: 1rem !important; }

.upsell-box {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    padding: 1.8rem !important;
    border-radius: 16px !important;
    margin-bottom: 1.2rem !important;
    cursor: pointer !important;
    text-align: left !important;
    width: 100% !important;
    transition: 0.2s !important;
}

.upsell-box.selected { background: #FFF7ED !important; border-color: #FF6B00 !important; box-shadow: 0 0 0 1px #FF6B00 !important; }

/* --- 9. Footer --- */
#footer {
    width: 100% !important;
    padding: 5rem 3rem !important;
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    background: #0a1f44 !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
}

#footer section { flex: 1 1 300px; margin-bottom: 2rem; }
#footer a { color: rgba(255,255,255,0.7) !important; text-decoration: none !important; }
#footer a:hover { color: #FF6B00 !important; }
.copyright { width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; margin-top: 2rem; opacity: 0.5; }

/* --- 10. Responsive --- */
@media (max-width: 768px) {
    .floating-funnel-card { padding: 2.5rem 1.5rem !important; }
    .funnel-step h1 { font-size: 1.9rem !important; }
    .brand-nav-bar { padding: 0 1.5rem !important; }
}

/* 1. Force the Hero Section to center the content container */
.hero-section {
    display: flex !important;
    justify-content: center !important; /* Horizontal Center */
    align-items: center !important;     /* Vertical Center */
    text-align: center !important;
    width: 100% !important;
}

/* 2. Force the Content Container to be a centered block */
.section-content-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important; /* Absolute centering */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centers the White Card */
}

/* 3. Force the White Card and its internal rows to center everything */
.floating-funnel-card {
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centers H1, P, and Rows */
    text-align: center !important;
}

/* 4. Fix the Trust Row (Rating & Badges) alignment */
.lz-trust-row {
    display: flex !important;
    justify-content: center !important; /* Forces badges to the middle */
    align-items: center !important;
    gap: 2rem !important;
    width: 100% !important;
    margin-top: 2rem !important;
}

/* 1. Increase the gap between the three cards */
.features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 3.5rem !important; /* Increased from 2rem to 3.5rem for breathing room */
    width: 100% !important;
    margin-top: 4rem !important;
    box-sizing: border-box !important;
}

/* 2. Style the Cards (White, 24px borders, Static position) */
.feature-card {
    background-color: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.08) !important;
    padding: 3rem 2rem !important;
    border: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.3s ease !important; /* Transition shadow only, not movement */
}

/* 3. FIX: Prevent "Moving" on hover */
.feature-card:hover {
    transform: none !important; /* Removes the translateY movement */
    box-shadow: 0 20px 50px rgba(10, 31, 68, 0.15) !important; /* Makes it "glow" instead of move */
}

/* Ensure icons/text inside are centered */
.feature-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}


/* SECTION 3: REVIEWS GRID ALIGNMENT */
.reviews-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* Forces 3 columns */
    gap: 3.5rem !important; /* Matching the spacing of the features section */
    width: 100% !important;
    margin-top: 0 !important;
    box-sizing: border-box !important;
}

/* REVIEW CARD STYLING */
.review-card {
    background-color: #ffffff !important; /* White containers */
    border-radius: 24px !important;       /* 24px rounded borders */
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.08) !important; /* Soft depth shadow */
    padding: 3rem 2rem !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Tighten the Review Section spacing (Matching Section 2) */
.full-width-section.color-slate {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 980px) {
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* FAQ ACCORDION STYLING */
.faq-accordion {
    text-align: left;
    margin-top: 0;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.faq-item[open] {
    padding-bottom: 1.5rem;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a1f44;
    cursor: pointer;
    list-style: none; /* Removes default arrow */
    position: relative;
    padding: 1rem 2rem 1rem 0;
}

/* Custom Arrow Indicator */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    position: absolute;
    right: 10px;
    color: #FF6B00;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
    padding-top: 0.5rem;
    padding-right: 2rem;
    animation: fadeIn 0.4s ease;
}

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


/* ==========================================================================
   PRODUCTION-GRADE 5-COLUMN FOOTER FIX
   ========================================================================== */

#footer {
    background-color: #0a1f44;
    padding: 5rem 2rem 3rem 2rem !important;
    color: #ffffff;
    width: 100% !important;
    box-sizing: border-box !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid !important;
    /* Col 1 is fixed at 240px to prevent description from stretching; 
       Cols 2-5 split the remaining space equally */
    grid-template-columns: 240px repeat(4, 1fr) !important;
    gap: 2rem;
    align-items: start;
}

/* 1. BRAND COLUMN ALIGNMENT */
.footer-column:first-child {
    text-align: left;
}

.footer-logo {
    height: 32px !important; /* Keep the size you like */
    width: auto;
    margin-bottom: 1.5rem;
    filter: none !important; /* 💡 THIS REMOVES THE WHITE EFFECT */
    display: block;
}


.footer-column p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    max-width: 210px; /* Hard limit to force text wrapping */
    margin-bottom: 1.5rem !important;
}

/* 2. SOCIAL ICONS COMPACT BOX */
.footer-social {
    display: flex !important;
    gap: 0.8rem !important;
    justify-content: flex-start;
}

.footer-social a img {
    width: 18px !important;
    height: 18px !important;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-social a:hover img {
    opacity: 1;
}

/* 3. LINK COLUMN ALIGNMENT */
.footer-column h3 {
    color: #FF6B00; /* Brand Orange */
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 0.8rem !important;
    list-style: none !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.2s ease;
    white-space: nowrap; /* Prevents awkward link wrapping */
}

.footer-links a:hover {
    color: #ffffff !important;
}

/* 4. COPYRIGHT STRIP */
.copyright {
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* 5. RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3rem 2rem;
    }
    .footer-column:first-child { grid-column: span 3; max-width: 100%; }
    .footer-column p { max-width: 400px; }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .footer-column:first-child { grid-column: span 1; }
    .footer-column p { margin: 0 auto 1.5rem auto; }
    .footer-social { justify-content: center; }
}

/* FORCE SOCIAL ICONS TO BE COMPACT */
.footer-social {
    display: flex !important;
    gap: 12px !important; /* Space between icons */
    margin-top: 1rem !important;
    flex-direction: row !important; /* Forces them to stay side-by-side */
    align-items: center !important;
}

.footer-social a {
    display: inline-flex !important;
    text-decoration: none !important;
    width: 24px !important; /* Set a fixed clickable area */
    height: 24px !important;
}

/* Shrink the actual icon images */
.footer-social a img {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    margin: auto !important;
}

/* Remove any accidental text overflow */
.footer-social a span, 
.footer-social a p {
    display: none !important;
}


/* ==========================================================================
   FOOTER BACKGROUND & TEXT COLOR UPDATE
   ========================================================================== */

#footer {
    background-color: #f4f7fa !important; /* 💡 LIGHT SLATE BACKGROUND */
    padding: 5rem 2rem 3rem 2rem !important;
    color: #0a1f44 !important; /* 💡 DARK NAVY TEXT FOR READABILITY */
    width: 100% !important;
    box-sizing: border-box !important;
    border-top: 1px solid #e2e8f0 !important; /* Subtle border to define the section */
}

/* Update Footer Link Colors for the light background */
.footer-links a {
    color: #475569 !important; /* Medium Gray-Blue links */
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.2s ease !important;
}

.footer-links a:hover {
    color: #FF6B00 !important; /* Brand Orange on hover */
}

/* Update Copyright Strip for the light background */
.copyright {
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    margin-top: 4rem !important;
    padding-top: 2rem !important;
}

/* 1. Change the description text color in the first column */
.footer-column p {
    color: #0a1f44 !important;
    opacity: 0.9; /* Optional: slightly softens the look while keeping the color */
}

/* 2. Change all footer links to #0a1f44 */
.footer-links a {
    color: #0a1f44 !important;
    font-weight: 500; /* Makes them a bit more readable on the slate background */
}

/* 3. Keep the hover effect so users know they are clickable */
.footer-links a:hover {
    color: #FF6B00 !important;
}

/* 4. Update the copyright text at the very bottom */
.copyright {
    color: #0a1f44 !important;
    opacity: 0.6; /* Keeps it subtle but matches the navy theme */
}


/* 1. Force Footer Headings to Orange */
#footer h3 {
    color: #FF6B00 !important;
    text-transform: uppercase; /* Standard professional look */
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem !important;
}

/* 2. Force all text and links UNDER the headings to Navy */
#footer .footer-links a, 
#footer .footer-links li,
#footer p {
    color: #0a1f44 !important;
    opacity: 1 !important; /* Ensure they are fully solid navy */
}

/* 3. Keep the Hover effect for links */
#footer .footer-links a:hover {
    color: #FF6B00 !important;
    text-decoration: underline;
}

/* 4. Update the bottom copyright text to Navy (subtle) */
#footer .copyright {
    color: #0a1f44 !important;
    opacity: 0.6;
    border-top: 1px solid rgba(10, 31, 68, 0.1) !important;
}

.copyright a[href*="roselandcompanies"]:hover {
    color: #FF6B00 !important; /* Turns your brand orange on hover */
    text-decoration: underline !important;
}

/* NAVBAR ALIGNMENT */
.brand-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem; /* Space between links */
}

/* DROPDOWN CORE LOGIC */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 260px;
    box-shadow: 0px 8px 16px rgba(10, 31, 68, 0.12);
    border-radius: 8px;
    z-index: 10000;
    padding: 10px 0;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #0a1f44 !important;
    padding: 12px 20px !important;
    display: block !important;
    text-transform: none !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
}

.dropdown-content a:hover {
    background-color: #f4f7fa !important;
    color: #FF6B00 !important;
}

/* FORCE DROPDOWN AND BUTTON SIDE-BY-SIDE */
.lz-inline-strip {
    display: grid !important;
    /* Col 1 takes all available space | Col 2 fits the button exactly */
    grid-template-columns: 1fr auto !important; 
    gap: 15px !important;
    width: 100% !important;
    max-width: 650px !important;
    margin: 2rem auto !important;
    align-items: center !important;
}

/* Prevents the dropdown from expanding past its column */
#stateSelect {
    width: 100% !important;
    min-width: 0 !important; /* CRITICAL: Stops dropdown from pushing button down */
    height: 3.8rem !important;
}

/* Keeps the button compact and on the same line */
.lz-inline-strip .button.primary {
    width: auto !important;
    min-width: 160px !important;
    white-space: nowrap !important;
    height: 3.8rem !important;
    margin: 0 !important;
}

/* Mobile Fix: Only stack on very small screens */
@media screen and (max-width: 500px) {
    .lz-inline-strip {
        grid-template-columns: 1fr !important;
    }
}

/* Keeps dropdown and button on one row */
.lz-inline-strip {
    display: grid !important;
    grid-template-columns: 1fr 180px !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 650px !important;
    margin: 2rem auto !important;
    align-items: center !important;
}

#stateSelect {
    width: 100% !important;
    height: 3.8rem !important;
}

.button.primary {
    width: 100% !important;
    height: 3.8rem !important;
    white-space: nowrap !important;
}

/* Pull everything up if it feels too low */
#hero-section {
    padding-top: 40px !important;
}

/* Force the specific subtext to stay on a single line */
.lz-sub {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." if the screen is too narrow to fit it */
}

/* Mobile Tweak: Allow it to shrink slightly so it fits on small phones */
@media screen and (max-width: 600px) {
    .lz-sub {
        font-size: 0.9rem !important;
    }
}


.funnel-step h1 {
    display: block;
    width: 100%;
    text-align: center;
    /* Adjusts size for smaller screens automatically */
    font-size: clamp(1.8rem, 5vw, 2.8rem) !important;
}

.lz-sub {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}


.step-content-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Forces space between name/email fields */
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.upsell-box {
    border: 2px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
}

.upsell-box.selected {
    border-color: #FF6B00;
    background-color: #fff7ed;
}

/* Update this rule in your CSS to include tel */
select, 
input[type="text"], 
input[type="email"], 
input[type="tel"], 
textarea {
    background: #ffffff !important;
    border: 2px solid #cbd5e1 !important;
    color: #0a1f44 !important;
    height: 3.5rem !important;
    padding: 0 1.25rem !important;
    font-size: 1.05rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 1rem; /* ensures spacing between fields */
}

/* Ensure focus glow matches your brand */
input[type="tel"]:focus {
    border-color: #FF6B00 !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15) !important;
}

/* Sharp red border and subtle background change */
.invalid-field {
    border: 2px solid #c15254 !important; 
    background-color: #fff8f8 !important;
    outline: none !important;
}

/* The shake draws the eye to the missing fields */
.shake {
    animation: shakeEffect 0.3s ease-in-out;
}

@keyframes shakeEffect {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.invalid-field {
    border: 2px solid #c15254 !important;
    background-color: #fff8f8 !important;
}
.shake {
    animation: shakeEffect 0.4s;
}
@keyframes shakeEffect {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}


/* 1. The Red Border State */
.invalid-field {
    border: 2px solid #c15254 !important; /* The brand red color you chose */
    background-color: #fff8f8 !important; /* Very light red tint */
    box-shadow: 0 0 8px rgba(193, 82, 84, 0.2) !important;
    transition: all 0.2s ease-in-out;
}

/* 2. The Shake Animation */
.shake {
    animation: shake-horizontal 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake-horizontal {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.invalid-field {
    border: 2px solid #c15254 !important; /* The Red color */
    background-color: #fff8f8 !important;
    outline: none !important;
}

/* Forces the select border to turn red specifically */
select.invalid-field {
    border-color: #c15254 !important;
}

.shake {
    animation: shakeEffect 0.4s;
}

@keyframes shakeEffect {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.invalid-field {
    border: 2px solid #c15254 !important;
    background-color: #fff8f8 !important;
    outline: none !important;
}

.shake {
    animation: shakeEffect 0.4s;
}

@keyframes shakeEffect {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}


/* 1. Trigger red borders only after validation check */
        .was-validated input:invalid, 
        .was-validated select:invalid, 
        .was-validated textarea:invalid {
            border: 2px solid red !important;
        }

        /* 2. Modern browser support for better UX */
        input:user-invalid {
            border: 2px solid red;
        }

        /* Force the Step 2 container to be full width */
#step2, .step-content-stack {
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

/* Make all standard inputs, selects, and textareas stretch to 100% */
#step2 input, 
#step2 select, 
#step2 textarea {
    width: 100% !important;
    box-sizing: border-box !important; /* Ensures padding doesn't push them outside the box */
    margin-bottom: 12px; /* Consistent spacing between rows */
}

/* Ensure the side-by-side rows (like First/Last Name and City/State/Zip) stay in a row but fill the space */
#step2 div[style*="display: flex"] {
    width: 100% !important;
    align-items: center;
}

/* Fix for inputs inside flex rows so they don't default to small sizes */
#step2 div[style*="display: flex"] input,
#step2 div[style*="display: flex"] select {
    margin-bottom: 0; /* Remove bottom margin inside rows for better alignment */
}

/* Specific fix for the Registered Agent section container */
.ra-section {
    width: 100% !important;
}
/* 1. Force the white card and form to allow for the full 1000px width */
.floating-funnel-card, #intakeForm {
    width: 100% !important;
    max-width: 1000px !important; /* Match your white box width */
}

/* 2. Remove any width restrictions on the content stack */
.step-content-stack {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 3. Force every input/select to fill the horizontal space */
#step2 input, 
#step2 select, 
#step2 textarea {
    width: 100% !important; 
    box-sizing: border-box !important; /* Stops fields from leaking out the side */
    display: block !important;
}

/* 4. Keep the side-by-side rows stretching to the full width too */
#step2 div[style*="display: flex"] {
    width: 100% !important;
    display: flex !important;
}

/* Ensure City/State/Zip inside that row still use their flex proportions */
#step2 div[style*="display: flex"] input,
#step2 div[style*="display: flex"] select {
    width: auto !important; /* Allows 'flex: 2' and 'flex: 1' to control the width */
}

/* Force the container of the First and Last name to fill the width */
#step2 .step-content-stack div[style*="display: flex"] {
    width: 100% !important;
}

/* Force the First Name and Last Name inputs to grow and fill the gap */
#step2 .step-content-stack div[style*="display: flex"] input[name="First Name"],
#step2 .step-content-stack div[style*="display: flex"] input[name="Last Name"] {
    flex: 1 !important;
    width: 0 !important; /* This "0" trick forces flexbox to calculate width from scratch */
    min-width: 0 !important;
}

/* 1. Force Step 3 cards to stay inside the white box */
#step3 .upsell-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important; /* Includes padding/border in the 100% width */
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    overflow: hidden; /* Prevents internal text from pushing the box wider */
}

/* 2. Ensure the Step 3 container itself doesn't overflow */
#step3, #step3 .step-content-stack {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important; /* Removes internal double-padding */
}

/* 3. Fix the "float:right" prices so they don't hit the edge */
#step3 .upsell-box span[style*="float:right"] {
    margin-right: 10px;
}

/* 1. Force the Step 1 wrapper to fill the container width */
#step1, 
.lz-inline-strip {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. Force the row to stretch across the card */
.lz-inline-strip {
    display: flex !important;
    gap: 10px !important;
    justify-content: stretch !important; /* Forces children to expand */
}

/* 3. Make the Select and Button fill the row proportionately */
#stateSelect {
    flex: 3 !important; /* Gives the dropdown more space */
    width: 0 !important;   /* Allows flex-grow to take over */
    min-width: 0 !important;
}

#step1 .button.primary {
    flex: 1 !important;    /* Gives the button the remaining space */
    width: 0 !important;
    min-width: 150px !important; /* Keeps the button from getting too tiny */
    white-space: nowrap !important;
}

/* 4. Ensure no margins are restricting the width */
#stateSelect, 
#step1 .button.primary {
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}


.ra-info-section {
    padding: 80px 20px;
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
}

.ra-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.ra-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #0a1f44;
}

.ra-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 50px;
}

.ra-tag {
    background: #fff7ed;
    color: #FF6B00;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.ra-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: left;
    border: 1px solid #e2e8f0;
}

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

.ra-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.ra-card h3 {
    color: #0a1f44;
    margin-bottom: 12px;
}

.ra-card p {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ra-cta-box {
    background: #0a1f44;
    color: white;
    padding: 50px;
    border-radius: 24px;
}

.ra-cta-box h2 {
    margin-bottom: 10px;
}

.ra-cta-box p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.ra-btn {
    background: #FF6B00;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: background 0.3s;
}

.ra-btn:hover {
    background: #e65a00;
}

:root {
    --brand-orange: #ff8c00; /* Adjust to your specific orange */
    --brand-dark: #1a1a1a;
}

.ra-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
    padding: 80px 0;
    overflow: hidden;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--brand-orange);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    color: var(--brand-dark);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 35px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.modern-img {
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* Floating effect */
    transform: perspective(1000px) rotateY(-5deg); /* Subtle 3D look */
}

.cta-button {
    display: inline-block;
    background: var(--brand-dark);
    color: white;
    padding: 18px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, background 0.2s;
}

.cta-button:hover {
    background: var(--brand-orange);
    transform: translateY(-2px);
}

/* Responsive for Mobile */
@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .modern-img {
        transform: none;
        margin-top: 40px;
    }
}

/* HERO SECTION STYLES */
.ra-hero {
    position: relative;
    /* BACKGROUND IMAGE APPLIED HERE */
    background: linear-gradient(rgba(10, 31, 68, 0.85), rgba(10, 31, 68, 0.85)), 
                url('images/register-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    color: white;
    overflow: hidden;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-subtitle {
    display: inline-block;
    color: #FF6B00;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 550px;
}

/* RIGHT SIDE IMAGE */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.modern-img {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* RESPONSIVE: Stack on Mobile */
@media (max-width: 991px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 35px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.ra-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    /* Image Background + Gradient Overlay to make left-side text pop */
    background: linear-gradient(to right, rgba(10, 31, 68, 0.9) 30%, rgba(10, 31, 68, 0) 70%), 
                url('images/register-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 20px;
}

.hero-alignment {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content-left {
    max-width: 600px; /* Limits text width so it doesn't cover the right side */
    text-align: left;
}

.hero-subtitle {
    display: inline-block;
    color: #FF6B00;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero-content-left h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 20px 0;
    font-weight: 800;
}

.hero-content-left p {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 35px;
    line-height: 1.6;
}

.cta-button {
    background: #FF6B00;
    color: white;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s ease;
}

.cta-button:hover {
    background: #e65a00;
    transform: translateY(-2px);
}

/* Responsive: On small screens, dim the whole image for readability */
@media (max-width: 768px) {
    .ra-hero {
        background: linear-gradient(rgba(10, 31, 68, 0.8), rgba(10, 31, 68, 0.8)), 
                    url('images/register-hero.jpg');
        text-align: center;
    }
    .hero-content-left {
        max-width: 100%;
        text-align: center;
    }
    .hero-content-left h1 {
        font-size: 2.5rem;
    }
}
.ra-hero {
    position: relative;
    min-height: 600px; /* Ensures the section is tall enough to see the photo */
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
}

.hero-alignment {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content-left {
    text-align: left;
}

.hero-subtitle {
    display: inline-block;
    color: #FF6B00;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.ra-hero {
    position: relative;
    min-height: 450px; 
    display: flex;
    align-items: center;
    background-size: cover;
    
    /* THE FIX: Moves the image down. 
       'center' is horizontal, '100%' is the vertical bottom. 
       Try 80%, 90%, or 100% to find the perfect spot. */
    background-position: center 10%; 

    padding: 100px 20px;
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
    .ra-hero {
        min-height: auto;
        /* Ensure the mobile view also pushes the image down */
        background-position: center 10% !important;
        text-align: center;
    }
}

.ra-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    background-size: cover;
    
    /* THE FIX: 
       First value (85%) pushes the image focal point to the right.
       Second value (10%) keeps it near the top. */
    background-position: 0% 10%; 

    padding: 100px 20px;
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
    .ra-hero {
        min-height: auto;
        /* On mobile, you usually want it centered so the subject isn't cut off */
        background-position: center center !important; 
        text-align: center;
    }

    .ra-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    background-size: cover;
    
    /* THE FIX:
       75% = Shifted significantly to the right (past center)
       10% = Vertical position (staying near the top) */
    background-position: 75% 10%; 

    padding: 100px 20px;
}

.ra-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    
    /* 1. Use 'fixed' to keep the background from jumping */
    background-attachment: fixed; 
    
    /* 2. Explicitly set the size to ensure it fills the box before load */
    background-size: cover;
    
    /* 3. The 'Just Right' position we found */
    background-position: 75% 10%; 

    padding: 100px 20px;
    
    /* 4. Add this to prevent 'flash' or movement on reload */
    background-repeat: no-repeat;
}

.ra-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 100px 20px;
    
    /* THE FIX: Moves background to CSS to prevent refresh jumps */
    background-image: linear-gradient(to right, rgba(10, 31, 68, 0.95) 20%, rgba(10, 31, 68, 0.2) 80%), 
                      url('images/register-hero.jpg');
    
    background-size: cover;
    background-position: 75% 10%; /* Your "just right" spot */
    background-attachment: fixed;  /* Keeps image from jumping on refresh */
    background-repeat: no-repeat;
}

/* Cleanup for the text inside the hero */
.hero-content-left h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content-left p {
    color: #e2e8f0;
    font-size: 1.25rem;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-content-left .cta-button {
    background: #FF6B00;
    color: white;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .ra-hero {
        background-attachment: scroll; /* Fixed doesn't work well on mobile */
        background-position: center center;
        text-align: center;
    }
}

}.ra-hero {
    width: 100%;
    overflow: hidden; /* Prevents anything from sliding outside the screen */
    background: #fdfdfd; 
    padding: 80px 0;
}

.hero-alignment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content-left {
    flex: 1; /* Takes up 50% */
    max-width: 550px;
    z-index: 2;
}

.hero-image-right {
    flex: 1; /* Takes up 50% */
    display: flex;
    justify-content: flex-end;
}

.hero-image-right img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    /* This prevents the image from moving on refresh */
    flex-shrink: 0; 
}

/* Fix for mobile so it doesn't break the layout */
@media (max-width: 768px) {
    .hero-alignment {
        flex-direction: column;
        text-align: center;
    }
    .hero-image-right {
        margin-top: 40px;
    }
}

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

body {
    font-family: 'Inter', sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* --- 1. GLOBAL SETTINGS --- */
:root {
    --primary-navy: #0a1f44;
    --brand-orange: #FF6B00;
    --slate-gray: #64748b;
    --bg-light: #f8fafc;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #1e293b;
    line-height: 1.6;
    text-align: left; /* Global reset to prevent center inheritance */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. NAVIGATION BAR --- */
.brand-nav-bar {
    background: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.brand-nav-links a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.95rem;
}

.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    top: 100%;
    z-index: 10;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content li a { padding: 10px 20px; display: block; color: var(--primary-navy); text-decoration: none; }
.dropdown-content li a:hover { background: var(--bg-light); color: var(--brand-orange); }

/* --- 3. HERO SECTION (THE LEFT-ALIGN FIX) --- */
.ra-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 600px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important; /* Forces container to the left */
    overflow: hidden;
    color: white;
    /* Gradient locks text in the dark side, Image locked to the right */
    background: 
        linear-gradient(to right, rgba(10, 31, 68, 0.98) 20%, rgba(10, 31, 68, 0.7) 45%, rgba(10, 31, 68, 0) 85%), 
        url('images/register-hero.jpg') no-repeat;
    background-size: cover;
    background-position: center right;
}

/* Forces the inner container NOT to center its contents */
.ra-hero .container {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
    width: 100%;
}

.hero-content-left {
    max-width: 600px;
    text-align: left !important;
}

.hero-subtitle {
    display: block; /* Ensures it starts on its own line */
    color: var(--brand-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-align: left !important;
}

.hero-content-left h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 20px 0;
    font-weight: 800;
    text-align: left !important;
}

.hero-content-left p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 35px;
    line-height: 1.6;
    text-align: left !important;
}

/* --- 4. FEATURES GRID --- */
.section-padding { padding: 80px 0; }

.ra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ra-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    text-align: left;
}

.ra-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--brand-orange); 
}

.ra-icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }

.ra-card h3 { 
    font-size: 1.5rem; 
    color: var(--primary-navy); 
    margin-bottom: 15px; 
}

/* --- 5. FAQ SECTION --- */
.faq-section { background: var(--bg-light); border-top: 1px solid #e2e8f0; }

.faq-item { 
    background: white; 
    margin-bottom: 15px; 
    padding: 25px; 
    border-radius: 12px; 
    border: 1px solid #e2e8f0; 
}

.faq-item h4 { 
    margin-top: 0; 
    color: var(--primary-navy); 
    font-size: 1.1rem; 
    margin-bottom: 10px; 
}

/* --- 6. BUTTONS & CTA --- */
.cta-button {
    background: var(--brand-orange);
    color: white !important;
    padding: 18px 45px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: 0.3s;
    margin-left: 0 !important; /* Anchors button to left */
}

.cta-button:hover { background: #e65a00; transform: scale(1.02); }

.cta-box {
    background: var(--primary-navy);
    padding: 60px;
    border-radius: 30px;
    color: white;
    text-align: center; /* CTA box stays centered for impact */
}

/* --- 7. MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .ra-hero {
        height: auto;
        padding: 100px 0;
        text-align: center !important;
        justify-content: center !important;
        background: linear-gradient(rgba(10, 31, 68, 0.9), rgba(10, 31, 68, 0.9)), url('images/register-hero.jpg');
    }
    
    .ra-hero .container {
        margin: 0 auto !important;
        text-align: center !important;
    }

    .hero-content-left { 
        max-width: 100%; 
        text-align: center !important;
    }

    .hero-subtitle, .hero-content-left h1, .hero-content-left p {
        text-align: center !important;
    }

    .brand-nav-bar { padding: 15px 20px; }
}

/* FOOTER */
footer {
    background: white;
    border-top: 1px solid #eee;
    padding: 40px 0;
    text-align: center;
    color: var(--slate-gray);
    font-size: 0.9rem;
}

/* FORCE LEFT ALIGNMENT */
.ra-hero {
    display: flex !important;
    justify-content: flex-start !important; /* Pushes content to the far left */
    text-align: left !important;
    align-items: center;
    min-height: 75vh;
    padding-left: 5%; /* Adds a professional margin from the screen edge */
    
    /* Lock the background image to the right */
    background: 
        linear-gradient(to right, rgba(10, 31, 68, 0.95) 20%, rgba(10, 31, 68, 0.6) 45%, rgba(10, 31, 68, 0) 80%),
        url('images/register-hero.jpg') no-repeat;
    background-size: cover;
    background-position: center right;
}

.hero-content-left {
    max-width: 600px;
    margin-left: 0 !important; /* Removes the "auto" centering */
    margin-right: auto !important;
    text-align: left !important;
}

.hero-subtitle {
    display: block;
    text-align: left;
    color: #FF6B00;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-content-left h1, 
.hero-content-left p {
    text-align: left !important;
    margin-left: 0 !important;
}

/* Ensure the button stays on the left */
.cta-button {
    display: inline-block;
    text-align: center; /* Keeps text inside button centered */
    margin-left: 0 !important;
}
/* --- VARIABLES & RESET --- */
:root {
    --primary-navy: #0a1f44;
    --brand-orange: #FF6B00;
    --slate-gray: #64748b;
    --bg-light: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #1e293b;
    line-height: 1.6;
    text-align: left; /* Ensures default alignment is left */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVIGATION --- */
.brand-nav-bar {
    background: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.brand-nav-links a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.95rem;
}

.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    top: 100%;
    z-index: 10;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content li a { padding: 10px 20px; display: block; color: var(--primary-navy); text-decoration: none; }

/* --- HERO SECTION (FIXED LEFT ALIGNMENT) --- */
.ra-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Forces content box to the left */
    overflow: hidden;
    color: white;
    background: 
        linear-gradient(to right, rgba(10, 31, 68, 0.98) 25%, rgba(10, 31, 68, 0.6) 50%, rgba(10, 31, 68, 0) 85%), 
        url('../../images/register-hero.jpg') no-repeat; /* Path updated for css folder */
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: flex-start; /* Change from center to flex-start */
    padding-top: 120px;      /* Adjust this number to move text lower or higher */
    background-position: center 10%; 
    background-size: cover;
    background-repeat: no-repeat;

}

.hero-content-left {
    max-width: 600px;
    text-align: left; /* Explicitly locks text left */
    margin-left: 0;   /* Removes any auto-centering */
}

.hero-subtitle {
    display: inline-block;
    color: var(--brand-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero-content-left h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 20px 0;
    font-weight: 800;
}

.hero-content-left p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 35px;
}

/* --- SECTIONS & CARDS --- */
.section-padding { padding: 80px 0; }
.ra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.ra-card { background: white; padding: 40px; border-radius: 20px; border: 1px solid #e2e8f0; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); transition: 0.3s ease; }
.ra-card:hover { transform: translateY(-10px); border-color: var(--brand-orange); }
.ra-icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }
.ra-card h3 { font-size: 1.5rem; color: var(--primary-navy); margin-bottom: 15px; }

/* --- FAQ --- */
.faq-section { background: var(--bg-light); border-top: 1px solid #e2e8f0; }
.faq-item { background: white; margin-bottom: 15px; padding: 25px; border-radius: 12px; border: 1px solid #e2e8f0; }
.faq-item h4 { margin-top: 0; color: var(--primary-navy); font-size: 1.1rem; margin-bottom: 10px; }

/* --- BUTTONS --- */
.cta-button {
    background: var(--brand-orange);
    color: white !important;
    padding: 18px 45px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: 0.3s;
}
.cta-button:hover { background: #e65a00; transform: scale(1.02); }

.cta-box { background: var(--primary-navy); padding: 60px; border-radius: 30px; color: white; text-align: center; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .ra-hero { height: auto; padding: 100px 0; text-align: center; background: linear-gradient(rgba(10, 31, 68, 0.9), rgba(10, 31, 68, 0.9)), url('../../images/register-hero.jpg'); background-size: cover; }
    .hero-content-left { max-width: 100%; text-align: center; }
    .hero-content-left h1 { font-size: 2.5rem; }
}

/* --- Professional Sections Styling --- */

/* Why Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-navy);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Legal Card Style */
.ra-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #e5e7eb; /* Subtle gray border */
    border-radius: 4px; /* Slightly sharper corners look more corporate */
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.ra-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: none; /* Corporate sites rarely "bounce" cards */
}

.card-icon-wrapper {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.legal-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    border: 2px solid var(--brand-orange);
}

.ra-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
    font-weight: 600;
}

/* FAQ Overhaul */
.section-title-center {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: var(--primary-navy);
}

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

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 30px 0;
    background: none; /* No cards for FAQ - cleaner look */
}

.faq-item h4 {
    font-size: 1.15rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.faq-item p {
    color: var(--slate-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Overhaul (LegalZoom Style) */
.cta-banner {
    background: #f1f5f9; /* Light, clean background instead of dark navy */
    border: 1px solid #e2e8f0;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
}

.cta-content h2 {
    color: var(--primary-navy);
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-button-legal {
    background: var(--brand-orange);
    color: white;
    padding: 18px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: 0.2s ease;
}

.cta-button-legal:hover {
    background: #d95a00;
}

/* Responsive */
@media (max-width: 992px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* COMPARISON SECTION */
.comparison-section {
    padding: 100px 0;
    background: #fdfdfd;
}

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

.comparison-card {
    padding: 50px;
    border-radius: 12px;
    background: white;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.status-badge.error { background: #fee2e2; color: #b91c1c; }
.status-badge.success { background: #dcfce7; color: #15803d; }

.comparison-card h3 { font-size: 1.8rem; color: #0a1f44; margin-bottom: 25px; }

.comparison-card ul { list-style: none; padding: 0; }

.comparison-card ul li {
    margin-bottom: 18px;
    padding-left: 28px;
    position: relative;
    color: #475569;
}

.comparison-card ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

.protection ul li::before {
    content: "✓";
    color: #22c55e;
}

/* PROCESS SECTION */
.process-section {
    padding: 100px 0;
    text-align: center;
    background: #0a1f44;
    color: white;
}

.section-title { font-size: 2.5rem; margin-bottom: 60px; font-weight: 800; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.1;
    margin-bottom: -40px;
}

.step h4 { font-size: 1.4rem; margin-bottom: 15px; position: relative; z-index: 1; }
.step p { color: #cbd5e1; line-height: 1.7; }

/* Responsive */
@media (max-width: 768px) {
    .comparison-grid, .process-steps { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
}


/* PRICING CARD */
.pricing-header { text-align: center; margin-bottom: 50px; }
.pricing-card-legal {
    display: flex;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.pricing-details { padding: 40px; background: #f8fafc; flex: 1; text-align: center; border-right: 1px solid #e2e8f0; }
.price-value { font-size: 3rem; font-weight: 800; color: var(--primary-navy); }
.price-value span { font-size: 1rem; color: var(--slate-gray); }
.pricing-features { padding: 40px; flex: 1.5; }
.check-list { list-style: none; padding: 0; }
.check-list li { margin-bottom: 15px; padding-left: 30px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-orange); font-weight: bold; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.step-circle { width: 50px; height: 50px; background: var(--primary-navy); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-weight: 700; }

/* TABLE */
.legal-table { width: 100%; border-collapse: collapse; background: white; }
.legal-table th, .legal-table td { padding: 20px; border: 1px solid #e2e8f0; text-align: left; }
.legal-table th { background: #f1f5f9; color: var(--primary-navy); }

/* TESTIMONIALS */
.testimonial .stars { color: #facc15; margin-bottom: 15px; }
.testimonial p { font-style: italic; font-size: 1.1rem; }
.author { display: block; margin-top: 15px; font-weight: 700; font-size: 0.9rem; }

.section-title-center { text-align: center; margin-bottom: 50px; font-size: 2.2rem; }
.bg-light { background: #f8fafc; }
.cta-button-block { display: block; width: 100%; background: var(--brand-orange); color: white; padding: 15px; border-radius: 6px; text-decoration: none; font-weight: 700; margin-top: 20px; }

@media (max-width: 768px) {
    .pricing-card-legal, .steps-grid { flex-direction: column; }
    .pricing-details { border-right: none; border-bottom: 1px solid #e2e8f0; }
}


/* FAQ ACCORDION STYLES */
.faq-container-fixed {
    /* Increased from 1000px to 1200px (or use 100% for full width) */
    max-width: 1200px; 
    margin: 80px auto;
    padding: 0 40px; /* Increased side padding for better containment */
    font-family: 'Inter', sans-serif;
    box-sizing: border-box; /* Ensures padding doesn't push width over 100% */
}

.faq-main-title {
    text-align: center;
    font-size: 2.5rem;
    color: #0a1f44;
    margin-bottom: 40px;
    font-weight: 800;
}

.faq-accordion {
    border-top: 1px solid #e2e8f0;
    width: 100%; /* Forces accordion to fill the container */
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #FF6B00;
}

.faq-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: #64748b;
    margin-left: 20px; /* Keeps arrow from touching text */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    /* Prevents horizontal overflow */
    word-wrap: break-word; 
    overflow-wrap: break-word;
}

.faq-answer p {
    /* Added side padding so text doesn't hit the edges of the 1200px box */
    padding: 0 40px 25px 0; 
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    font-size: 1.1rem; /* Slightly larger for the wider container */
}

/* Active State Styles */
.faq-item.active .faq-answer {
    max-height: 2000px;
    transition: max-height 1s ease-in-out;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: #FF6B00;
}

.faq-item.active .faq-question {
    color: #FF6B00;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .faq-container-fixed {
        padding: 0 20px;
    }
    .faq-answer p {
        padding-right: 0;
    }
}


/* --- FAQ SECTION --- */
.faq-full-section {
    padding: 100px 0;
    background-color: #ffffff;
    width: 100%;
}

.faq-container-large {
    max-width: 1100px; /* Stretched width */
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a1f44;
    margin-bottom: 3.5rem;
    text-align: center;
}

.faq-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 24px;
    padding: 24px; /* 24px internal border/padding */
    transition: all 0.3s ease;
    width: 100%;
}

.faq-trigger {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0a1f44; /* Font color updated */
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-trigger::-webkit-details-marker {
    display: none;
}

.faq-trigger::after {
    content: '▼';
    font-size: 0.8rem;
    color: #cbd5e1;
    transition: transform 0.3s ease;
}

.faq-box[open] .faq-trigger::after {
    transform: rotate(180deg);
    color: #FF6B00;
}

.faq-content {
    margin-top: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #0a1f44; /* Font color updated */
    padding-right: 20px;
}

.faq-box[open] {
    border-color: #FF6B00;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .faq-container-large {
        max-width: 100%;
    }
    .faq-header-title {
        font-size: 2rem;
    }
    .faq-trigger {
        font-size: 1.1rem;
    }
}


/* BACKGROUND ALTERNATION CLASSES */

.bg-white {
    background-color: #ffffff;
}

.bg-alt {
    background-color: #e1e8f0; /* Your specific blue-gray */
}

/* SECTION PADDING FIX */
.section-padding {
    padding: 40px 0; /* Changed from 80px or 100px to 40px */
    width: 100%;
}

/* FAQ SPECIFIC TWEAK */
/* When the FAQ is on a #e1e8f0 background, we make the boxes white 
   to create a clean "card" look that pops. */
.bg-alt .faq-box {
    background-color: #ffffff; 
    border: none; /* Cleaner look on the colored background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.bg-alt .faq-box:hover {
    background-color: #f8fafc; /* Subtle light hover when box is already on alt background */
}

/* Ensure the titles stay high contrast */
.bg-alt h2 {
    color: #0a1f44;
}

/* Footer Base Styling */
.site-footer {
    background-color: #f8f9fa;
    color: #333;
    padding: 60px 0 20px;
    font-family: 'Arial', sans-serif;
    border-top: 1px solid #e9ecef;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Newsletter/Guarantee Box */
.footer-newsletter-box {
    background: #fff;
    border: 1px solid #dee2e6;
    padding: 30px;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
}

.guarantee-header {
    flex: 1 1 600px;
    margin-right: 20px;
}

.guarantee-header h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.subscribe-form {
    flex: 1 1 300px;
    margin-top: 20px;
}

.subscribe-form form {
    display: flex;
    margin-top: 10px;
}

.subscribe-form input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px 0 0 4px;
}

.subscribe-form button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #000;
    text-transform: uppercase;
}

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

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

.footer-column a {
    text-decoration: none;
    color: #6c757d;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #007bff;
}

.resource-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 20px;
}

/* Bottom Area */
.footer-bottom {
    border-top: 1px solid #dee2e6;
    padding-top: 30px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.legal-disclaimer p {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    .guarantee-header {
        margin-right: 0;
    }
    .resource-links {
        grid-template-columns: 1fr;
    }
}

/* Removes the hover lift and border color change */
.ra-card.no-hover:hover {
    transform: none !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05) !important;
    cursor: default;
}

/* Ensure stars and author styling remains consistent */
.testimonial .stars { 
    color: #facc15; 
    margin-bottom: 15px; 
    font-size: 1.2rem;
}

.testimonial p { 
    font-style: normal; 
    font-size: 1.05rem; 
    color: #1e293b;
    line-height: 1.6;
}

.author { 
    display: block; 
    margin-top: 20px; 
    font-weight: 700; 
    font-size: 0.9rem;
    color: #64748b;
}


/* TESTIMONIAL CARDS CUSTOM STYLES */
.testimonial-card {
    background: white;
    padding: 40px;
    /* 24px Rounded Corners */
    border-radius: 24px; 
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    text-align: left;
    /* Ensuring no hover movement */
    transition: none;
}

/* Remove hover effect specifically for these cards */
.testimonial-card:hover {
    transform: none !important;
    border-color: #e2e8f0 !important;
}

.testimonial-card .stars {
    color: #facc15;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
}

/* Person's Name Color */
.testimonial-card .author {
    display: block;
    margin-top: 20px;
    font-weight: 700;
    font-size: 1rem;
    color: #0a1f44; /* Your requested Navy color */
}


/* COMPARISON TABLE STYLES */
.comparison-table-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    /* 24px Rounded Corners */
    border-radius: 24px; 
    /* Professional Shadow */
    box-shadow: 0 20px 40px rgba(10, 31, 68, 0.12); 
    /* Required to make the table corners follow the 24px radius */
    overflow: hidden; 
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    table-layout: fixed;
}

.legal-table th, 
.legal-table td {
    padding: 24px; /* Matches your 24px theme for internal spacing */
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    color: #0a1f44;
}

.legal-table th {
    background-color: #f8fafc;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Remove border from the last row so it doesn't clash with the 24px corner */
.legal-table tr:last-child td {
    border-bottom: none;
}

/* Zebra striping for better readability */
.legal-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}


/* Tighten the Section Spacing */
.compact-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.section-title-center {
    margin-bottom: 25px !important; /* Reduces space between title and table */
}

/* COMPACT TABLE WRAPPER */
.comparison-table-wrapper {
    max-width: 1000px;
    margin: 0 auto; /* Removed large top/bottom margins */
    border-radius: 24px; 
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.08); 
    overflow: hidden; 
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

/* COMPACT TABLE CELLS */
.legal-table {
    width: 100%;
    border-collapse: collapse;
}

.legal-table th {
    padding: 15px 20px; /* Reduced vertical padding */
    background-color: #f8fafc;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #0a1f44;
    border-bottom: 1px solid #e2e8f0;
}

.legal-table td {
    padding: 12px 20px; /* Significantly reduced vertical padding for "less space" */
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    color: #0a1f44;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Remove border from last row */
.legal-table tr:last-child td {
    border-bottom: none;
}

/* --- FOOTER MASTER RESET --- */
#footer {
    background-color: #ffffff !important;
    width: 100%;
    border-top: 1px solid #e1e8f0; /* The top line of the footer */
    padding: 40px 0 0 0 !important; /* Tight top padding, zero bottom padding */
    margin-top: 40px;
    color: #0a1f44;
}

/* --- THE CONTENT CONTAINER --- */
.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px 20px 20px !important; /* Tightens space before the divider line */
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* --- COLUMN STYLING --- */
.footer-column h3 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0a1f44;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FF6B00;
}

/* --- SUBSCRIBE BOX --- */
.subscribe-col p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
}

.footer-subscribe {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-subscribe input {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.footer-subscribe button {
    background: #0a1f44;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

/* --- FOOTER BOTTOM (THE SINGLE DIVIDER) --- */
.footer-bottom {
    background-color: #ffffff !important;
    width: 100%;
    border-top: 1px solid #e1e8f0 !important; /* THE ONLY DIVIDER LINE */
    border-bottom: none !important;
    padding: 10px 0 !important; /* Very tight vertical space */
    margin-top: 0 !important;
}

.footer-bottom .footer-container {
    display: flex !important; /* Switches from Grid to Flex for the bottom bar */
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none !important;
    padding-bottom: 0 !important;
}

/* --- LEGAL & BRAND TEXT --- */
.copyright, .footer-legal-links a {
    font-size: 0.8rem;
    color: #94a3b8;
}

.subsidiary-link {
    color: #c15254 !important; /* Your specific red color */
    text-decoration: none;
    font-weight: 600;
}

.footer-legal-links a {
    margin-left: 20px;
    text-decoration: none;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 10px;
    }
}


/* Master Footer - Clean & White */
#footer {
    background-color: #ffffff !important;
    border-top: none !important; /* REMOVED TOP LINE */
    padding: 60px 0 0 0 !important;
    width: 100%;
}

/* Container Spacing */
#footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px !important; /* Space above the single line */
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* THE ONE AND ONLY LINE */
.footer-bottom {
    background-color: #ffffff !important; /* Pure white */
    border-top: 1px solid #e1e8f0 !important; /* THE ONLY HORIZONTAL LINE */
    padding: 15px 0 !important; /* Decreased vertical space */
    margin-top: 0 !important;
}

/* Align Bottom Text to Invisible Walls */
.footer-bottom .footer-container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none !important;
}

/* Subsidiary Link Color */
.subsidiary-link {
    color: #c15254 !important;
    text-decoration: none;
    font-weight: 600;
}

/* Text and Links */
.footer-column h3 { font-size: 0.9rem; margin-bottom: 15px; color: #0a1f44; }
.footer-links a { color: #64748b; text-decoration: none; font-size: 0.9rem; }
.copyright, .footer-legal-links a { font-size: 0.8rem; color: #94a3b8; }
.footer-legal-links a { margin-left: 20px; text-decoration: none; }

/* Mobile View */
@media (max-width: 768px) {
    #footer .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom .footer-container { flex-direction: column; gap: 10px; }
}

/* --- FOOTER CLEANUP --- */
#footer {
    background-color: #ffffff !important;
    border-top: none !important;    /* Removes line at the very top of footer */
    border-bottom: none !important; /* Removes line at the very bottom of footer */
    padding: 60px 0 0 0 !important;
    width: 100%;
}

/* Container Spacing */
#footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px 20px !important; /* Spacing above the divider */
}

/* THE ONLY DIVIDER LINE */
.footer-bottom {
    background-color: #ffffff !important;
    border-top: 1px solid #e1e8f0 !important; /* THE ONLY LINE ALLOWED */
    border-bottom: none !important;           /* KILLS THE LINE AT THE BOTTOM */
    padding: 12px 0 !important;               /* Very tight vertical space */
    margin: 0 !important;
}

/* Ensure no child elements inside footer have borders */
.footer-column, 
.footer-links, 
.copyright, 
.footer-legal-links {
    border: none !important;
    outline: none !important;
}

/* Subsidiary Link Color */
.subsidiary-link {
    color: #c15254 !important;
    text-decoration: none;
    font-weight: 600;
}

/* Text and Links */
.footer-column h3 { font-size: 0.9rem; margin-bottom: 15px; color: #0a1f44; }
.footer-links a { color: #64748b; text-decoration: none; font-size: 0.9rem; }
.copyright, .footer-legal-links a { font-size: 0.8rem; color: #94a3b8; }
.footer-legal-links a { margin-left: 20px; text-decoration: none; }


/* --- FOOTER MASTER STYLES --- */
#footer {
    background-color: #ffffff !important;
    width: 100%;
    /* REMOVE all top/bottom borders from the main footer container */
    border: none !important; 
    padding: 60px 0 0 0 !important;
    margin: 0 !important;
}

/* Unified Container Box */
#footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    /* This padding controls the gap between columns and the divider line */
    padding: 0 20px 30px 20px !important; 
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* --- THE SINGLE DIVIDER LINE --- */
.footer-bottom {
    background-color: #ffffff !important;
    /* THIS IS THE ONLY LINE ON THE PAGE */
    border-top: 1px solid #e1e8f0 !important; 
    border-bottom: none !important;
    margin-top: 0 !important;
    padding: 15px 0 !important; /* Tightens the vertical height of the bottom bar */
}

/* Reset Grid to Flex for the bottom bar so links push to the right */
.footer-bottom .footer-container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none !important;
    padding-bottom: 0 !important;
}

/* --- TEXT STYLES --- */
.subsidiary-link {
    color: #c15254 !important; /* Red color for Roseland */
    text-decoration: none;
    font-weight: 600;
}

.copyright, .footer-legal-links a {
    font-size: 0.8rem;
    color: #94a3b8;
}

.footer-legal-links a {
    margin-left: 20px;
    text-decoration: none;
}

.footer-column h3 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #0a1f44;
}

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

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

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    #footer .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- FOOTER BOTTOM STYLES --- */
.footer-bottom {
    background-color: #ffffff !important;
    width: 100%;
    /* This is your single clean horizontal line */
    border-top: 1px solid #e1e8f0 !important; 
    padding: 15px 40px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.copyright-info {
    font-size: 0.85rem;
    color: #64748b;
}

.subsidiary-link {
    color: #c15254 !important; /* Brand Red color */
    text-decoration: none;
    font-weight: 600;
}

.legal-links a {
    text-decoration: none;
    color: #64748b;
    font-size: 0.85rem;
    margin-left: 20px;
}

.legal-links a:hover {
    color: #0a1f44;
}

/* Mobile Fix: Centers and stacks the text */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 20px !important;
    }
    .legal-links a {
        margin: 0 10px;
    }
}

.footer-bottom {
    background-color: #ffffff !important;
    width: 100%;
    border-top: 1px solid #e1e8f0 !important;
    padding: 20px 20px !important;
    /* Centers everything inside the footer bottom */
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 10px;
    box-sizing: border-box;
}

.copyright-info {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center; /* Ensures the text inside the div is centered */
}

.subsidiary-link {
    color: #c15254 !important;
    text-decoration: none;
    font-weight: 600;
}

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

.legal-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.8rem;
}

/* Update this in your CSS file */
.footer-bottom {
    background-color: #ffffff !important;
    width: 100%;
    border-top: 1px solid #e1e8f0;
    padding: 20px 0;
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: center;
    text-align: center;
}

.copyright-info {
    font-size: 0.85rem;
    color: #64748b;
}

.subsidiary-link {
    color: #c15254 !important; /* Specific brand color */
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.subsidiary-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.subsidiary-link {
    color: #c15254 !important; /* Your specific red color */
    text-decoration: none;
    font-weight: 600; /* Makes it look professional and slightly bold */
}

.subsidiary-link:hover {
    text-decoration: underline; /* Standard professional hover effect */
}


/* FORCE RED COLOR ON SUBSIDIARY LINK */
#footer .subsidiary-link {
    color: #c15254 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

#footer .subsidiary-link:hover {
    text-decoration: underline !important;
}

/* Ensure the copyright area is centered */
.footer-bottom {
    text-align: center;
    width: 100%;
    padding: 20px 0;
    background-color: #ffffff !important;
    border-top: 1px solid #e1e8f0;
}


/* --- UNIVERSAL NAVIGATION STYLES --- */
.brand-nav-bar {
    background: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.brand-nav-links {
    list-style: none;
    display: flex;
    gap: 30px; /* Forces consistent spacing between nav items */
    margin: 0;
    padding: 0;
    align-items: center;
}

.brand-nav-links a {
    text-decoration: none;
    color: #0a1f44;
    font-weight: 600;
    font-size: 0.95rem; /* Standardized font size */
    transition: color 0.3s;
}

/* Dropdown Logic */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 240px; /* Fixed width for consistency */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    top: 100%;
    left: 0;
    z-index: 2000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li a {
    padding: 10px 20px;
    display: block;
    color: #0a1f44;
    font-size: 0.9rem;
}

.dropdown-content li a:hover {
    background: #f8fafc;
    color: #FF6B00;
}

.arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    vertical-align: middle;
}

/* Mobile Responsive adjustment */
@media (max-width: 992px) {
    .brand-nav-links {
        gap: 15px;
    }
    .brand-nav-bar {
        padding: 15px 20px;
    }
}

/* LLC SPECIFIC HERO IMAGE */
.llc-hero {
    background: linear-gradient(to right, rgba(10, 31, 68, 0.98) 25%, rgba(10, 31, 68, 0.6) 50%, rgba(10, 31, 68, 0) 85%), 
                url('images/llc-hero.jpg') no-repeat;
    background-size: cover;
    background-position: center right;
}

/* PRICING FLEX BOX */
.pricing-flex {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.pricing-card-legal.featured-plan {
    border: 2px solid var(--brand-orange);
    transform: scale(1.05);
    position: relative;
    z-index: 5;
}

.featured-plan .pricing-details {
    background: #fff9f5;
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
}

/* TABLE OVERRIDE FOR LLC PAGE */
.comparison-table-wrapper {
    margin-top: 50px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
}

@media (max-width: 768px) {
    .pricing-flex {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card-legal.featured-plan {
        transform: scale(1);
    }
}

/* LLC HERO BACKGROUND */
.llc-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    color: white;

    /* THE FIX: Gradient + Your Image */
    background: 
        linear-gradient(to right, rgba(10, 31, 68, 0.98) 25%, rgba(10, 31, 68, 0.6) 50%, rgba(10, 31, 68, 0) 85%), 
        url('../../images/llc-hero.jpg') no-repeat;
    
    background-size: cover;
    background-position: center right;

    background-position: center 10% !important; 
    
    background-size: cover;
    background-repeat: no-repeat;
    height: 30vh !important; 
    min-height: 500px !important; /* Adjust minimum height accordingly */
    display: flex;
    align-items: center; 
}


/* --- HERO STABILITY & VERTICAL SPACE FIX --- */
.llc-hero {
    height: 60vh !important; /* Moves the bottom of the hero UP */
    min-height: 500px !important;
    background-position: center 0% !important; /* Moves the PICTURE down */
    background-size: cover;
    display: flex;
    align-items: center;
    padding-top: 140px;
}

/* --- TABLE STYLING --- */
.comparison-table-wrapper {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
    overflow: hidden;
    margin-top: 30px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
}

.legal-table th, .legal-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    color: #0a1f44;
}

.legal-table th { background: #f8fafc; font-weight: 800; }

/* --- FAQ BOX STYLING --- */
.faq-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 24px;
}

.faq-trigger {
    font-weight: 700;
    color: #0a1f44;
    cursor: pointer;
    list-style: none;
    outline: none;
}

.faq-content {
    margin-top: 15px;
    color: #64748b;
}


/* --- IMPACT SECTION STYLES --- */
.impact-flex {
    display: flex;
    align-items: center;
    gap: 80px;
    justify-content: space-between;
}

.impact-main {
    flex: 1.2;
}

.impact-badge {
    color: #FF6B00;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 20px;
}

.impact-main h2 {
    font-size: 3rem;
    color: #0a1f44;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.text-orange { color: #FF6B00; }

.impact-main p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Stat Counters */
.impact-stats {
    display: flex;
    gap: 50px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a1f44;
}

.stat-label {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Milestone Sidebar */
.milestone-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.milestone-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 24px; /* Matches your 24px theme */
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.milestone-card.active {
    background: #ffffff;
    border-color: #FF6B00;
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.1);
}

.m-icon {
    font-weight: 900;
    color: #cbd5e1;
    font-size: 1.5rem;
}

.active .m-icon { color: #FF6B00; }

.milestone-card h4 {
    color: #0a1f44;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
}

.milestone-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .impact-flex { flex-direction: column; gap: 50px; }
    .impact-main h2 { font-size: 2.2rem; }
}


/* --- THE SIMPLIFIED PATH STYLES --- */
.path-section {
    position: relative;
    overflow: hidden;
}

.path-badge {
    display: inline-block;
    color: #FF6B00;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.path-timeline-wrapper {
    position: relative;
    margin-top: 60px;
}

/* The Connector Line */
.path-line {
    position: absolute;
    top: 40px; /* Aligns with the middle of the icon boxes */
    left: 10%;
    right: 10%;
    height: 2px;
    background-image: linear-gradient(to right, #e2e8f0 50%, rgba(255, 255, 255, 0) 0%);
    background-position: top;
    background-size: 15px 1px;
    background-repeat: repeat-x;
    z-index: 1;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

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

.path-icon-box {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 24px; /* Matches your 24px corner theme */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-weight: 800;
    font-size: 1.5rem;
    color: #0a1f44;
    transition: all 0.3s ease;
}

.path-step:hover .path-icon-box {
    border-color: #FF6B00;
    color: #FF6B00;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.1);
}

.path-text h3 {
    font-size: 1.4rem;
    color: #0a1f44;
    margin-bottom: 15px;
    font-weight: 700;
}

.path-text p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
    padding: 0 15px;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 992px) {
    .path-line {
        display: none; /* Remove line on mobile */
    }
    .path-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .path-icon-box {
        margin-bottom: 20px;
    }
}


/* --- ADVANTAGE SECTION --- */
.advantage-section {
    background-color: #ffffff;
}

.section-intro {
    max-width: 700px;
    margin-bottom: 60px;
}

.advantage-badge {
    color: #FF6B00;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

.section-intro h2 {
    font-size: 3rem;
    color: #0a1f44;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-intro p {
    font-size: 1.2rem;
    color: #64748b;
}

/* Advantage Items Layout */
.advantage-flex {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.advantage-item {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: #f8fafc;
    border-radius: 24px; /* Matches your 24px theme */
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    border-color: #FF6B00;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(10, 31, 68, 0.05);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 900;
    color: #e2e8f0; /* Subtle large number */
    line-height: 1;
    transition: color 0.3s ease;
}

.advantage-item:hover .advantage-number {
    color: #FF6B00;
}

.advantage-content h3 {
    font-size: 1.5rem;
    color: #0a1f44;
    margin-bottom: 12px;
    font-weight: 700;
}

.advantage-content p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .advantage-item {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }
    .section-intro h2 {
        font-size: 2.2rem;
    }
}


/* --- SHARED FLOW DESIGN --- */
.section-intro-center { text-align: center; margin-bottom: 50px; }
.navy-title { color: #0a1f44; font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; }
.section-subtitle { color: #64748b; font-size: 1.1rem; }
.badge-accent { color: #FF6B00; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; display: block; margin-bottom: 10px; }
.text-orange { color: #FF6B00; }

/* Feature Cards (Section 1) */
.llc-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.legal-feature-card { padding: 40px; background: white; border: 1px solid #e2e8f0; border-radius: 24px; transition: 0.3s ease; }
.card-number { font-size: 2.5rem; font-weight: 900; color: #f1f5f9; margin-bottom: 15px; }
.legal-feature-card:hover { border-color: #FF6B00; transform: translateY(-5px); }
.legal-feature-card h3 { color: #0a1f44; margin-bottom: 10px; }

/* Impact Layout (Section 3) */
.impact-flex-layout { display: flex; align-items: center; gap: 60px; }
.stat-row { display: flex; gap: 40px; margin-top: 30px; }
.stat-box strong { font-size: 2rem; color: #0a1f44; display: block; }
.milestone-stack { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.milestone-box { padding: 25px; background: #f8fafc; border-radius: 15px; border: 1px solid #e2e8f0; font-weight: 700; color: #64748b; }
.milestone-box.active { border-color: #FF6B00; color: #0a1f44; background: white; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.milestone-box span { margin-right: 15px; color: #FF6B00; }

/* Path Layout (Section 4) */
.path-grid-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.path-circle { width: 60px; height: 60px; background: #0a1f44; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-weight: 800; font-size: 1.2rem; }
.path-item h4 { color: #0a1f44; font-size: 1.3rem; margin-bottom: 10px; }

@media (max-width: 768px) {
    .llc-feature-grid, .impact-flex-layout, .path-grid-layout { grid-template-columns: 1fr; flex-direction: column; }
}


:root {
    --primary-navy: #0a1f44;
    --accent-orange: #FF6B00;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

body { background: #020617; color: #fff; overflow-x: hidden; }

/* --- HERO ANIMATION & DEPTH --- */
.premium-hero {
    position: relative;
    padding: 140px 0 100px;
    background: radial-gradient(circle at 80% 20%, #1e293b 0%, #020617 100%);
}

.gradient-text {
    font-size: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(to bottom right, #fff 30%, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1;
}

.reveal-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

/* --- THE GLOW BUTTON --- */
.btn-glow {
    position: relative;
    padding: 20px 40px;
    background: var(--accent-orange);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.6);
}

/* --- THE SUITE CARDS (Glassmorphism) --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.suite-card {
    background: var(--glass);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.suite-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-orange);
    transform: scale(1.02);
}

/* --- THE PRICING MATRIX --- */
.matrix-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.matrix-card {
    background: #ffffff;
    color: #020617;
    padding: 50px;
    border-radius: 32px;
    width: 100%;
    max-width: 450px;
}

.matrix-card.pro {
    border: 2px solid var(--accent-orange);
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    position: relative;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: white;
    padding: 5px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
}

.m-tier { font-weight: 800; text-transform: uppercase; color: #64748b; letter-spacing: 2px; }
.m-list { list-style: none; padding: 20px 0; border-top: 1px solid #eee; margin-top: 20px; }
.m-list li { margin-bottom: 12px; padding-left: 25px; position: relative; }
.m-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent-orange); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .matrix-grid, .grid-3 { flex-direction: column; grid-template-columns: 1fr; }
    .matrix-card.pro { transform: scale(1); }
}


:root {
    --black: #000000;
    --dark-grey: #0a0a0a;
    --accent-orange: #FF6B00;
    --text-muted: #888888;
    --border-color: rgba(255, 255, 255, 0.08);
}

body { background-color: var(--black); color: #fff; font-family: 'Inter', sans-serif; margin:0; }

/* BENTO HERO */
.bento-hero { padding: 120px 0 80px; }

.display-title { 
    font-size: clamp(3rem, 7vw, 5.5rem); 
    line-height: 0.95; 
    font-weight: 800; 
    margin-bottom: 25px;
}

.gradient-text {
    background: linear-gradient(180deg, #fff 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pill-badge {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent-orange);
    text-transform: uppercase;
}

/* BENTO GRID LAYOUT */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 20px;
    margin-top: 80px;
}

.bento-item {
    background: var(--dark-grey);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}

.bento-item:hover { border-color: rgba(255, 107, 0, 0.4); }

.bento-item.tall { grid-row: span 2; grid-column: span 1; }
.bento-item.wide { grid-column: span 2; }

.big-stat {
    position: absolute;
    bottom: -10px;
    right: 20px;
    font-size: 6rem;
    font-weight: 900;
    opacity: 0.05;
}

/* BUTTON GLOW */
.btn-primary-glow {
    padding: 20px 45px;
    background: #fff;
    color: #000;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.3);
    background: var(--accent-orange);
    color: #fff;
}

/* MATRIX SECTION */
.matrix-dark { padding: 100px 0; background: radial-gradient(circle at center, #111 0%, #000 100%); }

.matrix-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.matrix-tier {
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-radius: 32px;
    width: 100%;
    max-width: 400px;
    padding: 3px; /* For the glow border effect */
}

.tier-inner {
    background: #0a0a0a;
    border-radius: 30px;
    padding: 50px 40px;
    height: 100%;
}

.featured {
    background: linear-gradient(180deg, var(--accent-orange), transparent);
}

.price { font-size: 3.5rem; font-weight: 800; margin: 20px 0; }
.price span { font-size: 1rem; color: var(--text-muted); }

.tier-list { list-style: none; padding: 0; margin-bottom: 40px; }
.tier-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ccc; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .matrix-container { flex-direction: column; align-items: center; }
}

/* --- PROFESSIONAL PATH STYLES --- */
.process-path {
    background-color: #ffffff;
    overflow: hidden;
}

.path-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.path-card {
    position: relative;
    background: #f8fafc; /* Very light gray to pop against white bg */
    padding: 50px 30px 40px;
    border-radius: 24px; /* Matches your 24px theme */
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
}

.path-card:hover {
    background: #ffffff;
    border-color: #FF6B00;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 31, 68, 0.08);
}

/* The large background number */
.path-number-bg {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 5rem;
    font-weight: 900;
    color: #0a1f44;
    opacity: 0.04; /* Very subtle "ghost" number */
    line-height: 1;
    transition: all 0.3s ease;
}

.path-card:hover .path-number-bg {
    opacity: 0.1;
    color: #FF6B00;
}

.path-card-content h4 {
    color: #0a1f44;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.path-card-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* Add an orange accent line to each card */
.path-card::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 30px;
    width: 40px;
    height: 4px;
    background: #FF6B00;
    border-radius: 2px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .path-steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .path-card {
        padding: 60px 30px 40px;
    }
}


/* --- SUBTLE SECTION SWAPPING --- */

/* Off-White Background */
.bg-soft {
    background-color: #f4f7fa !important;
}

/* Pure White Background */
.bg-white {
    background-color: #ffffff !important;
}

/* HIGH-END INTERACTION: Card Pop */
/* When a card sits on the #f4f7fa background, make it Pure White with a shadow */
.bg-soft .path-card, 
.bg-soft .ra-card, 
.bg-soft .pricing-card-legal {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.05);
}

/* When a card sits on the #ffffff background, give it a subtle gray tint or border */
.bg-white .path-card, 
.bg-white .ra-card {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
}

/* SECTION TITLES */
.navy-title {
    color: #0a1f44;
    font-size: 2.5rem;
    font-weight: 800;
}

.badge-accent {
    color: #FF6B00;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- ELITE GUARANTEE STYLES --- */
.bg-dark-banner {
    background-color: #ffffff; /* Sits on a white section to pop */
    padding: 80px 0;
}

.guarantee-card {
    background: #0a1f44; /* Your Brand Navy */
    border-radius: 32px; /* Extra rounded for high-end feel */
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 30px 60px rgba(10, 31, 68, 0.2);
    position: relative;
    overflow: hidden;
}

/* Sublte Background Glow Effect */
.guarantee-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 107, 0, 0.1);
    filter: blur(100px);
    border-radius: 50%;
}

.guarantee-content {
    flex: 1.5;
    z-index: 2;
}

.light-title {
    color: #ffffff !important;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0;
}

.light-subtitle {
    color: #cbd5e1 !important;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
}

.guarantee-meta {
    display: flex;
    gap: 30px;
    margin-top: 25px;
}

.meta-item {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    color: #FF6B00;
    font-weight: 800;
}

/* Action Area */
.guarantee-action {
    flex: 1;
    text-align: center;
    z-index: 2;
}

.glow-button {
    background: #FF6B00 !important;
    padding: 22px 40px !important;
    font-size: 1.1rem !important;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}

.glow-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.5);
}

.terms-text {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .guarantee-card {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }
    .guarantee-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .guarantee-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- PREMIUM ADVANTAGE STYLES --- */

/* Modern Split Header */
.feature-split-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
    gap: 60px;
}

.feature-header-left {
    flex: 1;
}

.feature-header-right {
    flex: 1;
    max-width: 500px;
}

.feature-header-right p {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Feature Grid Layout */
.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.premium-feature-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px; /* Matches your 24px theme */
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(10, 31, 68, 0.08);
    border-color: #cbd5e1;
}

/* Visual Details */
.feature-accent-line {
    width: 45px;
    height: 6px;
    background: #0a1f44;
    border-radius: 100px;
    margin-bottom: 25px;
}

.feature-accent-line.orange {
    background: #FF6B00;
}

.premium-feature-card h3 {
    color: #0a1f44;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.premium-feature-card p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .feature-split-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .premium-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* --- GLOBAL RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .pricing-matrix, .premium-feature-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* 1. Global Reset for Mobile */
    .section-padding {
        padding: 60px 0; /* Reduced padding for shorter mobile screens */
    }

    /* 2. Navigation Bar */
    .brand-nav-bar {
        flex-direction: column;
        padding: 15px;
    }

    .brand-nav-links {
        display: none; /* Hide standard links; usually replaced by a burger menu */
    }

    /* 3. Hero Section */
    .ra-hero {
        height: auto !important;
        min-height: 500px !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 80px 20px;
        background-position: center center !important; /* Center image focus */
    }

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

    .navy-title {
        font-size: 2.2rem !important; /* Shrink large headers */
    }

    /* 4. Feature Grids (Advantage & Path) */
    .premium-feature-grid, 
    .path-steps-container, 
    .llc-feature-grid,
    .counter-grid {
        grid-template-columns: 1fr !important; /* Stack columns vertically */
        gap: 25px;
    }

    .feature-split-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    /* 5. Pricing Matrix */
    .pricing-matrix {
        flex-direction: column;
        align-items: center;
    }

    .tier-card {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .pro-featured {
        transform: scale(1); /* Remove the "pop" zoom on mobile to prevent clipping */
        margin: 10px 0;
    }

    /* 6. Comparison Table (The trickiest part) */
    .comparison-table-wrapper {
        overflow-x: auto; /* Enable horizontal swipe for tables */
        border-radius: 12px;
    }

    .legal-table {
        min-width: 600px; /* Forces enough width to stay readable */
    }

    /* 7. Guarantee Card */
    .guarantee-card {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .guarantee-meta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .glow-button {
        max-width: 100%;
    }

    /* 8. Footer */
    #footer .footer-container {
        grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
        gap: 30px;
    }

    .brand-col, .subscribe-col {
        grid-column: span 2; /* Full width for logo and subscribe */
        text-align: center;
    }

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

    .footer-legal-links a {
        margin: 0 10px;
    }
}

/* 9. Small Phone Adjustments */
@media (max-width: 480px) {
    .navy-title {
        font-size: 1.8rem !important;
    }
    
    #footer .footer-container {
        grid-template-columns: 1fr; /* Single column for very small phones */
    }
}


/* CORPORATION HERO IMAGE */
.corp-hero {
    background: linear-gradient(to right, rgba(10, 31, 68, 0.98) 25%, rgba(10, 31, 68, 0.6) 50%, rgba(10, 31, 68, 0) 85%), 
                url('images\corporations-hero.jpg') no-repeat;
    background-size: cover;
    background-position: center right;
    height: 60vh !important; /* Matches your tightened LLC hero */
    min-height: 500px;
    display: flex;
    align-items: center;
}


/* --- SECTION 2: PRICING MATRIX STYLES --- */

/* Section Background (Off-White) */
.bg-soft {
    background-color: #f4f7fa;
    padding-bottom: 80px !important; /* Adjust this number to add more or less space */
}

/* Matrix Layout */
.pricing-matrix {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin-top: 60px;
}

/* Base Tier Card */
.tier-card {
    background: #ffffff;
    border-radius: 24px; /* Matches your 24px theme */
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    border: 1px solid #e2e8f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

/* Recommended Tier (Pro Featured) */
.pro-featured {
    border: 2px solid #FF6B00;
    transform: scale(1.05); /* Makes it pop */
    z-index: 10;
    box-shadow: 0 20px 50px rgba(10, 31, 68, 0.12);
}

/* Recommended Tag */
.pop-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF6B00;
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Labels & Pricing */
.tier-label {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0a1f44;
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

/* Feature List */
.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
    flex-grow: 1; /* Pushes the button to the bottom */
}

.tier-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tier-features li::before {
    content: "✓";
    color: #FF6B00;
    font-weight: 900;
}

/* Buttons */
.btn-tier-outline {
    display: block;
    width: 100%;
    padding: 16px;
    border: 2px solid #0a1f44;
    color: #0a1f44;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-tier-outline:hover {
    background: #0a1f44;
    color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .pricing-matrix {
        flex-direction: column;
        align-items: center;
    }
    
    .pro-featured {
        transform: scale(1);
        margin: 20px 0;
    }
}


.section-header-center {
    width: 100%;        /* Ensures the container spans the full width */
    text-align: center; /* Centers the text inside the container */
    margin-bottom: 50px; /* Provides consistent spacing above the pricing cards */
}

.section-header-center h2.navy-title {
    margin: 0 auto;     /* Ensures no side margins are pushing it off-center */
    display: block;
}

/* CORPORATION HERO BACKGROUND */
.corp-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    color: white;

    /* THE FIX: Use 125% size so the image has room to move, and 100% horizontal position */
    background: linear-gradient(to right, rgba(10, 31, 68, 0.98) 25%, rgba(10, 31, 68, 0.6) 50%, rgba(10, 31, 68, 0) 85%), 
                url('../../images/corporations-hero.jpg') no-repeat;
    
    /* Pushes the image to the absolute right and keeps it 20% from the top */
    background-position: 110% 20%; 
    /* Zooming in slightly (125%) is what allows the "move" to actually happen */
    background-size: 100%; 
}

/* CORPORATION HERO SECTION */
.corp-hero {
    position: relative;
    width: 100%;
    
    /* 1. THE FIX: Lower the height AND the min-height to pull the bottom up */
    height: 75vh !important; 
    min-height: 400px !important; /* Decreased from 650px */

    /* 2. ALIGNMENT: Use 'center' instead of 'flex-end' 
       If you use flex-end in a short section, the text touches the bottom section. */
    display: flex;
    align-items: center; 
    
    /* 3. PADDING: Reset bottom padding to 0 */
    padding-bottom: 0 !important; 
    padding-left: 5%;

    background: linear-gradient(to right, rgba(10, 31, 68, 0.98) 25%, rgba(10, 31, 68, 0.6) 50%, rgba(10, 31, 68, 0) 85%), 
                url('../../images/corporations-hero.jpg') no-repeat;
    
    background-position: 100% 20%;
    background-size: 125%;
    overflow: hidden;
    color: white;
}

/* 4. TEXT ADJUSTMENT: Use margin-top to nudge text down from the nav bar if needed */
.hero-content-left {
    margin-top: -40px;
}


/* DBA HERO BACKGROUND */
.dba-hero {
    position: relative;
    width: 100%;
    height: 55vh !important;
    min-height: 400px !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    color: white;

    /* Using a 125% zoom to allow horizontal movement */
    background: 
        linear-gradient(to right, rgba(10, 31, 68, 0.98) 25%, rgba(10, 31, 68, 0.6) 50%, rgba(10, 31, 68, 0) 85%), 
        url('../../images/dba-hero.jpg') no-repeat;
    
    background-size: 125%;
    background-position: 100% 20%; 
}

/* Ensure the hero-title is consistent but sized for the 3-line layout */
.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* DBA HERO - FIXED SPACING & SEARCH */
.dba-hero {
    position: relative;
    width: 100%;
    /* INCREASED HEIGHT: Gives more breathing room */
    height: 70vh !important; 
    min-height: 600px !important;
    
    display: flex;
    align-items: center; 
    justify-content: flex-start;
    
    /* ADDED SPACING: Pushes content down from the Nav Bar */
    padding-top: 100px !important; 
    overflow: hidden;
    color: white;

    background: 
        linear-gradient(to right, rgba(10, 31, 68, 0.98) 25%, rgba(10, 31, 68, 0.6) 50%, rgba(10, 31, 68, 0) 85%), 
        url('../../images/dba-hero.jpg') no-repeat;
    background-size: cover;
    background-position: center 20%; 
}

/* SEARCH BAR STYLING */
.hero-search-wrapper {
    margin: 35px 0; /* Creates space between text and CTA button */
    max-width: 550px;
}

.hero-search-form {
    display: flex;
    background: white;
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.hero-search-form input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    outline: none;
    border-radius: 8px;
    color: #0a1f44;
}

.hero-search-form button {
    background: #FF6B00;
    color: white;
    border: none;
    padding: 0 25px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-search-form button:hover {
    background: #e65a00;
}

.search-note {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Ensure the container is the reference point for the absolute position */
.hero-relative {
    position: relative;
    height: 100%;
    min-height: 500px; /* Matches hero height */
    display: flex;
    align-items: center;
}

/* NEW: Bottom-Right Positioning */
.hero-search-wrapper-bottom-right {
    position: absolute;
    bottom: 20px; /* Distance from the bottom of the hero */
    right: 20px;  /* Distance from the right edge of the container */
    width: 100%;
    max-width: 450px; /* Slightly smaller for the corner placement */
    z-index: 5;
}

.hero-search-form {
    display: flex;
    background: white;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); /* Heavier shadow to pop against background */
}

.hero-search-form input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 0.95rem;
    outline: none;
    color: #0a1f44;
}

.hero-search-form button {
    background: #0a1f44; /* Navy button to differentiate from Orange CTA */
    color: white;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-search-form button:hover {
    background: #FF6B00; /* Turns orange on hover */
}

.search-note {
    display: block;
    text-align: right;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #cbd5e1;
}

/* MOBILE FIX: Move it back into the normal flow on small screens */
@media (max-width: 768px) {
    .hero-relative {
        flex-direction: column;
    }
    .hero-search-wrapper-bottom-right {
        position: static;
        margin-top: 40px;
        max-width: 100%;
    }
    .search-note {
        text-align: center;
    }
}



/* 1. HERO CONTAINER: Centers content vertically */
.hero-relative {
    position: relative;
    display: flex;
    align-items: center; /* Pushes text content to the middle vertically */
    min-height: 600px;    /* Height of your hero section */
    width: 100%;
}

/* 2. TEXT CONTENT: Vertically centered by parent flex */
.hero-content-left {
    max-width: 600px;
    z-index: 2;
}

/* 3. SEARCH BAR: Anchored to the bottom right */
.hero-search-wrapper-right {
    position: absolute;
    bottom: 60px;  /* Vertical distance from bottom */
    right: -190px;      /* Pushed all the way to the right edge of container */
    width: 100%;
    max-width: 400px; /* Precise width for clean look */
    z-index: 5;
}

/* 4. SEARCH BAR FORMATTING: High-End Look */
.hero-search-form {
    display: flex;
    background: #ffffff;
    padding: 6px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(10, 31, 68, 0.1);
}

.hero-search-form input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    color: #0a1f44;
    background: transparent;
}

.hero-search-form button {
    background: #0a1f44; /* Corporate Navy */
    color: #ffffff;
    border: none;
    padding: 0 25px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-search-form button:hover {
    background: #FF6B00; /* Glows orange on hover */
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.search-note {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #cbd5e1;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 5. MOBILE OVERRIDE: Stacks elements for usability */
@media (max-width: 768px) {
    .hero-relative {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 60px;
    }
    .hero-search-wrapper-right {
        position: static;
        margin-top: 40px;
        max-width: 100%;
    }
    .search-note {
        text-align: center;
    }
}

.hero-search-form {
    display: flex;
    background: #ffffff;
    padding: 6px; /* Space between the edge of the box and the elements */
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(10, 31, 68, 0.1);
    /* Forces children to line up perfectly */
    align-items: stretch; 
}

.hero-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 15px; /* Side padding only */
    font-size: 0.95rem;
    color: #0a1f44;
    outline: none;
    /* This height must match the button's line-height/padding */
    height: 50px; 
}

.hero-search-form button {
    background: #0a1f44;
    color: #ffffff;
    border: none;
    padding: 0 30px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Ensuring the button matches the input exactly */
    height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-search-form button:hover {
    background: #FF6B00;
}


/* 1. THE BAR: Anchored right, but centers its internal content */
.hero-search-wrapper-right {
    position: absolute;
    bottom: 40px;
    right: 0;
    width: 100%;
    max-width: 550px; /* Adjust width as needed */
    z-index: 5;
}

/* 2. THE WHITE CONTAINER: The Flex Engine */
.hero-search-form {
    display: flex;
    background: #ffffff;
    padding: 8px 12px; /* Internal "border" space */
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(10, 31, 68, 0.1);
    
    /* THE FIX: Centers the pair horizontally and vertically inside the bar */
    justify-content: center; 
    align-items: center;
    gap: 15px; /* Consistent space between input and button */
}

/* 3. THE INPUT: Centered and sized */
.hero-search-form input {
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #0a1f44;
    outline: none;
    
    /* THE FIX: Identical height to button */
    height: 50px; 
    width: 280px; /* Fixed width to allow centering */
    text-align: left; /* Keeps typing natural */
    padding: 0;
    margin: 0;
}

/* 4. THE BUTTON: Centered and sized */
.hero-search-form button {
    background: #0a1f44;
    color: #ffffff;
    border: none;
    padding: 0 30px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    
    /* THE FIX: Identical height to input */
    height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevents button from squishing */
}

.hero-search-form button:hover {
    background: #FF6B00;
}

/* 5. THE NOTE: Right-aligned under the bar */
.search-note {
    display: block;
    margin-top: 12px;
    font-size: 0.8rem;
    color: #cbd5e1;
    text-align: right; 
    padding-right: 10px;
}

/* 1. THE BAR: Anchored further right and shortened */
.hero-search-wrapper-right {
    position: absolute;
    bottom: 25px;
    right: -174px;           /* Locks it to the far right edge of the container */
    width: 100%;
    max-width: 420px;   /* SHORTER WIDTH: Adjust this number to make it even shorter */
    z-index: 5;
}

/* 2. THE WHITE CONTAINER: Perfect centering for contents */
.hero-search-form {
    display: flex;
    background: #ffffff;
    padding: 6px 10px;  /* Tightened internal padding */
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(10, 31, 68, 0.1);
    
    /* Keeps input and button centered inside the white box */
    justify-content: center; 
    align-items: center;
    gap: 10px;
}

/* 3. THE INPUT: Sized for the shorter bar */
.hero-search-form input {
    border: none;
    background: transparent;
    font-size: 0.9rem;  /* Slightly smaller font for shorter bar */
    color: #0a1f44;
    outline: none;
    height: 48px;       /* Fixed height */
    width: 200px;       /* SHORTER INPUT: Helps shrink the overall bar width */
    padding: 0 5px;
}

/* 4. THE BUTTON: Matches input height exactly */
.hero-search-form button {
    background: #0a1f44;
    color: #ffffff;
    border: none;
    padding: 0 20px;    /* Slightly tighter button padding */
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    height: 48px;       /* MATCHED HEIGHT */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-search-form button:hover {
    background: #FF6B00;
}

/* 5. THE NOTE: Aligned to the end of the shorter bar */
.search-note {
    display: block;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #cbd5e1;
    text-align: right; 
    width: 100%;
}

/* Update the Hero Container to push everything down */
.ra-hero {
    /* ... keep your other settings ... */
    
    display: flex;
    /* This centers the content vertically in the middle of the height */
    align-items: center; 
    
    /* OR: If you want to "nudge" it down specifically from the top */
    padding-top: 85px !important; 
    
    /* Ensure the height is enough to allow movement */
    min-height: 600px; 
}

/* Alternatively, add top margin to the text block itself */
.hero-content-left {
    margin-top: 60px; /* Adjust this number to push text lower */
}

/* --- ORDER PAGE LAYOUT --- */
.order-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.form-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-step { margin-bottom: 40px; }

.step-label {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    color: #FF6B00;
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-weight: 700; color: #0a1f44; margin-bottom: 8px; font-size: 0.95rem; }

.input-group input, .input-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    outline-color: #FF6B00;
}

.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* SIDEBAR SUMMARY */
.summary-card {
    background: #0a1f44;
    color: #ffffff;
    padding: 40px;
    border-radius: 24px;
    position: sticky;
    top: 120px;
}

.summary-card h4 { font-size: 1.2rem; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }

.summary-line { display: flex; justify-content: space-between; margin-bottom: 15px; color: #cbd5e1; font-size: 0.95rem; }

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #FF6B00;
    font-weight: 800;
    font-size: 1.3rem;
}

.summary-trust { margin-top: 30px; font-size: 0.85rem; color: #94a3b8; }

@media (max-width: 992px) {
    .order-grid { grid-template-columns: 1fr; }
    .summary-card { position: static; margin-top: 20px; }
}

/* Specific padding for the Order Page to clear the Nav Bar */
.order-page-padding {
    padding-top: 140px !important; /* Adjust this number to move it further down */
    padding-bottom: 80px;
}

/* Ensure the sidebar also respects the new top spacing */
.order-summary-sidebar {
    position: sticky;
    top: 160px; /* Keeps the sidebar visible while scrolling */
}

/* Mobile adjustment: reduce the gap slightly for smaller screens */
@media (max-width: 768px) {
    .order-page-padding {
        padding-top: 100px !important;
    }
}

/* --- UPSELL PAGE STYLES --- */
.upsell-container {
    background: #ffffff;
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(10, 31, 68, 0.1);
    border: 1px solid #e2e8f0;
}

.upsell-header {
    margin-bottom: 40px;
}

.upsell-box {
    background: #f8fafc;
    border: 2px solid #e1e8f0;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
    margin-bottom: 40px;
}

.upsell-icon {
    font-size: 3rem;
    background: #ffffff;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.upsell-info h3 {
    color: #0a1f44;
    margin-bottom: 5px;
}

.upsell-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF6B00;
    margin-top: 10px;
}

.upsell-price span {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 400;
}

.upsell-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.no-thanks-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}

.no-thanks-link:hover {
    color: #0a1f44;
    text-decoration: underline;
}

.upsell-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

/* Mobile Upsell */
@media (max-width: 768px) {
    .upsell-container { padding: 40px 20px; }
    .upsell-box { flex-direction: column; text-align: center; }
}

/* --- MULTI-UPSELL GRID --- */
.upsell-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.upsell-card-mini {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    text-align: center;
}

.upsell-card-mini.selected {
    border-color: #FF6B00;
    background: #fff;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.1);
    transform: translateY(-5px);
}

.card-icon { font-size: 2.5rem; display: block; margin-bottom: 15px; }

.upsell-card-mini h3 { font-size: 1.1rem; color: #0a1f44; margin-bottom: 10px; }
.upsell-card-mini p { font-size: 0.85rem; color: #64748b; line-height: 1.5; }

.upsell-add-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #0a1f44;
    background: transparent;
    color: #0a1f44;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.2s;
}

.selected .upsell-add-btn {
    background: #FF6B00;
    border-color: #FF6B00;
    color: white;
}

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

/* 1. RESET THE GRID */
.order-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    gap: 40px;
    align-items: flex-start !important; /* Anchors both columns to the top */
    margin-top: 0 !important;
    padding-top: 50px !important; /* Adjust this to move BOTH down from nav bar */
}

/* 2. SYNC THE STARTING POINT */
/* We must ensure both the white card and the navy card have 0 top margin */
.order-form-container,
.order-summary-sidebar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 3. THE FORM CARD (Left) */
.form-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 24px;
    margin-top: 0 !important; /* Forces top alignment */
    border: 1px solid #e2e8f0;
}

/* 4. THE SUMMARY CARD (Right) */
.summary-card {
    background: #0a1f44;
    color: #ffffff;
    padding: 35px;
    border-radius: 24px;
    
    /* FLOAT LOGIC */
    position: -webkit-sticky;
    position: sticky;
    top: 100px; /* Where it stops when scrolling */

    /* ALIGNMENT FIX */
    margin-top: 0 !important; /* Matches the left card exactly */
}

/* 5. THE TITLE FIX */
/* Titles often have "ghost" margins. We kill them to keep the alignment. */
.form-card h2.navy-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 1. Ensure the parent allows the child to float */
.order-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    gap: 40px;
    align-items: flex-start !important; /* This keeps them lined up at the top */
    position: relative;
}

/* 2. The Sidebar Column - must be full height to act as a track */
.order-summary-sidebar {
    height: 100%;
}

/* 3. The Actual Floating Box */
.summary-card {
    background: #0a1f44;
    color: #ffffff;
    padding: 35px;
    border-radius: 24px;

    /* THE FLOATING MAGIC */
    position: -webkit-sticky; /* Support for Safari */
    position: sticky;
    
    /* Distance from the top of the browser window when scrolling.
       Adjust 100px to match the height of your Nav Bar. */
    top: 100px; 
    
    /* Keeps alignment locked at the start */
    margin-top: 0 !important; 
    
    z-index: 10;
    box-shadow: 0 20px 40px rgba(10, 31, 68, 0.15);
}

html, body, main, .section-padding {
    overflow: visible !important;
}

/* 1. Shrink the gap at the very top of the page */
.order-page-padding {
    padding-top: 150px !important; /* Reduced from 140px/100px */
}

/* 2. Remove any "ghost" spacing on the grid itself */
.order-grid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 3. Ensure the inner cards don't have top margins */
.form-card, 
.summary-card {
    margin-top: 0 !important;
}

/* 4. Adjust the floating 'stop' point */
/* If you move the boxes higher, you might want them to stick 
   closer to the top of the browser when scrolling */
.summary-card {
    top: 20px !important; /* Sticks closer to the top edge */
}


.summary-card {
    position: -webkit-sticky; /* Support for Safari */
    position: sticky;

    /* THE FIX: Increase this number to be LARGER than your Nav Bar height */
    /* If your nav bar is 100px, set this to 120px for a clean gap */
    top: 120px !important; 

    z-index: 10; /* Ensures it stays above form fields but below nav dropdowns */
}

/* 1. Pull the entire section up AND shrink the bottom gap */
.upsell-page-padding {
    padding-top: 40px !important; 
    padding-bottom: 0px !important; /* Added to decrease bottom gap */
}

/* 2. Zero out any default margins on the internal container */
.upsell-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important; /* Added to remove bottom "push" */
}

/* 3. Pull the internal header and the footer text up */
.upsell-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.upsell-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.upsell-card-mini.selected {
    border: 2px solid #FF6B00 !important;
    background: #ffffff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.1);
}

.upsell-add-btn {
    transition: all 0.2s ease;
}

/* Remove borders from all action buttons on Upsell and Order pages */
.upsell-add-btn, 
.cta-button, 
.cta-button-block, 
.glow-button,
.hero-search-form button {
    border: none !important;
    outline: none !important;
}

/* Ensure the 'Selected' state on the upsell page doesn't re-add a border */
.upsell-card-mini.selected .upsell-add-btn {
    border: none !important;
}

/* If you are using standard HTML button tags, reset them too */
button {
    border: none;
}

/* APPLY HIGH-END SHADOW TO ALL BUTTONS */
.upsell-add-btn, 
.cta-button, 
.cta-button-block, 
.glow-button,
.hero-search-form button {
    /* Horizontal, Vertical, Blur, Spread, Color */
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

/* HOVER EFFECT: The shadow deepens when the user hovers */
.upsell-add-btn:hover, 
.cta-button:hover, 
.cta-button-block:hover, 
.glow-button:hover,
.hero-search-form button:hover {
    transform: translateY(-2px); /* Slight lift */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.23) !important;
}

/* PRESSED EFFECT: The shadow shrinks when clicked */
.upsell-add-btn:active, 
.cta-button:active, 
.cta-button-block:active, 
.glow-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* SPECIAL CASE: Keep the Orange Glow for your primary CTA */
.glow-button {
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3) !important;
}

.glow-button:hover {
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.5) !important;
}

/* --- INDEX HERO STYLES --- */
.index-hero {
    background: radial-gradient(circle at top right, rgba(244, 247, 250, 1), #ffffff);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-center-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-sub {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
}

/* --- FORMATION ENTRY GRID --- */
.formation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.formation-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.formation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 31, 68, 0.08);
}

.featured-entry {
    border: 2px solid #FF6B00;
    position: relative;
}

.card-icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }
.formation-card h3 { color: #0a1f44; margin-bottom: 15px; }
.formation-card p { color: #64748b; margin-bottom: 25px; flex-grow: 1; }

.card-link {
    display: block;
    margin-bottom: 20px;
    color: #0a1f44;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

/* SHADOW BUTTONS */
.shadow-btn {
    border: none !important;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1) !important;
    background: #0a1f44;
    color: white;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.orange-btn {
    background: #FF6B00 !important;
    box-shadow: 0 4px 14px 0 rgba(255, 107, 0, 0.3) !important;
}

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

/* INDEX HERO SPLIT LAYOUT */
.index-hero {
    background: #ffffff;
    padding: 100px 0 100px;
    overflow: hidden;
}

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

.hero-content-left {
    flex: 1.2;
    text-align: left; /* Switched to left align for the split look */
}

.hero-content-left h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

/* SEARCH BAR UPGRADE */
.hero-search-centering-unit {
    margin-top: 40px;
    width: 100%;
    max-width: 550px;
}

.hero-search-form {
    display: flex;
    background: #f4f7fa; /* Matches your light section color */
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.05);
    border: 1px solid #e2e8f0;
}

.hero-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    font-size: 1rem;
    outline: none;
    color: #0a1f44;
}

/* RIGHT SIDE IMAGE BOX */
.hero-image-wrap {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    width: 100%;
    max-width: 500px;
    height: 550px;
    object-fit: cover;
    border-radius: 32px; /* Extra rounded for premium feel */
    box-shadow: 0 40px 80px rgba(10, 31, 68, 0.15);
    z-index: 2;
    position: relative;
}

/* Decorative background element behind image */
.image-border-deco {
    position: absolute;
    top: 30px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid #FF6B00;
    border-radius: 32px;
    z-index: 1;
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }
    .hero-content-left {
        order: 1;
        text-align: center;
    }
    .hero-search-centering-unit {
        margin: 40px auto 0;
    }
    .hero-image-wrap {
        order: 2;
        margin-top: 50px;
    }
    .image-border-deco {
        display: none; /* Keep it clean on mobile */
    }
}

/* FLOATING STATS BUBBLE */
.hero-image-wrap {
    position: relative; /* Container for absolute positioning */
}

.floating-stats-card {
    position: absolute;
    bottom: 60px;
    left: -40px; /* Pulls it partially over the left edge of the image */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); /* Modern glass effect */
    padding: 20px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(10, 31, 68, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
    transition: transform 0.3s ease;
}

.floating-stats-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.stats-icon-circle {
    width: 45px;
    height: 45px;
    background: #f4f7fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stats-text-wrap {
    display: flex;
    flex-direction: column;
}

.stats-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0a1f44;
    line-height: 1.1;
}

.stats-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

/* MOBILE RESPONSIVE FIX */
@media (max-width: 992px) {
    .floating-stats-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px; /* Moves it below the image on mobile */
    }
    .floating-stats-card:hover {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* INDEX HERO WITH BACKGROUND */
.index-hero {
    position: relative;
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #ffffff; /* Fallback */
    
    /* ADD BACKGROUND IMAGE HERE */
    background-image: url('images/index-background.jpg'); /* Suble pattern or texture */
    background-size: cover;
    background-position: center;
}

/* Overlay ensures text is always readable */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,1) 30%, rgba(255,255,255,0.8) 60%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.hero-split {
    position: relative;
    z-index: 2; /* Sits above overlay */
    display: flex;
    align-items: center;
    gap: 60px;
}

/* FIX FOR BROKEN IMAGE / SIZING */
.hero-main-img {
    width: 100%;
    max-width: 480px;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(10, 31, 68, 0.15);
    display: block; /* Removes bottom ghost padding */
}

/* Ensure the deco border doesn't block the image */
.image-border-deco {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid #FF6B00;
    border-radius: 24px;
    z-index: -1;
}

.index-hybrid-hero {
    /* 1. The Image + a dark overlay to make text pop */
    background: linear-gradient(rgba(10, 31, 68, 0.8), rgba(10, 31, 68, 0.5)), 
                url('images/index-background.jpg') no-repeat;
    
    /* 2. Positioning */
    background-size: cover;
    background-position: center;
    
    /* 3. Give it height so the image is visible */
    min-height: 600px;
    width: 100%;
    
    /* 4. Layout */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Optional: Ensure the container centers the content within the hero */
.hero-split-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2; /* Keeps text above the background */
}


.index-hybrid-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    
    /* 1. Navy Gradient + Background Image */
    background: linear-gradient(to right, rgba(10, 31, 68, 0.98) 30%, rgba(10, 31, 68, 0.4) 70%, rgba(10, 31, 68, 0) 100%), 
                url('images/index-background.jpg') no-repeat;
    
    /* 2. Image Scaling & Positioning */
    background-size: cover;
    background-position: center;
}

/* Ensures the text stays above the background layers */
.hero-split-container {
    z-index: 2;
    position: relative;
}


/* Section Backgrounds */
.bg-soft { background-color: #f8fafc; }
.bg-white { background-color: #ffffff; }

/* Grid Layouts */
.formation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.formation-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.formation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.featured-entry {
    border: 2px solid #ff8c00;
}

/* List Styling inside cards */
.card-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #64748b;
}

/* Ecosystem Grid */
.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-icon-box {
    font-size: 2rem;
    margin-bottom: 20px;
}

.badge-accent {
    background: #e0f2fe;
    color: #0369a1;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    --navy: #0a1f44;
    --orange: #ff6b00;
    --ice: #f4f7fa;
    --white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 25px -5px rgba(10, 31, 68, 0.1);
    --transition: all 0.3s ease;
}

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

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    background-color: var(--white); 
    color: var(--text-main); 
    line-height: 1.6; 
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

/* =========================================
   2. REUSABLE COMPONENTS
   ========================================= */
.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary:hover { 
    background-color: #e66000; 
    transform: translateY(-2px);
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.badge {
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

/* =========================================
   3. LANDING PAGE (Hero & Services)
   ========================================= */
.hero {
    background: linear-gradient(rgba(10, 31, 68, 0.9), rgba(10, 31, 68, 0.9)), url('../../images/index-background.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.text-orange { color: var(--orange); }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* =========================================
   4. CUSTOMER PORTAL (Dashboard)
   ========================================= */
.portal-wrapper {
    display: flex;
    min-height: 100vh;
}

.portal-sidebar {
    width: 280px;
    background: var(--navy);
    padding: 40px 20px;
    color: var(--white);
    position: sticky;
    top: 0;
    height: 100vh;
}

.portal-sidebar h2 { color: var(--orange); font-size: 1.4rem; margin-bottom: 40px; }

.portal-nav { list-style: none; }
.portal-nav li { margin-bottom: 15px; }
.portal-nav a { 
    color: #cbd5e1; 
    text-decoration: none; 
    font-weight: 500; 
    padding: 10px 15px;
    display: block;
    border-radius: 6px;
    transition: var(--transition);
}

.portal-nav a:hover, .portal-nav a.active { 
    background: rgba(255,255,255,0.05); 
    color: var(--white); 
}

.portal-main {
    flex: 1;
    background: var(--ice);
    padding: 60px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* =========================================
   5. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .portal-wrapper { flex-direction: column; }
    .portal-sidebar { width: 100%; height: auto; position: relative; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .portal-main { padding: 30px 15px; }
}

/* Navigation Login Button */
.nav-login-btn {
    background-color: var(--orange);
    color: #ffffff !important; /* Forces white text */
    padding: 8px 20px !important;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--orange);
}

.nav-login-btn:hover {
    background-color: transparent;
    color: var(--orange) !important;
    border: 1px solid var(--orange);
}

/* Ensure the parent nav items align correctly */
.brand-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

/* Navigation Styling Fix */
.brand-nav-bar {
    background: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.brand-nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Ensure Login Screen doesn't hide the Nav */
#login-screen {
    min-height: 90vh; /* Changed from 100vh to fit under nav */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--ice);
}


/* Navigation Bar Styling */
.brand-nav-bar {
    background: #0a1f44; /* Your Navy */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.brand-nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.brand-nav-links a { color: #fff; text-decoration: none; font-weight: 600; }

.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; background: #fff; min-width: 160px; box-shadow: 0 8px 16px rgba(0,0,0,0.2); z-index: 1; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { color: #0a1f44; padding: 12px 16px; display: block; }

.nav-login-btn {
    background: #ff6b00; /* Your Orange */
    padding: 10px 20px;
    border-radius: 5px;
}

