@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#050816;
    color:white;
    overflow-x:hidden;
}

/* CONTAINER */

.container{
    max-width:1250px;
    margin:auto;
}

/* NAVBAR */

.navbar{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 80px;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    transition:background 0.4s, box-shadow 0.4s, padding 0.4s;
}

.navbar.scrolled{
    background:rgba(5,8,22,0.92);
    box-shadow:0 4px 30px rgba(0,0,0,0.4);
    padding:6px 80px;
}

/* FIX SECTION HIDDEN UNDER NAVBAR */

section{
    scroll-margin-top:100px;
}

/* LOGO SECTION */

.logo-section{
    display:flex;
    align-items:center;
    position:relative;
    padding:4px 0;
}

/* BLUE GLOW BACKGROUND */

.logo-section::before{
    content:'';
    position:absolute;
    width:200px;
    height:200px;
    background:
    radial-gradient(
        circle,
        rgba(37,99,235,0.25) 0%,
        rgba(37,99,235,0.1) 35%,
        transparent 75%
    );
    filter:blur(45px);
    z-index:-1;
    left:-40px;
    top:-60px;
}

/* LOGO */

.logo-section img{
    width:180px;
    height:auto;
    object-fit:contain;
    filter:
    brightness(1.15)
    drop-shadow(0 0 12px rgba(37,99,235,0.3));
    transition:filter 0.3s;
}

.logo-section img:hover{
    filter:
    brightness(1.25)
    drop-shadow(0 0 20px rgba(37,99,235,0.5));
}

/* NAV LINKS */

.nav-links{
    display:flex;
    align-items:center;
    gap:8px;
    list-style:none;
}

.nav-links a{
    text-decoration:none;
    color:rgba(255,255,255,0.7);
    font-size:15px;
    font-weight:500;
    padding:8px 18px;
    border-radius:8px;
    transition:all 0.3s;
    position:relative;
}

.nav-links a:hover{
    color:white;
    background:rgba(255,255,255,0.08);
}

.nav-links a.active{
    color:#60a5fa;
    background:rgba(37,99,235,0.12);
}

/* HAMBURGER */

.hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    padding:8px;
    border-radius:8px;
    transition:background 0.3s;
}

.hamburger:hover{
    background:rgba(255,255,255,0.08);
}

.hamburger span{
    width:24px;
    height:2px;
    background:white;
    border-radius:2px;
    transition:all 0.3s;
}

.hamburger.active span:nth-child(1){
    transform:rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:rotate(-45deg) translate(5px,-5px);
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:140px 40px 100px;
    position:relative;
    overflow:hidden;
    background:#050816;
}

/* HERO VIDEO BACKGROUND */

.hero-video .hero-bg-video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

.hero-video .hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(5,8,22,0.7);
    z-index:1;
}

.hero::before{
    content:'';
    position:absolute;
    width:600px;
    height:600px;
    background:radial-gradient(circle,#2563eb 0%,transparent 70%);
    filter:blur(120px);
    opacity:0.15;
    top:-150px;
    right:-100px;
    animation:pulseGlow 8s ease-in-out infinite;
}

.hero::after{
    content:'';
    position:absolute;
    width:400px;
    height:400px;
    background:radial-gradient(circle,#7c3aed 0%,transparent 70%);
    filter:blur(120px);
    opacity:0.1;
    bottom:-100px;
    left:-100px;
    animation:pulseGlow 8s ease-in-out 4s infinite;
}

@keyframes pulseGlow{
    0%,100%{opacity:0.1;transform:scale(1)}
    50%{opacity:0.2;transform:scale(1.1)}
}

.small-hero{
    min-height:50vh;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:1000px;
    animation:fadeUp 0.8s ease;
}

.hero-tag{
    display:inline-block;
    padding:10px 22px;
    border-radius:999px;
    background:rgba(37,99,235,0.1);
    border:1px solid rgba(37,99,235,0.25);
    margin-bottom:30px;
    font-size:14px;
    font-weight:500;
    letter-spacing:1px;
    color:#60a5fa;
}

.hero h1{
    font-size:72px;
    line-height:1.1;
    margin-bottom:28px;
    font-family:'Poppins',sans-serif;
    font-weight:700;
    background:linear-gradient(135deg,#ffffff 0%,#94a3b8 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.hero p{
    font-size:20px;
    line-height:1.8;
    color:#94a3b8;
    max-width:750px;
    margin:auto;
}

.hero-buttons{
    margin-top:40px;
    display:flex;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
}

/* BUTTONS */

.primary-btn,
.secondary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 30px;
    border-radius:12px;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    transition:all 0.3s;
}

.primary-btn{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:white;
    box-shadow:0 4px 20px rgba(37,99,235,0.3);
}

.primary-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 30px rgba(37,99,235,0.45);
}

.secondary-btn{
    border:1px solid rgba(255,255,255,0.12);
    color:white;
    background:rgba(255,255,255,0.04);
}

.secondary-btn:hover{
    background:rgba(255,255,255,0.1);
    border-color:rgba(255,255,255,0.2);
    transform:translateY(-3px);
}

/* SECTION TITLE */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:#60a5fa;
    font-size:13px;
    font-weight:600;
    letter-spacing:3px;
    text-transform:uppercase;
}

.section-title h2{
    margin-top:16px;
    font-size:46px;
    line-height:1.2;
    font-family:'Poppins',sans-serif;
    background:linear-gradient(135deg,#ffffff 0%,#cbd5e1 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

/* ABOUT */

.about-section{
    padding:100px 40px;
    background:#080e1f;
    position:relative;
}

.about-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-left span{
    color:#60a5fa;
    font-size:13px;
    font-weight:600;
    letter-spacing:3px;
}

.about-left h2{
    font-size:48px;
    line-height:1.2;
    margin-top:12px;
    font-family:'Poppins',sans-serif;
    background:linear-gradient(135deg,#ffffff 0%,#cbd5e1 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.about-right p{
    font-size:18px;
    line-height:1.9;
    color:#94a3b8;
    margin-bottom:20px;
}

/* SERVICES */

.services-section,
.services-section-page{
    padding:100px 40px;
    background:#0a1020;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:24px;
}

.service-card{
    padding:40px;
    border-radius:20px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    transition:all 0.4s;
    position:relative;
    overflow:hidden;
}

.service-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:2px;
    background:linear-gradient(90deg,transparent,#2563eb,transparent);
    opacity:0;
    transition:opacity 0.4s;
}

.service-card:hover{
    transform:translateY(-8px);
    border-color:rgba(37,99,235,0.3);
    background:rgba(255,255,255,0.05);
    box-shadow:0 20px 40px rgba(0,0,0,0.3);
}

.service-card:hover::before{
    opacity:1;
}

.service-card h3{
    font-size:24px;
    margin-bottom:16px;
    font-family:'Poppins',sans-serif;
    font-weight:600;
}

.service-card p{
    color:#94a3b8;
    line-height:1.8;
    font-size:16px;
}

/* PRODUCTS */

.products-section{
    padding:100px 40px;
    background:#050816;
}

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

.product-card{
    padding:30px 24px;
    border-radius:20px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    transition:all 0.4s;
    text-align:center;
    overflow:hidden;
}

.product-card:hover{
    transform:translateY(-8px);
    border-color:rgba(37,99,235,0.3);
    box-shadow:0 20px 40px rgba(37,99,235,0.15);
}

.product-card img{
    width:100%;
    height:200px;
    object-fit:contain;
    background:rgba(255,255,255,0.95);
    padding:12px;
    border-radius:14px;
    margin-bottom:20px;
    transition:transform 0.4s;
}

.product-card:hover img{
    transform:scale(1.04);
}

.product-card h3{
    font-size:22px;
    line-height:1.4;
    font-family:'Poppins',sans-serif;
    font-weight:600;
}

/* CLIENTS */

.clients-section{
    padding:100px 40px;
    background:#080e1f;
}

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

.client-card{
    padding:36px;
    border-radius:20px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    transition:all 0.4s;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.client-card::after{
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:2px;
    background:linear-gradient(90deg,transparent,#2563eb,transparent);
    opacity:0;
    transition:opacity 0.4s;
}

.client-card:hover{
    transform:translateY(-8px);
    border-color:rgba(37,99,235,0.3);
    box-shadow:0 20px 40px rgba(0,0,0,0.3);
}

.client-card:hover::after{
    opacity:1;
}

.client-card h3{
    font-size:22px;
    margin-bottom:10px;
    line-height:1.4;
    font-family:'Poppins',sans-serif;
    font-weight:600;
}

.client-card span{
    color:#60a5fa;
    font-size:14px;
    font-weight:500;
}

/* CONTACT */

.contact-section{
    padding:100px 40px;
    background:#0a1020;
}

.contact-container{
    max-width:700px;
    margin:auto;
    text-align:center;
}

.contact-container h2{
    font-size:46px;
    margin-bottom:20px;
    font-family:'Poppins',sans-serif;
    background:linear-gradient(135deg,#ffffff 0%,#cbd5e1 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.contact-container p{
    font-size:18px;
    color:#94a3b8;
    margin-bottom:40px;
}

/* CONTACT FORM */

.contact-form{
    margin-top:40px;
    display:flex;
    flex-direction:column;
    gap:16px;
    text-align:left;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:16px 20px;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:12px;
    background:rgba(255,255,255,0.04);
    color:white;
    font-size:15px;
    font-family:'Inter',sans-serif;
    transition:all 0.3s;
    outline:none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color:rgba(255,255,255,0.35);
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:rgba(37,99,235,0.5);
    background:rgba(255,255,255,0.06);
    box-shadow:0 0 0 3px rgba(37,99,235,0.1);
}

.contact-form textarea{
    min-height:160px;
    resize:none;
}

.contact-form button{
    border:none;
    cursor:pointer;
    width:100%;
}

/* FOOTER */

.footer{
    background:#020617;
    padding:70px 40px 30px;
    border-top:1px solid rgba(255,255,255,0.06);
}

.footer-container{
    max-width:1250px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 0.8fr 1.2fr;
    gap:60px;
    align-items:start;
}

/* LEFT SIDE */

.footer-left{
    display:contents;
}

/* BRAND */

.footer-brand{
    max-width:320px;
}

.footer-brand h2{
    font-size:42px;
    line-height:1.2;
    margin-bottom:20px;
    color:white;
    font-family:'Poppins',sans-serif;
}

.footer-brand p{
    color:#94a3b8;
    line-height:1.9;
    font-size:16px;
}

/* QUICK LINKS */

.footer-links{
    padding-top:10px;
}

.footer-links h3{
    font-size:28px;
    margin-bottom:24px;
    color:white;
    font-family:'Poppins',sans-serif;
}

.footer-links ul{
    list-style:none;
    padding:0;
}

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

.footer-links a{
    text-decoration:none;
    color:#94a3b8;
    font-size:16px;
    transition:all 0.3s;
    display:inline-block;
}

.footer-links a:hover{
    color:#60a5fa;
    transform:translateX(4px);
}

/* CONTACT */

.footer-contact{
    max-width:420px;
}

.footer-contact h3{
    font-size:28px;
    margin-bottom:24px;
    color:white;
    font-family:'Poppins',sans-serif;
}

.footer-contact p{
    color:#94a3b8;
    line-height:2;
    font-size:16px;
}

.footer-contact strong{
    color:white;
}

/* MAP */

.footer-map{
    margin-top:20px;
}

.footer-map iframe{
    width:100%;
    height:200px;
    border:none;
    border-radius:16px;
    box-shadow:0 8px 24px rgba(0,0,0,0.3);
}

/* BOTTOM */

.footer-bottom{
    margin-top:50px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,0.06);
    text-align:center;
}

.footer-bottom p{
    color:#64748b;
    font-size:14px;
}

/* SCROLL REVEAL */

.reveal{
    opacity:0;
    transform:translateY(30px);
    transition:opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible{
    opacity:1;
    transform:translateY(0);
}

/* ANIMATION */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* RESPONSIVE */

@media(max-width:1000px){

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

    .footer-container{
        grid-template-columns:1fr;
        gap:50px;
    }

    .footer-brand,
    .footer-contact{
        max-width:100%;
    }

    .footer-brand h2,
    .footer-links h3,
    .footer-contact h3{
        font-size:28px;
    }

}

@media(max-width:900px){

    .navbar{
        padding:12px 24px;
    }

    .navbar.scrolled{
        padding:8px 24px;
    }

    .nav-links{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        flex-direction:column;
        background:rgba(5,8,22,0.95);
        backdrop-filter:blur(20px);
        -webkit-backdrop-filter:blur(20px);
        padding:16px;
        gap:4px;
        border-bottom:1px solid rgba(255,255,255,0.06);
    }

    .nav-links.open{
        display:flex;
    }

    .nav-links a{
        width:100%;
        padding:12px 16px;
        border-radius:10px;
    }

    .hamburger{
        display:flex;
    }

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

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

    .section-title h2{
        font-size:34px;
    }

    .about-container{
        grid-template-columns:1fr;
    }

    .about-left h2{
        font-size:36px;
    }

    .service-grid,
    .product-grid{
        grid-template-columns:1fr;
    }

    .contact-container h2{
        font-size:34px;
    }

}

@media(max-width:700px){

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

    .hero{
        padding:120px 20px 80px;
    }

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

}

/* CUSTOM CURSOR */

@media(pointer:fine){

    *{
        cursor:none;
    }

    .custom-cursor{
        width:20px;
        height:20px;
        border:2px solid #60a5fa;
        border-radius:50%;
        position:fixed;
        top:0;
        left:0;
        transform:translate(-50%, -50%);
        pointer-events:none;
        z-index:99999;
        box-shadow:0 0 8px rgba(37,99,235,0.5);
        transition:
        width 0.2s ease,
        height 0.2s ease,
        background 0.2s ease,
        transform 0.05s linear;
    }

    a:hover ~ .custom-cursor,
    button:hover ~ .custom-cursor{
        width:36px;
        height:36px;
        background:rgba(96,165,250,0.15);
    }

}

@media(pointer:coarse){

    .custom-cursor{
        display:none;
    }

}
