
/* =========================================
   GLOBAL FONT SIZE SCALING (Bootstrap 5)
   ========================================= */
:root {
    /* Scales the entire site up by ~15%. 
       16px becomes 18.4px, 12px becomes 13.8px, 10px becomes 11.5px */
    font-size: 115%; 
}
/* =========================================
   FONTS & TYPOGRAPHY
   ========================================= */


:root {
    --primary-color: rgb(10, 120, 229);
    --secondary-color: #00c6ff;
}

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../vendor/quicksand/Quicksand-VariableFont_wght.ttf') format('woff2');
}

body { font-family: 'Quicksand', sans-serif; }

body {
    font-family: "Quicksand", sans-serif;
}

/* Force headings to your exact blue */
h1, h2, h3, h4, h5, h6 {
    color: rgb(10 120 229) !important;
    font-weight: 700;
}

/* =========================================
   PIXEL CONTROL FOR SMALL / MUTED TEXT
   ========================================= */
.small, 
small, 
.text-muted.small,
.text-muted small {
    font-size: 20px !important; /* Adjust this px value to your liking */
    line-height: 1.6; /* Adds a bit of breathing room so it's easier to read */
}

/* =========================================
   HORIZONTAL ACCORDION (TaskRabbit Style)
   ========================================= */
.horizontal-accordion {
    display: flex;
    height: 400px;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.accordion-item {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: flex 0.5s ease, background 0.3s ease;
    cursor: pointer;
    border: 1px solid #e9ecef;
    background: #ffffff;
    min-width: 80px;
    scroll-snap-align: start;
}

.accordion-item.active {
    flex: 4; /* Expands the active item */
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(10, 120, 229, 0.15);
    border-color: rgb(10, 120, 229);
}

.accordion-header {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 20px 10px;
    font-weight: bold;
    font-size: 1.1rem;
    color: rgb(10, 120, 229);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: absolute;
    width: 60px;
    left: 0;
    top: 0;
    background: rgba(10, 120, 229, 0.05);
    transition: all 0.3s ease;
    z-index: 2;
}

.accordion-item.active .accordion-header {
    writing-mode: horizontal-tb;
    transform: none;
    width: 100%;
    height: auto;
    position: relative;
    background: #f3f8fe;
    border-bottom: 2px solid rgba(10, 120, 229, 0.1);
    padding: 15px 20px;
    justify-content: flex-start;
}

.accordion-content {
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
    height: calc(100% - 60px);
    overflow-y: auto;
    display: none;
}

.accordion-item.active .accordion-content {
    display: block;
    opacity: 1;
}

.horizontal-accordion .accordion-item,
.horizontal-accordion .accordion-header {
    cursor: pointer;
}

/* Mobile Adjustments (Stacks vertically on small screens) */
@media (max-width: 768px) {
    .horizontal-accordion {
        flex-direction: column;
        height: auto;
    }
    .accordion-item {
        height: 60px;
    }
    .accordion-item.active {
        height: auto;
    }
    .accordion-header {
        writing-mode: horizontal-tb;
        transform: none;
        width: 100%;
        height: 60px;
        position: relative;
        justify-content: flex-start;
        padding-left: 20px;
    }
    .accordion-item.active .accordion-header {
        height: auto;
    }
}


.hero-section {
    /* ... existing styles ... */
    padding-bottom: 0rem !important;
}

/* Dark Mode Adjustments */
[data-bs-theme="dark"] h1, 
[data-bs-theme="dark"] h2, 
[data-bs-theme="dark"] h3, 
[data-bs-theme="dark"] h4, 
[data-bs-theme="dark"] h5, 
[data-bs-theme="dark"] h6 {
    color: #4da6ff !important; /* Lighter blue for dark mode readability */
}

[data-bs-theme="dark"] .bg-light {
    background-color: #2b3035 !important; /* Darker grey for section backgrounds */
}

[data-bs-theme="dark"] .accordion-item {
    background-color: #212529;
    border-color: #373b3e;
}

[data-bs-theme="dark"] .horizontal-accordion .accordion-item {
    background-color: #212529;
    border-color: #373b3e;
}

[data-bs-theme="dark"] .hero-blob {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(0, 114, 255, 0.05));
}

/* Fix Dark Mode Navbar */
[data-bs-theme="dark"] .navbar {
    background-color: #0CAFFF !important;
}

/* Ensure links and icons are white in dark mode navbar */
[data-bs-theme="dark"] .navbar .nav-link,
[data-bs-theme="dark"] .navbar .navbar-brand,
[data-bs-theme="dark"] .navbar #theme-icon {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .navbar .nav-link:hover {
    color: #f0f0f0 !important;
    opacity: 0.8;
}

/* Gradient Border Button */
.btn-gradient-border {
    position: relative;
    background: #0a1128; /* Dark background */
    color: white !important;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border: none;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px; /* Thickness of the border */
    background: linear-gradient(45deg, #00c6ff, #0072ff, #ff00cc, #ffcc00);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.btn-gradient-border:hover {
   
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
    color: white !important;
}

/* Make sure it looks good in light mode too */
[data-bs-theme="light"] .btn-gradient-border {
    background: #ffffff;
    color: #333 !important;
}
[data-bs-theme="light"] .btn-gradient-border:hover {
    color: #0072ff !important;
}

/* =========================================
   CUSTOM FAQ ACCORDION (No Bootstrap)
   ========================================= */
.custom-faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.custom-faq-question {
    padding: 20px 25px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0a78e5;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.custom-faq-question:hover {
    background: #f8f9fa;
}

.custom-faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    line-height: 1;
}

.custom-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
    background: #fdfdfd;
}

.custom-faq-answer p, 
.custom-faq-answer ul, 
.custom-faq-answer ol {
    color: #555555;
    margin-bottom: 15px;
    font-size: 1rem; /* Fixed size for readability */
    line-height: 1.6;
}

/* Active State */
.custom-faq-item.active .custom-faq-answer {
    max-height: 1000px; /* Large enough to fit content */
    padding: 20px 25px;
}
.custom-faq-item.active .custom-faq-icon {
    transform: rotate(45deg); /* Turns + into x */
}

/* Dark Mode Styles */
[data-bs-theme="dark"] .custom-faq-item {
    background: #212529;
    border-color: #373b3e;
}
[data-bs-theme="dark"] .custom-faq-question {
    color: #4da6ff;
}
[data-bs-theme="dark"] .custom-faq-question:hover {
    background: #2b3035;
}
[data-bs-theme="dark"] .custom-faq-answer {
    background: #1a1d20;
}
[data-bs-theme="dark"] .custom-faq-answer p, 
[data-bs-theme="dark"] .custom-faq-answer ul, 
[data-bs-theme="dark"] .custom-faq-answer ol {
    color: #dee2e6;
}

/* =========================================
   MULTI-STEP FORM STYLES (Points 2, 4, 5, 6, 8)
   ========================================= */
.step-title-box {
    background-color: rgb(10 120 229 / 28%) !important;
    color: #0d6efd !important;
}
/* Point 6: Force Quicksand on all form elements */
input, select, textarea, button, .form-control, .form-select {
    font-family: 'Quicksand', sans-serif !important;
}

.form-card {
    min-height: 600px; /* Point 2: Fixed height so the card doesn't jump */
    display: flex;
    flex-direction: column;
}

.form-body {
    flex-grow: 1;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}
.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Inputs (Point 4: Dark mode ready) */
.form-control, .form-select {
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(10, 120, 229, 0.25);
}

/* Point 4: Dark Mode specific adjustments */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .upload-box {
    background-color: #2b3035 !important;
    color: #ffffff;
    border: 1px solid #373b3e !important;
}
[data-bs-theme="dark"] .form-control::placeholder {
    color: #6c757d;
}
[data-bs-theme="dark"] .step-title-box {
    background-color: rgb(10, 120, 229) !important;
    color: #e1e6eb !important;
}

/* Upload Box */
.upload-box {
    cursor: pointer;
    transition: all 0.3s ease;
}
.upload-box:hover {
    border-color: rgb(10, 120, 229) !important;
    background-color: rgba(10, 120, 229, 0.05) !important;
}

/* Point 8: Progress Bar Redesign */
.progress-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
    padding: 0 15px; /* Adds space so lines start before bullet 1 and end after bullet 3 */
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 15px;
    right: 15px;
    transform: translateY(-50%);
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
    border-radius: 2px;
    overflow: hidden;
}

.progress-line-fill {
    position: absolute;
    inset: 0;                   /* Fills the parent */
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00c6ff, rgb(10, 120, 229));
    transform-origin: left center;
    transform: scaleX(0);       /* Starts hidden */
    transition: transform 0.4s ease;
    border-radius: 2px;
}

.step-circle {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffffff;
    color: rgb(10, 120, 229); /* Point 8: Blue text for inactive steps */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.85rem;
    z-index: 3;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.step-circle.active {
    background: linear-gradient(135deg, #00c6ff, rgb(10, 120, 229));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(10, 120, 229, 0.2);
}

/* Point 8: Gradient Buttons */
/* Force Gradient Button to override Bootstrap */
.btn-gradient {
    background: linear-gradient(135deg, #00c6ff, rgb(10, 120, 229)) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient:hover, .btn-gradient:focus {
    background: linear-gradient(135deg, rgb(10, 120, 229), #00c6ff) !important;
    color: #ffffff !important;
   
    box-shadow: 0 4px 15px rgba(10, 120, 229, 0.4);
}

/* Stop the form from shapeshifting */
.form-body {
    min-height: 450px; /* Adjust this value if you need more/less space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1050;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    margin-top: 4px;
}
.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.15s ease;
    color: #333;
}
.autocomplete-item:hover {
    background: rgba(10, 120, 229, 0.1);
    color: rgb(10, 120, 229);
}
[data-bs-theme="dark"] .autocomplete-dropdown {
    background: #212529;
    border-color: #373b3e;
}
[data-bs-theme="dark"] .autocomplete-item {
    color: #dee2e6;
}
[data-bs-theme="dark"] .autocomplete-item:hover {
    background: rgba(10, 120, 229, 0.2);
    color: #4da6ff;
}


/* Header Logo */
.header-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* Footer Logo — usually slightly larger and inverted for dark backgrounds */
.footer-logo {
    height: 92px;
    width: auto;
    object-fit: contain;
    /* Uncomment the line below if your logo is dark and won't show on the dark footer */
    /* filter: brightness(0) invert(1); */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .header-logo { height: 55px; }
    .footer-logo { height: 92px; }
}

.background-header {
    background-color: #bbb4b475;
    height: 80px !important;
    position: fixed !important;
    top: 0px;
    left: 0px;
    right: 0px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15) !important;
}


@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        z-index: 1040;
        padding: 80px 24px 30px;
        overflow-y: auto;
    }

    .navbar-collapse:not(.show) {
        display: none;
    }

    .navbar-collapse .navbar-nav {
        align-items: stretch !important;
        width: 100%;
    }

    .navbar-collapse .nav-item {
        border-bottom: 1px solid #e9ecef;
    }
    .navbar-collapse .nav-item:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .navbar-collapse .nav-link {
        padding: 16px 4px;
        font-size: 1.15rem;
       
        font-weight: 550;
    }
    .navbar-collapse .nav-link.active,
    .navbar-collapse .nav-link:hover {
        color: rgb(10, 120, 229) !important;
    }

    .navbar-collapse .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8f9fa;
        border-radius: 10px;
        margin: 4px 0 12px;
        padding: 8px;
    }
    .navbar-collapse .dropdown-item {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .navbar-collapse .btn-gradient-border {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 1.05rem;
    }

    /* Toggler becomes the floating close button */
    .navbar-toggler {
        position: relative;
        z-index: 1060;
        border: none;
        padding: 8px;
        transition: transform 0.3s ease;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .navbar-toggler[aria-expanded="true"] {
        position: fixed;
        top: 16px;
        right: 16px;
    }
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M6 6l18 18M6 24L24 6'/%3e%3c/svg%3e");
    }
}

/* Dark mode overrides */

[data-bs-theme="dark"] .navbar-collapse .nav-link {
    color: #e9ecef !important;
}
[data-bs-theme="dark"] .navbar-collapse .nav-item {
    border-bottom-color: #373b3e;
}
[data-bs-theme="dark"] .navbar-collapse .dropdown-menu {
    background: #212529;
}
[data-bs-theme="dark"] .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M6 6l18 18M6 24L24 6'/%3e%3c/svg%3e");
}

/* =========================================
   MOBILE MENU (screen-wide overlay)
   ========================================= */
@media (max-width: 991.98px) {

    /* Full-screen menu */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        z-index: 1040;
        padding: 80px 20px 30px;
        overflow-y: auto;
    }
    .navbar-collapse:not(.show) { display: none; }

    /* Hide the desktop nav list on mobile */
    .desktop-nav { display: none !important; }

    /* Show the mobile menu only on mobile */
    .mobile-menu { display: block; }

    /* The 4-box grid */
    .mobile-menu-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .mobile-menu-box {
        background: #f8f9fc;
        border-radius: 14px;
        padding: 16px 14px;
        border: 1px solid #eaeef5;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-menu-title {
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgb(10, 120, 229);
        margin-bottom: 4px;
        padding-bottom: 6px;
        border-bottom: 1px solid #e0e8f5;
    }

    .mobile-menu-box a {
        color: #1a1a1a;
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 500;
        padding: 2px 0;
        transition: color 0.15s ease;
        line-height: 1.35;
    }
    .mobile-menu-box a:hover {
        color: rgb(10, 120, 229);
    }
    .mobile-menu-box a i {
        font-size: 0.85rem;
    }

    /* Compact actions row */
    .mobile-menu-actions {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin: 18px 0 22px;
        flex-wrap: wrap;
    }
    .mobile-menu-actions .btn {
        font-size: 0.9rem;
        font-weight: 600;
        flex: 0 1 auto;
    }

    /* Bottom brand block */
    .mobile-menu-brand {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #eaeef5;
    }
    .mobile-menu-brand img {
        max-width: 80%;
    }
    .mobile-menu-tagline {
        font-size: 0.8rem;
        color: #6c757d;
        max-width: 280px;
        margin: 4px auto 0;
        line-height: 1.5;
    }

    /* Toggler position */
    .navbar-toggler {
        position: relative;
        z-index: 1060;
        border: none;
        padding: 8px;
    }
    .navbar-toggler:focus { box-shadow: none; }
    .navbar-toggler[aria-expanded="true"] {
        position: fixed;
        top: 16px;
        right: 16px;
    }
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M6 6l18 18M6 24L24 6'/%3e%3c/svg%3e");
    }
}

/* On desktop, the mobile menu is hidden */
@media (min-width: 992px) {
    .mobile-menu { display: none; }
}

/* Dark mode overrides — scoped to mobile only */
@media (max-width: 991.98px) {
    [data-bs-theme="dark"] .navbar-collapse { background: #141619; }
    [data-bs-theme="dark"] .mobile-menu-box {
        background: #1e2226;
        border-color: #2b3035;
    }
    [data-bs-theme="dark"] .mobile-menu-box a { color: #e9ecef; }
    [data-bs-theme="dark"] .mobile-menu-box a:hover { color: #4da6ff; }
    [data-bs-theme="dark"] .mobile-menu-title {
        color: #4da6ff;
        border-bottom-color: #2b3035;
    }
    [data-bs-theme="dark"] .mobile-menu-brand { border-top-color: #2b3035; }
    [data-bs-theme="dark"] .mobile-menu-tagline { color: #adb5bd; }
    [data-bs-theme="dark"] .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M6 6l18 18M6 24L24 6'/%3e%3c/svg%3e");
    }
}


/* =========================================
   COOKIE CONSENT BANNER
   ========================================= */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    padding: 12px;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.cookie-consent.visible {
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: #1a1a1a;
    color: #f0f0f0;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-consent-text {
    flex: 1;
    min-width: 0;
}
.cookie-consent-text strong {
    color: #fff;
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.cookie-consent-text p {
    color: #b8b8b8;
    line-height: 1.5;
}
.cookie-consent-text a {
    color: #4da6ff;
    text-decoration: none;
}
.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        padding: 18px 16px;
    }
    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
    .cookie-consent-actions .btn {
        flex: 1;
        max-width: 140px;
    }
}

/* Light mode — softer appearance */
[data-bs-theme="light"] .cookie-consent-inner {
    background: #0d1117;
    color: #e6e6e6;
}

/* Dark mode — matches the theme */
[data-bs-theme="dark"] .cookie-consent-inner {
    background: #212529;
    border-color: #373b3e;
}


.toggle-button {
    font-size: 12px !important;
    line-height: 1.2;
}

.nav-item {
    font-weight:700 !important;
}

/* =========================================
   NAVBAR LINKS — theme-aware colors
   ========================================= */

/* Light mode (day) */
.site-nav .nav-link,
.site-nav .navbar-nav .nav-link {
    color: rgb(10, 120, 229) !important;
    font-weight: 550;
    transition: color 0.15s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .nav-link.active {
    color: #00c6ff !important;
}

/* The theme-toggle button uses .nav-link too — same rules apply */
.site-nav button.nav-link {
    background: transparent;
    border: none;
}

/* Dropdown arrow color inherits from .nav-link */
.site-nav .dropdown-toggle::after {
    border-top-color: currentColor;
}

/* Dark mode (night) */
[data-bs-theme="dark"] .site-nav .nav-link,
[data-bs-theme="dark"] .site-nav .navbar-nav .nav-link {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .site-nav .nav-link:hover,
[data-bs-theme="dark"] .site-nav .nav-link:focus,
[data-bs-theme="dark"] .site-nav .nav-link.active {
    color: #e3f2fd !important;
}

/* Dropdown menu items in dark mode should stay readable */
[data-bs-theme="dark"] .dropdown-menu {
    background: #212529;
    border-color: #373b3e;
}
[data-bs-theme="dark"] .dropdown-item {
    color: #dee2e6;
}
[data-bs-theme="dark"] .dropdown-item:hover {
    background: #2b3035;
    color: #4da6ff;
}

/* =========================================
   LEGAL / POLICY PAGES
   ========================================= */
.legal-page {
    max-width: 64%;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.legal-page h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: rgb(10, 120, 229);
}

.legal-page .legal-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: rgb(10, 120, 229);
}

.legal-page p,
.legal-page li {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 14px;
}

.legal-page ul,
.legal-page ol {
    padding-left: 22px;
    margin-bottom: 20px;
}

.legal-page a {
    color: rgb(10, 120, 229);
    text-decoration: underline;
}

.legal-page strong {
    color: #1a1a1a;
}

.legal-page .legal-notice {
    background: #f1f8fe;
    border-left: 4px solid rgb(10, 120, 229);
    padding: 16px 20px;
    border-radius: 8px;
    margin: 30px 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.7;
}

/* Dark mode */
[data-bs-theme="dark"] .legal-page h1,
[data-bs-theme="dark"] .legal-page h2 {
    color: #4da6ff;
}
[data-bs-theme="dark"] .legal-page p,
[data-bs-theme="dark"] .legal-page li {
    color: #ced4da;
}
[data-bs-theme="dark"] .legal-page strong {
    color: #fff;
}
[data-bs-theme="dark"] .legal-page .legal-meta {
    border-bottom-color: #373b3e;
    color: #adb5bd;
}
[data-bs-theme="dark"] .legal-page .legal-notice {
    background: #1a2332;
    color: #ced4da;
    border-left-color: #4da6ff;
}
[data-bs-theme="dark"] .legal-page a {
    color: #4da6ff;
}

.border-sc {
   border-color: rgb(12 175 255) !important;
}


/* =========================================
   HERO AUDIENCE CARDS
   ========================================= */
.audience-card {
    background: #ffffff;
    border: 1px solid rgba(10, 120, 229, 0.15) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, border-color 0.3s ease;
}
.audience-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 120, 229, 0.12);
}

/* Differentiate the two boxes by border color */
.audience-card:first-child {
    border-color: rgba(10, 120, 229, 0.25) !important;
}
.audience-card:last-child {
    border-color: rgba(40, 167, 69, 0.25) !important;
}

/* Dark mode */
[data-bs-theme="dark"] .audience-card {
    background: #373b3e;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
[data-bs-theme="dark"] .audience-card:first-child {
    border-color: rgba(77, 166, 255, 0.3) !important;
}
[data-bs-theme="dark"] .audience-card:last-child {
    border-color: rgba(40, 200, 90, 0.3) !important;
}
[data-bs-theme="dark"] .audience-card h6 {
    color: #ffffff !important;
}
[data-bs-theme="dark"] .audience-card .text-muted {
    color: #adb5bd !important;
}


/* Dark mode: active accordion header */
[data-bs-theme="dark"] .horizontal-accordion .accordion-item.active .accordion-header {
    background: #202933 !important;
    border-bottom-color: rgba(77, 166, 255, 0.2);
}

/* Also fix the collapsed (non-active) header background in dark mode */
[data-bs-theme="dark"] .horizontal-accordion .accordion-item .accordion-header {
    background: rgba(77, 166, 255, 0.08);
}


/* Dark mode — active accordion item and header */
[data-bs-theme="dark"] .horizontal-accordion .accordion-item.active {
    background: #212529 !important;
    border-color: rgba(77, 166, 255, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .horizontal-accordion .accordion-item.active .accordion-header {
    background: #202933 !important;
    color: #4da6ff !important;
    border-bottom-color: rgba(77, 166, 255, 0.15) !important;
}

/* Also refine the collapsed headers for dark mode */
[data-bs-theme="dark"] .horizontal-accordion .accordion-item .accordion-header {
    background: rgba(77, 166, 255, 0.06);
    color: #4da6ff;
}

/* Print chart images — keep them tight but readable */
.print-chart-img {
    width: 100% !important;
    height: auto !important;
    max-height: 200px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* =========================================
   SUBMISSION LOADING OVERLAY
   ========================================= */
.submission-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.submission-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.submission-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px 36px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.submission-overlay.visible .submission-card {
    transform: translateY(0) scale(1);
}

/* Spinner */
.submission-spinner {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
}

.submission-spinner-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.submission-spinner-track {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 6;
}

.submission-spinner-ring {
    fill: none;
    stroke: url(#none); /* replaced by solid fallback */
    stroke: rgb(10, 120, 229);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 276; /* 2 * PI * 44 */
    stroke-dashoffset: 207; /* start 25% visible */
    transform-origin: 50% 50%;
    animation: submission-spin 1.4s linear infinite;
}

@keyframes submission-spin {
    0%   { stroke-dashoffset: 207; transform: rotate(0deg); }
    50%  { stroke-dashoffset: 69; }
    100% { stroke-dashoffset: 207; transform: rotate(360deg); }
}

.submission-spinner-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 34px;
    color: rgb(10, 120, 229);
    animation: submission-pulse 2s ease-in-out infinite;
}

@keyframes submission-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.85; }
    50%      { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

/* Text */
.submission-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: rgb(10, 120, 229);
    margin: 0 0 8px;
}

.submission-message {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0 0 24px;
    min-height: 1.4em;
    transition: opacity 0.3s ease;
}

/* Progress bar */
.submission-progress {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 18px;
}

.submission-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00c6ff, rgb(10, 120, 229));
    border-radius: 3px;
    transition: width 0.9s cubic-bezier(0.3, 0.9, 0.4, 1);
}

/* Hint */
.submission-hint {
    font-size: 0.78rem;
    color: #adb5bd;
    margin: 0;
}

.submission-hint i {
    color: #ffc107;
}

/* Dark mode */
[data-bs-theme="dark"] .submission-overlay {
    background: rgba(0, 0, 0, 0.85);
}
[data-bs-theme="dark"] .submission-card {
    background: #212529;
}
[data-bs-theme="dark"] .submission-spinner-track {
    stroke: #373b3e;
}
[data-bs-theme="dark"] .submission-message {
    color: #adb5bd;
}
[data-bs-theme="dark"] .submission-progress {
    background: #373b3e;
}

/* Mobile */
@media (max-width: 480px) {
    .submission-card {
        padding: 36px 24px 28px;
    }
    .submission-spinner {
        width: 90px;
        height: 90px;
    }
    .submission-spinner-icon {
        font-size: 28px;
    }
}

/* =========================================
   WHY US SECTION
   ========================================= */
.why-us-section {
    background: #ffffff;
    position: relative;
}

.why-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 120, 229, 0.10);
    border-color: rgba(10, 120, 229, 0.25);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

/* Comparison table */
.comparison-wrapper {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
}

.comparison-table thead th {
    background: #f8f9fa;
    font-weight: 700;
    font-size: 0.85rem;
    color: #495057;
    padding: 16px 14px;
    border-bottom: 2px solid #e9ecef;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.comparison-table tbody td {
    padding: 14px;
    font-size: 0.9rem;
    color: #333;
    border-color: #eef2f7;
}

.comparison-table .app-col {
    background: linear-gradient(180deg, rgba(10, 120, 229, 0.04), rgba(10, 120, 229, 0.08));
    font-weight: 700;
    color: rgb(10, 120, 229);
}

.comparison-table thead .app-col {
    background: linear-gradient(135deg, #00c6ff, rgb(10, 120, 229));
    color: #ffffff !important;
}

.comparison-table i {
    font-size: 1.1rem;
    font-weight: 900;
}

/* Dark mode */
[data-bs-theme="dark"] .why-us-section {
    background: #1a1d20;
}
[data-bs-theme="dark"] .why-card {
    background: #212529;
    border-color: #373b3e;
}
[data-bs-theme="dark"] .why-card:hover {
    border-color: rgba(77, 166, 255, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
[data-bs-theme="dark"] .why-card h5 {
    color: #ffffff;
}
[data-bs-theme="dark"] .comparison-table {
    background: #212529;
    border-color: #373b3e;
}
[data-bs-theme="dark"] .comparison-table thead th {
    background: #2b3035;
    color: #adb5bd;
    border-bottom-color: #373b3e;
}
[data-bs-theme="dark"] .comparison-table tbody td {
    color: #dee2e6;
    border-color: #2b3035;
}
[data-bs-theme="dark"] .comparison-table .app-col {
    background: rgba(77, 166, 255, 0.08);
    color: #4da6ff;
}
[data-bs-theme="dark"] .comparison-table thead .app-col {
    background: linear-gradient(135deg, #00c6ff, rgb(10, 120, 229));
    color: #ffffff !important;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.8rem;
    }
    .comparison-table tbody td,
    .comparison-table thead th {
        padding: 10px 8px;
    }
    .comparison-table thead th {
        font-size: 0.72rem;
    }
}


/* =========================================
   HOW IT WORKS — DUAL JOURNEY
   ========================================= */
.journey-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px 28px;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.journey-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(10, 120, 229, 0.10);
    border-color: rgba(10, 120, 229, 0.25);
}

/* Header */
.journey-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eef2f7;
}

.journey-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.journey-card:hover .journey-icon {
    transform: scale(1.08);
}

/* Professional theme — blue */
.journey-pro .journey-icon {
    background: linear-gradient(135deg, #00c6ff, rgb(10, 120, 229));
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(10, 120, 229, 0.28);
}

/* Client theme — green */
.journey-client .journey-icon {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.28);
}

/* Steps */
.journey-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.journey-steps li {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    position: relative;
}

.journey-steps li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 34px;
    bottom: 0;
    width: 2px;
    background: #eef2f7;
}

.journey-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease;
}

.journey-pro .journey-step-num {
    background: rgba(10, 120, 229, 0.12);
    color: rgb(10, 120, 229);
}

.journey-client .journey-step-num {
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
}

.journey-steps li:hover .journey-step-num {
    transform: scale(1.1);
}

.journey-step-body {
    flex: 1;
    padding-top: 3px;
    min-width: 0;
}

.journey-step-body h6 {
    color: #1a1a1a;
    line-height: 1.4;
}

/* Footer */
.journey-footer {
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid #eef2f7;
}

/* Dark mode */
[data-bs-theme="dark"] .journey-card {
    background: #212529;
    border-color: #373b3e;
}
[data-bs-theme="dark"] .journey-card:hover {
    border-color: rgba(77, 166, 255, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
[data-bs-theme="dark"] .journey-header,
[data-bs-theme="dark"] .journey-footer {
    border-color: #2b3035;
}
[data-bs-theme="dark"] .journey-steps li:not(:last-child)::before {
    background: #2b3035;
}
[data-bs-theme="dark"] .journey-step-body h6 {
    color: #ffffff;
}
[data-bs-theme="dark"] .journey-pro .journey-step-num {
    background: rgba(77, 166, 255, 0.18);
    color: #4da6ff;
}
[data-bs-theme="dark"] .journey-client .journey-step-num {
    background: rgba(52, 211, 153, 0.18);
    color: #34d399;
}
[data-bs-theme="dark"] .journey-client .btn-outline-primary {
    color: #34d399;
    border-color: #34d399;
}
[data-bs-theme="dark"] .journey-client .btn-outline-primary:hover {
    background: #34d399;
    color: #ffffff;
}

/* Mobile spacing */
@media (max-width: 991.98px) {
    .journey-card {
        padding: 26px 22px 22px;
    }
    .journey-steps li {
        padding-bottom: 18px;
    }
}

