:root{
    --primary:#2563ff;
    --primary-dark:#153e9f;
    --text:#1f2937;
    --muted:#6b7280;
    --bg:#f7f8fc;
    --white:#ffffff;
    --border:#e5e7eb;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Inter,Segoe UI,Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:min(1400px,92%);
    margin:auto;
}

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

.navbar{
    position:absolute;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    width:92%;
    height:74px;
    background:#ffffff;
    border-radius:24px;
    z-index:100;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 22px;
    box-shadow:
        0 15px 40px rgba(0,0,0,.08);
}

.logo img{
    height:42px;
    width:auto;
}

nav{
    display:flex;
    align-items:center;
    gap:42px;
}

nav a{
    text-decoration:none;
    color:#10244d;
    font-size:15px;
    font-weight:500;
    transition:.25s;
}

nav a:hover{
    color:var(--primary);
}

nav a.active{
    color:var(--primary);
}

.header-actions{
    display:flex;
    gap:12px;
    align-items:center;
}

.contact-pill{
    background:#f3f5fb;
    padding:12px 18px;
    border-radius:999px;
    font-size:14px;
    color:#23395d;
}

.cta-button{
    background:var(--primary);
    color:white;
    text-decoration:none;
    padding:14px 24px;
    border-radius:16px;
    font-weight:600;
    transition:.3s;
}

.cta-button:hover{
    transform:translateY(-2px);
}

/* =======================================================
   MOBILE MENU (hamburger + slide-in drawer)
======================================================= */

.mobile-menu-btn{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:38px;
    height:38px;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
    flex-shrink:0;
}
.mobile-menu-btn span{
    display:block;
    width:24px;
    height:2px;
    background:#10244d;
    border-radius:2px;
    margin:0 auto;
    transition:.3s;
}
.mobile-menu-btn.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.mobile-menu-btn.active span:nth-child(2){opacity:0;}
.mobile-menu-btn.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-drawer-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(8,21,47,.55);
    z-index:998;
    opacity:0;
    transition:opacity .3s;
}
.mobile-drawer-overlay.active{display:block;opacity:1;}

.mobile-drawer{
    position:fixed;
    top:0;
    right:0;
    height:100%;
    width:min(340px,85vw);
    background:#fff;
    z-index:999;
    transform:translateX(100%);
    transition:transform .35s ease;
    overflow-y:auto;
    box-shadow:-10px 0 40px rgba(0,0,0,.18);
    padding:28px 26px 40px;
    box-sizing:border-box;
}
.mobile-drawer.active{transform:translateX(0);}

.mobile-drawer-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;}
.mobile-drawer-header img{height:34px;}
.mobile-drawer-close{background:none;border:none;font-size:26px;color:#10244d;cursor:pointer;line-height:1;padding:4px;}

.mobile-drawer nav{display:flex;flex-direction:column;gap:0;width:100%;}
.mobile-drawer nav > a,
.mobile-services-trigger{
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-decoration:none;
    color:#10244d;
    font-size:16px;
    font-weight:600;
    padding:15px 2px;
    border-bottom:1px solid #eef0f5;
    background:none;
    border-left:none;
    border-right:none;
    border-top:none;
    width:100%;
    cursor:pointer;
    font-family:inherit;
    text-align:left;
}
.mobile-services-trigger .caret{transition:.3s;display:inline-block;color:#2563ff;font-size:14px;}
.mobile-services-trigger.open .caret{transform:rotate(180deg);}

.mobile-services-panel{display:none;flex-direction:column;padding:4px 0 8px 10px;gap:0;border-bottom:1px solid #eef0f5;}
.mobile-services-panel.open{display:flex;}
.mobile-services-panel h5{font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:#9aa6bd;margin:14px 0 4px;font-weight:700;}
.mobile-services-panel h5:first-child{margin-top:8px;}
.mobile-services-panel a{font-size:15px;font-weight:500;color:#344054;text-decoration:none;padding:9px 0;display:block;}
.mobile-services-panel a:hover{color:#2563ff;}

.mobile-drawer-cta{margin-top:22px;display:flex;flex-direction:column;gap:12px;}
.mobile-drawer-cta a.cta-button{text-align:center;}
.mobile-drawer-contact{font-size:14px;color:#667085;line-height:1.6;margin:0;}

@media(max-width:900px){
    .mobile-menu-btn{display:flex;}
    .navbar{padding:0 14px;}
    .logo{margin-left:-6px;}
    .logo img{height:30px;}
    .cta-button{padding:9px 16px;font-size:13px;border-radius:12px;}
}
@media(min-width:901px){
    .mobile-drawer,
    .mobile-drawer-overlay{display:none !important;}
}

/* =======================================================
   HERO
======================================================= */

.hero{
    position:relative;
    min-height:920px;
    background:
        url("../assets/hero.jpg")
        center center / cover no-repeat;
}

.hero-overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(2,13,40,.68) 0%,
        rgba(2,13,40,.55) 35%,
        rgba(2,13,40,.18) 70%,
        rgba(2,13,40,.03) 100%
    );
}

.hero-content{
    position:relative;
    z-index:5;
    max-width:760px;
    padding-top:180px;
    padding-left:60px;
}

.eyebrow{
    color:#2f7cff;
    font-size:18px;
    font-weight:600;
    letter-spacing:.5px;
}

.hero h1{
    font-size:92px;
    line-height:.95;
    font-weight:600;
    letter-spacing:-3px;
    color:white;
    margin-top:25px;
    margin-bottom:25px;
}

.hero h1 span{
    color:#2f7cff;
}

.hero p{
    color:#f0f4ff;
    font-size:28px;
    line-height:1.45;
    font-weight:400;
    max-width:650px;
}

.hero-buttons{
    margin-top:40px;
    display:flex;
    gap:18px;
}

.btn-primary{
    text-decoration:none;
    background:var(--primary);
    color:white;
    padding:18px 28px;
    border-radius:16px;
    font-weight:600;
}

.btn-secondary{
    text-decoration:none;
    color:white;
    border:1px solid rgba(255,255,255,.4);
    padding:18px 28px;
    border-radius:16px;
    backdrop-filter:blur(10px);
}

/* =======================================================
   FEATURE BAR
======================================================= */

.feature-bar{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:28px;

    width:92%;
    z-index:10;

    display:grid;
    grid-template-columns:repeat(4,1fr);

    gap:20px;

    background:
        linear-gradient(
        90deg,
        rgba(16,27,58,.72),
        rgba(42,58,106,.72)
    );

    backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    padding:28px;
}

.feature-item h3{
    color:white;
    margin-bottom:8px;
    font-size:24px;
}

.feature-item p{
    color:#d6def1;
    font-size:16px;
    line-height:1.4;
}

/* =======================================================
   INTRO
======================================================= */

.intro{
    padding:90px 0 70px;
}

.intro h2{
    color:var(--primary-dark);
    font-size:56px;
    margin-bottom:20px;
}

.intro p{
    font-size:24px;
    line-height:1.8;
    color:#344054;
}

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

.services{
    padding-bottom:80px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.service-card{
    background:white;
    border:1px solid #d8dde7;
    border-radius:22px;
    padding:32px;
    transition:.3s;

    min-height:340px;
}

.service-card:hover{
    transform:translateY(-6px);

    box-shadow:
        0 15px 40px rgba(0,0,0,.08);
}

.service-card h3{
    font-size:34px;
    margin-bottom:20px;
    color:#1d2939;
}

.service-card ul{
    list-style:none;
}

.service-card li{
    position:relative;
    padding-left:18px;
    margin-bottom:14px;
    color:#4b5565;
    line-height:1.45;
    font-size:18px;
}

.service-card li::before{
    content:"•";
    position:absolute;
    left:0;
    color:#2f7cff;
    font-size:20px;
}

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

.technology{
    background:white;
    border-top:1px solid #e8edf5;
    padding:50px 0;
}

.technology .container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:50px;
}

.technology img{
    height:56px;
    width:auto;
    object-fit:contain;
    transition:.3s;
}

.technology img:hover{
    transform:scale(1.05);
}

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

@media(max-width:1200px){

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero h1{
        font-size:72px;
    }

    .feature-bar{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:900px){

    nav{
        display:none;
    }

    .contact-pill{
        display:none;
    }

    .hero-content{
        padding-left:30px;
        padding-right:30px;
    }

    .hero h1{
        font-size:58px;
    }

    .hero p{
        font-size:22px;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

    .feature-bar{
        grid-template-columns:1fr;
        position:relative;
        bottom:auto;
        margin-top:40px;
    }

    .hero{
        min-height:auto;
        padding-bottom:40px;
    }

    .intro h2{
        font-size:38px;
    }

    .intro p{
        font-size:20px;
    }
}

/* VERSION_BASE_1.2 SCROLLING LOGO STRIP */
.technology{
    background:white;
    border-top:1px solid #e8edf5;
    padding:50px 0;
    overflow:hidden;
}

.logo-slider{
    width:100%;
    overflow:hidden;
}

.logo-track{
    display:flex;
    align-items:center;
    gap:80px;
    width:max-content;
    animation:scrollLogos 35s linear infinite;
}

.logo-slider:hover .logo-track{
    animation-play-state:paused;
}

.logo-track img{
    height:56px;
    width:auto;
    flex-shrink:0;
}

@keyframes scrollLogos{
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
}


/* VERSION_BASE_1.3 SERVICES DROPDOWN */
.services-menu{position:relative;}
.dropdown{
display:none;position:absolute;top:100%;left:-120px;background:#fff;
padding:24px;border-radius:18px;box-shadow:0 20px 50px rgba(0,0,0,.12);
grid-template-columns:repeat(4,220px);gap:24px;margin-top:20px;z-index:999;
}
.services-menu:hover .dropdown{display:grid;}
.dropdown-column h4{color:#153e9f;margin-bottom:12px;font-size:16px;}
.dropdown-column a{display:block;padding:6px 0;color:#344054;text-decoration:none;font-size:14px;}
.dropdown-column a:hover{color:#2563ff;}
