/* ================= GLOBAL ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background:#f4f7fb;
}

.container{
    width:92%;
    max-width:1200px;
    margin:auto;
}

/* MOBILE HEADER */
@media(max-width:768px){

    .nav{
        height:60px;
    }

    .site-logo{
        height:85px;
        left:0;
    }
}

/* ===== HEADER ===== */
.header{
    background: linear-gradient(180deg,#0b1f3a,#0e2b52);
    position: sticky;
    top:0;
    z-index:1000;
    width:100%;
    box-shadow:0 4px 18px rgba(0,0,0,.35);
}

/* NAV HEIGHT (small & clean) */
.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:70px;  /* fixed navbar height */
    position:relative;
}

/* ===== LOGO CONTAINER ===== */
.logo{
    position:relative;
    display:flex;
    align-items:center;
    height:100%;
}
.logo::before{
    content:"";
    position:absolute;
    width:140px;
    height:140px;
    background:radial-gradient(circle, rgba(70,160,255,.25), transparent 70%);
    border-radius:50%;
    left:10px;
    top:50%;
    transform:translateY(-50%);
    z-index:1;
    pointer-events:none;
}

/* FLOATING LOGO */
.site-logo{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    
    height:120px;        /* visually BIG logo */
    width:auto;
    object-fit:contain;
    z-index:2;
    
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.55))
            drop-shadow(0 0 12px rgba(60,170,255,.6));
    
    transition:.35s ease;
}

/* premium hover */
.logo:hover .site-logo{
    transform:translateY(-50%) scale(1.06);
    filter: drop-shadow(0 14px 22px rgba(0,0,0,.65))
            drop-shadow(0 0 20px rgba(90,210,255,.9));
}
/* menu */
nav ul{
    display:flex;
    gap:35px;
    list-style:none;
}

nav ul li a{
    color:#fff;
    text-decoration:none;
    font-size:17px;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#2fb4ff;
}

/* ===== HAMBURGER ICON ===== */

.menu-toggle{
    display:none;
    flex-direction:column;
    cursor:pointer;
    gap:5px;
}

.menu-toggle span{
    width:25px;
    height:3px;
    background:#fff;
    border-radius:3px;
    transition:0.3s;
}

/* ===== MOBILE MENU ===== */

@media(max-width:768px){

    nav ul{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#0b1f3a;
        flex-direction:column;
        align-items:center;
        gap:0;
        max-height:0;
        overflow:hidden;
        transition:max-height 0.35s ease;
        border-top:1px solid rgba(255,255,255,0.1);
    }

    nav ul li{
        width:100%;
        text-align:center;
        padding:16px 0;
        border-bottom:1px solid rgba(255,255,255,0.08);
    }

    nav ul li a{
        display:block;
        font-size:18px;
    }

    /* show hamburger */
    .menu-toggle{
        display:flex;
    }

    /* hide normal menu */
    nav{
        position:relative;
    }

    /* OPEN STATE */
    nav ul.active{
        max-height:320px;
    }
    .nav{
        padding:10px 14px;
    }

    .site-logo{
        height:60px;   /* mobile visible but balanced */
    }
    
    /* menu button */
    .menu-btn{
        font-size:26px;
        color:#fff;
        cursor:pointer;
    }
}

/* ================= HERO ================= */

.hero{
    background:linear-gradient(135deg,#050b18,#0d2b5b);
    color:white;
    padding:110px 0;
    text-align:center;
}

.hero h2{
    font-size:42px;
    margin-bottom:15px;
}

.hero span{
    color:#00ffd5;
}

.hero p{
    margin-bottom:25px;
}

.btn{
    padding:12px 25px;
    border-radius:6px;
    text-decoration:none;
    display:inline-block;
}

.primary{
    background:#00ffd5;
    color:#000;
}

.secondary{
    border:2px solid #fff;
    color:#fff;
}

/* ================= PLACEMENT SECTION ================= */

.placement-new{
    background:linear-gradient(135deg,#050b18,#0d2b5b);
    color:white;
    padding:90px 0;
    text-align:center;
}

.placement-header h2{
    font-size:36px;
    margin-bottom:10px;
}

.placement-header .sub{
    font-size:18px;
    color:#00ffd5;
    margin-bottom:50px;
    font-weight:600;
}

.placement-highlights{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    margin-bottom:60px;
}

.highlight-card{
    background:rgba(255,255,255,0.08);
    padding:30px;
    border-radius:12px;
    transition:0.3s;
    backdrop-filter:blur(6px);
}

.highlight-card:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,0.15);
}

.icon{
    font-size:40px;
    margin-bottom:15px;
}

.future-tech h3{
    margin-bottom:25px;
    font-size:24px;
}

.tech-grid{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.tech{
    padding:14px 22px;
    border:2px solid #00ffd5;
    border-radius:30px;
    font-weight:600;
    transition:0.3s;
}

.tech:hover{
    background:#00ffd5;
    color:#000;
}

/* ================= COURSES (MATCHING DARK) ================= */

.courses-dark{
    background:linear-gradient(135deg,#050b18,#0d2b5b);
    color:white;
    padding:90px 0;
}

.course-header{
    text-align:center;
    margin-bottom:50px;
}

.course-header h2{
    font-size:36px;
}

.course-header p{
    color:#00ffd5;
    margin-top:10px;
}

.course-dark-list{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.course-dark-item{
    background:rgba(255,255,255,0.08);
    border-radius:14px;
    padding:28px 30px;
    backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,0.15);
    transition:0.35s;
}

.course-dark-item:hover{
    transform:translateY(-6px);
    background:rgba(255,255,255,0.14);
    box-shadow:0 0 25px rgba(0,255,213,0.25);
}

.course-dark-item h3{
    font-size:22px;
    margin-bottom:6px;
}

.course-sub{
    color:#d7e8ff;
    margin-bottom:18px;
}

/* COURSE BUTTONS */

.course-dark-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    margin-top:15px;
}
/* ===== PREMIUM COURSE BUTTONS ===== */

.cbtn{
    padding:11px 18px;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;
    color:#e8f6ff;
    border:1px solid rgba(0,255,213,0.5);
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(6px);
    transition:all 0.25s ease;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:160px;
}

/* hover glow */
.cbtn:hover{
    background:rgba(0,255,213,0.12);
    border-color:#00ffd5;
    color:#00ffd5;
    box-shadow:0 0 14px rgba(0,255,213,0.45);
    transform:translateY(-2px);
}

/* click */
.cbtn:active{
    transform:scale(0.96);
}

/* slight visual differences */
.cbtn.demo::before{
    content:"🎓";
}

.cbtn.syllabus::before{
    content:"📄";
}

.cbtn.fee::before{
    content:"";
    width:18px;
    height:18px;
    display:inline-block;
    background:url("../images/career-growth.png") no-repeat center;
    background-size:contain;
}

/* ================= MODAL POPUP ================= */

.modal{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.65);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:2000;
}

.modal-content{
    background:#ffffff;
    padding:30px;
    border-radius:10px;
    width:90%;
    max-width:420px;
    position:relative;
}

@keyframes popup{
    from{transform:scale(0.85); opacity:0;}
    to{transform:scale(1); opacity:1;}
}

.close{
    position:absolute;
    right:15px;
    top:10px;
    font-size:22px;
    cursor:pointer;
}

/* FORM INPUTS */

.modal-content input,
.modal-content textarea{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:6px;
}

/* ================= WHATSAPP CTA BUTTON ================= */

.cta-submit{
    width:100%;
    padding:16px;
    margin-top:10px;
    border:none;
    border-radius:8px;
    background:linear-gradient(135deg,#25D366,#128C7E);
    color:white;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    box-shadow:0 6px 18px rgba(0,0,0,0.25);
    transition:0.25s;
}

.cta-submit:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(37,211,102,0.5);
}

.cta-submit:active{
    transform:scale(0.97);
}

.cta-submit.loading{
    background:#888;
    pointer-events:none;
}

.trust-line{
    font-size:13px;
    color:#666;
    text-align:center;
    margin-top:6px;
}


/* CONTACT */
.contact{
    padding:70px 0;
    text-align:center;
}

.contact-form{
    max-width:500px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.contact-form input,
.contact-form textarea{
    padding:12px;
    border:1px solid #ccc;
    border-radius:5px;
}

.contact-form button{
    background:#005bea;
    color:white;
    padding:12px;
    border:none;
    border-radius:5px;
}


/* ================= FOOTER ================= */

footer{
    background:#0b1f3a;
    color:white;
    text-align:center;
    padding:15px;
}

/* ===== MOBILE BUTTON CENTER ALIGN ===== */
@media (max-width:768px){

    .course-dark-actions{
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;   /* centers buttons horizontally */
        justify-content:center;
        gap:14px;
        margin-top:18px;
    }

    .course-dark-item{
        text-align:center;  /* also center course title */
    }

    .course-dark-item h3{
        text-align:center;
    }

    .cbtn{
        width:85%;          /* makes them uniform */
        max-width:280px;    /* prevents giant buttons on tablets */
        justify-content:center;
    }
}

@media (max-width:768px){
    .cbtn{
        padding:14px 18px;
        font-size:15px;
        border-radius:10px;
    }
}