:root {
    --electric-blue: #0066FF;
    --orange: #FF6600;
    --dark-bg: #2a2a2a;
    --darker-bg: #1a1a1a;
    --light-text: #ffffff;
    --gray-text: #b0b0b0;
    --bs-heading-color: #ffffff;
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 100px; /* Space for fixed navbar */
}
.text-muted {
    color: var(--gray-text) !important;
}

.lead {
    font-size: 1.25rem !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    min-height: calc(100vh - 120px); /* Account for fixed navbar */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: -120px; /* Pull up to account for body padding */
    padding-top: 120px; /* Add padding back for content */
}
    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, var(--electric-blue)20 0%, transparent 50%), radial-gradient(circle at 80% 20%, var(--orange)20 0%, transparent 50%);
        opacity: 0.1;
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.btn-primary-custom {
    background-color: var(--electric-blue);
    border-color: var(--electric-blue);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: none;
}

    .btn-primary-custom:hover {
        background-color: #0052cc;
        border-color: #0052cc;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
    }

.btn-outline-custom {
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
    text-transform: none;
}

    .btn-outline-custom:hover {
        background-color: var(--orange);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
    }

.section-dark {
    background-color: var(--darker-bg);
    padding: 80px 0;
}

.section-light {
    background-color: var(--dark-bg);
    padding: 80px 0;
}

.product-card {
    background: linear-gradient(145deg, #3a3a3a, #2f2f2f);
    border: 1px solid #444;
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--electric-blue), var(--orange));
    }

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
        color: inherit;
        text-decoration: none;
    }

    .product-card.featured {
        border: 2px solid var(--electric-blue);
    }

    .product-card.addon {
        opacity: 0.7;
        border: 1px solid #555;
    }

.product-icon {
    font-size: 3rem !important;
    color: var(--electric-blue);
    margin-bottom: 20px;
}

/* Higher specificity to override MDI defaults */
.mdi.product-icon:before {
    font-size: 3rem !important;
}

/* Also target any inline styles that might be applied */
i.mdi.product-icon {
    font-size: 3rem !important;
}

i.mdi.product-icon:before {
    font-size: 3rem !important;
    line-height: 1.5em;
}

/* Override MDI defaults for any icon with inline font-size */
.mdi[style*="font-size: 3rem"]:before {
    font-size: 3rem !important;
}

/* Catch-all for any MDI icon that should be 4rem */
.text-center .mdi:before {
    font-size: inherit !important;
}

/* Logo product icons - smaller than main product icons */
.logo-product-icon {
    font-size: 3rem !important;
}

.mdi.logo-product-icon:before {
    font-size: 3rem !important;
}

i.mdi.logo-product-icon {
    font-size: 3rem !important;
}

i.mdi.logo-product-icon:before {
    font-size: 3rem !important;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
}

.navbar-dark {
    background-color: var(--darker-bg) !important;
    border-bottom: 1px solid #333;
    z-index: 1030; /* Ensure navbar stays on top */
    transition: all 0.3s ease;
}

.navbar.fixed-top {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive navbar adjustments */
@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 100px; /* Smaller offset for mobile */
    }
    
    .smooth-scroll {
        scroll-padding-top: 100px; /* Smaller offset for mobile */
    }
    
    body {
        padding-top: 80px; /* Smaller padding for mobile */
    }
    
    .hero-section {
        min-height: calc(100vh - 80px);
        margin-top: -80px;
        padding-top: 80px;
    }
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--electric-blue);
}

.text-electric-blue {
    color: var(--electric-blue);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: 40px;
    line-height: 1.5;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 50px;
}

.bundle-card {
    background: linear-gradient(145deg, #3a3a3a, #2f2f2f);
    border: 2px solid var(--electric-blue);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

    .bundle-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--electric-blue), var(--orange));
    }

.savings-badge {
    background: linear-gradient(135deg, var(--orange), #ff8533);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.bundle-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
}

.original-price {
    font-size: 1.5rem;
    color: var(--gray-text);
    text-decoration: line-through;
}

.feature-highlight {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid var(--electric-blue);
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
}

.addon-notice {
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid var(--orange);
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
    text-align: center;
}

.hidden-products {
    display: none;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

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

html {
    scroll-padding-top: 140px; /* Offset for fixed navbar + extra space */
}

.smooth-scroll {
    scroll-behavior: smooth;
    scroll-padding-top: 140px; /* Offset for fixed navbar + extra space */
}

h1:focus {
    outline: none;
}

/* Ensure h4 elements match Bootstrap default font-size */
h4 {
    font-size: 1.5rem !important;
}

/* Problem section spacing improvements */
.problem-section .row {
    margin-top: 1rem;
}

/* Fix MDI icon spacing in problem/stats sections */
.problem-section .mdi,
.stats-section .mdi {
    line-height: 1 !important;
    margin-bottom: 1.5rem !important;
    display: block;
}

.reglink {
    text-decoration: underline;
    color: rgb(51,51,51);
}

.btn-primary {
    color: #fff;
    background-color: #0f599e;
    border-color: #0f599e;
    text-transform: none;
}


.btn-outline-primary {
    text-transform: none;
}

.modal-backdrop {
    --bs-backdrop-opacity: 0.7;
}

.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle) {
    background: linear-gradient(98deg, #0084ff 0%, #f67800 114%);
    border-top-right-radius: 0px;
    border-bottom-right-radius: 100px;
    color: #fff;
    font-weight: 300;
}

.bg-menu-theme .menu-inner-shadow {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 100px;
    background: linear-gradient(#f4f5fa 5%, rgba(244, 245, 250, 0.75) 45%, rgba(244, 245, 250, 0.2) 80%, transparent);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJo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MxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

body.dark-style {
    background-color: #222 !important;
}

.layout-wrapper.layout-content-navbar {
    background-color: #222 !important;
}

.layout-page {
    background-color: #222 !important;
}

/* Additional custom styling for dark mode */
.dark-style .card {
    background-color: #333 !important;
}

/* Ensure proper color contrast for text */
.dark-style .text-body {
    color: #e0e0e0 !important;
}

/* Electric Blue and Orange accent colors */
.electric-blue {
    color: #0066FF !important;
}

.electric-orange {
    color: #FF6600 !important;
}

.bg-electric-blue {
    background-color: #0066FF !important;
}

.bg-electric-orange {
    background-color: #FF6600 !important;
}

/* Button styling with brand colors */
.btn-electric-blue {
    background-color: #0066FF !important;
    color: white !important;
    text-transform: none !important;
}

.btn-electric-orange {
    background-color: #FF6600 !important;
    color: white !important;
    text-transform: none !important;
}


/* Services section styling */
.services-section .card {
    transition: transform 0.3s ease;
}

    .services-section .card:hover {
        transform: translateY(-10px);
    }

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Override the bg-light class to use your desired gray color */
.bg-light {
    --bs-light-rgb: 115, 114, 113 !important; /* This is #3E4651 in RGB */
    background-color: #4A4A4A !important;
}

/* Also override the CSS custom property at root level */
:root {
    --bs-light-rgb: 115, 114, 113 !important;
}

/* Alternative approach - target the specific element if the above is too broad */
.audience-section.bg-light,
.intake-questions-section.bg-light,
.bg-light.py-5 {
    background-color: #4A4A4A !important;
}

/* Ensure text contrast is good on the new background */
.bg-light {
    color: #ffffff !important;
}

    .bg-light .lead,
    .bg-light h3,
    .bg-light h4,
    .bg-light p {
        color: #ffffff !important;
    }

    .bg-light .question-item {
        color: #e0e0e0 !important;
    }
/* Override dropdown colors to match brand palette */

/* Override CSS custom properties for dropdowns */
:root {
    --bs-dropdown-link-hover-color: #ffffff !important;
    --bs-dropdown-link-hover-bg: #4A4A4A !important; /* Cool gray hover */
    --bs-dropdown-link-active-color: #ffffff !important;
    --bs-dropdown-link-active-bg: #0066FF !important; /* Electric blue active */
    --bs-dropdown-link-disabled-color: #888888 !important;
}

/* Direct overrides for maximum compatibility */
.dropdown-item:hover,
.dropdown-item:focus {
    color: #ffffff !important;
    background-color: #4A4A4A !important; /* Cool gray hover */
}

.dropdown-item.active,
.dropdown-item:active {
    color: #ffffff !important;
    text-decoration: none !important;
    background-color: #0066FF !important; /* Electric blue active */
}

.dropdown-item.disabled,
.dropdown-item:disabled {
    color: #888888 !important;
    pointer-events: none !important;
    background-color: transparent !important;
}

/* Optional: Add subtle transition for smooth hover effect */
.dropdown-item {
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

/* Optional: Ensure dropdown menu background complements the items */
.dropdown-menu {
    background-color: #2A2A2A !important;
    border-color: #4A4A4A !important;
}

/* Optional: Style the dropdown menu text color */
.dropdown-item {
    color: #e0e0e0 !important;
}

/* Product-specific page styles */
.stats-number {
    font-size: 3rem;
    font-weight: 700;
}

.feature-card {
    background: linear-gradient(145deg, #3a3a3a, #2f2f2f);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--electric-blue), var(--orange));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem !important;
    color: var(--electric-blue);
    margin-bottom: 20px;
}

/* Higher specificity to override MDI defaults for feature icons */
.mdi.feature-icon:before {
    font-size: 2.5rem !important;
}

/* Also target any inline styles that might be applied */
i.mdi.feature-icon {
    font-size: 2.5rem !important;
}

i.mdi.feature-icon:before {
    font-size: 2.5rem !important;
}

.pricing-card {
    background: linear-gradient(145deg, #3a3a3a, #2f2f2f);
    border: 2px solid var(--electric-blue);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--electric-blue), var(--orange));
}

.pricing-card > * {
    position: relative;
    z-index: 2;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
}

.value-badge {
    background: linear-gradient(135deg, var(--orange), #ff8533);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

/* Responsive Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    height: 80px; /* Fixed height for navbar */
}

.responsive-logo {
    height: 100%;
    width: auto;
    max-width: none; /* Remove width restrictions */
}

/* Logo product icons - smaller than main product icons */
.logo-container .logo-product-icon {
    font-size: 1.5rem !important;
}

.logo-container .mdi.logo-product-icon:before {
    font-size: 1.5rem !important;
}

.logo-container i.mdi.logo-product-icon {
    font-size: 1.5rem !important;
}

    .logo-container i.mdi.logo-product-icon:before {
        font-size: 1.5rem !important;
    }

/* Navbar responsive adjustments */
.navbar {
    min-height: 90px;
    padding: 0.5rem 0;
}

.navbar-brand {
    margin-right: 0;
    padding: 0;
    height: 60px;
    display: flex;
    align-items: center;
}

/* Extra small screens */
@media (max-width: 575.98px) {
    body {
        padding-top: 70px; /* Even smaller padding */
    }

    .hero-section {
        min-height: calc(100vh - 70px);
        margin-top: -70px;
        padding-top: 70px;
    }

    .navbar {
        min-height: 50px;
        padding: 0.25rem 0;
    }

    .logo-container {
        height: 80px;
        width: calc(100vw - 60px);
        overflow: visible; /* Add this to prevent clipping */
    }

        .logo-container .responsive-logo {
            transform: scale(0.7); /* Reduce from 1.5 to prevent cutoff */
        }

    .navbar .container {
        padding-left: 0.5rem; /* Reduce from default Bootstrap padding */
    }

    .navbar-brand {
        margin-left: -1.5rem; /* Pull the logo further left */
        padding-left: 0; /* Remove any left padding */
    }

    .responsive-logo {
        max-width: none; /* Remove width restrictions */
        min-width: unset; /* Remove width restrictions */
    }

    .logo-product-icon {
        font-size: 1.5rem !important;
    }

    html {
        scroll-padding-top: 80px;
    }

    .smooth-scroll {
        scroll-padding-top: 80px;
    }

    .navbar-nav .nav-item {
        margin-top: 0.5rem;
    }

    .navbar-nav .btn {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
}

/* Ensure navbar collapse button is properly sized */
.navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Adjust navbar nav items for mobile */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item {
        margin-top: 0.5rem;
    }

    .navbar-nav .btn {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
}
