
/* ===== GLOBAL ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Segoe UI', sans-serif;
}

body{
    min-height:200vh;
    background:#f4f7fb;
}

/* ===== NAVBAR ===== */
header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;
    backdrop-filter:blur(12px);
    background:rgba(250, 251, 252, 0.85);
    box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

.main-navbar{
    max-width:1300px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    /* padding:18px 20px; */
}

/* Nav Links */
.navbar-links{
    display:flex;
    align-items:center;
    gap:30px;
}

.navbar-links li{
    list-style:none;
    position:relative;
}

.navbar-links a{
    text-decoration:none;
    color:#424040;
    font-size:15px;
    font-weight:500;
    transition:0.3s ease;
}

.navbar-links a:hover{
    color:#1152e0;
}

/* ===== MEGA MENU ===== */
.mega-menu{
    position:absolute;
    /* left: 40; */
    right: 0;
    top:50px;
    width:900px;
    background:#0f172a;
    padding:30px;
    display:flex;
    justify-content:space-between;
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:0.4s ease;
    border-radius:12px;
    box-shadow:0 20px 40px rgba(0,0,0,0.4);
}

.navbar-links li:hover .mega-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.mega-column{
    width:30%;
}

.mega-column h4{
    color:#00f5c4;
    margin-bottom:15px;
    font-size:16px;
}

.mega-column ul li{
    margin-bottom:12px;
}

.mega-column ul li a{
    color:#ddd;
    font-size:14px;
}

.mega-column ul li a i{
    margin-right:8px;
    color:#00f5c4;
}

/* CTA Button */
.cta-btn{
    background:#00f5c4;
    padding:10px 22px;
    border-radius:30px;
    color:#000 !important;
    font-weight:600;
    transition:0.3s ease;
}

.cta-btn:hover{
    background:#fff;
}

/* Mobile Menu */
.menu-toggle{
    display:none;
    font-size:32px;
    color:#131212;
    cursor:pointer;
    padding: 0 20px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:991px){

.navbar-links{
    position:fixed;          /* change absolute → fixed */
    top:70px;                   /* start from top */
    left:-100%;
    width: 100%;             /* sidebar width */
    height:100vh;            /* full height */
    background:#0f172a;
    flex-direction:column;
    padding:80px 25px;
    transition:0.4s ease;
    overflow-y:auto;         /* scroll if content bigger */
    z-index:1000;
}

.navbar-links a{
    color:white;
}

.navbar-links.active{
    left:0;
}

.navbar-links li{
    width:100%;
}

/* Mega menu mobile */
.mega-menu{
    position:relative;
    width:100%;
    left:0;
    transform:none;
    flex-direction:column;
    padding:10px 0;
    margin-top:10px;
    box-shadow:none;
    display:none;
}
.mega-column{
    width:100% !important;
    padding:0;
    margin-bottom:20px;
}
/* Remove extra spacing */
.mega-column ul{
    padding-left:0;
}

.mega-column ul li{
    width:100%;
}

.mega-column ul li a{
    display:block;
    width:100%;
    padding:8px 0;
}

.navbar-links li.active .mega-menu{
    display:flex;
}

.menu-toggle{
    display:block;
}

}

/* hero section */
.hero-section{
  margin-top: 75px;
    min-height:80vh;
    background:linear-gradient(135deg,#0f172a,#1e293b,#0f172a);
    padding-top:120px;
    color:white;
}

.highlight{
    color:#00f5c4;
}

.hero-title{
    font-size:clamp(32px,5vw,52px);
}

.btn-primary{
    background:#00f5c4;
    border:none;
    color:#000;
    font-weight:600;
}

.hero-img{
    max-width:100%;
    animation:float 4s ease-in-out infinite;
}

@keyframes float{
    0%{transform:translateY(0);}
    50%{transform:translateY(-15px);}
    100%{transform:translateY(0);}
}

/* Extra Small Devices */
@media(max-width:576px){
    .hero-section{
        padding-top:100px;
        text-align:center;
    }
}

/* service section */
.services-section{
    background:#f8fafc;
}

.service-card{
    background:#ffffff;
    border-radius:15px;
    transition:0.3s ease;
    box-shadow:0 10px 25px rgba(0,0,0,0.05);
    height:100%;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.1);
}

.service-icon{
    font-size:40px;
    color:#00f5c4;
}

.highlight{
    color:#00f5c4;
}

/* portfolio section */
.portfolio-card{
    position:relative;
    overflow:hidden;
    border-radius:15px;
}

.portfolio-card img{
    transition:0.4s ease;
    border-radius:15px;
}

.portfolio-card:hover img{
    transform:scale(1.1);
}

.portfolio-overlay{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    background:rgba(0,0,0,0.7);
    color:white;
    padding:20px;
    text-align:center;
    opacity:0;
    transition:0.4s ease;
}

.portfolio-card:hover .portfolio-overlay{
    opacity:1;
}

/* Technology Section */
.technology-section{
    background:#f8fafc;
}

.tech-card{
    background:#ffffff;
    border-radius:15px;
    transition:0.3s ease;
    box-shadow:0 10px 25px rgba(0,0,0,0.05);
    height:100%;
}

.tech-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.1);
}

.tech-icon{
    font-size:50px;
}

.text-purple{
    color:#7952b3;
}

.text-indigo{
    color:#6f42c1;
}


/* Who we are section */
.who-we-are{
    background:#ffffff;
}

.who-img{
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,0.1);
}

.highlight{
    color:#0745b8;
}

.who-box{
    background:#f8fafc;
    padding:20px;
    border-radius:12px;
    transition:0.3s ease;
}

.who-box:hover{
    background:#00f5c4;
    color:#000;
    transform:translateY(-5px);
}

.btn-primary{
    background:#00f5c4;
    border:none;
    color:#000;
    font-weight:600;
}

/* footer section */
.footer-section{
    background:#0f172a;
}

.footer-section h4,
.footer-section h5{
    color:#00f5c4;
}

.footer-links{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    text-decoration:none;
    color:#ccc;
    transition:0.3s ease;
}

.footer-links a:hover{
    color:#0a96f3;
    padding-left:5px;
}

.social-icons a{
    display:inline-block;
    width:35px;
    height:35px;
    line-height:35px;
    text-align:center;
    background:#1e293b;
    color:#fff;
    border-radius:50%;
    margin-right:10px;
    transition:0.3s ease;
}

.social-icons a:hover{
    background:#056ce2;
    color:#000;
}

.newsletter-form .form-control{
    border-radius:30px 0 0 30px;
    border:none;
}

.newsletter-form .btn{
    border-radius:0 30px 30px 0;
}

.footer-divider{
    border-color:rgba(255,255,255,0.1);
}
