:root{
    --dark:#0b1026;
    --card:rgba(255,255,255,0.06);
    --gold:#ffb300;
    --orange:#ff9800;
    --red:#c62828;
    --muted:#cfd8dc;
}

body{
    font-family:'Poppins',sans-serif;
    background:
        radial-gradient(circle at top right, rgba(255,179,0,0.35), transparent 45%),
        radial-gradient(circle at bottom left, rgba(198,40,40,0.35), transparent 50%),
        #0b1026;
    color:#fff;
    overflow-x:hidden;
}

/* ========== TOP BAR ========== */
.top-bar{
    background:#060a1a;
    font-size:13px;
}

.top-bar .container{
    flex-wrap: wrap;          /* ✅ allow wrapping */
}

.top-bar a{
    color:var(--muted);
    text-decoration:none;
    margin-right:10px;
    white-space: nowrap;      /* keep icons + text together */
}
.top-bar i{color:var(--gold);}
.social-icons a{
    color:#fff;
    margin-left:12px;
}
.social-icons a:hover{color:var(--gold);}

/* ========== NAVBAR ========== */
.navbar{transition:.3s;}
.navbar.scrolled{
    background:rgba(11,16,38,0.95);
    backdrop-filter:blur(10px);
}

.nav-link{color:#fff!important;font-weight:500;}
.btn-enroll{
    background:linear-gradient(45deg,var(--orange),#ff5722);
    border-radius:30px;
    padding:8px 22px;
    color:#fff;
    font-weight:600;
    animation:breathe 3.5s ease-in-out infinite;
}

/* ========== HERO ========== */
.hero{
    position: relative;
    background:
        linear-gradient(to right, rgba(11, 16, 38, 0.92) 0%, rgb(0 0 0 / 70%) 40%, rgb(0 0 0 / 0%) 100%), url(assets/images/hero-bg-glow.jpg) center right / cover no-repeat;
	padding-top: 50px;
}

.hero h1{font-size:44px;font-weight:700;}
.hero h1 span{color:var(--gold);}
.hero p{color:var(--muted);}
.hero-btn{
    background:linear-gradient(45deg,var(--orange),#ff5722);
    border-radius:30px;
    padding:12px 36px;
    color:#fff;
    font-weight:600;
    animation:breathe 3.5s ease-in-out infinite;
}

/* Glow trail */
/* ===== HERO IMAGE BLENDING FIX ===== */


/* Actual image */
.hero-image{
    position:relative;
    z-index:3;
    max-width:90%;
}

/* ===== COURSE BOX – LEFT ICON LAYOUT ===== */
.course-box{
    position: relative;
    height: 100%;
    padding: 26px 24px 26px 24px;
    border-radius: 14px;
    background: linear-gradient(
        180deg,
        rgba(10,15,40,0.85),
        rgba(10,15,40,0.65)
    );
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all .45s ease;
    overflow: hidden;
}

/* glow border */
.course-box::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:14px;
    padding:1px;
    background: linear-gradient(
        135deg,
        rgba(255,180,80,.6),
        rgba(255,80,0,.4),
        rgba(255,180,80,.6)
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity:.55;
    pointer-events:none;
}

.course-box:hover{
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(255,140,0,.35);
}

/* ICON LEFT */
.course-box i{
    flex-shrink:0;
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    font-size:22px;
    color:#ffcc80;
    background: linear-gradient(
        135deg,
        rgba(255,180,80,.35),
        rgba(255,80,0,.35)
    );
    box-shadow: 0 0 18px rgba(255,140,0,.55);
}

/* TEXT BLOCK */
.course-box h5{
    font-weight:600;
    margin-bottom:4px;
}

.course-box p{
    font-size:14px;
    color:#cfd8dc;
    margin-bottom:0;
}


/* ========== CARDS ========== */
.why-box{
    background:var(--card);
    border:1px solid rgba(255,179,0,0.15);
    border-radius:14px;
    padding:25px;
    transition:.4s;
}
.why-box:hover{
    transform:translateY(-12px) scale(1.02);
    box-shadow:0 0 35px rgba(255,179,0,0.35);
}
.course-box i,.why-icon{
    font-size:34px;
    color:var(--gold);
    margin-bottom:12px;
}

/* ========== PREPARE SECTION ========== */
.prepare{
    background:linear-gradient(180deg,#b71c1c,#7f0000);
    border-radius:18px;
    padding:50px;
    background-size:200% 200%;
    animation:bgMove 10s ease infinite;
}
.prepare ul li{
    list-style:none;
    margin-bottom:8px;
}
.prepare ul li i{color:var(--gold);}

/* ========== FORM ========== */
.demo-box{
    background:#9c1b1b;
    border-radius:14px;
    padding:25px;
}
.demo-box .form-control{border:none;font-size:14px;}
.demo-box button{
    background:linear-gradient(45deg,var(--orange),#ff5722);
    border:none;
    color:#fff;
    font-weight:600;
}

/* ========== RESULTS ========== */
.result-box h2{color:var(--gold);font-weight:700;}
.result-box p{color:var(--muted);}

/* ========== FOOTER ========== */
footer{
    border-top:1px solid rgba(255,255,255,0.1);
    padding:50px 0;
    color:var(--muted);
}
footer a{color:var(--muted);text-decoration:none;}
footer a:hover{color:var(--gold);}

/* ========== ANIMATIONS ========== */
@keyframes floatY{
    0%{transform:translateY(0)}
    50%{transform:translateY(-14px)}
    100%{transform:translateY(0)}
}
@keyframes pulseGlow{
    0%,100%{opacity:.5;transform:scale(1)}
    50%{opacity:.9;transform:scale(1.1)}
}
@keyframes breathe{
    0%,100%{box-shadow:0 0 18px rgba(255,152,0,.35)}
    50%{box-shadow:0 0 38px rgba(255,152,0,.7)}
}
@keyframes bgMove{
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

@media(max-width:768px){
    .hero{text-align:center;}
    .hero h1{font-size:32px;}
}

@media (max-width: 768px){
    .hero{
        padding:90px 0 70px; /* MOBILE spacing */
        text-align:center;
    }

    .hero h1{
        font-size:32px;
    }

    .hero-image{
        margin-top:30px;
        max-width:85%;
    }
}

@media (max-width: 768px){
    .navbar-brand img {
    padding-top: 20px;
    height: 70px !important;
}    
    .navbar{
        padding-top: 1.5rem; /* same as pt-4 */
    }
	
    .navbar-collapse{
        background: rgba(11,16,38,0.98);
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
    }

    .navbar-nav .nav-item{
        margin-bottom: 10px;
    }
}
@media (max-width: 768px){
    .navbar .btn-enroll{
        margin-left:0px!important;
    }
}
@media (max-width: 768px){
    .top-bar .container{
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .social-icons{
        align-self: flex-end;
    }

    /* optional: hide email on very small screens */
    
}

.hero-glow-wrap{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ORANGE GLOW */
.hero-glow-wrap::before{
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle,
        rgba(255,165,0,0.45),
        rgba(255,165,0,0.15) 45%,
        transparent 70%);
    filter: blur(90px);
    z-index: 1;
    animation: glowPulse 6s ease-in-out infinite;
}

/* DIAGONAL LIGHT STREAK */
.hero-glow-wrap::after{
    content:'';
    position:absolute;
    width: 140%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,200,120,0.8),
        transparent
    );
    transform: rotate(-18deg);
    opacity: 0.8;
    z-index: 2;
}

/* IMAGE */
.hero-image{
    position: relative;
    z-index: 3;
    max-width: 90%;
    
}

/* GLOW ANIMATION */
@keyframes glowPulse{
    0%,100%{opacity:.6; transform: scale(1)}
    50%{opacity:1; transform: scale(1.08)}
}
/* PARTICLE LAYER */
.hero-particles{
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    overflow:hidden;
}

/* Individual particles */
.hero-particles span{
    position:absolute;
    width:3px;
    height:3px;
    background:rgba(255,200,120,0.9);
    border-radius:50%;
    animation: particleFloat linear infinite;
    opacity:0.6;
}

/* Generate particles */
.hero-particles span:nth-child(1){left:10%; top:80%; animation-duration:18s;}
.hero-particles span:nth-child(2){left:25%; top:60%; animation-duration:22s;}
.hero-particles span:nth-child(3){left:40%; top:90%; animation-duration:20s;}
.hero-particles span:nth-child(4){left:55%; top:70%; animation-duration:26s;}
.hero-particles span:nth-child(5){left:70%; top:85%; animation-duration:24s;}
.hero-particles span:nth-child(6){left:85%; top:65%; animation-duration:30s;}
.hero-particles span:nth-child(7){left:15%; top:95%; animation-duration:28s;}
.hero-particles span:nth-child(8){left:50%; top:88%; animation-duration:34s;}
.hero-particles span:nth-child(9){left:78%; top:92%; animation-duration:36s;}

/* Floating motion */
@keyframes particleFloat{
    0%{
        transform: translateY(0) scale(1);
        opacity:0;
    }
    20%{opacity:0.6;}
    100%{
        transform: translateY(-280px) scale(1.4);
        opacity:0;
    }
}

.hero-visual{
    position:relative;
}

/* Golden-blue glow halo */
.hero-glow{
    position:absolute;
    width:420px;
    height:420px;
    background:
        radial-gradient(circle,
            rgba(255,180,80,0.35),
            rgba(255,120,0,0.25),
            transparent 65%);
    filter:blur(110px);
    right:0;
    top:50%;
    transform:translateY(-50%);
    animation: glowPulse 8s ease-in-out infinite;
    z-index:1;
}

.hero-stars{
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:2;
}

.hero-stars span{
    position:absolute;
    width:2px;
    height:2px;
    background:#ffd28a;
    border-radius:50%;
    opacity:.7;
    animation: starTwinkle ease-in-out infinite;
}

/* Star positions */
.hero-stars span:nth-child(1){top:20%;left:25%;animation-duration:3s;}
.hero-stars span:nth-child(2){top:40%;left:60%;animation-duration:4s;}
.hero-stars span:nth-child(3){top:55%;left:35%;animation-duration:5s;}
.hero-stars span:nth-child(4){top:65%;left:70%;animation-duration:3.5s;}
.hero-stars span:nth-child(5){top:30%;left:80%;animation-duration:4.5s;}
.hero-stars span:nth-child(6){top:75%;left:45%;animation-duration:6s;}
.hero-stars span:nth-child(7){top:15%;left:50%;animation-duration:5.5s;}
.hero-stars span:nth-child(8){top:85%;left:65%;animation-duration:7s;}
.hero-stars span:nth-child(9){top:50%;left:15%;animation-duration:6.5s;}
.hero-stars span:nth-child(10){top:10%;left:70%;animation-duration:4.8s;}
.hero-stars span:nth-child(11){top:90%;left:30%;animation-duration:8s;}
.hero-stars span:nth-child(12){top:35%;left:45%;animation-duration:5.2s;}

@keyframes glowPulse{
    0%,100%{opacity:.5;transform:translateY(-50%) scale(1)}
    50%{opacity:.9;transform:translateY(-50%) scale(1.1)}
}

@keyframes starTwinkle{
    0%{opacity:.2;transform:scale(.6)}
    50%{opacity:1;transform:scale(1.2)}
    100%{opacity:.2;transform:scale(.6)}
}

.navbar-brand img {
   height: 90px;
}   

/* HORIZONTAL COURSE BOX */
.course-box-horizontal{
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.06),
        rgba(255,255,255,0.02)
    );
    border: 1px solid rgba(255,180,80,0.25);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 15px 35px rgba(0,0,0,0.35);
    transition: all .35s ease;
    height: 100%;
}

/* Hover effect */
.course-box-horizontal:hover{
    transform: translateY(-8px);
    box-shadow:
        0 0 35px rgba(255,180,80,0.35),
        0 18px 45px rgba(0,0,0,0.5);
}

/* ICON BOX */
.course-icon{
    min-width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(45deg,#ff9800,#ff5722);
    box-shadow: 0 0 25px rgba(255,152,0,0.55);
    font-size: 24px;
    color: #fff;
}

/* TEXT */
.course-content h5{
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
}

.course-content p{
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

/* MOBILE STACK */
@media (max-width:768px){
    .course-box-horizontal{
        flex-direction: column;
        text-align: center;
    }
}
.courses-overlap{
    position: relative;
    z-index: 10;
    transform: translateY(3px);
}

/* ================= WHAT'S NEW PANEL ================= */

.whats-new-card{
    background: linear-gradient(
        180deg,
        rgba(10,15,40,0.92),
        rgba(10,15,40,0.75)
    );
    border-radius: 14px;
    border: 1px solid rgba(255,180,80,0.25);
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    padding: 18px 18px 10px;
    max-width: 420px;
    margin-left: auto;
    position: relative;
    overflow: hidden;
}

/* Title */
.whats-new-title{
    background: linear-gradient(45deg,var(--orange),#ff5722);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* Scroll area */
.whats-new-wrapper{
    height: 260px;
    overflow: hidden;
    position: relative;
}

/* Animated list */
.whats-new-scroll{
    list-style: none;
    padding: 0;
    margin: 0;
    animation: scrollUp 18s linear infinite;
}

.whats-new-scroll li{
    padding: 10px 0;
    font-size: 14px;
    color: #e3f2fd;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    text-align: left;
}

/* Hover pause */
.whats-new-wrapper:hover .whats-new-scroll{
    animation-play-state: paused;
}

/* Scroll animation */
@keyframes scrollUp{
    0%{ transform: translateY(100%); }
    100%{ transform: translateY(-100%); }
}

/* Mobile */
@media (max-width:768px){
    .whats-new-card{
        margin: 30px auto 0;
        max-width: 100%;
    }
}

