/* ==========================================================================
   Modern Reset & Corporate Theme Configuration
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
} :root {
    --sitebase-blue: #3275cc;
    --accent-blue: #3275cc;
    --link-light: #ffffff;
    --link-inactive: #e0f2fe;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --border-color: #1e55a4;

    /* Fluid typography: desktop values are preserved at the upper end. */
    --fs-h1: clamp(1.25rem, 1rem + 1.333vw, 2rem);
    --fs-h2: clamp(1.125rem, 0.875rem + 1vw, 1.75rem);
    --fs-h3: clamp(1rem, 0.875rem + 0.417vw, 1.4rem);
    --fs-h4: clamp(0.95rem, 0.85rem + 0.25vw, 1.15rem);
    --fs-body: clamp(0.875rem, 0.825rem + 0.167vw, 1rem);
    --fs-lg: clamp(1rem, 0.75rem + 0.75vw, 1.2rem);
    --fs-sm: clamp(0.8125rem, 0.775rem + 0.083vw, 0.9rem);

    /* Fluid spacing: ranges track the existing desktop/mobile intent. */
    --space-xl: clamp(2rem, 1.25rem + 3vw, 5rem);
    --space-lg: clamp(1.25rem, 0.95rem + 1.25vw, 2.5rem);
    --space-md: clamp(1rem, 0.8rem + 0.833vw, 2.1875rem);
    --space-sm: clamp(0.625rem, 0.5rem + 0.5vw, 1.25rem);
    --space-xs: clamp(0.3125rem, 0.25rem + 0.25vw, 0.625rem);

    --page-padding: clamp(0.625rem, 0.25rem + 1.25vw, 1.25rem);
    --card-padding: clamp(0.9375rem, 0.5rem + 1.458vw, 1.875rem);

    --button-padding-y: clamp(0.625rem, 0.55rem + 0.25vw, 0.75rem);
    --button-padding-x: clamp(0.75rem, 0.55rem + 0.5vw, 1.125rem);

    /* Header-banner CTA sizing: 300px viewport -> desktop baseline */
    --fs-header-button: clamp(0.875rem, 0.8rem + 0.4vw, 1.1rem);
    --header-button-padding-y: clamp(0.5625rem, 0.4375rem + 0.583vw, 0.875rem);
    --header-button-padding-x: clamp(1rem, 0.606rem + 2.111vw, 2.1875rem);

    --gap-xl: clamp(1.5625rem, 1.0rem + 1.458vw, 2.5rem);
    --gap-lg: clamp(1.25rem, 0.9rem + 1.167vw, 2.1875rem);
    --gap-md: clamp(0.75rem, 0.5rem + 0.833vw, 1.5625rem);
    --gap-sm: clamp(0.625rem, 0.5rem + 0.417vw, 0.9375rem);
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Globally offsets all scroll-to-id triggers to offset header height */
}

body {
    background-color: var(--bg-light, #f8fafc);
    color: var(--text-dark, #0f172a);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-block: clamp(1.875rem, 1.65rem + 0.625vw, 2.1875rem);
    padding-inline: var(--page-padding);
}


/* ==========================================================================
   Top Banner Block 
   ========================================================================== */
.header-banner {
    background: url("images/header-bg.jpg");
    background-size: cover;
    background-position: center;
    color: var(--link-light, #ffffff);
   /* padding: 60px 10px 130px 10px !important; */
   padding-top: clamp(30px, 1.071rem + 2.143vw, 40px) !important;
    padding-right: var(--page-padding) !important;
    padding-bottom: clamp(60px, 2.857rem + 5.357vw, 80px) !important;
    padding-left: var(--page-padding) !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
    Top Banner Block Element Alignments
   ========================================================================== */
.header-banner h1 {
    font-size: var(--fs-h1);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header-banner p {
    font-size: var(--fs-lg);
    color: var(--link-light, #ffffff);
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}


/* ==========================================================================
   Wave Shape Divider Alignments
   ========================================================================== */
.banner-row-shape {
    position: absolute;
    bottom: -1px; /* Fastens the shape flat against bottom edge border variables */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.banner-svg-bottom {
    width: 100%;
    height: 75px; /* Vertical height boundary scale for waves */
    display: block;
}

.banner-shape-fill {
    fill: var(--bg-light, #f8fafc); /* Enforces exact matching light off-white layout color matching */
}

/* ==========================================================================
   Global Section Headings 
   ========================================================================== */
h2.section-title {
    font-size: var(--fs-h2) !important;
    font-weight: 700 !important;
    color: var(--sitebase-blue, #3275cc) !important;
    letter-spacing: -0.5px !important;
    text-align: center !important;
    padding-bottom: 30px;
}
.left-border-box {
  background-color: var(--bg-light, #f8fafc); 
  color: var(--text-dark, #0f172a); 
  padding: var(--space-sm); 
  border-left: 4px solid var(--accent-blue, #3275CC); 
  border-radius: 0 8px 8px 0; 
  margin-bottom: var(--space-sm);
}
/* ==========================================================================
   3. Product Cards Grid Area
   ========================================================================== */
.product-section {
    width: 100%;
    padding: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--gap-lg);
    align-items: start;
}

.card {
    background-color: var(--link-light, #ffffff);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px 0 #0734a7;
}

.card-thumb {
    width: 100%;
    height: 180px; /* Keeps the block height completely fixed */
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center; /* Perfectly centers image vertically */
    justify-content: center; /* Perfectly centers image horizontally */
    overflow: hidden;
    border-radius: 0 !important; /* Forces corners to stay completely square */
}

.card-thumb img {
    max-width: 100%; /* Prevents image from overflowing width boundaries */
    max-height: 100%; /* Prevents image from overflowing height boundaries */
    width: auto; /* Allows natural proportional scaling */
    height: auto; /* Allows natural proportional scaling */
    object-fit: contain; /* Scales to fit image sychronously without cropping */
    border: 1px solid #0734a7;
}

.card h3 {
    font-size: var(--fs-h3);
    color: var(--sitebase-blue, #3275cc) !important;
    margin-bottom: var(--space-sm);
    border-bottom: 2px solid var(--link-inactive, #e0f2fe);
    padding-bottom: 8px;
}

.card-content {
    color: var(--text-dark, #0f172a);
    font-size: var(--fs-sm);
    flex-grow: 1;
    line-height: 1.4;
}

.card-content p {
    margin-bottom: var(--space-sm);
}

.card-content ul {
    list-style-type: disc !important;
    margin-left: 20px !important;
    padding-left: 10px !important;
    margin-bottom: var(--space-sm);
}

.card-content li {
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

/* ==========================================================================
   2-Row, 2-Column Balanced Grid Layout
   ========================================================================== */
.about-row {
    display: flex;
    gap: var(--gap-lg);
    margin-bottom: 35px;
    width: 100%;
}
.about-row .card {
    flex: 1; /* Forces both cards in a row to be exactly equal in width and height */
}
@media (max-width: 768px) {
    .about-row {
        flex-direction: column; /* Safely collapses into a single column on phones */
    }
}

/* ==========================================================================
   Custom List round Check image
   ========================================================================== */

ul.round-check-list {
  list-style: none !important; /* Removes standard bullets */
  padding-block: var(--space-sm) !important;
  padding-left: 0 !important;
}

ul.round-check-list li {
  position: relative;
  padding-left: 25px; /* Creates room for the 16px icon + 9px gap */
}

ul.round-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px; /* Adjust this to center it with your text line */
  background: url('/images/round-check-blue.svg') no-repeat center center;
  width: 16px;
  height: 16px;
  background-size: contain; 
}

/* ==========================================================================
   Button Styling Rules (Optimized for your new --sitebase-blue theme)
   ========================================================================== */

.header-btn-container {
    margin-top: var(--gap-lg);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-lg);
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.header-btn-container .btn {
    /* Preserve equal desktop button width while allowing the label and
       internal spacing to scale down fluidly on small viewports. */
    font-size: var(--fs-header-button) !important;
    padding: var(--header-button-padding-y) var(--header-button-padding-x) !important;
    flex: 0 0 200px;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    box-sizing: border-box;
    text-align: center;
}

.btn-group {
    display: flex;
    flex-wrap: wrap; 
    gap: var(--gap-sm);
    margin-top: 25px;
    width: 100%;
}

.btn {
    cursor: pointer;   
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    padding: var(--button-padding-y) var(--button-padding-x);
    border-radius: 30px;
    font-weight: 800;
    font-size: var(--fs-body);
    text-decoration: none;
    flex: 1;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
    -webkit-tap-highlight-color: transparent;    
}

/* wrap safely if needed */
.btn-allow-wrap {
    white-space: normal !important;
    word-wrap: break-word;
}

/* --- PRIMARY BUTTON STATES --- */

/* Uses --sitebase-blue theme color */
.btn-primary {
    background-color: var(--sitebase-blue, #3275cc);
    color: var(--link-light, #ffffff);
    border: 2px solid #f0f6ff;   
}

/* Desktop-only hover style */
@media (hover: hover) {
    .btn-primary:hover {
        background-color: #1e5299;
        border-color: var(--accent-blue);
    }
}

/* Mobile & Desktop press state */
.btn-primary:active {
    background-color: #1e5299;
    border-color: var(--accent-blue);
}


/* --- SECONDARY BUTTON STATES --- */

/* Flat white resting state with royal blue text */
.btn-secondary {
    background-color: var(--link-light, #ffffff);
    color: var(--sitebase-blue, #3275cc);
    border: 2px solid var(--sitebase-blue, #3275cc);
}

/* Desktop-only hover style */
@media (hover: hover) {
    .btn-secondary:hover {
        background-color: var(--link-inactive, #e0f2fe);
        border-color: var(--sitebase-blue, #3275cc);
    }
}

/* Mobile & Desktop press state */
.btn-secondary:active {
    background-color: var(--link-inactive, #e0f2fe);
    border-color: var(--sitebase-blue, #3275cc);
}
.btn-full {
    flex: none;
    width: 100%;
}

/* ==========================================================================
   Contact form layout structure 
   ========================================================================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    margin-top: var(--space-sm);
    width: 100%;
}

.form-row-split {
    display: flex;
    gap: var(--gap-sm);
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start; 
}

.form-field-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 130px;
    justify-content: flex-start; 
}

.form-field-group label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-dark, #0f172a);
    margin-bottom: 6px;
    display: block; 
}

/* Base Input & Dropdown Styling (Using your exact :root colors) */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: var(--button-padding-y) var(--button-padding-x);
    border: 1px solid var(--border-color, #1e55a4);
    background-color: var(--bg-light, #f8fafc); /* Off-white background */
    color: var(--text-dark, #0f172a); /* High-contrast crisp text */
    font-size: var(--fs-body);
    border-radius: 12px;
    outline: none;
    box-sizing: border-box;
    transition:
        border-color 0.2s,
        background-color 0.2s;
}

.contact-form select {
    /* Unified Layout Rules */
    width: 100% !important;
    max-width: 250px !important; /* Safely controls dropdown width here */
    padding: 12px 16px !important;
    border: 1px solid var(--border-color, #1e55a4) !important;
    background-color: var(--bg-light, #f8fafc) !important; /* Uses #f8fafc light grey */
    color: var(--text-dark, #0f172a) !important;
    font-size: 0.98rem !important;
    border-radius: 12px !important;
    outline: none !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition:
        border-color 0.2s,
        background-color 0.2s;
}

/* Dynamic Focus Highlights (Turns border to your accent blue & background to white) */
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--accent-blue);
    background-color: var(--link-light, #ffffff); 
    box-shadow: 0 0 0 3px rgba(50, 117, 204, 0.15); /* Soft matching blue glow aura */
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Required indicator for form fields */
span.astrix {
    color: red;
}


/* Adjust internal alignment spacings inside Card 1 */
.card h3 {
    margin-bottom: var(--space-xs);
}
.card h3:not(:first-child) {
    margin-top: 25px; /* Adds clean spacing between headers */
}

@media (max-width: 576px) {
    .form-row-split {
        flex-direction: column;
        gap: var(--gap-sm);
    }
}

/* ==========================================================================
   testimonial SECTION
   ========================================================================== */

/* Base setup: Start with a single vertical column for mobile devices */
.testimonial-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
    align-items: stretch;
}

/* Desktop Break Rule: Force exactly 2 per row once the screen is wider than a tablet */
@media (min-width: 768px) {
    .testimonial-grid-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ==========================================================================
   SANDBOXED CUSTOMER LOGO DUAL MARQUEE SECTION
   ========================================================================== */

.es-marquee-section {
    padding-block: var(--space-xl);
    background-color: #f9fafb;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.es-marquee-title-box {
    margin-bottom: var(--gap-xl);
}

/* Row Container Spacing */
.es-marquee-row-spacer {
    margin-bottom: var(--space-sm);
}

/* Locked Box Wrapper: Limits slider visibility to site-container boundaries */
.es-marquee-wrapper {
    width: 100%;
    display: inline-flex;
    flex-wrap: nowrap;
    overflow: hidden;
    /* Smoothly blurs layout edges to prevent harsh visual cutting inside container */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.es-marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-block: var(--space-xs);
}

/* Direction 1: Standard Left Movement (Top Row) */
.es-track-left {
    animation: esMarqueeMoveLeft 65s linear infinite;
}

/* Direction 2: Reverse Right Movement (Bottom Row) */
.es-track-right {
    animation: esMarqueeMoveRight 65s linear infinite;
}


/* Individual Card Structural Constraints */
.es-ticker-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    width: 224px;
    background-color: var(--link-light, #ffffff);
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    padding: var(--space-sm) var(--space-md);
    margin-inline: 12px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    overflow: hidden;
}


.es-ticker-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.es-ticker-img {
    max-height: 100%;
    max-width: 100%;
    width: auto; 
    height: auto; 
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
 }


/* Keyframes for Left Row Movement */
@keyframes esMarqueeMoveLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Keyframes for Right Row Movement */
@keyframes esMarqueeMoveRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* ==========================================================================
   5. Mobile Responsiveness Rules
   ========================================================================== */
@media (max-width: 768px) {
    .nav-wrapper {
        padding-block: var(--space-sm);
        height: auto;
    }
    nav ul {
        gap: var(--gap-md);
        flex-wrap: wrap;
        justify-content: center;
    }
    .banner-logo {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto var(--space-sm);
    }
    .product-section {
        width: 100%;
    }
}

/* ==========================================================================
     Pricing pages
   ========================================================================== */

 /* Absolute Centering Overrides using your isolated custom name */
.configurator-root {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    clear: both !important;
}

/* Targets the direct theme container parent element wrapper */
.configurator-root .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto;
    float: none !important;         /* Kills legacy left floats hiding in your main theme */
    overflow: visible !important;   /* Crucial: keeps right summary column scrolling sticky */
}

/* Targets the main outside parent card box container */
.configurator-root .card {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;   /* Locks the card into the structural center line */
    margin-right: auto !important;  /* Locks the card into the structural center line */
    float: none !important;         /* Strips out layout bias alignments */
    overflow: visible !important;   /* Keeps right sidebar column floating */
    box-sizing: border-box;
    display: block !important;
}

/* Structural Parent Layout Grid & Sticky Column Overrides */
.pricing-split-layout {
    display: flex !important;
    justify-content: center !important; /* NEW in Envirooffice: Centers the card container perfectly on desktop screens */
    align-items: start !important; /* Crucial: Allows the right sidebar box room to slide down */
    width: 100% !important;
    max-width: 1400px !important; /* Expands the page horizontal limits on wide monitors */
    margin-left: auto !important;
    margin-right: auto !important;
    gap: var(--gap-xl);
}

@media (max-width: 900px) {
  .pricing-split-layout {
     flex-direction: column !important;
     gap: var(--gap-md);
    }
}

/* Break Hidden Theme Constraints */
.product-section .container, 
.product-section .card {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px !important;
    overflow: visible !important; 
    height: auto !important;
}

/* Wider Left Product Column Configuration */
.config-form-col { 
    flex: 1.8 !important; 
    width: 100%; 
}

/* Streamlined Sticky Right Summary Column Specification */
.purchase-summary-col { 
    flex: 1 !important; 
    width: 100%; 
    position: -webkit-sticky !important; /* Legacy browser compatibility */
    position: sticky !important;         /* Standard sticky scroll logic controller */
    top: 120px !important;                /* Distance tracking gap from top of viewport window */
    align-self: start !important;        /* Keeps container bounding boxes aligned */
}

/* Responsive Side-by-Side Symmetrical Plan Selector Grid */
.plans-selection-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 25px;
}
@media (max-width: 768px) {
    .plans-selection-container {
        grid-template-columns: 1fr !important; /* Drops to clean single column on mobile */
    }
}

/* Product Price Selection Card Elements Layout Grid */
.plan-box {
    background-color: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: var(--space-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-box.selected-plan {
    box-shadow: 0 4px 12px rgba(50, 117, 204, 0.05);
    background-color: var(--link-inactive, #e0f2fe);
    border-color: var(--accent-blue, #3275CC);
    color: var(--border-color, #1e55a4);
}
/* Base style for the add-on badge */
.addon-badge {                            
    background-color: #ffedd5;     /* Warm, bright light orange */
    color: #ea580c;                /* Deep orange for clear reading */
    font-size: var(--fs-sm);
    font-weight: 700;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 12px;
    border: 1px solid #fed7aa !important;
}

.plan-title-bold {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--text-dark, #0f172a);
    margin-bottom: var(--space-xs);
}
.plan-price-subtitle {
    font-size: var(--fs-body);
    color: var(--text-muted, #475569);
    margin-bottom: var(--space-sm);
}
.plan-price-subtitle .price-blue {
    color: var(--accent-blue, #3275CC);
    font-weight: 700;
}

/* Container for the slider switch */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

/* Hide default browser HTML checkbox */
.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The background slider track */
.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #b0b0b0; /* Off state gray */
  transition: .3s;
  border-radius: 34px;
}

/* The circular white moving knob */
.slider-round:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

/* Track background when checked/active */
.switch-toggle input:checked + .slider-round {
  background-color: var(--accent-blue, #3275CC);
}

/* Knob movement when checked/active */
.switch-toggle input:checked + .slider-round:before {
  transform: translateX(24px);
}

/* Symmetrical Inline - n + User Scroller Box Element */
.inline-cart-control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: var(--space-sm) var(--space-md);
    margin-top: var(--space-sm);
}
.cart-counter-group {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f1f5f9;
    overflow: hidden;
}
.cart-btn {
    background: #ffffff;
    border: none;
    color: var(--text-dark, #0f172a);
    font-size: var(--fs-lg);
    font-weight: bold;
    padding: var(--space-xs) var(--space-sm);
    cursor: pointer;
    transition: background 0.2s;
}
.cart-btn:hover { background: #e2e8f0; }

.cart-count-display {
    font-size: var(--fs-body);
    font-weight: 700;
    min-width: 35px;
    text-align: center;
    color: var(--text-dark, #0f172a);
}

/* Sticky Sidebar Purchase Layout Box Components */
.purchase-spec-box {
    background-color: #ffffff;
    border: 2px solid var(--border-color, #1e55a4);
    border-radius: 12px;
    padding: var(--space-md);
}
.purchase-data-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-sm);
    margin-bottom: 10px;
    color: var(--text-dark, #0f172a);
}

/* Language Selector Styling Attributes */
/* Reused from your old styles to create the card block background */
.lang-search-container {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: var(--space-sm);
    margin-top: 10px;
}

/* Your scrollable container */
.lang-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 180px); 
    gap: var(--gap-sm); 
    height: 280px; 
    overflow-y: auto; 
    padding-right: 5px;
    scrollbar-width: auto; 
}

/* Base style for each row  */
.lang-item-row {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-sm);
    cursor: pointer;
    padding: var(--space-xs); 
    background: var(--bg-light, #f8fafc);
    border: 1px solid #cbd5e1;
    border-radius: 6px; 
    transition: all 0.15s ease;
    box-sizing: border-box;
    width: 180px; 
    white-space: nowrap; 
}

.lang-checkbox-item {
    width: 14px;
    height: 14px;
    cursor: pointer;
    flex-shrink: 0; /* Prevents checkbox square from squishing */
}

/* Selected active row colors */
.lang-item-row:has(.lang-checkbox-item:checked),
.lang-item-row.selected-row {
    background-color: var(--link-inactive, #e0f2fe) !important;
    border-color: var(--accent-blue, #3275CC) !important;
    color: var(--border-color, #1e55a4) !important;
    font-weight: 600;
}

/* Hover state for computers with a mouse */
@media (hover: hover) {
    .lang-item-row:hover {
        /* Soft blue tint lighter than the selected state */
        background-color: color-mix(in srgb, var(--link-inactive, #e0f2fe) 40%, var(--bg-light, #f8fafc));
        border-color: var(--accent-blue, #3275CC);
    }
}

/* Tap/Focus state for mobile touch and keyboard users */
.lang-item-row:focus-within,
.lang-item-row:active {
    /* Slightly deeper tint to give instant tap feedback */
    background-color: color-mix(in srgb, var(--link-inactive, #e0f2fe) 60%, var(--bg-light, #f8fafc));
    border-color: var(--accent-blue, #3275CC);
}

/* Mobile Responsive Override */
@media (max-width: 520px) {
    .lang-checkbox-grid {
        justify-content: start;
    }
}

.split-feature-row {
   display: flex;
   gap: var(--gap-xl);
   margin-top: 50px;
   align-items: center;
}

/* 1. Main mobile styles for all rows */
@media (max-width: 768px) {
  .split-feature-row {
    flex-direction: column !important;
    gap: 20px;
  }
}

/* 2. Specific style placed AFTER to override the main rule */
@media (max-width: 768px) {
  .split-feature-row.reverse-wrap {
    flex-direction: column-reverse !important;
  }
}

.split-feature-col {
    flex: 1;
    width: 100%;
  }

   .features-inline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--gap-md);
    margin-top: 30px;
  }
  .feature-inline-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: var(--space-md);
    border-radius: 8px;
  }
  .feature-inline-item h4 {
    color: var(--accent-blue, #3275CC);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: var(--fs-h4);
  }
 .feature-inline-item ul {
    padding-left: 5px;
  }

.feature-inline-item p,
.feature-inline-item li {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.language-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 20px;
}
.language-column {
    background: #ffffff;
    border: 1px solid var(--border-color, #1e55a4);
    border-radius: 8px;
    overflow: hidden;    
    width: 100%;
}

.language-column-title {
    background-color: var(--link-inactive, #e0f2fe); 
    color: #0f172a;
    font-weight: bold;
    padding: var(--space-sm);
    text-align: center;
    border-bottom: 1px solid var(--border-color, #1e55a4);
    margin: 0;
    font-size: var(--fs-body);
}

.language-list {
    padding: 15px;
    margin: 0;
    list-style: none;
    line-height: 1.6;
    color: var(--text-dark, #0f172a);
    font-size: var(--fs-sm);
}
.language-list li {
    margin-bottom: 4px;
}