/* ================= ROOT COLORS ================= */
:root{
--dark:#ffffff;   /* पहले #020617 था */
--text:black;   /*  text readable */
--secondary: #f1c40f; 
}

/* ================= RESET ================= */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#ffffff;   /* पहले var(--dark) था */
color:#1a1a1a;        /* text dark कर दिया */
}

/* ================= TYPOGRAPHY ================= */
h1{
font-size:24px;
font-weight:600;
}

h2{
font-size:32px;
font-weight:600;
margin-bottom:15px;
border-bottom:2px solid var(--primary);
display:inline-block;
padding-bottom:5px;
}

h3{
font-size:20px;
font-weight:500;
}

p{
font-size:15px;
color:var(--text);
line-height:1.7;
}

/* ================= HEADER ================= */
header{
position:fixed;
top:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 60px;
background:rgba(0,0,0,0.9);
z-index:1000;
}

header h1{
color:var(--secondary);
}

nav a{
color:#fff;
margin:0 12px;
text-decoration:none;
font-size:14px;
transition:.3s;
}

nav a:hover{
color:var(--secondary);
}


/* ===== ABOUT IMAGE RESPONSIVE FIX ===== */

/* Desktop safe */
.about-img img{
width:100%;
height:auto;
display:block;
border-radius:15px;
object-fit:cover;
}

/* Mobile fix */
@media(max-width:768px){

.about-container{
flex-direction:column;
gap:20px;
}

.about-img{
width:100%;
}

.about-img img{
width:100%;
height:auto;
max-height:300px; /* control height */
object-fit:cover;
border-radius:12px;
}

/* Text alignment */
.about-content{
width:100%;
text-align:center;

}

}

/* ================= SLIDER ================= */
.slider{
width:100%;
height:70vh;
overflow:hidden;
position:relative;
}

.slides{
display:flex;
transition:transform 0.7s ease;
}

.slide{
min-width:100%;
height:70vh;
background-size:cover;
background-position:center;
position:relative;
}

.slide::after{
content:'';
position:absolute;
width:100%;
height:100%;

}

.slide-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
z-index:2;
}

.slide-content h2{
font-size:42px;
}

.slide-content p{
font-size:16px;
}

/* ================= BUTTON ================= */
.btn{
padding:10px 20px;
background:var(--primary);
color:#fff;
text-decoration:none;
border-radius:6px;
transition:.3s;
}

.btn:hover{
background:#7e22ce;
}

/* ================= DOTS ================= */
.dots{
position:absolute;
bottom:15px;
width:100%;
text-align:center;
}

.dots span{
width:10px;
height:10px;
background:#fff;
display:inline-block;
margin:5px;
border-radius:50%;
opacity:.5;
cursor:pointer;
}

.dots .active{
opacity:1;
}


/* ================= SECTION ================= */
.section{
width:95%;
max-width:1400px; /* desktop pe limit */
margin:auto;
padding:80px 20px;
text-align:center;
}
/* ================= ABOUT ================= */
.about-flex{
display:flex;
gap:40px;
align-items:center;
}

.about-text{
width:50%;
text-align:left;
}

.about-image{
width:50%;
}

.about-image img{
width:100%;
border-radius:12px;
}

/* ================= COURSES ================= */
.courses-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.course-box{
background:#1e293b;
padding:20px;
border-radius:10px;
text-align:center;
display:flex;
flex-direction:column;
align-items:center;
transition:.3s;
cursor:pointer;
}

.course-box:hover{
transform:translateY(-8px);
box-shadow:0 10px 25px rgba(0,0,0,0.5);
}

.course-box img{
width:60px;
margin-bottom:10px;
}

.course-box h3{
font-size:18px;
color:#f1c40f;
}

.course-box p{
font-size:14px;
color:white;
}

/* ================= CONTACT ================= */
.contact-container{
display:flex;
gap:30px;
}

.contact-info,
.contact-map{
width:50%;
}

.contact-map iframe{
width:100%;
height:300px;
border-radius:10px;
}

/* ================= FOOTER ================= */
footer{
background:#000;
padding:20px;
text-align:center;
font-size:13px;
color:#9ca3af;
}

/* ================= FLOAT BUTTONS ================= */
#topBtn{
position:fixed;
bottom:20px;
right:20px;
background:linear-gradient(135deg,var(--primary),#6d28d9);
color:#fff;
padding:14px;
border-radius:50%;
cursor:pointer;
box-shadow:0 5px 15px rgba(0,0,0,0.4);
display:none;
z-index:999;
}

.wa-btn{
position:fixed;
bottom:80px;
right:20px;
background:#25D366;
color:#fff;
padding:14px;
border-radius:50%;
z-index:999;
}

.call-btn{
position:fixed;
bottom:140px;
right:20px;
background:#0ea5e9;
color:#fff;
padding:14px;
border-radius:50%;
z-index:999;
}

/* ================= MOBILE ================= */
@media(max-width:768px){

header{
flex-direction:column;
padding:10px;
}


nav{
display:none;
flex-direction:column;
background:#000;
width:100%;
position:absolute;
top:60px;
left:0;
}

nav.active{
display:flex;
}

nav a{
padding:10px;
border-top:1px solid #333;
}

.slider{
height:280px;
}

.slide{
height:280px;
}

.slide-content{
width:90%;
}

.slide-content h2{
font-size:20px;
}

.slide-content p{
font-size:13px;
}



.section{
padding:40px 15px;
}

.about-flex{
flex-direction:column;
}

.about-text,
.about-image{
width:100%;
text-align:center;
}

.about-text{
margin-top:20px;
}

.courses-grid{
grid-template-columns:1fr;
}

.contact-container{
flex-direction:column;
}

.contact-info,
.contact-map{
width:100%;
}

.contact-map iframe{
height:250px;
}

#topBtn,
.wa-btn,
.call-btn{
right:10px;
}

}


/* ===== FLOATING MOBILE BAR ===== */
.mobile-bar{
display:none;
position:fixed;
bottom:0;
left:0;
width:100%;
background:#020617;
padding:8px 5px;
justify-content:space-around;
z-index:9999;
box-shadow:0 -5px 20px rgba(0,0,0,0.6);
}

.m-btn{
flex:1;
text-align:center;
color:#fff;
text-decoration:none;
font-size:12px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:3px;
padding:8px 0;
border-radius:10px;
transition:.3s;
}

.m-btn span{
font-size:18px;
}

.m-btn p{
font-size:11px;
margin:0;
}

/* COLORS */
.m-btn.whatsapp{
background:#25D366;
}

.m-btn.call{
background:#0ea5e9;
}

.m-btn.demo{
background:#9333ea;
}

/* HOVER EFFECT */
.m-btn:hover{
transform:scale(1.05);
}

/* MOBILE ONLY */
@media(max-width:768px){
.mobile-bar{
display:flex;
}
}


.floating-btns{
position:fixed;
bottom:20px;
right:20px;
display:flex;
flex-direction:column;
gap:10px;
z-index:999;
}

.float-btn{
background:#9333ea;
color:#fff;
padding:12px 15px;
border-radius:30px;
text-decoration:none;
display:flex;
align-items:center;
gap:8px;
}

.whatsapp{background:#25D366;}
.call{background:#0ea5e9;}


.contact-form{
margin-top:20px;
display:flex;
flex-direction:column;
gap:10px;
background:#1e293b;
padding:20px;
border-radius:10px;
}

.contact-form h3{
margin-bottom:10px;
color:#38bdf8;
}

.contact-form input,
.contact-form select{
padding:12px;
border:none;
border-radius:6px;
outline:none;
}

.contact-form button{
padding:12px;
background:#9333ea;
color:#fff;
border:none;
border-radius:6px;
cursor:pointer;
font-weight:600;
transition:.3s;
}

.contact-form button:hover{
background:#7e22ce;
}


/* ===== ABOUT PREMIUM ===== */
.about-section{
background:linear-gradient(145deg,#020617,#0f172a);
}
.about-section{
background:linear-gradient(145deg,#020617,#0f172a);
}
align-items:center;
gap:50px;
margin-top:40px;
}

.about-img{
width:50%;
}

.about-img img{
width:100%;
border-radius:15px;
box-shadow:0 20px 40px rgba(0,0,0,0.6);
}

.about-content{
width:50%;
text-align:left;
}

.about-content h2{
color:#38bdf8;
margin-bottom:10px;
}

.about-content p{
color:white;
margin-bottom:15px;
line-height:1.8;
}

/* points */
.about-points{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
margin-top:15px;
}

.point{
background:#1e293b;
padding:10px;
border-radius:8px;
font-size:14px;
}

/* MOBILE */
@media(max-width:768px){

.about-container{
flex-direction:column;
}

.about-img,
.about-content{
width:100%;
text-align:center;
}

.about-points{
grid-template-columns:1fr;
}

}


/* ===== CONTACT PREMIUM ===== */
.contact-section{
background:linear-gradient(145deg,#020617,#0f172a);
}

.contact-wrapper{
display:flex;
gap:40px;
margin-top:0px;
}

/* LEFT */
.contact-left{
width:50%;
background:#1e293b;
padding:25px;
border-radius:15px;
text-align:left;
}

.contact-left h3{
color:#38bdf8;
margin-bottom:10px;
}

.contact-left p{
margin-bottom:8px;
color:#cbd5f5;
}



/* RIGHT MAP */
.contact-right{
width:50%;
}

.contact-right iframe{
width:100%;
height:100%;
min-height:400px;
border-radius:15px;
}

/* MOBILE */
@media(max-width:768px){

.contact-wrapper{
flex-direction:column;
}

.contact-left,
.contact-right{
width:100%;
}

.contact-right iframe{
min-height:300px;
}

}



/* ===== PLACEMENT ===== */
.placement-section{
background:linear-gradient(145deg,#020617,#0f172a);
}

.placement-logos{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:30px;
margin:30px 0;
}

.placement-logos img{
height:40px;
filter:grayscale(100%);
opacity:.7;
transition:.3s;
}

.placement-logos img:hover{
filter:none;
opacity:1;
}

.placement-cards{
display:flex;
gap:20px;
justify-content:center;
margin-bottom:20px;
}

.placement-card{
background:#1e293b;
padding:15px;
border-radius:10px;
text-align:center;
width:200px;
}

.placement-card img{
width:80px;
height:80px;
border-radius:50%;
margin-bottom:10px;
}

/* MOBILE */
@media(max-width:768px){
.placement-cards{
flex-direction:column;
align-items:center;
}
}



/* hover effect */
.placement-logos img:hover{
filter:none;
opacity:1;
transform:scale(1.15);
}

/* MOBILE */
@media(max-width:768px){
.placement-logos img{
height:50px;
}
}


/* ===== PREMIUM PLACEMENT ===== */

.placement-sub{
color:#9ca3af;
margin-top:10px;
font-size:15px;
}

/* ===== LOGO GRID ===== */
.placement-logos{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:25px;
margin:40px 0;
}

/* GLASS CARD */
.logo-card{
background:rgb(255 255 255);
backdrop-filter:blur(10px);
padding:15px 25px;
border-radius:12px;
border:1px solid rgba(255,255,255,0.08);
transition:.3s;
}

.logo-card:hover{
transform:translateY(-5px) scale(1.05);
box-shadow:0 10px 30px rgba(147,51,234,0.3);
}

/* LOGO IMAGE */
.logo-card img{
height:60px;
max-width:120px;
object-fit:contain;
}

/* ===== STUDENTS ===== */
.placement-cards{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
margin-top:20px;
}

.placement-card{
background:linear-gradient(145deg,#1e293b,#0f172a);
padding:20px;
border-radius:15px;
width:220px;
text-align:center;
transition:.3s;
}

.placement-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,0.6);
}

/* IMAGE */
.placement-card img{
width:85px;
height:85px;
border-radius:50%;
border:3px solid #9333ea;
margin-bottom:10px;
}

/* TEXT */
.placement-card h4{
margin-bottom:5px;
}

.placement-card p{
color:#9ca3af;
font-size:14px;
}

/* CTA */
.placement-btn
{
background:#dc143c;
margin-top:25px;
display:inline-block;
padding:12px 30px;
font-size:15px;
}

/* MOBILE */
@media(max-width:768px){

.placement-logos{
gap:15px;
}

.logo-card{
padding:10px 15px;
}

.logo-card img{
height:45px;
}

.placement-cards{
flex-direction:column;
align-items:center;
}

}



/* ================= GLOBAL SPACING FIX ================= */

.section{
max-width:90%;
margin:auto;
padding:30px 30px;
}

@media(max-width:768px){
.section{
padding:50px 18px;
}
}

/* ================= HEADING BALANCE ================= */

h2{
margin-bottom:25px;
line-height:1.3;
}

/* ================= DESKTOP ALIGNMENT FIX ================= */

.about-container,
.contact-wrapper{
align-items:center;
justify-content:space-between;
}

/* ================= CARD SPACING ================= */

.courses-grid,
.placement-cards{
gap:25px;
}

.course-box,
.placement-card{
padding:25px;
}


/* ================= MOBILE FIX ================= */

@media(max-width:768px){

/* HEADER */
header{
padding:12px;
}



/* SLIDER TEXT */
.slide-content{
width:90%;
}

.slide-content h2{
font-size:20px;
line-height:1.4;
}

.slide-content p{
font-size:13px;
}


/* CARDS */
.course-box,
.placement-card{
margin-bottom:10px;
}


/* MAP */
.contact-right iframe{
height:260px;
}

}

/* ================= TABLET FIX ================= */

@media(max-width:992px){

.section{
padding:60px 25px;
}

.courses-grid{
gap:20px;
}

}


/* ================= MOBILE PERFECT FIX ================= */
@media(max-width:768px){

/* GLOBAL RESET */
body{
padding-top:70px;
}

/* HEADER FIX */
header{
flex-direction:row;
justify-content:space-between;
padding:10px 15px;
}


/* NAV */
nav{
position:absolute;
top:60px;
left:0;
width:100%;
background:#000;
display:none;
flex-direction:column;
z-index:999;
}

nav.active{
display:flex;
}

nav a{
padding:12px;
font-size:14px;
border-top:1px solid #222;
}

/* SLIDER FIX */
.slider{
height:260px;
}

.slide{
height:260px;
}

.slide-content{
width:95%;
}

.slide-content h2{
font-size:18px;
line-height:1.4;
}

.slide-content p{
font-size:12px;
}



/* SECTION SPACING */
.section{
padding:40px 15px;
}

/* ABOUT FIX */
.about-container{
flex-direction:column;
gap:20px;
}

.about-img,
.about-content{
width:100%;
text-align:center;
}

/* COURSES FIX */
.courses-grid{
grid-template-columns:1fr;
gap:15px;
}

.course-box{
padding:18px;
}


/* CONTACT FIX */
.contact-wrapper{
flex-direction:column;
gap:20px;
}

.contact-left,
.contact-right{
width:100%;
}

.contact-form input,
.contact-form select{
font-size:14px;
padding:10px;
}

.contact-right iframe{
height:240px;
}

/* FLOAT BUTTONS FIX */
.mobile-bar{
display:flex;
}

#topBtn{
bottom:80px;
right:10px;
}

/* TEXT FIX */
h2{
font-size:22px;
}

p{
font-size:14px;
line-height:1.6;
}

}


/* ===== MARQUEE ===== */
.marquee{
overflow:hidden;
position:relative;
width:100%;
margin:30px 0;
}

.marquee-track{
display:flex;
gap:30px;
width:max-content;
animation:scroll 25s linear infinite;
}

@keyframes scroll{
0%{transform:translateX(0);}
100%{transform:translateX(-50%);}
}

/* pause on hover */
.marquee:hover .marquee-track{
animation-play-state:paused;
}

/* student slower */
.student-marquee .marquee-track{
animation-duration:35s;
}

/* MOBILE SPEED FIX */
@media(max-width:768px){
.marquee-track{
animation-duration:20s;
}
}

/* ===== ABOUT SECTION FINAL FIX ===== */

.about-section{

background:rgb(220, 20, 60) !important;

/* FULL WIDTH FIX */
position:relative;
width:100%;

padding:30px 0;

/* IMPORTANT: overlay remove */
z-index:2;
}

.welcome-section{
background:#ffd100 !important;

/* FULL WIDTH FIX */
position:relative;
width:100%;

padding:30px 30px;

/* IMPORTANT: overlay remove */
z-index:2;
}


/* CONTAINER */
.about-container{
display:flex;
align-items:center;
justify-content:space-between;
gap:40px;

max-width:1500px;
margin:auto;
padding:0 20px;
}

/* IMAGE */
.about-img{
width:50%;
}

.about-img img{
width:100%;
border-radius:15px;
display:block;
}

/* TEXT */
.about-content{
width:50%;
color:white;
}

.about-content h2{
color:white !important;
margin-bottom:10px;
}

.about-content p{
color:white !important;
}

/* POINTS */
.about-points{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
margin-top:15px;
}

.point{
background:#f1c40f;
color:black;
padding:10px;
border-radius:6px;
}

/* ===== MOBILE ===== */
@media(max-width:768px){

.about-container{
flex-direction:column;
}

.about-img,
.about-content{
width:100%;
text-align:center;
}

.about-points{
grid-template-columns:1fr;
}

}


.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 20px;
    position:relative;
    z-index:1000;
}

.logo img{
    height:60px;
}






/* Default: Desktop view */
.nav-menu {
    display: block;
}

/* Mobile view */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        width: 100%;
        background: #fff;
    }

    .nav-menu.active {
        display: block;
    }
}
.menu-toggle {
    display: none;
}

/* Mobile पर दिखे */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }
}
.nav-menu {
    position: relative;
    z-index: 9999;
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu ul li {
    display: inline-block;
}

.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        background: #000;
        flex-direction: column;
        padding: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 10px;
    }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-top: 0;
    padding-top: 0;
}

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
    }
}

.nav-menu ul {
    margin: 0;
    padding: 0;
}


.logo img {
    display: block;
}





body, html {
    margin: 0;
    padding: 0;
}

.header {
    margin: 0;
    padding: 10px 15px;
}

.logo img {
    display: block;
}

* {
    box-sizing: border-box;
}

