/* ==========================================================================
   1. GLOBAL ARCHITECTURE & VAR CONFIGURATIONS
   ========================================================================== */
:root {
    --white: #ffffff;
    --black: #010b0f;
    --dark-blue: #02141c;
    --teal: #007a82;
    --teal-light: #e0f2f1;
    --teal-vibrant: #00a4af;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: clip;
}


/* ==========================================================================
   WEBSITE IN PROGRESS BANNER
   ========================================================================== */
.progress-banner {
    background-color: #0c2530; /* Deep muted blend that fits your dark theme */
    color: #b0c9cb; /* Clear, high-contrast readable text */
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 164, 175, 0.3); /* Subtle teal border accent */
    position: relative;
    z-index: 1001; /* Sits just above the sticky navbar layer */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.progress-banner i {
    color: var(--teal-vibrant);
}

.progress-banner strong {
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .progress-banner {
        font-size: 0.75rem;
        padding: 8px 15px;
        line-height: 1.4;
    }
}

/* ==========================================================================
   2. NAVBAR HEADER SYSTEM (LIST-FREE STRUCTURAL RENDERING)
   ========================================================================== */

    header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

   .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8%;
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid var(--teal-light);
}

.navbarlogo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.menu-checkbox {
    display: none;
}

.menu-toggle {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

/* --- High-Visibility Nav CTA Button --- */
.nav-cta {
    background-color: var(--dark-blue);
    color: var(--white) !important; /* Forces dark text for high contrast */
    padding: 8px 18px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 5px solid var(--teal);
}

.nav-cta:hover {
    background-color: #00c2cf; /* Slightly brighter teal on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 164, 175, 0.25);
}

.nav-item:hover {
    color: var(--teal-vibrant);
}

.nav-contact-meta {
    color: #4a6366;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.nav-contact-meta i {
    color: var(--teal);
}

.nav-contact-meta:hover {
    color: var(--teal-vibrant);
}

.nav-divider {
    color: #cddfe1;
    font-weight: 300;
    user-select: none;
}

/* --- Dropdown Layout Continuity Fixing Matrix --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-blue);
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-blue); 
    min-width: 240px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    z-index: 1100;
    margin-top: 0; 
    padding: 8px 0;
    opacity: 0.8;
}

.dropdown-content a {
    color: var(--white);
    padding: 12px 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--teal-vibrant);
    color: var(--dark-blue);
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
    display: block;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* ==========================================================================
   3. HERO SLIDER ENGINE (FLUID ARCHITECTURE CONFIGURATION)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100vw;
    min-height: 65vh; 
    overflow: hidden;
    background-color: var(--black); /* Fixed from #000 */
}

.slider {
    width: 100%;
    height: 100%;
    position: absolute; /* Ensures it locks to the edges of hero-section */
    top: 0;
    left: 0;
}

.slider-microcopy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 15px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
    animation: slide-anim 30s infinite; 
}

.slide {
    width: 33.3333%;
    height: 100%;
    min-height: 65vh; /* Added safety fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 8%;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(1,11,15,0.92) 0%, rgba(1,11,15,0.4) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.slider-tag {
    color: var(--teal-vibrant);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 8px;
}

.slide-content h2 {
    font-size: 2.3rem; 
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 12px;
}

.accent-color {
    color: var(--teal-vibrant);
}

.slide-content p {
    font-size: 1rem;
    color: #cddfe1;
    margin-bottom: 24px;
    line-height: 1.5;
    max-width: 620px;
}

.slider-actions {
    display: flex;
    gap: 15px;
}

.slider-btn-primary {
    background-color: var(--teal-vibrant);
    color: var(--dark-blue);
    padding: 11px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.slider-btn-primary:hover {
    background-color: #00c2cf;
}

.slider-btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 9px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.slider-btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

@keyframes slide-anim {
    0% { transform: translateX(0); }
    28% { transform: translateX(0); }
    33.33% { transform: translateX(-33.3333%); }
    61% { transform: translateX(-33.3333%); }
    66.66% { transform: translateX(-66.6666%); }
    94% { transform: translateX(-66.6666%); }
    100% { transform: translateX(0); }
}








/* ==========================================================================
   BADGES & GRID LAYOUT MODULE (OPTIMIZED)
   ========================================================================== */

.badges-section {
    padding: 60px 8%;
    background-color: var(--white);
    width: 100%;
}

.badges-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--black);
    text-align: center;
    margin-bottom: 40px;
}

.badges-grid {
    display: grid;
    /* Forces a maximum of 4 columns, minimum width 220px per badge */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.badge-item {
    display: flex;
    flex-direction: column; /* Stacks icon over text for a tighter footprint */
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    background: #f4f9fa;
    border-radius: 6px;
    border: 1px solid rgba(0, 164, 175, 0.1);
}

.badge-icon {
    font-size: 1.4rem;
    color: var(--teal-vibrant);
    background: #e0f2f1;
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.badge-text h4 {
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 5px;
}

.badge-text p {
    font-size: 0.85rem;
    color: #4a6366;
    line-height: 1.4;
}



/* ==========================================================================
   4. SERVICES RENDER SECTIONS
   ========================================================================== */
.services-section {
    padding: 80px 0; /* No horizontal padding here to allow full bleed */
    background: linear-gradient(135deg, var(--dark-blue) 0%, #01131c 50%, var(--black) 100%);
    text-align: center;
    width: 100vw; /* Forces full viewport width */
    overflow-x: hidden;
}

.services-header {
    padding: 0 8%; /* Keeps text aligned with the rest of your site */
}

.section-tag {
    color: var(--teal-vibrant);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
}

.services-section h2 {
    font-size: 2.2rem;
    margin: 6px 0 15px;
    font-weight: 800;
}

.services-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #b0c9cb;
}

.services-carousel-wrapper {
    position: relative;
    width: 100%;
}

.services-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.services-grid::-webkit-scrollbar {
    display: none;
}

/* --- Redesigned Overlay Cards --- */
.service-card {
    flex: 0 0 calc((100% - 60px) / 3);
    min-width: 310px;
    min-height: 480px; /* Force height so the background image has space */
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    border: 1px solid rgba(0, 164, 175, 0.2);
    box-shadow: 0 10px 30px rgba(1, 11, 15, 0.4);
    position: relative; /* Anchor point for absolute overlays */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Pushes content to the bottom */
    text-decoration: none; /* Clean link formatting */
    color: var(--white);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--teal-vibrant);
    /* Replaces the teal glow with a deep, natural drop shadow for elevation */
    box-shadow: 0 15px 40px rgba(1, 11, 15, 0.6); 
}

/* Base Image Layer */
.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-card-bg {
    transform: scale(1.06);
}

/* Gradient Readability Overlay */
.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(1, 11, 15, 0.98) 0%, rgba(1, 11, 15, 0.8) 45%, rgba(1, 11, 15, 0.1) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.service-card:hover .service-card-overlay {
    /* Retains the dark gradient on hover, removing the teal color shift completely */
    background: linear-gradient(to top, rgba(1, 11, 15, 0.98) 0%, rgba(1, 11, 15, 0.8) 45%, rgba(1, 11, 15, 0.1) 100%);
}

/* Text Content Layer */
.service-card-content {
    position: relative;
    z-index: 3;
    padding: 35px 25px 30px;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--teal-vibrant);
}

.service-card-content p {
    font-size: 0.9rem;
    color: #e0f2f1;
    margin-bottom: 18px;
    line-height: 1.5;
}

.tech-spec-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 15px;
    margin-bottom: 25px;
}

.tech-spec-list li {
    font-size: 0.85rem;
    color: #b0c9cb;
    margin-bottom: 6px;
}

/* Placeholder Link Indicator */
.service-link-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.service-card:hover .service-link-text {
    color: var(--teal-vibrant);
}

.service-link-text i {
    transition: transform 0.2s ease;
}

.service-card:hover .service-link-text i {
    transform: translateX(6px); /* Arrow slides right on hover */
}

/* Carousel Control Elements UI */
.carousel-nav {
    background: var(--dark-blue);
    border: 2px solid var(--teal-vibrant);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}



.btn-prev {
    left: -55px;
}

.btn-next {
    right: -55px;
}

@media (max-width: 1200px) {
    .service-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }
    .btn-prev { left: -20px; }
    .btn-next { right: -20px; }
}


/* ==========================================================================
   5. OPERATIONS ESTIMATOR LAYOUTS & PHILOSOPHY STYLES
   ========================================================================== */
.estimator-section {
    padding: 80px 8%;
    background-color: var(--black);
}

.estimator-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.estimator-controls {
    background: var(--dark-blue);
    padding: 40px;
    border-radius: 6px;
    border: 1px solid rgba(0, 164, 175, 0.1);
}

.estimator-desc {
    color: #b0c9cb;
    margin: 8px 0 15px;
    font-size: 0.95rem;
}

.transparency-statement {
    background: rgba(0, 164, 175, 0.06);
    border: 1px solid rgba(0, 164, 175, 0.2);
    color: #cddfe1;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-style: italic;
}

.transparency-statement i {
    color: var(--teal-vibrant);
    font-size: 1.05rem;
    font-style: normal;
}

.input-group {
    margin-bottom: 22px;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--white);
}

.input-group select {
    width: 100%;
    padding: 12px;
    background: var(--black);
    border: 1px solid rgba(0, 164, 175, 0.3);
    color: var(--white);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
}

.input-group select:focus {
    border-color: var(--teal-vibrant);
}

.included-features-wrapper {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.features-list-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--teal-vibrant);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.included-features-list {
    list-style: none;
}

.included-features-list li {
    font-size: 0.85rem;
    color: #b0c9cb;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-tick {
    color: var(--teal-vibrant);
    font-size: 0.85rem;
}

.readout-card {
    background: var(--dark-blue);
    border: 2px solid var(--teal-vibrant);
    padding: 40px;
    border-radius: 6px;
    text-align: center;
    position: sticky;
    top: 100px;
}

.readout-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #b0c9cb;
    margin-bottom: 10px;
}

.price-display {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.currency {
    font-size: 1.8rem;
    color: var(--teal-vibrant);
    margin-right: 4px;
}

.period {
    font-size: 1.1rem;
    color: #b0c9cb;
    font-weight: 400;
    margin-left: 6px;
}

.readout-specs {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.readout-specs li {
    font-size: 0.9rem;
    color: #cddfe1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.readout-specs li i {
    color: var(--teal-vibrant);
}

.quote-cta-btn {
    background: var(--teal-vibrant);
    color: var(--dark-blue);
    padding: 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.quote-cta-btn:hover {
    background: #00c2cf;
}

.quote-secondary-btn {
    display: block;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.quote-secondary-btn:hover {
    background: rgba(255,255,255,0.05);
}

.readout-footnote {
    font-size: 0.75rem;
    color: #618083;
    margin-top: 15px;
    line-height: 1.4;
}

/* ==========================================================================
   6. RESPONSIVE LAYER MEDIA ADAPTER GENERATOR (SIDE-SLIDE OVERLAY REBUILD)
   ========================================================================== */
@media (max-width: 992px) {
    .estimator-container {
        grid-template-columns: 1fr;
    }
    .readout-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 14px 5%;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important; 
        gap: 20px;
    }
    
    .service-card {
        width: 100%;
    }

    .hero-section {
        min-height: 80vh; 
        /* REMOVED PADDING HERE: This is what was causing the black bars! */
    }

    .slide {
        align-items: flex-start; 
        padding: 50px 5% 40px; /* Added padding back to the content layer instead */
        min-height: 80vh;
    }

    .slide-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .slider-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .slider-btn-primary, 
    .slider-btn-secondary {
        text-align: center;
        width: 100%;
        padding: 12px;
    }

    /* --- Hamburger Button --- */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle .bar {
        height: 3px;
        width: 100%;
        background-color: var(--teal);
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    /* --- Side-Sliding Navigation Frame --- */
    .nav-links {
        position: fixed;
        top: 0; 
        right: 0;
        width: 290px;
        height: 100vh;
        background-color: rgba(2, 20, 28, 0.98); 
        border-left: 2px solid rgba(0, 164, 175, 0.25);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        gap: 24px; 
        overflow-y: auto;
        transform: translateX(100%); 
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-item {
        color: var(--white);
        font-size: 1.1rem;
        width: 100%;
        padding: 4px 0;
    }

    

    .nav-contact-meta {
        color: #b0c9cb;
        font-size: 0.95rem;
        width: 100%;
    }

    .nav-divider {
        display: none; 
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-btn {
        color: var(--white);
        font-size: 1.1rem;
        width: 100%;
        justify-content: space-between;
        padding: 4px 0;
    }

    .dropdown-content {
        position: static;
        display: none;
        background-color: rgba(1, 11, 15, 0.5);
        box-shadow: none;
        width: 100%;
        min-width: 100%;
        margin-top: 10px;
        padding: 4px 0;
        border-left: 2px solid var(--teal-vibrant);
        border-radius: 0;
    }

    .dropdown-content a {
        padding: 10px 16px;
        font-size: 0.95rem;
    }

    .nav-dropdown:hover .dropdown-content {
        display: block; 
    }

    .menu-checkbox:checked ~ .nav-links {
        transform: translateX(0); 
    }

    .menu-checkbox:checked ~ .menu-toggle .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .menu-checkbox:checked ~ .menu-toggle .bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
        background-color: var(--teal-vibrant); 
    }
    .menu-checkbox:checked ~ .menu-toggle .bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
        background-color: var(--teal-vibrant);
    }

    .estimator-controls {
        padding: 24px;
    }
}



/* ==========================================================================
   7. GOVERNANCE, COMPLIANCE & MATRIX STYLING MODULE
   ========================================================================== */

/* --- Flexbox Row/Column Split Containers --- */
.gov-split-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.gov-split-main {
    flex: 1;
    min-width: 320px;
}

.gov-split-side {
    flex: 1;
    min-width: 320px;
}

/* --- Secure Architecture Safeguards Matrix Table --- */
.gov-matrix-box {
    background-color: var(--dark-blue);
    padding: 35px;
    border-radius: 6px;
    border: 1px solid rgba(0, 164, 175, 0.15);
    box-shadow: 0 10px 30px rgba(1, 11, 15, 0.5);
}

.gov-matrix-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.gov-matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.gov-matrix-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gov-matrix-table tr:last-child {
    border-bottom: none;
}

.gov-matrix-table td {
    padding: 12px 0;
}

.gov-matrix-label {
    color: #b0c9cb;
    font-weight: 600;
}

.gov-matrix-value {
    text-align: right;
    font-weight: 700;
    color: var(--teal-vibrant);
}

.gov-matrix-value.critical {
    color: #ff6b6b; /* High contrast red for 'Zero Local Data Footprint' rows */
}

/* --- Peterborough Anchor / Governance Card --- */
.gov-anchor-card {
    background: #f4f9fa; /* Crisp contrast light variant matching about.html base */
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(0, 164, 175, 0.15);
}

.gov-anchor-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.gov-anchor-badge {
    width: 50px;
    height: 50px;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
}

.gov-anchor-title h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--black);
    font-weight: 700;
}

.gov-anchor-title p {
    margin: 0;
    font-size: 0.85rem;
    color: #4a6366;
}

.gov-anchor-quote {
    margin: 0;
    padding: 0;
    font-style: italic;
    color: #4a6366;
    line-height: 1.6;
    font-size: 0.98rem;
    position: relative;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .gov-split-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .gov-matrix-box, .gov-anchor-card {
        padding: 25px;
    }
}

/* ==========================================================================
   8. INSTITUTIONAL FOOTER STYLING
   ========================================================================== */
.main-footer {
    background-color: var(--black);
    padding: 70px 8% 30px;
    color: #b0c9cb;
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
}

.footer-logo {
    height: 128px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    background: var(--white); 
    padding: 4px;
    border-radius: 4px;
    
}

.footer-blurb {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #8fa8ab;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #b0c9cb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--teal-vibrant);
}

.office-detail {
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cddfe1;
}

.office-detail i {
    color: var(--teal-vibrant);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    font-size: 0.8rem;
    color: #618083;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   10. CONTACT CAPTURE INTERFACE 
   ========================================================================== */
.contact-section {
    padding: 90px 8%;
    background: #f7fbfb; 
    border-top: 1px solid var(--teal-light);
}

.contact-header {
    text-align: center;
    margin-bottom: 45px;
}

.contact-header h2 {
    font-size: 2.4rem;
    margin: 6px 0 12px;
    font-weight: 800;
    color: var(--dark-blue);
}

.contact-header p {
    color: #4a6366;
    max-width: 680px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form-container {
    max-width: 850px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid rgba(0, 122, 130, 0.12);
    box-shadow: 0 12px 40px rgba(1, 11, 15, 0.06);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark-blue);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: #fafdfd;
    border: 1px solid rgba(0, 122, 130, 0.25);
    color: var(--dark-blue);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8fa8ab;
}

.form-group input:focus, 
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--teal-vibrant);
    box-shadow: 0 0 10px rgba(0, 164, 175, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.form-submit-container {
    grid-column: span 2;
}

.contact-submit-btn {
    width: 100%;
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.contact-submit-btn:hover {
    background-color: var(--teal-vibrant);
}

.contact-submit-btn:active {
    transform: scale(0.99);
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-group.full-width,
    .form-checkbox-group,
    .form-submit-container {
        grid-column: span 1;
    }
}

/* ==========================================================================
   12. COMMERCIAL TRANSPARENCY PHILOSOPHY BLOCK
   ========================================================================== */
.philosophy-section {
    padding: 40px 8%;
    background-color: #f4f9fa; 
    border-top: 1px solid var(--teal-light);
    border-bottom: 1px solid var(--teal-light);
    text-align: center;
}

.philosophy-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag-dark {
    color: var(--teal);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 8px;
}

.philosophy-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.philosophy-lead {
    font-size: 1.1rem;
    color: #4a6366;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .philosophy-section {
        padding: 60px 5%;
    }
    .philosophy-section h2 {
        font-size: 1.9rem;
    }
    .philosophy-lead {
        font-size: 1rem;
        margin-bottom: 35px;
    }
}

/* ==========================================================================
   13. PRIVACY POLICY DOCUMENT CARD
   ========================================================================== */

.doc-container {
    max-width: 850px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 40px 50px;
}

.doc-container h1 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.doc-container h2 {
    color: #6a8c8f;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-container p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.doc-container ul {
    margin: 10px 0 30px 25px;
}

.doc-container li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, var(--teal), rgba(0, 164, 175, 0));
    margin: 25px 0 35px 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .doc-container {
        margin: 30px 15px;
        padding: 30px;
    }
}



.split-text {
    flex: 1;
}

.split-text h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.split-text p {
    color: #b0c9cb;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.split-list {
    list-style: none;
}

.split-list li {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--teal-vibrant);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 0 4px 4px 0;
    font-size: 0.95rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.split-list i {
    font-size: 1.3rem;
    color: var(--teal-vibrant);
}

.split-image {
    flex: 1;
    position: relative;
}

.split-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(0, 164, 175, 0.2);
}

/* --- Mobile Adjustments --- */
@media (max-width: 992px) {
    .split-section, .split-section.reverse {
        flex-direction: column;
        padding: 60px 5%;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}


/* ==========================================================================
   14. 24/7 OPERATIONS SUPPORT LANDING PAGE SYSTEM
   ========================================================================== */

/* Global Core Layout Container */
.ops-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* --- Section 1: Hero Configurations --- */
.ops-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ops-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(1, 11, 15, 0.95) 0%, rgba(1, 11, 15, 0.7) 100%);
    z-index: 1;
}

.ops-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: left;
}

.ops-tag-badge {
    display: inline-block;
    color: var(--white);
    background: rgba(0, 164, 175, 0.15);
    border: 1px solid rgba(0, 164, 175, 0.3);
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ops-hero-content h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.ops-accent {
    color: var(--teal-vibrant);
}

.ops-lead-text {
    font-size: 1.2rem;
    color: #cddfe1;
    line-height: 1.7;
    margin-bottom: 35px;
}

.ops-hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Call-to-action buttons mapped to your design variables */
.ops-btn-primary, .ops-btn-secondary {
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ops-btn-primary {
    background-color: var(--teal-vibrant);
    color: var(--white);
    border: 1px solid var(--teal-vibrant);
}

.ops-btn-primary:hover {
    background-color: #008f99;
    border-color: #008f99;
}

.ops-btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ops-btn-secondary:hover {
    border-color: var(--teal-vibrant);
    color: var(--teal-vibrant);
}

/* --- Section 2: Capabilities Block (Dark Blue Background) --- */
.ops-capabilities {
    background-color: var(--dark-blue);
    padding: 90px 8%;
    text-align: center;
}

.ops-tag-text {
    color: var(--teal-vibrant);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

.ops-capabilities h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.ops-section-desc {
    font-size: 1.05rem;
    color: #b0c9cb;
    max-width: 700px;
    margin: 0 auto 50px;
}

.ops-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.ops-card {
    background: rgba(1, 11, 15, 0.6);
    border: 1px solid rgba(0, 164, 175, 0.1);
    padding: 45px 35px;
    border-radius: 6px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ops-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 164, 175, 0.3);
}

.ops-card-icon i {
    font-size: 2.2rem;
    color: var(--teal-vibrant);
    margin-bottom: 20px;
    display: block;
}

.ops-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 700;
}

.ops-card p {
    font-size: 0.95rem;
    color: #b0c9cb;
    line-height: 1.6;
}

/* --- Section 3: Split Showcase Block (Slate-Teal Background) --- */
.ops-split-showcase {
    background-color: #031c26;
    border-top: 1px solid rgba(0, 164, 175, 0.2);
    border-bottom: 1px solid rgba(0, 164, 175, 0.2);
    padding: 90px 8%;
}

.ops-split-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.ops-split-text {
    flex: 1;
    min-width: 300px;
}

.ops-split-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    margin-top: 10px;
    margin-bottom: 20px;
}

.ops-split-text p {
    color: #cddfe1;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ops-split-text p:last-child {
    margin-bottom: 0;
}

.ops-split-image {
    flex: 1;
    min-width: 300px;
}

.ops-split-image img {
    width: 100%;
    display: block;
    border-radius: 6px;
    border: 1px solid rgba(0, 164, 175, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* --- Section 4: Frameworks/Compliance (Solid Black Background) --- */
.ops-compliance {
    background-color: var(--black);
    padding: 90px 8%;
}

.ops-compliance-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6a8c8f;
    text-align: center;
    font-weight: 700;
    margin-bottom: 50px;
}

.ops-compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.ops-badge-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ops-badge-icon i {
    font-size: 1.8rem;
    color: var(--teal-vibrant);
    background: rgba(0, 164, 175, 0.08);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(0, 164, 175, 0.15);
    flex-shrink: 0;
}

.ops-badge-content h4 {
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 8px;
}

.ops-badge-content p {
    font-size: 0.9rem;
    color: #b0c9cb;
    line-height: 1.5;
}

/* --- Section 5: Transparency Block (Dark Blue Background) --- */
.ops-transparency {
    background-color: var(--dark-blue);
    padding: 70px 8%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ops-transparency-box {
    max-width: 750px;
    margin: 0 auto;
}

.ops-transparency-box h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.ops-transparency-box p {
    color: #b0c9cb;
    line-height: 1.6;
    font-size: 1rem;
}

/* --- Responsive Adaptations --- */
@media (max-width: 768px) {
    .ops-hero {
        padding: 60px 5%;
        min-height: auto;
    }
    
    .ops-hero-content h1 {
        font-size: 2.3rem;
    }
    
    .ops-lead-text {
        font-size: 1.05rem;
    }
    
    .ops-capabilities, .ops-split-showcase, .ops-compliance {
        padding: 60px 5%;
    }
    
    .ops-capabilities h2, .ops-split-text h2 {
        font-size: 1.9rem;
    }
    
    .ops-split-wrapper {
        gap: 40px;
    }
}