html, body {
    overflow-x: hidden;
}

html {
    font-size: 14px;
}

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

/* Logo Text Branding Override */
#header .logo-text, .logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: #0f172a !important;
    letter-spacing: -0.02em;
    line-height: 1;
}

#header .logo-text strong, .logo-text strong {
    font-weight: 800;
    color: #2563eb !important; /* Corporate Blue */
}

/* Base overrides using higher specificity tags */
body.primary-bg-color {
    background: linear-gradient(135deg, #fdfdfd 0%, #C9F8FF 100%);
    background-attachment: fixed;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
}

/* Master Header (Topbar) Styling */
#header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 0; /* 20% taller */
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse; /* Aligns Logo to the left, Top Nav to the right */
}

#header a.logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

#header a.logo .logo-img {
    max-height: 45px;
    width: auto;
}

#header .top-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

#header .top-nav li {
    display: inline-block;
    vertical-align: middle;
}

#header .top-nav li a {
    color: #555555 !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

#header .top-nav li a:hover {
    color: #0c4d75 !important;
}

#header .top-nav li.nav-separator {
    color: #cccccc;
    font-size: 1rem;
    padding: 0 4px;
    user-select: none;
}

/* Style the primary action button (e.g. View Cart / Logout) in top-nav */
#header .top-nav li.primary-action a.btn {
    background: #0c4d75;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: none;
}

#header .top-nav li.primary-action a.btn:hover {
    background: #083d5d;
}

/* Quick sign-in/out icon next to button */
#header .top-nav li.quick-icon-action a {
    color: #777777 !important;
    font-size: 1.25rem;
    padding: 0 4px;
    transition: color 0.2s ease;
}

#header .top-nav li.quick-icon-action a:hover {
    color: #0c4d75 !important;
}

/* Language Chooser Dropdown in Top Nav */
#header .top-nav .dropdown-menu {
    border: 1px solid #cbd5e1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 8px;
    background-color: #ffffff;
    min-width: 130px;
}

#header .top-nav .dropdown-item {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #333333 !important;
    padding: 8px 16px;
    transition: all 0.15s ease;
}

#header .top-nav .dropdown-item:hover {
    color: #0c4d75 !important;
    background-color: #f8fafc !important;
}

/* Main Navigation Menu Bar Styling */
#main-menu {
    background: #0c4d75 !important;
    border-bottom: none;
}

#main-menu .navbar-main {
    background: transparent;
    border: none;
    margin: 0;
    padding: 10px 0 10px 0;
}

#main-menu .navbar-nav > li > a,
#main-menu .navbar-nav > .nav-item > a,
#main-menu .navbar-nav > .nav-item > .nav-link {
    color: rgba(255, 255, 255, 0.9) !important; /* Off-white text matching screenshot */
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 22px !important; /* 10px top/bottom padding by default */
    transition: all 0.2s ease;
}

#main-menu .navbar-nav > li > a:hover,
#main-menu .navbar-nav > .nav-item > a:hover,
#main-menu .navbar-nav > .nav-item > .nav-link:hover,
#main-menu .navbar-nav > li.open > a,
#main-menu .navbar-nav > .nav-item.show > a,
#main-menu .navbar-nav > .nav-item.show > .nav-link,
#main-menu .navbar-nav > li.active > a,
#main-menu .navbar-nav > .nav-item.active > a,
#main-menu .navbar-nav > .nav-item.active > .nav-link {
    color: #ffffff !important;
    background: #083d5d !important; /* Darker blue-teal matching active state */
}

/* Apply the vertical zoom-up effect only on desktop screens */
@media (min-width: 992px) {
    #main-menu .navbar-nav > li > a:hover,
    #main-menu .navbar-nav > .nav-item > a:hover,
    #main-menu .navbar-nav > .nav-item > .nav-link:hover,
    #main-menu .navbar-nav > li.open > a,
    #main-menu .navbar-nav > .nav-item.show > a,
    #main-menu .navbar-nav > .nav-item.show > .nav-link,
    #main-menu .navbar-nav > li.active > a,
    #main-menu .navbar-nav > .nav-item.active > a,
    #main-menu .navbar-nav > .nav-item.active > .nav-link {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        margin-top: -8px;
        margin-bottom: -8px;
    }
    #header a.logo .logo-img {
        max-height: 55.6px !important;
    }
    #header .logo-text, .logo-text {
        font-size: 2.5rem !important;
    }
}

/* Adjust vertical padding and disable negative margin offset for mobile screens */
@media (max-width: 991px) {
    #main-menu .navbar-nav > li > a,
    #main-menu .navbar-nav > .nav-item > a,
    #main-menu .navbar-nav > .nav-item > .nav-link {
        padding: 12px 16px !important;
        margin: 0 !important;
    }
    #main-menu .navbar-nav > li > a:hover,
    #main-menu .navbar-nav > .nav-item > a:hover,
    #main-menu .navbar-nav > .nav-item > .nav-link:hover,
    #main-menu .navbar-nav > li.open > a,
    #main-menu .navbar-nav > .nav-item.show > a,
    #main-menu .navbar-nav > .nav-item.show > .nav-link,
    #main-menu .navbar-nav > li.active > a,
    #main-menu .navbar-nav > .nav-item.active > a,
    #main-menu .navbar-nav > .nav-item.active > .nav-link {
        padding: 12px 16px !important;
        margin: 0 !important;
        background: #083d5d !important;
    }
}

/* Dropdown menus on the main navbar */
#main-menu .dropdown-menu {
    border: 1px solid #cbd5e1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 0;
    background-color: #ffffff;
}

#main-menu .dropdown-menu > li > a,
#main-menu .dropdown-menu .dropdown-item {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #333333 !important;
    padding: 8px 20px;
    transition: all 0.15s ease;
}

#main-menu .dropdown-menu > li > a:hover,
#main-menu .dropdown-menu .dropdown-item:hover {
    color: #0c4d75 !important;
    background-color: #f8fafc !important;
}

/* Navbar toggler for mobile display */
#main-menu .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 6px 10px;
    margin: 8px 0;
}

#main-menu .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero Section */
#main-body .hero-section {
    padding: 0px 20px 0px 20px;
    max-width: 800px;
    margin: 0 auto;
}

#main-body .hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

#main-body .hero-tagline {
    font-size: 1.15rem;
    color: #475569;
    font-weight: 400;
}

/* Pricing Grid */
#main-body .pricing-grid {
    margin-top: 40px;
    margin-bottom: 60px;
}

#main-body .pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

#main-body .pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Pricing Card Header Blocks */
#main-body .pricing-card-header {
    padding: 24px;
    color: #ffffff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

#main-body .pricing-card-header.bg-emerald {
    background-color: #059669;
}

#main-body .pricing-card-header.bg-blue {
    background-color: #2563eb;
}

#main-body .pricing-card-header.bg-slate {
    background-color: #64748b;
}

#main-body .pricing-card-header .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Pricing Section */
#main-body .price-section {
    margin: 24px 0;
}

#main-body .price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

#main-body .price-cycle {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* Features List */
#main-body .features-list {
    margin: 24px 0;
}

#main-body .features-list li {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
    margin-bottom: 12px;
}

#main-body .features-list li i {
    font-size: 1rem;
}

/* "Most Popular" Badge */
#main-body .pricing-card .card-header-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #f59e0b; /* Warning/Gold accent */
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

/* Plan Action Buttons */
#main-body .btn-action-plan {
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 10px;
    transition: all 0.2s ease;
    color: #ffffff;
    text-transform: none;
}

#main-body .btn-action-plan.btn-blue {
    background-color: #2563eb;
    border-color: #2563eb;
}

#main-body .btn-action-plan.btn-blue:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

#main-body .btn-action-plan.btn-emerald {
    background-color: #059669;
    border-color: #059669;
}

#main-body .btn-action-plan.btn-emerald:hover {
    background-color: #047857;
    border-color: #047857;
    transform: translateY(-1px);
}

/* Section Titles */
#main-body h2.text-center.m-4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.9rem;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-top: 60px;
    margin-bottom: 36px;
}

/* Action Icons buttons: Solid Bold Pastels */
#main-body .action-icon-btns a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 28px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    min-height: 150px;
    border: 1.5px solid transparent;
}

#main-body .action-icon-btns a:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Circle Icon Containers on Solid Pastel Buttons */
#main-body .action-icon-btns .ico-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 16px auto;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

/* Bold Pastel Colors definitions */
#main-body .action-icon-btns a.card-accent-teal {
    background-color: #a7f3d0; /* Bold mint/teal pastel */
    color: #064e3b;
}
#main-body .action-icon-btns a.card-accent-teal:hover {
    border-color: #059669;
}
#main-body .action-icon-btns a.card-accent-teal .ico-container {
    color: #059669;
}

#main-body .action-icon-btns a.card-accent-pomegranate {
    background-color: #fecaca; /* Bold red/pink pastel */
    color: #7f1d1d;
}
#main-body .action-icon-btns a.card-accent-pomegranate:hover {
    border-color: #dc2626;
}
#main-body .action-icon-btns a.card-accent-pomegranate .ico-container {
    color: #dc2626;
}

#main-body .action-icon-btns a.card-accent-sun-flower {
    background-color: #fef08a; /* Bold yellow/gold pastel */
    color: #713f12;
}
#main-body .action-icon-btns a.card-accent-sun-flower:hover {
    border-color: #d97706;
}
#main-body .action-icon-btns a.card-accent-sun-flower .ico-container {
    color: #d97706;
}

#main-body .action-icon-btns a.card-accent-asbestos {
    background-color: #cbd5e1; /* Bold slate/grey pastel */
    color: #0f172a;
}
#main-body .action-icon-btns a.card-accent-asbestos:hover {
    border-color: #475569;
}
#main-body .action-icon-btns a.card-accent-asbestos .ico-container {
    color: #475569;
}

#main-body .action-icon-btns a.card-accent-green {
    background-color: #bbf7d0; /* Bold green pastel */
    color: #064e3b;
}
#main-body .action-icon-btns a.card-accent-green:hover {
    border-color: #16a34a;
}
#main-body .action-icon-btns a.card-accent-green .ico-container {
    color: #16a34a;
}

#main-body .action-icon-btns a.card-accent-midnight-blue {
    background-color: #bfdbfe; /* Bold blue pastel */
    color: #1e3a8a;
}
#main-body .action-icon-btns a.card-accent-midnight-blue:hover {
    border-color: #2563eb;
}
#main-body .action-icon-btns a.card-accent-midnight-blue .ico-container {
    color: #2563eb;
}

/* Footer Contrast and Readability Overrides */
#footer.footer {
    background: #051b29 !important; /* Deep dark navy matching branding */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 40px 0;
    margin-top: 80px;
    color: rgba(255, 255, 255, 0.6) !important;
}

#footer.footer .footer-col-title {
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

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

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

#footer.footer .footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

#footer.footer .footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

#footer.footer .footer-links a i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

#footer.footer .footer-links a:hover i {
    color: #10b981 !important; /* Vivid green hover arrow */
}

#footer.footer .footer-email-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
}

#footer.footer .footer-email-item i {
    color: rgba(255, 255, 255, 0.5);
}

#footer.footer .footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    margin-bottom: 30px;
}

#footer.footer .logo-text {
    color: #ffffff !important;
}

#footer.footer .text-muted, 
#footer.footer p.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Disable fullpage loading overlay in local development */
#fullpage-overlay {
    display: none !important;
}

/* Horizontal Scroll Layout for Product Cards (Full Viewport Width Bleed) */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding: 16px 24px 24px 24px; /* Symmetric padding to ensure centering */
    margin-top: 15px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    justify-content: safe center;
}

/* Custom Scrollbar Styling */
.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.horizontal-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 99px;
}
.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 99px;
    border: 1px solid #f1f5f9;
}
.horizontal-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.scroll-item {
    flex: 0 0 350px; /* Precise width per pricing card */
    scroll-snap-align: center; /* Center snap by default */
    box-sizing: border-box;
}

/* Mobile snap-centering and peaking overrides */
@media (max-width: 991px) {
    .horizontal-scroll-container {
        justify-content: flex-start !important;
        padding-left: calc(50vw - 140px) !important;
        padding-right: calc(50vw - 140px) !important;
        scroll-padding: 0 calc(50vw - 140px) !important;
    }
    .scroll-item {
        flex: 0 0 280px !important;
        scroll-snap-align: center !important;
    }
}

.scroll-item .pricing-card {
    height: 100%;
}

/* Responsive adjustments for mobile screens (under 991px) */
@media (max-width: 991px) {
    #header .container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    #header .logo {
        margin-top: 16px !important;
        margin-bottom: 0px !important;
    }
    #header .top-nav {
        justify-content: center !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #header .top-nav > li {
        margin: 4px 8px !important;
    }
    #header .top-nav .nav-separator {
        display: none !important; /* Hide separator pipes on mobile stack */
    }
    #header .top-nav .btn {
        padding: 4px 12px !important;
        font-size: 0.875rem !important;
    }
    #main-menu .navbar-main {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    #main-menu .navbar-toggler {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Hero title responsiveness */
    .hero-title {
        font-size: 2rem !important;
    }
    .hero-tagline {
        font-size: 1.1rem !important;
    }
}
