*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Segoe UI', sans-serif;
}
 html,body{
    overflow-x: hidden;
}


/* NAVBAR TOP */
.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
    background:rgba(10,15,25,0.9);
    backdrop-filter:blur(20px);
    z-index:9999;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo{
    font-size:22px;
    font-weight:700;
    background:linear-gradient(135deg,#6a5cff,#ff4ecd);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* DRAWER (Mobile Default) */
.nav-links{
    position:fixed;
    top:0;
    right:-100%;
    height:100vh;
    width: 220px;
    background:#0b1323;
    display:flex;
    flex-direction:column;
    padding:25px 20px;
    transition:0.4s ease;
    z-index:10000;
}

.nav-links.active{
    right:0;
}

/* Drawer Header */
.drawer-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:18px;
    font-weight:600;
    color:#fff;
    margin-bottom:30px;
}

.close-btn{
    cursor:pointer;
    font-size:22px;
}

/* Menu Items */
.nav-links li{
    list-style:none;
    padding:18px 0;
    border-bottom:1px solid rgba(255,255,255,0.08);
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.nav-links li a{
    text-decoration:none;
    color:#fff;
    font-size:16px;
    font-weight:500;
    transition:0.3s;
}

.nav-links li a:hover{
    color:#ff4ecd;
}

/* Plan arrow box */
.plan-arrow{
    background:linear-gradient(135deg,#6a5cff,#ff4ecd);
    padding:6px 12px;
    border-radius:6px;
    color:#fff;
    font-weight:700;
}

/* Contact Bottom */
.drawer-contact{
    margin-top:auto;
    padding-top:30px;
    color:#ccc;
    font-size:14px;
}

.drawer-contact div{
    margin-bottom:12px;
}

.socials i{
    margin-right:15px;
    font-size:18px;
    cursor:pointer;
    transition:0.3s;
}

.socials i:hover{
    color:#ff4ecd;
}

/* Hamburger */
.menu-toggle{
    font-size:26px;
    color:#fff;
    cursor:pointer;
}

/* Desktop Account Button */
.account-btn{
    padding:10px 18px;
    border-radius:30px;
    background:linear-gradient(135deg,#6a5cff,#ff4ecd);
    color:#fff;
    text-decoration:none;
    font-size:15px;
    box-shadow:0 10px 30px rgba(106,92,255,0.4);
    transition:0.3s;
}

.account-btn:hover{
    transform:translateY(-2px);
}

/* Default Hide Mobile Account */
.mobile-account{
    display:none;
}

/* ===================== */
/* DESKTOP VERSION */
/* ===================== */

@media(min-width:769px){

    .nav-links{
        position:static;
        height:auto;
        width:auto;
        flex-direction:row;
        background:none;
        padding:0;
        gap:35px;
        align-items:center;
        right:0 !important;   /* prevent flicker */
    }

    .drawer-header,
    .drawer-contact{
        display:none;
    }

    .nav-links li{
        border:none;
        padding:0;
    }

    .menu-toggle{
        display:none;
    }

    .mobile-account{
        display:none;
    }
}

/* ===================== */
/* MOBILE VERSION */
/* ===================== */

@media(max-width:768px){

    .account-btn{
        display:flex;
        align-items:center;
        justify-content:center;
        padding:8px 14px;
        font-size:14px;
    }

    .mobile-account{
        display:flex;
    }
}

/* ================= PHOTO HERO SECTION ================= */

.photo-hero{
    width:100%;
    position:relative;
    overflow:hidden;
}

/* Image container */
.photo-container img{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
}

/* ================= MOVING INFO STRIP ================= */

.info-strip{
    position:absolute;
    bottom:0;
    width:100%;
    background:linear-gradient(45deg,#ff4b7d,#6c5ce7);
    overflow:hidden;
    white-space:nowrap;
}

/* Content inside strip */
.strip-content{
    display:inline-block;
    padding:15px 0;
    animation:scrollStrip 18s linear infinite;
}

/* Text style */
.strip-content span{
    color:#fff;
    font-size:18px;
    font-weight:600;
    margin:0 40px;
    letter-spacing:1px;
}

/* Animation for moving text */
@keyframes scrollStrip{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

.about-section{
    padding: 120px 10%;
  
    font-family: 'Poppins', sans-serif;
}

/* Small heading */
.about-text h4{
    color: #ff4f81;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Main heading */
.about-text h1{
    font-size: 58px;
    font-weight: 900;
    line-height: 1.2;
    color: #0b1c39;
    margin-bottom: 25px;
}

.about-text h1 span{
    background: linear-gradient(45deg,#ff4f81,#6a5cff);
 -webkit-background-clip: text;
    
    -webkit-text-fill-color: transparent;
}

/* Description */
.about-desc{
    font-size: 18px;
    color: #555;
    line-height: 1.9;
    max-width: 900px;
    margin-bottom: 50px;
}

/* Mission Vision cards layout */
.mission-vision{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

/* Premium cards */
.mission-vision .box{
    padding: 35px 30px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    border-top: 5px solid #6a5cff;
}

.mission-vision .box:hover{
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.mission-vision h3{
    font-size: 26px;
    margin-bottom: 15px;
    color: #0b1c39;
}

.mission-vision p{
    font-size: 17px;
    color: #666;
    line-height: 1.8;
}

/* Responsive */
@media(max-width: 900px){
    .mission-vision{
        grid-template-columns: 1fr;
    }

    .about-text h1{
        font-size: 38px;
    }
}
/* ================= PACKAGE CARD FIX ================= */

.packages{
    width: 90%;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

@media(max-width: 768px){
    .packages{
        grid-template-columns:1fr;
    }
}

/* CARD */
.package-card{
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 450px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;   /* ⭐ important */
    transition: 0.4s;
}

/* IMAGE BANNER */
.card-top{
    width: 100%;
    height: 200px;          /* same height */
    overflow: hidden;
}

.card-top img{
    width: 100%;
    height: 100%;           /* ⭐ fix */
    object-fit: cover;
    display: block;
}

/* CONTENT AREA */
.card-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

/* LEFT SIDE */
.left{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.left h3{
    font-size: 20px;        /* responsive size */
    color: #6a1b9a;
    line-height: 1.3;
}

/* BUTTON */
.enroll-btn{
    background: linear-gradient(45deg,#9c27b0,#673ab7);
    color: #fff;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    width: fit-content;
    font-weight: 500;
    font-size: 14px;
}

/* RIGHT SIDE (PRICE) */
.right{
    text-align: right;
    min-width: 100px;
}

/* PRICE */
.price{
    font-size: 20px;
    font-weight: 700;
}

/* STARS */
.stars{
    color: #f7b500;
    letter-spacing: 3px;
    font-size: 18px;
}

/* BUTTON */
.btn{
    background: linear-gradient(45deg,#9c27b0,#673ab7);
    color: #fff;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    width: fit-content;
    font-weight: 500;
}

/* RIGHT */
.right{
    text-align: right;
    min-width: 140px;
}


/* PRICE */
.price{
    font-size: 26px;
    font-weight: 700;
}

.price span{
    text-decoration: line-through;
    font-size: 14px;
    color: gray;
    margin-left: 6px;
}

/* ===== HERO SECTION ===== */

.hero{
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    border-radius: 30px;
    margin: 60px auto;
    max-width: 1200px;

    background: linear-gradient(135deg,#5f2c82,#49a09d,#f7971e);
    color: #fff;
    text-align: center;
}

/* CONTENT */
.hero-content{
    max-width: 600px;
}

/* HEADING */
.hero h1{
    font-size: 46px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
}

/* PARAGRAPH */
.hero p{
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* BUTTON AREA */
.hero-buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* PRIMARY BUTTON */
.btn-primary{
    background: #ff4f81;
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.btn-primary:hover{
    transform: translateY(-3px);
}

/* SECONDARY BUTTON */
.btn-secondary{
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.4);
    transition: 0.3s;
}

.btn-secondary:hover{
    background: rgba(255,255,255,0.35);
}

@media (max-width:600px){
    .hero{
        padding: 60px 15px;
        border-radius: 20px;
    }

    .hero h1{
        font-size: 28px;
    }

    .hero p{
        font-size: 15px;
    }

    .hero-buttons{
        flex-direction: column;
        gap: 12px;
    }
}
.courses{
    padding:80px 5%;
    background:#f6f7fb;
    font-family:Segoe UI;
    overflow:hidden;
}

/* Heading */
.courses-heading{
    text-align:center;
    margin-bottom:50px;
}
.courses-heading p{
    color:#6a5cff;
    font-weight:700;
}
.courses-heading h2{
    font-size:42px;
    font-weight:900;
}
.courses-heading span{
    background:linear-gradient(45deg,#ff4f81,#6a5cff);
    -webkit-background-clip: text;
    
    -webkit-text-fill-color:transparent;
}

/* Scroll area */
.scroll-wrapper{
    overflow:hidden;
    position:relative;
}

.scroll-track{
    display:flex;
    gap:30px;
    width:max-content;
    animation:scroll 30s linear infinite;
}

/* Card */
.course-card{
    width:260px;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    flex-shrink:0;
    display:flex;
    flex-direction:column;  /* IMAGE UP, TEXT DOWN */
}

/* Image top */
.course-card img{
    width:100%;
    height:150px;
    object-fit:cover;
}

/* Content bottom */
.course-content{
    padding:18px;
    text-align:center;
}

.course-content h3{
    margin-bottom:15px;
    font-size:18px;
}

.course-content a{
    text-decoration:none;
    background:linear-gradient(45deg,#ff4f81,#6a5cff);
    color:#fff;
    padding:10px 22px;
    border-radius:25px;
    font-size:14px;
    display:inline-block;
}

/* Smooth infinite scroll */
@keyframes scroll{
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
}

/* WHY CHOOSE SECTION */
.why-choose{
    padding:100px 6%;
    background:#ffffff;
    font-family:'Poppins',sans-serif;
    overflow:hidden;   /* ⭐ important */
}

.why-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

/* LEFT IMAGES */
.why-images{
    position:relative;
    width:45%;
    min-height:420px;
}

.why-images img{
    position:absolute;
    width:100%;              /* ⭐ 350px remove */
    max-width:350px;
    border-radius:30px;
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
    object-fit:cover;
}

.img1{
    top:0;
    left:0;
}

.img2{
    bottom:0;
    right:0;   /* ⭐ 40px remove */
}

/* RIGHT CONTENT */
.why-content{
    width:55%;
}

.tag{
    color:#6a5cff;
    font-weight:700;
    margin-bottom:10px;
}

.why-content h2{
    font-size:42px;
    font-weight:900;
    margin-bottom:30px;
}

.why-content span{
    background:linear-gradient(45deg,#ff4f81,#6a5cff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* GRID */
.why-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.why-box{
    background:#f7f8fc;
    padding:20px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

/* ================= MOBILE FIX ================= */

@media (max-width:768px){

    .why-container{
        flex-direction:column;
    }

    .why-images,
    .why-content{
        width:100%;
    }

    .why-images{
        min-height:auto;
    }

    .why-images img{
        position:relative;
        max-width:100%;
        margin-bottom:20px;
    }

    .why-grid{
        grid-template-columns:1fr;
    }
}


/* ===== Founder Premium Section ===== */

.founder-section{
    padding: 100px 8%;
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color: #fff;
}

.founder-container{
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.founder-text .tag{
    color: #38bdf8;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.founder-text h2{
    font-size: 42px;
    margin-bottom: 20px;
}

.founder-text h2 span{
    color: #38bdf8;
}

.founder-text .desc{
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 30px;
}

.stats{
    display: flex;
    gap: 40px;
}

.stats h3{
    font-size: 26px;
    color: #38bdf8;
}

.stats span{
    font-size: 14px;
    color: #94a3b8;
}

/* Card */
.founder-card{
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: 0.4s;
}

.founder-card:hover{
    transform: translateY(-8px);
}

.founder-card img{
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #38bdf8;
}

.founder-card h3{
    font-size: 24px;
    margin-bottom: 6px;
}

.founder-card span{
    color: #94a3b8;
    font-size: 14px;
}


.socials{
    margin-top: 20px;
}

.socials a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #38bdf8;
    color: #0f172a;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.socials a:hover{
    transform: scale(1.1);
}


/* Responsive */
@media(max-width:900px){
    .founder-container{
        grid-template-columns: 1fr;
        text-align: center;
    }
    .stats{
        justify-content: center;
    }
}

/* ===== Premium Compact Footer ===== */

.pro-footer{
    background: linear-gradient(135deg,#0f172a,#0b1120);
    color: #cbd5e1;
    padding: 50px 8% 20px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.footer-logo{
    width: 140px;
    margin-bottom: 15px;
}

.footer-col h4{
    color: #38bdf8;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-col p,
.footer-col a{
    font-size: 14px;
    line-height: 1.8;
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.footer-col a:hover{
    color: #38bdf8;
}

.footer-socials{
    margin-top: 12px;
}

.footer-socials a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 8px;
    border-radius: 50%;
    background: #38bdf8;
    color: #0f172a;
    font-size: 16px;
    transition: 0.3s;
}

.footer-socials a:hover{
    transform: scale(1.1);
}

.footer-bottom{
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: #94a3b8;
}

/* ========== GLOBAL SMOOTHNESS ========== */
html{
  scroll-behavior: smooth;
}

body{
  overflow-x: hidden;
}

/* ========== SCROLL REVEAL ========== */
.reveal{
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(.17,.67,.83,.67);
  
}

.reveal.active{
  opacity: 1;
  transform: translateY(0);
}

/* ========== FLOATING BACKGROUND EFFECT ========== */
.floating-bg{
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.floating-bg::before{
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    top: -200px;
    left: -200px;
    animation: floatMove 12s infinite linear;

    z-index: -1;          /* MOST IMPORTANT */
    pointer-events: none; /* click block na kare */
}

@keyframes floatMove{
  0%{ transform: translate(0,0); }
  50%{ transform: translate(80px,120px); }
  100%{ transform: translate(0,0); }
}

/* ========== CARD HOVER LIFT ========== */
.card, .course-card, .box{
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover, .course-card:hover, .box:hover{
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* ========== BUTTON SHINE EFFECT ========== */
button, .btn{
  position: relative;
  overflow: hidden;
}

button::after, .btn::after{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-25deg);
}

button:hover::after, .btn:hover::after{
  animation: shine 0.8s;
}

@keyframes shine{
  100%{ left: 150%; }
}

/* ========== NUMBER COUNTER STYLE ========== */
.counter{
  font-weight: 800;
  font-size: 42px;
}

@media (max-width:768px){

    .why-container{
        flex-direction: column;
    }

    .why-images{
        width:100%;
    }

    .why-content{
        width:100%;
    }

}

@media (max-width:768px){

    .why-container{
        flex-direction: column;
        gap: 30px; /* 60px mat rakho mobile me */
    }

    .why-images,
    .why-content{
        width:100% !important;
    }

    body{
        overflow-x:hidden;
    }

}

@media (max-width:768px){

    .why-images img{
        position:relative;
        width:100%;
    }

}

@media (max-width:768px){

    .why-container{
        flex-direction:column;
        gap:40px;
    }

    .why-images{
        width:100%;
        min-height:auto;
    }

    .why-images img{
        position:relative;
        width:100%;
        right:0;
        left:0;
        margin-bottom:20px;
    }

    .why-content{
        width:100%;
    }

}




/* ===== MASTER RESPONSIVE FIX FOR ALL PAGES ===== */

@media (max-width: 1100px){
    .features{grid-template-columns:repeat(2,1fr);}
    .test-grid{grid-template-columns:1fr 1fr;}
    .footer-container{grid-template-columns:1fr 1fr;}
}

@media (max-width: 800px){
    .ceo-card{flex-direction:column;text-align:center;}
    .founder-container{grid-template-columns:1fr;text-align:center;}
    .stats{justify-content:center;flex-wrap:wrap;}
    .features{grid-template-columns:1fr;}
    .test-grid{grid-template-columns:1fr;}
    .footer-container{grid-template-columns:1fr;}
    .section{padding:60px 6%;}
}

@media (max-width: 500px){
    h2{font-size:26px !important;}
    .section{padding:45px 5%;}
}
