/* ===== Reset browser default margin ONLY for landing ===== */
html,
body {
    margin: 0;
    padding: 0;
    font-family: "Figtree", sans-serif;
}

/* ===== Landing scoped fix (NO global impact) ===== */
.landing-root {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}


.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 40px;
    z-index: 1000;
    box-sizing: border-box;
    transition: all 0.35s ease;
    background: #ffffff00;
    box-shadow: 0 3px 5px rgba(61, 61, 61, 0.3);
}

.top-bar.scrolled {
    position: fixed;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ================= NAV CONTAINER ================= */

.nav-container {
    height: 64px;
    display: flex;
    align-items: center;
    width: 100%;
}

/* ================= LOGO ================= */

.logo-img {
    height: 40px;
    transition: height 0.3s ease;
}

.top-bar.scrolled .logo-img {
    height: 32px;
}

/* ================= MENU ================= */

.nav-menu {
    margin-left: 40px;
    display: flex;
    list-style: none;
    padding: 6px;
    gap: 4px;
    background: rgba(117, 117, 117, 0.1);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.top-bar.scrolled .nav-menu {
    background: #405063;
    border-color: #374455;
}

.header-logo {
    color: #ffffff;
    border-color: #374455;
}

.top-bar.scrolled .header-logo {
    color: #000000;
    border-color: #374455;
}

/* ================= MENU ITEM ================= */

.menu-item {
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu-item:hover,
.menu-item.active {
    font-weight: 800;
    color: #ffffff;
}

.menu-item.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;

    width: 60px;
    /* pill width */
    height: 2px;
    /* pill height */

    background: #08a0e1;
    border-radius: 999px;

    transform: translateX(-50%);
    z-index: 2;
    /* 👈 ensures pill is visible */
}


/* ================= BUTTON ================= */

.trust-badge {
    margin-left: auto;
    /* ✅ fixed height */
    line-height: 33px;
    /* ✅ vertical centering */
    padding: 5px 19px 7px 15px !important;
    /* horizontal only */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    gap: 4px;
    background: #405063;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 400;
}

.trust-badge:hover {
    color: #ffffff;
}



.top-bar.scrolled .trust-badge {
    margin-left: 49px;
    line-height: 40px;
    padding: 4px 16px;
    font-size: 13px;
    color: #ffffff;
    transform: translateX(-10px);
}

.top-bar.scrolled .nav-menu {
    margin-left: auto;
    transform: translateX(10px);
}


/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* .hero-section {
    height: 100vh;
    margin-top: 0; 
    /* position: relative;
    height: calc(100vh - 64px);
    margin-top: 64px;
    overflow: hidden;
}
 */
/* ===== SLIDES ===== */

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition:
        opacity 1.2s ease-in-out,
        transform 6s ease;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide {
    will-change: opacity, transform;
    backface-visibility: hidden;
}

/* ===== OVERLAY ===== */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* ===== CONTENT ===== */

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-left: 3vw;
    color: #ffffff;
}


/* ===== LINE SLIDE INDICATORS ===== */

.hero-indicators {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 3;
}

.indicator {
    width: 36px;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

/* Active line */
.indicator.active {
    background: rgba(255, 255, 255, 0.35);
}

/* Animated fill */
.indicator::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffff;
    transform-origin: left;
    transform: scaleX(0);
}

/* Fill animation when active */
.indicator.active::after {
    animation: fillLine 4s linear forwards;
}

@keyframes fillLine {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* ===== SLIDE IMAGES ===== */

.landing-root .slide-1 {
    background-image: url("../img/t1.jpg");
}

.landing-root .slide-2 {
    background-image: url("../img/t2.jpg");
}

.landing-root .slide-3 {
    background-image: url("../img/t3.jpg");
}

.hero-content h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.screenate-color-head {
    color: #08a0e1;
    font-weight: 900;
}

.white-color {
    color: #ffffff;
}

.hero-content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.screenate-color {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.primary-btn {
    appearance: none;
    border: none;
    outline: none;

    background: #08a0e1;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
    padding: 12px 26px;
    width: 90px;

    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    /* important if it's an <a> */


    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.primary-btn:hover {
    background: #0592cf;
    color: #ffffff;
    /* 🔥 keep text white */
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(8, 160, 225, 0.45);
}

.primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(8, 160, 225, 0.35);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 16px;
    }
}


/* ================= SERVICES SECTION ================= */

.services-section {
    padding: 100px 6vw;
    background: #405063;
}

/* ===== HEADER ===== */

.services-header {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
}

.services-header p {
    font-size: 16px;
    line-height: 1.75;
    color: #ffffff;
}


/* ===== GRID ===== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== CARD ===== */

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 38px 34px;
    text-align: center;

    border: 1px solid rgba(0, 170, 255, 0.15);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #fefefe;
    box-shadow: 0 26px 52px rgba(255, 255, 255, 0.25);
}


/* ===== ICON ===== */

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;

    background: linear-gradient(135deg,
            #00aaff,
            #63b6ff);

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    box-shadow: 0 10px 24px rgba(0, 170, 255, 0.45);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.08);
}

.service-icon i {
    font-size: 26px;
    color: #ffffff;
}


/* ===== TEXT ===== */

.service-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f2937;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= HEATMAP SECTION ================= */

.heatmap-section {
    padding-top: 60px;
    padding-bottom: 0px;
}

/* Header polish */
.heatmap-header {
    text-align: center;
    margin-bottom: 60px;
}

.heatmap-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.heatmap-header p {
    font-size: 16px;
    color: #475569;
    max-width: 640px;
    margin: 0 auto;
}

/* Card container */
.heatmap-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 20px;
    padding: 32px 32px 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);

    max-width: 1108px;
    margin: 0 auto;
}

/* Inner heatmap spacing */
.heatmap-card .intro-box {
    min-height: 520px;
}

/* Heatmap itself */
#usHeatMap {
    width: 100%;
    height: 480px;
    margin-top: 12px;
}

/* Small screens */
@media (max-width: 768px) {
    .heatmap-header h2 {
        font-size: 32px;
    }

    .heatmap-card {
        padding: 24px 20px 32px;
    }

    #usHeatMap {
        height: 360px;
    }
}

/* ================= STATIC FOOTER ================= */

/* ================= STATIC FOOTER ================= */

.cta-footer {
    width: 100%;
    margin-top: 120px;
}

.footer-main {
    background: linear-gradient(180deg, #3e4f5f 0%, #2f3e4d 100%);
    padding: 48px 80px 20px;
    color: #ffffff;
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 60px;
    align-items: start;
}

/* BRAND */
.footer-logo {
    height: 36px;
    margin-bottom: 14px;
    display: block;
}


/* LOCATIONS */
.locations-col {
    width: 100%;
}

.locations-col h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 18px;
    color: #ffffff;
}

/* MAIN SPLIT */
.locations-split {
    display: flex;
    align-items: stretch;
    width: 100%;
}

/* EACH LOCATION */
.location-item {
    flex: 1;
    /* 👈 take equal space */
    font-size: 13px;
    line-height: 1.6;
    color: #e5e7eb;
    padding: 0 24px;
}

/* REMOVE padding on edges */
.location-item:first-child {
    padding-left: 0;
}

.location-item:last-child {
    padding-right: 0;
}

.location-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

/* VERTICAL DIVIDER */
.vert-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
    align-self: stretch;
}

/* BOTTOM */
.footer-divider {
    margin: 36px 0 14px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #cbd5e1;
}




/* BRAND COLUMN */
.brand-col {
    max-width: 550px;
}

.footer-tagline {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: #d1d5db;
    margin: 0;
}

/* ===== FOOTER CTA ===== */

.footer-cta {
    margin-top: 10px;
    max-width: 460px;
}

.footer-cta-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Sub text */
.footer-cta-sub {
    font-size: 13.5px;
    line-height: 1.6;
    color: #e5e7eb;
    margin-bottom: 18px;
}

/* CTA Button */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;

    color: #ffffff;
    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;

    background: transparent;
    transition: all 0.25s ease;
}

.footer-cta-btn:hover {
    background: #08a0e1;
    border-color: #08a0e1;
    box-shadow: 0 8px 18px rgba(8, 160, 225, 0.35);
    transform: translateY(-1px);
}


/* ================= API SECTION ================= */

.api-section {
    padding-top: 100px;
    /* padding: 10px 0; */
    /* background: #f9fbff; */
}

/* Make API content same width as heatmap */
.api-section .container {
    max-width: 1108px;
    /* 👈 same as heatmap-card */
    margin: 0 auto;
    padding: 0 32px;
}

.api-section .section-header {
    text-align: center;
    /* margin-bottom: 60px; */
}

.api-grid {
    display: grid;
    gap: 30px;
}

.api-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}