@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
    /* Clean-Tech Palette */
    --primary-slate: #2C3E50;
    /* Deep Slate - Headers/Nav */
    --accent-emerald: #27AE60;
    /* Emerald Green - CTA/Highlights */
    --accent-emerald-hover: #219150;
    --bg-soft-gray: #F8F9FA;
    /* Background */
    --text-dark: #2C3E50;
    /* Primary Text */
    --text-muted: #6c757d;
    /* Secondary Text */
    --white: #ffffff;
    --border-color: #dee2e6;

    /* UI Constants */
    --card-radius: 12px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
    --effect-glass-bg: rgba(255, 255, 255, 0.85);
    /* Slightly less transparent for readability */
    --effect-glass-blur: blur(12px);
    --font-main: 'Lato', sans-serif;
}

html {
    font-size: 15px;
    /* Zoom out effect refined for better readability */
    overflow-x: hidden;
}

body {
    background-color: var(--bg-soft-gray);
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-slate);
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-emerald);
    text-decoration: none;
}

/* Top Bar */
.top-bar {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    overflow: hidden;
    /* Prevent spill */
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    /* Default fully responsive */
    flex-grow: 1;
    /* Take available space */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    /* Start off-screen */
    animation: marquee 15s linear infinite;
    max-width: none;
}

/* Pause on hover for readability */
.marquee-container:hover .marquee-text {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.hover-underline:hover {
    text-decoration: underline !important;
    opacity: 0.9;
}

/* Navbar */
/* Navbar */
.navbar {
    background-color: var(--white) !important;
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    transition: all 0.3s ease;

    /* Sticky & Rounded Properties */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

    /* Reduced Width */
    margin: 0;
    width: auto;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-slate) !important;
    letter-spacing: -0.5px;
    margin-left: 15px;
    /* Moved logo slightly right */
}

.navbar-brand img {
    height: 55px;
    /* Zoom out: Reduced height */
    width: auto;
    transition: transform 0.2s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--primary-slate) !important;
    font-weight: 600;
    /* Slightly bolder for visibility */
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-emerald) !important;
    background-color: rgba(39, 174, 96, 0.05);
}

.nav-icon-link {
    color: var(--primary-slate);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-icon-link:hover {
    color: var(--accent-emerald);
    background-color: rgba(39, 174, 96, 0.1);
}

/* Custom Search Bar */
.custom-search-bar {
    background-color: #f1f5f9;
    /* Template input gray */
    border: 1px solid #e2e8f0;
    border-radius: 99px;
    /* Pill shape from templates */
    padding: 6px 6px 6px 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    width: 100%;
}

.custom-search-bar:focus-within {
    background-color: white;
    border-color: var(--accent-emerald);
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.15);
}

.custom-search-bar .input-group-text {
    background-color: transparent;
    padding-left: 16px;
    padding-right: 8px;
    color: var(--text-muted);
}

.custom-search-bar input.form-control {
    background-color: transparent !important;
    font-size: 0.95rem;
    padding-left: 0;
    color: var(--text-dark);
}

.custom-search-bar input.form-control:focus {
    box-shadow: none;
    border-color: transparent;
    background-color: transparent;
}

.custom-search-bar input.form-control::placeholder {
    color: #999;
    font-weight: 400;
}

.custom-search-bar .search-btn {
    border-radius: 99px;
    padding: 8px 24px;
    background-color: var(--primary-slate);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 8px;
    /* Spacing from input */
    transition: all 0.3s ease;
    white-space: nowrap;
}

.custom-search-bar .search-btn:hover {
    background-color: var(--accent-emerald);
    transform: translateY(0);
    /* Subtle if any */
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .custom-search-bar {
        max-width: 100% !important;
        margin: 15px 0;
    }
}

/* How We Charge Mobile Adjustments */
@media (max-width: 991px) {
    .pricing-detail-box {
        padding: 30px !important;
        margin-bottom: 30px;
        /* Add bottom margin so fees don't stick together when stacked */
    }

    .charge-info-card {
        padding: 3rem 1.5rem !important;
        /* Slightly tighter container padding on mobile */
    }

    .charge-info-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .charge-info-title {
        font-size: 2rem;
    }

    .pricing-detail-box {
        padding: 24px !important;
        /* Tighter padding for very small screens */
    }
}

/* Footer Styling */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-emerald);
    padding-left: 5px;
    /* Slight movement effect */
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--accent-emerald);
    color: white;
    transform: translateY(-3px);
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Hero Section */
/* Hero Section */
.hero-banner {
    position: relative;
    /* Background image moved to carousel items */
    background-color: var(--primary-slate);
    color: white;
    padding: 0;
    /* Let carousel handle layout */
    height: 450px;
    /* Zoom out: Reduced height */
    margin-bottom: 50px;
    text-align: center;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}

/* Ensure carousel items take full height */
.hero-banner .carousel-item {
    height: 450px;
}

.hero-banner .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark Overlay - REDUCED OPACITY for clarity */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.4) 0%, rgba(26, 37, 47, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.35rem;
    opacity: 0.95;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    animation: fadeUp 1s ease-out;
}

.hero-btn {
    padding: 15px 45px;
    font-size: 1.15rem;
    border-radius: 9999px;
    /* Template Pill */
    background-color: var(--accent-emerald);
    border: none;
    color: white;
    font-weight: 600;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* Template Solid */
    transition: all 0.2s ease;
    animation: fadeUp 1.2s ease-out;
}

.hero-btn:hover {
    background-color: var(--accent-emerald-hover) !important;
    color: white !important;
    opacity: 1 !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 6px -1px var(--accent-emerald-hover);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Global Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Section Headings */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-slate);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-emerald);
    border-radius: 2px;
    margin-top: 8px;
}

/* Product Card (Template: Layout-Image-Top, Effect-Shadow) */
.product-card {
    background: var(--surface);
    border: 1px solid transparent;
    border-radius: var(--card-radius);
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-image-container {
    height: 190px;
    /* Zoom out: Reduced height */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    /* Removed margin */
    background-color: white;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    /* Separator */
}

.product-image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* Ensures image fills container */
    object-position: top center;
    /* Focus on top part of product usually */
    transition: transform 0.3s;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.product-title:hover {
    color: var(--accent-emerald);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-emerald);
}

.product-price span {
    font-size: 0.7em;
    position: relative;
    top: -0.4em;
}

.price-whole {
    font-size: 1em;
}

.price-fraction {
    font-size: 0.7em;
    position: relative;
    top: -0.4em;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-emerald);
    border: 1px solid transparent;
    color: white;
    border-radius: 8px;
    /* Template Rounded */
    font-weight: 600;
    padding: 10px 20px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* Template Solid */
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    filter: brightness(0.9);
    box-shadow: 0 4px 6px -1px rgba(39, 174, 96, 0.4);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-pill {
    border-radius: 9999px !important;
}

.btn-soft {
    background-color: rgba(44, 62, 80, 0.1);
    color: var(--primary-slate);
    border: none;
}

.btn-soft:hover {
    background-color: rgba(44, 62, 80, 0.2);
    color: var(--primary-slate);
}

/* Product Detail Page */
.product-detail-container {
    background-color: transparent;
    padding: 0;
}

.detail-card {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    padding: 30px;
    margin-bottom: 30px;
}

.scrollable-container {
    max-height: 350px;
    overflow-y: auto;
}

.scrollable-container::-webkit-scrollbar {
    width: 6px;
}

.scrollable-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.scrollable-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.scrollable-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.main-image-container {
    background: white;
    border-radius: var(--card-radius);
    padding: 20px;
    text-align: center;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-gallery {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 50px;
    height: 50px;
    border: 1px solid #aeb0b0;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #e77600;
    box-shadow: 0 0 3px 1px #e77600;
}

.product-info {
    padding-left: 30px;
}

.product-info h1 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 10px;
    word-wrap: break-word;
}

/* HERO SPLIT SECTION (Replacing old Carousel) */
.hero-split-section {
    min-height: 85vh;
    /* slightly taller than old nav to create impact */
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding-top: 100px;
    /* offset for fixed navbar */
    padding-bottom: 60px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden !important;
    width: 100%;
    /* Force overflow hidden to clip the glowing blob */
}

/* Abstract Background Blob */
.hero-bg-accent {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    max-width: 100%;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-text-col {
    padding-right: 50px;
}

.hero-badge {
    background: rgba(52, 211, 153, 0.15);
    color: #059669;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    color: #0f172a;
    /* Slate 900 */
    letter-spacing: -1.5px;
    word-wrap: break-word;
    /* Prevent large words from causing overflow */
}

.hero-title .text-emerald {
    color: #10b981;
    display: block;
    /* drops EasyToStep to next line for punchiness */
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #64748b;
    /* Slate 500 */
    max-width: 90%;
}

.hero-cta-group .btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta-group .btn:hover {
    transform: translateY(-3px);
}

.btn-emerald {
    background: #10b981;
    color: white;
    border: none;
}

.btn-emerald:hover {
    background: #059669;
    color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3) !important;
}

.btn-outline-slate {
    border: 2px solid #cbd5e1;
    color: #475569;
    background: transparent;
}

.btn-outline-slate:hover {
    border-color: #0f172a;
    color: #0f172a;
    background: transparent;
}

/* Hero Right Side Presentation */
.hero-image-wrapper {
    z-index: 2;
    padding: 20px;
}

.hero-floating-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 3;
    animation: floatImage 6s ease-in-out infinite;
    border: 10px solid white;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

.hero-floating-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 550px;
    max-width: 100%;
    /* Prevent image from pushing card wider than screen */
    /* keep it from getting too tall */
}

.hero-img-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    max-width: 100vw;
    /* Constrain blob width to viewport */
    height: 110%;
    background: linear-gradient(135deg, #34d399 0%, #0ea5e9 100%);
    opacity: 0.15;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphBlob 8s ease-in-out infinite alternate;
    z-index: 1;
    filter: blur(20px);
}

@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes morphBlob {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Tablet & Mobile Breakpoints for Hero */
@media (max-width: 991px) {
    .hero-split-section {
        min-height: auto;
        padding-top: 130px;
        /* more top space on mobile padding */
        text-align: center;
    }

    .hero-text-col {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 60px;
        /* Increased breathing room before image */
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 1.5rem !important;
        /* Force more breathing room under title */
    }

    .hero-subtitle {
        max-width: 100%;
        margin-bottom: 2.5rem !important;
        /* Force more breathing room above buttons */
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-title .text-emerald {
        display: inline-block;
        /* Back to single line on mobile maybe */
    }
}

@media (max-width: 576px) {
    .hero-split-section {
        padding-top: 40px;
    }

    .hero-text-col {
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px !important;
        /* More space between stacked buttons */
    }

    .hero-cta-group .btn {
        width: auto;
        min-width: 250px;
        padding: 12px 24px !important;
        font-size: 1.1rem !important;
    }

    .hero-bg-accent {
        width: 300px;
        max-width: 100%;
        /* Constrain accent width to viewport */
        height: 300px;
        right: 0;
        /* Reset right offset to prevent bleeding */
    }
}

/* Action Card (Sticky) */
.action-card {
    position: sticky;
    top: 20px;
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    padding: 25px;
    border: 1px solid var(--border-color);
}

.stock-status {
    color: var(--accent-emerald);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-emerald);
    margin-bottom: 20px;
    display: block;
}

.btn-buy-now {
    width: 100%;
    border-radius: 9999px;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    background-color: #2c3e50;
    /* Exact dark slate color */
    color: white;
    border: 1px solid #2c3e50;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-buy-now:hover {
    background-color: #34495e;
    border-color: #34495e;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.btn-buy-now:active {
    transform: scale(0.97);
}

.btn-add-cart {
    width: 100%;
    border-radius: 9999px;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #f7ca00;
    /* Original yellow color */
    border: 1px solid #f7ca00;
    color: #111;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-add-cart:hover {
    background-color: #f0c14b;
    /* Slightly darker shade for hover */
    border-color: #a88734 #9c7e31 #846a29;
    color: #111;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-add-cart:active {
    transform: scale(0.97);
}

/* Breadcrumbs */
.breadcrumb-container {
    background: transparent;
    padding: 15px 0;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--accent-emerald);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #ccc;
    font-size: 1.1em;
    line-height: 1;
}

/* Polished List Styling (About this item) */
.description-bullets ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.description-bullets li {
    position: relative;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    padding-left: 25px;
}

.description-bullets li::before {
    content: "•";
    color: var(--accent-emerald);
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 5px;
    top: -2px;
}

/* Modern Clean Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin-top: 15px;
    border: none;
    /* Remove outer border */
}

.specs-table th,
.specs-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    border-top: none;
    border-left: none;
    border-right: none;
    background-color: transparent !important;
    /* Remove zebra stripes */
}

.specs-table th {
    color: var(--text-muted);
    font-weight: 500;
    width: 30%;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.specs-table td {
    color: var(--text-dark);
    font-weight: 500;
}

.specs-table tr:hover td {
    background-color: rgba(39, 174, 96, 0.03) !important;
    /* Subtle emerald hover */
}

/* Admin Table Hover Boost */
.admin-card .table-hover>tbody>tr:hover>* {
    background-color: rgba(99, 102, 241, 0.04) !important;
    color: inherit;
}

/* Search Bar Polish */
/* The previous search-input and search-btn were moved to the new "Search Bar" section */

/* Pagination Polish */
.pagination .page-link {
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 4px;
    border-radius: 8px;
    padding: 10px 18px;
    transition: all 0.2s;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-slate);
    border-color: var(--primary-slate);
    color: white;
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.2);
}

.pagination .page-item:not(.active) .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: var(--accent-emerald);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .product-info {
        padding-left: 0;
        margin-top: 30px;
    }

    .product-image-container {
        height: 180px;
    }

    .main-image-container {
        height: 300px;
    }

    /* Reset Navbar Margin */
    .navbar {
        margin: 0 !important;
        border-radius: 0 0 10px 10px;
        width: 100%;
    }

    /* Mobile Header Optimizations */
    .navbar-brand img {
        height: 40px;
        /* Smaller logo */
    }

    .nav-icon-link {
        width: 36px;
        height: 36px;
    }

    .nav-icon-link i {
        font-size: 1.2rem !important;
    }

    /* Hero Banner Mobile */
    .hero-banner,
    .hero-banner .carousel-item {
        height: 280px;
        /* Reduced height */
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-btn {
        padding: 8px 24px;
        font-size: 0.95rem;
    }

    /* Feature Banner Compact */
    .feature-banner .col-md-4 {
        margin-bottom: 5px !important;
    }

    /* Product Grid Mobile (2 Columns) Optimization */
    .product-card .card-body {
        padding: 10px !important;
    }

    .product-title {
        font-size: 0.85rem;
        margin-bottom: 4px;
        line-height: 1.3;
        height: 2.6em;
        /* Adjust clamp height */
    }

    .product-price {
        font-size: 1rem;
    }

    .product-image-container {
        height: 160px;
        /* Reduced for 2-col */
    }

    .btn-card-cart {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    /* Product Detail Mobile */
    .detail-card {
        padding: 15px;
    }

    .product-info h1 {
        font-size: 1.3rem;
    }

    .price-large {
        font-size: 1.5rem;
    }

    .action-card {
        padding: 15px;
        margin-top: 20px;
    }

    /* Cart Mobile Optimization */
    h1 {
        font-size: 1.5rem;
    }

    .table td,
    .table th {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .input-group-sm {
        width: 80px !important;
    }

    /* Footer Mobile: Center Alignment */
    footer .col-md-6 {
        text-align: center;
    }

    footer .d-flex.gap-3 {
        justify-content: center;
    }

    footer .footer-contact li,
    footer .footer-links li {
        margin-bottom: 8px;
    }

    /* Reduce gap below feature banner on mobile */
    .feature-banner {
        margin-bottom: 5px !important;
        margin-top: 10px !important;
    }

    /* Adjust Hero Container Spacing on Mobile */
    .main-container.mt-4 {
        margin-top: 10px !important;
    }
}

/* Feature Banner (Sub-Header) */
.feature-banner {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--primary-slate) 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
    /* Spacing */
}

.feature-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.feature-banner a {
    color: white !important;
}

.feature-banner i {
    color: white !important;
}

.feature-banner span {
    color: white !important;
}

/* Home Page Card Cart Button */
.btn-card-cart {
    background-color: #f7ca00;
    color: #111;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-card-cart:hover {
    background-color: #e5bd00;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Admin Dashboard Helpers */
.dashed-border {
    border: 2px dashed #dee2e6;
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    transform: translateY(-2px);
}

.extra-small {
    font-size: 0.75rem;
}

.nav-pills .nav-link {
    color: var(--primary-slate);
    background-color: white;
    border: 1px solid transparent;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-slate);
    color: white !important;
}

.hover-dark:hover {
    background-color: #f8f9fa;
    color: #000 !important;
}

/* FAQ Widget Section */
.faq-container {
    padding: 40px 0;
}

.faq-widget {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    height: 450px;
    /* Fixed height for "separate page" feel */
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    /* For absolute children like scroll hint */
}

.faq-sidebar {
    width: 35%;
    background-color: var(--bg-soft-gray);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    padding: 20px;
    position: relative;
    /* For hint positioning */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
}

.faq-sidebar::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari/Webkit */
}

.faq-sidebar-item {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    cursor: pointer;
    background: transparent;
    color: var(--primary-slate);
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    font-size: 0.95rem;
    line-height: 1.4;
}

.faq-mobile-chevron {
    display: none;
    font-size: 1.1rem;
}

.faq-sidebar-item:hover {
    background-color: rgba(39, 174, 96, 0.05);
    color: var(--accent-emerald);
}

.faq-sidebar-item.active {
    background: white;
    color: var(--accent-emerald);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: rgba(39, 174, 96, 0.1);
}

.faq-main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.faq-answer-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-answer-pane.active {
    display: block;
}

.faq-question-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-slate);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-soft-gray);
}

.faq-answer-text {
    line-height: 1.8;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar for Widget */
.faq-sidebar::-webkit-scrollbar,
.faq-main-content::-webkit-scrollbar {
    width: 6px;
}

.faq-sidebar::-webkit-scrollbar-track,
.faq-main-content::-webkit-scrollbar-track {
    background: transparent;
}

.faq-sidebar::-webkit-scrollbar-thumb,
.faq-main-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Scroll Hint Bubble */
.faq-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 17.5%;
    /* Centered in sidebar */
    transform: translateX(-50%);
    background: var(--accent-emerald);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    pointer-events: none;
    z-index: 10;
    animation: bounce 2s infinite;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-5px);
    }

    60% {
        transform: translateX(-50%) translateY(-3px);
    }
}

/* Mobile Adjustments for FAQ */
@media (max-width: 768px) {
    .faq-widget {
        flex-direction: column;
        height: auto;
    }

    .faq-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        max-height: 400px;
        padding: 15px;
    }

    .faq-sidebar-item {
        padding: 18px 20px;
        font-size: 1.05rem;
    }

    .faq-mobile-chevron {
        display: inline-block;
        /* Show chevron on mobile */
    }

    .faq-main-content {
        display: none !important;
        /* Hide main pane entirely on mobile */
    }

    .faq-sidebar {
        width: 100%;
        position: relative;
        left: 0;
        right: 0;
    }

    .faq-scroll-hint {
        left: 50%;
        bottom: 10px;
    }

    .faq-question-title {
        font-size: 1.25rem;
        /* Scaled down */
    }
}

/* Button Utilities */
.btn-pill {
    border-radius: 9999px !important;
}

.btn-emerald {
    background-color: var(--accent-emerald);
    color: white !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-emerald:hover {
    background-color: var(--accent-emerald-hover);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-slate {
    background-color: var(--primary-slate);
    color: white !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-slate:hover {
    background-color: var(--accent-emerald);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

/* Products Section */
.products-section {
    background: radial-gradient(circle at top right, rgba(39, 174, 96, 0.03), transparent 40%),
        radial-gradient(circle at bottom left, rgba(44, 62, 80, 0.03), transparent 40%);
    padding: 30px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Store States Section */
.states-section {
    background: radial-gradient(circle at top right, rgba(39, 174, 96, 0.03), transparent 40%),
        radial-gradient(circle at bottom left, rgba(44, 62, 80, 0.03), transparent 40%);
    padding: 30px 0 80px;
    position: relative;
    overflow: hidden;
}

.state-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Softer border */
    border-radius: 20px;
    /* Slightly softer corners */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
    /* Crisp white background */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    /* More elegant resting shadow */
    height: 100%;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Bento Box Global Presence Layout */
.bento-presence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    /* Sophisticated shadow */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    background: #0f172a;
    /* sleek dark tone if image fails */
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(39, 174, 96, 0.2);
    z-index: 10;
}

.bento-hero {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-square {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-img-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bento-img-container img,
.bento-img-container .carousel {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-card:hover .bento-img-container img {
    transform: scale(1.08);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.bento-card:hover .bento-overlay {
    opacity: 0.85;
    /* Slightly darkens on hover to make text pop more */
}

.success-badge-bento {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.success-badge-bento i {
    color: #34d399;
    /* Neon Emerald */
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-text-wrapper {
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-card:hover .bento-text-wrapper {
    transform: translateY(0);
}

.bento-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 8px;
    font-weight: 500;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.bento-hero .bento-description {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.bento-customer {
    color: #34d399;
    /* Emerald */
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
}

@media (max-width: 991px) {
    .bento-presence-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }

    .bento-hero {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-square {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {

    body,
    html {
        overflow-x: hidden !important;
        width: 100%;
    }

    .hero-floating-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .marquee-text {
        white-space: nowrap;
        /* Keep scrolling animation intact */
    }

    .bento-presence-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
        /* Adjusted for 2 cards per row */
        gap: 15px;
        /* Reduced gap for smaller screens */
    }

    .bento-hero,
    .bento-wide,
    .bento-square {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Modal Enhancements */
.state-modal-split {
    display: flex;
    min-height: 500px;
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 40px rgba(39, 174, 96, 0.15);
    /* Massive floating shadow */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid rgba(52, 211, 153, 0.5);
    /* Glowing emerald top edge */
}

@media (max-width: 991px) {
    .state-modal-split {
        flex-direction: column;
    }
}

.state-modal-img-half {
    flex: 1.6;
    min-width: 350px;
    max-height: 600px;
    background: radial-gradient(circle at center, rgba(39, 174, 96, 0.1) 0%, #020617 100%);
    /* Subtle glowing backdrop */
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    /* Dark subtle separator */
}

.state-modal-img-half img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure dashboard screenshot isn't cropped */
    padding: 20px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: zoom-in;
}

/* Removed inline hover zoom, relying on lightbox click now */

.state-modal-img-half::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
    /* Deeper inner shadow to frame the chart */
    pointer-events: none;
}

/* Modal Carousel Navigation Visibility Adjustments */
.state-modal-img-half .carousel-control-prev,
.state-modal-img-half .carousel-control-next {
    width: 60px;
    opacity: 1;
    /* Override Bootstrap's default lower opacity */
}

.state-modal-img-half .carousel-control-prev-icon,
.state-modal-img-half .carousel-control-next-icon {
    background-color: rgba(15, 23, 42, 0.7);
    /* Dark slate circle */
    border-radius: 50%;
    width: 44px;
    height: 44px;
    background-size: 20px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.state-modal-img-half .carousel-control-prev:hover .carousel-control-prev-icon,
.state-modal-img-half .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(15, 23, 42, 0.95);
    transform: scale(1.1);
    border-color: rgba(52, 211, 153, 0.4);
    /* Subtle emerald glow on hover */
}

/* Highly Visible Mobile Close Button */
.state-modal-close-mobile {
    background-color: rgba(15, 23, 42, 0.8) !important;
    /* Dark slate background */
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 1 !important;
    /* Force fully opaque */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* The SVG is already white because of .btn-close-white */
}

/* Lightbox Modal CSS */
#lightboxModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

#lightboxModal .modal-body {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#lightboxImage {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

#lightboxModal .btn-close {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1060;
    filter: invert(1) grayscale(100%) brightness(200%);
    /* White close button */
    opacity: 0.8;
}

#lightboxModal .btn-close:hover {
    opacity: 1;
}

/* Prevent Bootstrap Modal Layout Shift (Compression) 
   Bootstrap adds padding-right to body to compensate for hidden scrollbar,
   which forces fixed-width or 100% width layouts to compress. */
body.modal-open {
    padding-right: 0 !important;
    overflow-y: auto !important;
    /* Prevent scrollbar hiding to maintain width */
}

body.modal-open .fixed-top,
body.modal-open .navbar {
    padding-right: 0 !important;
}

.state-modal-text-half {
    flex: 1;
    min-width: 350px;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    /* Changed from white so gradient shows through */
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    /* Subtle dot pattern purely for texture */
    background-size: 20px 20px;
    position: relative;
}

.modal-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    /* Solid emerald gradient */
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

.modal-verified-badge i {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.state-modal-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    /* Crisp white */
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.state-modal-customer {
    font-size: 1.25rem;
    color: #34d399;
    /* Radiant Emerald */
    font-weight: 600;
    margin-bottom: 35px;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.state-modal-quote {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    /* Lighter silvery text */
    line-height: 1.8;
    font-weight: 400;
    font-style: italic;
    position: relative;
    padding-left: 45px;
}

.state-modal-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 5rem;
    color: #34d399;
    /* Emerald quote */
    opacity: 0.25;
    font-family: serif;
    line-height: 1;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.state-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.state-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 20px rgba(39, 174, 96, 0.1);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.state-card:hover {
    transform: translateY(-10px);
    border-color: rgba(39, 174, 96, 0.3);
    background: #ffffff;
}

.state-card:hover::before,
.state-card:hover::after {
    opacity: 1;
}

/* Mobile Adjustments for Global Presence */
@media (max-width: 768px) {
    .state-card {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .state-modal-split {
        flex-direction: column;
        min-height: auto;
        border-radius: 20px;
        background: #ffffff !important;
        /* Fix transparency */
    }

    .state-modal-img-half {
        min-width: 100%;
        max-height: 300px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .state-modal-text-half {
        min-width: 100%;
        padding: 30px 20px;
    }

    .modal-verified-badge {
        margin-bottom: 15px;
    }

    .state-modal-header h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .state-modal-quote {
        font-size: 1.1rem;
        padding-left: 30px;
    }

    .state-modal-quote::before {
        font-size: 3rem;
    }
}

.state-img-container {
    height: 260px;
    /* Taller for better visual impact */
    overflow: hidden;
    position: relative;
    margin: 15px 15px 0 15px;
    border-radius: 16px;
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
    /* Subtle premium spotlight effect */
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* Add a very subtle overlay on hover to make the badge pop more */
.state-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(39, 174, 96, 0.05);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.state-card:hover .state-img-container::after {
    opacity: 1;
}

.state-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.05));
    z-index: 1;
    pointer-events: none;
}

.state-img-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Prevent cropping of screenshots */
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.state-card:hover .state-img-container img {
    transform: scale(1.08);
}

.success-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    /* Vibrant emerald gradient */
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    /* Stronger glow */
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.success-badge i {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.state-description-container {
    padding: 25px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.state-description-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary-slate);
    font-weight: 500;
    font-style: italic;
    position: relative;
    padding-left: 25px;
}

.state-description-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2.5rem;
    color: var(--accent-emerald);
    opacity: 0.25;
    font-family: serif;
    line-height: 1;
}

/* How We Work Section */
.work-process-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    z-index: 1;
    overflow-x: hidden !important;
}

.work-process-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.work-step-card {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    border-top: 5px solid var(--accent-emerald);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.work-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(39, 174, 96, 0.15);
    border-color: #2ecc71;
    /* Brighter green on hover */
}

.step-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.15) 0%, rgba(39, 174, 96, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.8), 0 5px 15px rgba(39, 174, 96, 0.1);
    transition: transform 0.3s ease;
}

.work-step-card:hover .step-icon-wrapper {
    transform: scale(1.1);
}

.step-icon-wrapper i {
    color: var(--accent-emerald) !important;
    font-size: 1.8rem !important;
}

.step-number {
    position: absolute;
    top: 10px;
    /* Offset from top of the whole card */
    right: 15px;
    /* Offset from right of the whole card */
    font-size: 6.5rem;
    font-weight: 900;
    color: rgba(39, 174, 96, 0.04);
    line-height: 1;
    z-index: 1;
    /* Keep it behind text but above card bg */
    user-select: none;
    transition: color 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    /* Make sure it doesn't block clicking text */
}

.work-step-card:hover .step-number {
    color: rgba(39, 174, 96, 0.08);
    /* Darkens slightly on hover */
    transform: scale(1.05);
}

.step-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.step-list i {
    position: absolute;
    left: 0;
    top: 2px;
}

/* How We Work Mobile adjustments */
@media (max-width: 991px) {
    .work-step-card {
        margin-bottom: 20px;
        /* Ensure space between stacked steps on mobile */
    }
}

/* Pricing Section Redesign */
.pricing-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

.charge-info-card {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    /* Deeper, richer dark */
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 30px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    /* Stronger shadow */
}

.charge-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.charge-info-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {

    .container,
    .main-container {
        max-width: 100vw !important;
        overflow-x: hidden;
    }
}

.charge-info-content {
    position: relative;
    z-index: 1;
}

/* Custom Text and Background Colors for Pricing */
.text-emerald {
    color: #34d399 !important;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
    /* Soft neon pop */
}

.bg-emerald-soft {
    background-color: rgba(52, 211, 153, 0.1) !important;
}

.border-emerald {
    border-color: #34d399 !important;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.bg-primary-soft {
    background-color: rgba(56, 189, 248, 0.1) !important;
    /* Sky blue */
}

.text-info {
    color: #38bdf8 !important;
    /* Sky blue */
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.pricing-detail-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.pricing-detail-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-detail-box.prep-fee-box::before {
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), transparent);
}

.pricing-detail-box:hover::before {
    opacity: 1;
}

.pricing-detail-box:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.3);
}

.pricing-detail-box.prep-fee-box:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
}

.icon-box {
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.icon-box.prep-icon {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.example-calculation-box {
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 12px;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

/* Mobile Adjustments for New Pricing */
@media (max-width: 768px) {
    .charge-info-card {
        padding: 40px 20px;
        border-radius: 20px;
        overflow-x: hidden !important;
    }

    .pricing-detail-box {
        padding: 25px 20px;
    }

    .step-number {
        font-size: 2.5rem;
    }
}

/* Admin Sidebar Layout */
.admin-body {
    overflow-x: hidden;
    background-color: var(--bg-soft-gray);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background-color: #0f172a;
    /* Deeper midnight blue */
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header {
    padding: 35px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.sidebar-brand {
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.sidebar-nav {
    flex: 1;
    padding: 30px 15px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.sidebar-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.sidebar-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-link:hover i {
    transform: translateX(3px);
}

.sidebar-link.active {
    color: white;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.05) 100%);
    box-shadow: inset 0 0 15px rgba(99, 102, 241, 0.1);
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 4px;
    background: #6366f1;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
}

.sidebar-link.active i {
    color: #818cf8;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(to top, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
}

.admin-main-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
    max-width: calc(100vw - 280px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.admin-main-content.no-sidebar {
    margin-left: 0;
    max-width: 100%;
}

/* Collapsed Sidebar State */
.admin-layout.sidebar-collapsed .admin-sidebar {
    width: 80px;
}

.admin-layout.sidebar-collapsed .sidebar-text {
    display: none;
}

.admin-layout.sidebar-collapsed .sidebar-link span {
    display: none;
}

.admin-layout.sidebar-collapsed .sidebar-footer span {
    display: none;
}

.admin-layout.sidebar-collapsed .sidebar-brand {
    justify-content: center;
}

.admin-layout.sidebar-collapsed .sidebar-header {
    justify-content: center !important;
    padding: 20px 10px;
}

.admin-layout.sidebar-collapsed #sidebarToggle {
    transform: rotate(180deg);
}

.admin-layout.sidebar-collapsed .admin-main-content {
    margin-left: 80px;
    max-width: calc(100vw - 80px);
}

.admin-layout.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 14px 0;
}

.admin-layout.sidebar-collapsed .sidebar-link i {
    font-size: 1.5rem;
}

@media (max-width: 991px) {
    .admin-sidebar {
        margin-left: -280px;
    }

    .admin-sidebar.show {
        margin-left: 0;
    }

    .admin-main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 20px;
    }
}

/* Soft UI Components & Color Utilities */
:root {
    --indigo: #6366f1;
    --rose: #f43f5e;
    --amber: #f59e0b;
    --emerald-soft: rgba(16, 185, 129, 0.1);
    --indigo-soft: rgba(99, 102, 241, 0.1);
    --rose-soft: rgba(244, 63, 94, 0.1);
    --amber-soft: rgba(245, 158, 11, 0.1);
}

.bg-indigo {
    background-color: var(--indigo) !important;
}

.bg-rose {
    background-color: var(--rose) !important;
}

.bg-amber {
    background-color: var(--amber) !important;
}

.text-indigo {
    color: var(--indigo) !important;
}

.text-rose {
    color: var(--rose) !important;
}

.text-amber {
    color: var(--amber) !important;
}

/* Soft Alerts */
.alert-soft-success {
    background-color: var(--emerald-soft);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.alert-soft-primary {
    background-color: var(--indigo-soft);
    color: #3730a3;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.alert-soft-danger {
    background-color: var(--rose-soft);
    color: #9f1239;
    border: 1px solid rgba(244, 63, 94, 0.15);
}

.alert-soft-warning {
    background-color: var(--amber-soft);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.alert-soft-secondary {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.alert-soft-info {
    background-color: rgba(14, 165, 233, 0.1);
    color: #0369a1;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

/* Soft Buttons - Improved Contrast */
.btn-soft {
    background-color: #e2e8f0;
    /* Darker than #f1f5f9 */
    color: #1e293b;
    /* Deeper slate */
    border: 1px solid #cbd5e1;
    font-weight: 600;
}


.btn-soft-primary {
    background-color: rgba(99, 102, 241, 0.15);
    color: #4338ca;
    /* Deeper indigo */
    border: 1px solid rgba(99, 102, 241, 0.4);
    font-weight: 600;
}

.btn-soft-primary:hover {
    background-color: var(--indigo);
    color: white !important;
}

.btn-soft-danger {
    background-color: rgba(244, 63, 94, 0.15);
    color: #e11d48;
    /* Deeper rose */
    border: 1px solid rgba(244, 63, 94, 0.4);
    font-weight: 600;
}

.btn-soft-danger:hover {
    background-color: var(--rose);
    color: white !important;
}

.btn-soft-amber {
    background-color: var(--amber-soft);
    color: var(--amber);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.btn-soft-amber:hover {
    background-color: var(--amber);
    color: white !important;
}

.btn-soft:disabled,
.btn-soft-primary:disabled,
.btn-soft-danger:disabled {
    opacity: 0.5;
    background-color: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    pointer-events: none;
}

/* Typography Overrides for Admin */
.text-muted.small {
    color: #64748b !important;
    /* Darker muted text for subtitles */
}

thead th.extra-small {
    font-size: 0.65rem;
    color: #475569 !important;
    /* Darker slate for table headers */
    letter-spacing: 0.05em;
}

/* Dashboard Enhancement Utilities */
.stat-card-vibrant {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.stat-card-vibrant:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-card-vibrant::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.gradient-indigo {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
}

.gradient-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gradient-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.gradient-rose {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}

.glass-pill {
    background: rgba(255, 255, 255, 0.35);
    /* Increased opacity from 0.2 */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    /* More visible border */
    color: white;
    font-weight: 600;
    /* Bolder text for visibility */
}

.progress-thin {
    height: 6px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.05);
}

.dashed-border {
    border: 2px dashed #dee2e6 !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Floating Sidebar Toggle */
.btn-floating-toggle {
    position: fixed;
    left: 265px;
    /* Sits on the edge of 280px sidebar minus half width */
    top: 35px;
    width: 30px;
    height: 30px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-floating-toggle:hover {
    background: #6366f1;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.admin-layout.sidebar-collapsed .btn-floating-toggle {
    left: 65px;
    /* Sits on edge of 80px sidebar */
}

.admin-layout.sidebar-collapsed .btn-floating-toggle i {
    transform: rotate(180deg);
}

.btn-glass-white {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-glass-white:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.extra-small {
    font-size: 0.65rem;
}