/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Segoe UI', sans-serif;
}

body{
    overflow-x:hidden;
}

/* HERO BACKGROUND */
.hero{
    height:100vh;
    background:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("images/hero.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    position:relative;
    color:#fff;
}

/* NAVBAR */
header{
    position:absolute;
    width:100%;
    top:0;
    left:0;
    padding:20px 0;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}
.nav{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
}

/* LOGO */
.logo h2{
    font-weight:600;
    letter-spacing:2px;
}

.logo span{
    font-size:12px;
    letter-spacing:3px;
    opacity:0.8;
}

/* NAV LINKS */
nav a{
    color:#fff;
    text-decoration:none;
    margin:0 15px;
    font-weight:500;
    position:relative;
}

nav a::after{
    content:"";
    width:0%;
    height:2px;
    background:#00c3ff;
    position:absolute;
    bottom:-5px;
    left:0;
    transition:0.3s;
}

nav a:hover::after{
    width:100%;
}

/* RIGHT BUTTON */
.btn-nav{
    background:#00c3ff;
    padding:10px 20px;
    border-radius:25px;
    text-decoration:none;
    color:#fff;
    font-weight:500;
    transition:0.3s;
}

.btn-nav:hover{
    background:#0099cc;
}

/* HERO TEXT */
.hero-content{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-content h1{
    font-size:70px;
    font-weight:300;
    letter-spacing:2px;
}

.hero-content p{
    font-size:20px;
    margin-top:15px;
    opacity:0.9;
}

/* RESPONSIVE */
@media(max-width:768px){

    nav{
        display:none;
    }

    .hero-content h1{
        font-size:40px;
    }

}
/* ================= COMPANIES SECTION ================= */

.companies{
    padding:120px 0;
    background:#111827;
    color:#fff;
    text-align:center;
}

.section-title h2{
    font-size:40px;
    margin-bottom:15px;
}

.section-title p{
    opacity:0.7;
    margin-bottom:60px;
}

.company-grid{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:40px;
}

.company-card{
    background:#0f172a;
    padding:40px;
    border-radius:12px;
    transition:0.4s;
}

.company-card:hover{
    transform:translateY(-12px);
    background:#16203a;
    box-shadow:0 15px 35px rgba(0,0,0,0.4);
}

.company-card i{
    font-size:45px;
    color:#00c3ff;
    margin-bottom:20px;
}

.company-card h3{
    margin-bottom:15px;
    font-size:22px;
}

.company-card p{
    opacity:0.8;
    line-height:1.6;
}
/* ================= INNER PAGES ================= */

.inner-hero{
    height:40vh;
    background:linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('https://images.unsplash.com/photo-1493558103817-58b2924bce98');
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
}

.inner-hero h1{
    font-size:50px;
    font-weight:300;
}

.content{
    padding:80px 0;
    background:#111827;
    color:#fff;
}

.content p{
    margin-bottom:20px;
    line-height:1.7;
    opacity:0.85;
}
/* ================= CENTER LOGO NAV ================= */

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* Left & Right Nav */
.nav-left,
.nav-right{
    display:flex;
    align-items:center;
    gap:25px;
}

/* Center Logo */
.logo-center img{
    height:55px;
    object-fit:contain;
}

/* Nav Links */
nav a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
    position:relative;
    transition:0.3s;
}

nav a::after{
    content:"";
    width:0%;
    height:2px;
    background:linear-gradient(90deg,#00c3ff,#0066ff);
    position:absolute;
    bottom:-6px;
    left:0;
    transition:0.3s;
}

nav a:hover::after{
    width:100%;
}

/* Keep button styled */
.btn-nav{
    background:linear-gradient(90deg,#00c3ff,#0066ff);
    padding:8px 18px;
    border-radius:30px;
    color:#fff !important;
}
/* ================= FOOTER ================= */

.footer{
    background:#020617;
    color:#fff;
    padding-top:70px;
}

.footer-container{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    padding-bottom:40px;
}

.footer h3{
    letter-spacing:2px;
    margin-bottom:15px;
}

.footer h4{
    margin-bottom:15px;
    color:#00c3ff;
}

.footer p{
    opacity:0.8;
    line-height:1.6;
}

.footer-bottom{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(255,255,255,0.1);
    font-size:14px;
    opacity:0.7;
}
/* CLICKABLE COMPANY CARDS */

.company-link{
    text-decoration:none;
    color:inherit;
    display:block;
}

.company-link:hover .company-card{
    transform:translateY(-12px);
    background:#16203a;
    box-shadow:0 15px 35px rgba(0,0,0,0.4);
    cursor:pointer;
}
html{
    scroll-behavior:smooth;
}
/* LOGO IMAGE */

.logo img{
    height:80px;
    width:auto;
    object-fit:contain;
}
.footer-link{
    color:#fff;
    text-decoration:none;
    transition:0.3s;
}

.footer-link:hover{
    color:#00c3ff;
}
/* ================= POPUP ================= */

.popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.popup-content{
    background:#fff;
    padding:30px;
    width:90%;
    max-width:450px;
    border-radius:10px;
    text-align:center;
    position:relative;
}

.popup-content h2{
    margin-bottom:20px;
}

.popup-content input,
.popup-content textarea{
    width:100%;
    padding:12px;
    margin:8px 0;
    border:1px solid #ccc;
    border-radius:6px;
}

.popup-btn{
    background:#0a3d62;
    color:white;
    border:none;
    padding:12px 20px;
    margin-top:10px;
    border-radius:6px;
    cursor:pointer;
}

.close-btn{
    position:absolute;
    top:10px;
    right:15px;
    font-size:24px;
    cursor:pointer;
}
/* ================= HAMBURGER MENU ================= */

.menu-toggle{
    display:none;
    font-size:26px;
    color:#fff;
    cursor:pointer;
}

/* MOBILE */
@media(max-width:900px){

    .menu-toggle{
        display:block;
        z-index:10001;
    }

    nav{
        position:fixed;
        top:0;
        right:-100%;
        height:100vh;
        width:260px;
        background:#020617;
        flex-direction:column;
        align-items:flex-start;
        padding:80px 30px;
        gap:25px;
        transition:0.4s;
        box-shadow:-10px 0 30px rgba(0,0,0,0.5);
    }

    nav.active{
        right:0;
    }

    nav a{
        font-size:18px;
        width:100%;
    }

    .btn-nav{
        margin-top:20px;
    }
}
/* HAMBURGER ICON */
.menu-toggle{
    display:none;
    font-size:26px;
    color:white;
    cursor:pointer;
}

/* MOBILE MENU */
@media(max-width:900px){

    .menu-toggle{
        display:block;
    }

    #navMenu{
        position:fixed;
        top:0;
        right:-100%;
        width:260px;
        height:100vh;
        background:#020617;
        display:flex;
        flex-direction:column;
        padding:80px 30px;
        gap:25px;
        transition:0.4s;
    }

    #navMenu.active{
        right:0;
    }
}
.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* CENTER MENU */
nav{
    display:flex;
    gap:35px;
}

/* RIGHT SIDE */
.nav-right{
    display:flex;
    align-items:center;
    gap:20px;
}
/* NAVBAR */
.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* CENTER MENU */
#navMenu{
    display:flex;
    gap:35px;
}

/* RIGHT SIDE */
.nav-right{
    display:flex;
    align-items:center;
    gap:20px;
}

#navMenu a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
    position:relative;
}

#navMenu a::after{
    content:"";
    width:0%;
    height:2px;
    background:#00c3ff;
    position:absolute;
    bottom:-6px;
    left:0;
    transition:0.3s;
}

#navMenu a:hover::after{
    width:100%;
}
.menu-toggle{
    display:none;
    font-size:28px;
    color:#fff;
    cursor:pointer;
}

@media(max-width:900px){

    .menu-toggle{
        display:block;
    }

    #navMenu{
        position:fixed;
        top:0;
        right:-100%;
        width:260px;
        height:100vh;
        background:#020617;
        flex-direction:column;
        padding:90px 30px;
        gap:25px;
        transition:0.4s;
    }

    #navMenu.active{
        right:0;
    }
}
/* NAVBAR LAYOUT */
.nav{
    display:flex;
    align-items:center;
}

/* LOGO LEFT */
.logo{
    flex:1;
}

/* MENU CENTER */
.nav-center{
    flex:2;
    display:flex;
    justify-content:center;
    gap:35px;
}

/* RIGHT SIDE */
.nav-right{
    flex:1;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:20px;
}
/* ================= NAVBAR ================= */

header{
    position:absolute;
    top:0;
    width:100%;
    padding:20px 0;
    z-index:1000;
}

/* NAV CONTAINER */
.nav-container{
    width:90%;
    max-width:1200px;
    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* LOGO */
.logo img{
    height:70px;
}

/* CENTER MENU */
.nav-menu{
    display:flex;
    align-items:center;
    gap:18px;          /* ⭐ CHANGE GAP HERE */
}

/* NAV LINKS */
.nav-menu a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
    padding:0 6px;
    position:relative;
}

/* HOVER LINE */
.nav-menu a::after{
    content:"";
    position:absolute;
    bottom:-6px;
    left:0;
    width:0%;
    height:2px;
    background:#00c3ff;
    transition:.3s;
}

.nav-menu a:hover::after{
    width:100%;
}

/* RIGHT SIDE */
.nav-right{
    display:flex;
    align-items:center;
    gap:15px;
}

/* BUTTON */
.btn-nav{
    background:linear-gradient(90deg,#00c3ff,#0066ff);
    padding:10px 22px;
    border-radius:30px;
    color:#fff;
    text-decoration:none;
}

/* HAMBURGER */
.menu-toggle{
    display:none;
    font-size:26px;
    color:#fff;
    cursor:pointer;
}

/* ================= MOBILE ================= */

@media(max-width:900px){

    .menu-toggle{
        display:block;
    }

    .nav-menu{
        position:fixed;
        top:0;
        right:-100%;
        width:260px;
        height:100vh;
        background:#020617;
        flex-direction:column;
        align-items:flex-start;
        padding:90px 30px;
        gap:25px;
        transition:.4s;
    }

    .nav-menu.active{
        right:0;
    }

    .btn-nav{
        display:none;
    }
}