/* ===== RESET ===== */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#f9f9f9;
color:#222;
overflow-x:hidden;
}

/* ===== HEADINGS ===== */
h2{
text-align:center;
margin-bottom:30px;
font-size:32px;
font-weight:700;
}

/* ===== TOPBAR ===== */
.topbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:8px 15px;
background:#111;
color:#fff;
flex-wrap:wrap;
}

.top-right{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.top-right a,
.top-right button{
padding:6px 12px;
border:1px solid #fff;
color:#fff;
background:transparent;
border-radius:6px;
text-decoration:none;
}
/* TOPBAR FIX */
.top-right{
flex-wrap:wrap;
justify-content:center;
}

.top-right a,
.top-right button{
flex:1;
text-align:center;
min-width:90px;
}

/* ===== NAVBAR ===== */
.navbar{
background:#ffc107;
position:sticky;
top:0;
z-index:1000;
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 20px;
}

.logo img{
height:45px;
}

#menu{
display:flex;
gap:20px;
}

#menu a{
text-decoration:none;
color:#000;
font-weight:600;
}

/* MOBILE MENU */
.menu-toggle{
display:none;
font-size:24px;
cursor:pointer;
}
/* ===== NAVBAR FINAL FIX ===== */
.navbar{
background:#ffc107 !important;
}

#menu a{
color:#000 !important;
border:none !important;   /* ❌ white border hata */
}

#menu a:hover{
background:#000;
color:#fff !important;
}
/* ===== SECTION ===== */
section{
padding:60px 20px;
margin:30px auto;
max-width:1200px;
background:#fff;
border-radius:12px;
}
/* ===== SECTION BORDER BACK ===== */
section{
position:relative;
overflow:hidden;
}

section::before{
content:'';
position:absolute;
inset:0;
border-radius:12px;
padding:2px;
background:linear-gradient(90deg,#FFD700,#000,#FFD700);
background-size:300% 300%;
animation:borderMove 6s linear infinite;

-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
-webkit-mask-composite:xor;
mask-composite:exclude;
pointer-events:none;
}
/* ===== GRID ===== */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

/* ===== CARD ===== */
.card{
background:#fff;
padding:20px;
border-radius:10px;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
text-align:center;
}

/* ===== LOGO GRID ===== */
.logo-grid{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:20px;
}

.logo-grid img{
height:60px;
object-fit:contain;
}

/* ===== ABOUT SECTION ===== */
.about-flex{
display:flex;
gap:40px;
align-items:center;
}

.about-img,
.about-text{
flex:1;
}

.about-img img{
width:100%;
border-radius:10px;
}

.about-text{
line-height:1.6;
}

/* ===== FOOTER ===== */
footer{
background:#000;
color:#ffc107;
text-align:center;
padding:25px;
}

/* ===== WHATSAPP ===== */
.whatsapp-btn{
position:fixed;
bottom:20px;
right:10px;
background:#25D366;
color:#fff;
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:26px;
z-index:9999;
}

/* ===== MOBILE ===== */
@media(max-width:768px){

.top-left{
display:none;
}

.top-right{
width:100%;
justify-content:center;
}

#menu{
display:none;
flex-direction:column;
background:#ffc107;
position:absolute;
top:65px;
left:0;
width:100%;
padding:10px;
}

#menu.show{
display:flex;
}

.menu-toggle{
display:block;
}

section{
padding:40px 15px;
margin:20px auto;
}

.grid{
grid-template-columns:1fr;
}

.about-flex{
flex-direction:column;
text-align:center;
}

.logo img{
height:35px;
}

}
/* ===== REAL RESPONSIVE FIX ===== */
html, body{
width:100%;
overflow-x:hidden;
}

section{
width:95%;
max-width:1200px;
margin:30px auto;
}

/* MOBILE */
@media(max-width:768px){

section{
width:95%;
padding:30px 10px;
}

.grid{
grid-template-columns:1fr !important;
}

.about-flex{
flex-direction:column !important;
text-align:center;
}

}
/* ===== 3D HOVER EFFECT BACK 🔥 ===== */

.card{
transition: all 0.35s ease;
transform: perspective(1000px) translateY(0) scale(1);
}

.card:hover{
transform: perspective(1000px) translateY(-12px) scale(1.04) rotateX(3deg);
box-shadow: 0 25px 50px rgba(0,0,0,0.25);
background: #fffef6;
}
/* ===== 3D HOVER EFFECT BACK 🔥 ===== */

.card{
transition: all 0.35s ease;
transform: perspective(1000px) translateY(0) scale(1);
}

.card:hover{
transform: perspective(1000px) translateY(-12px) scale(1.04) rotateX(3deg);
box-shadow: 0 25px 50px rgba(0,0,0,0.25);
background: #fffef6;
}
.logo-grid img{
transition:0.3s;
}

.logo-grid img:hover{
transform:scale(1.12) rotateZ(1deg);
}
section{
transition:0.3s;
}

section:hover{
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}
/* ===== LOGO FLOAT ANIMATION BACK ===== */
.logo img{
height:45px;
animation:logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat{
0%{transform:translateY(0)}
50%{transform:translateY(-6px)}
100%{transform:translateY(0)}
}
/* ===== SLIDER HEIGHT FIX ===== */
.color-slider{
height:620px;   /* 🔥 pehle 520 tha */
}
@media(max-width:768px){
.color-slider{
height:400px;
}
}
/* ===== YELLOW CARD BACKGROUND ===== */
.services .card,
section .card{
background:#fff8cc;   /* soft yellow */
border:1px solid #ffe066;
}

/* Hover aur strong karo */
.services .card:hover,
section .card:hover{
background:#fff3a0;
}
/* ONLY THESE SECTIONS */
section:nth-of-type(3) .card,
section:nth-of-type(5) .card{
background:#fff8cc;
}
/* ===== PREMIUM TOP BUTTONS ===== */
.top-right a,
.top-right button{
position:relative;
padding:8px 16px;
border-radius:30px;
border:none;
font-size:13px;
font-weight:600;
color:#fff;
background:linear-gradient(45deg,#000,#333);
overflow:hidden;
transition:0.4s;
}

/* glow effect */
.top-right a::before,
.top-right button::before{
content:'';
position:absolute;
inset:0;
background:linear-gradient(120deg,transparent,#ffd700,transparent);
transform:translateX(-100%);
transition:0.5s;
}

.top-right a:hover::before,
.top-right button:hover::before{
transform:translateX(100%);
}

.top-right a:hover,
.top-right button:hover{
background:#ffd700;
color:#000;
box-shadow:0 0 15px #ffd700;
transform:translateY(-2px);
}
/* ===== APPLY FLOAT BUTTON ===== */
.applyblink{
position:fixed;
right:20px;
bottom:120px;
padding:12px 22px;
border-radius:30px;
background:linear-gradient(45deg,#ff0000,#ff7300);
color:#fff;
font-weight:700;
text-decoration:none;
box-shadow:0 8px 20px rgba(0,0,0,.3);
animation:pulseGlow 1.5s infinite;
transition:0.3s;
}

/* pulse animation */
@keyframes pulseGlow{
0%{box-shadow:0 0 10px #ff0000;}
50%{box-shadow:0 0 25px #ff7300;}
100%{box-shadow:0 0 10px #ff0000;}
}

.applyblink:hover{
transform:scale(1.08);
background:linear-gradient(45deg,#ff7300,#ff0000);
}
/* ===== WHATSAPP PREMIUM ===== */
.whatsapp-btn{
position:fixed;
bottom:20px;
right:15px;
width:65px;
height:65px;
background:#25D366;
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
box-shadow:0 8px 25px rgba(0,0,0,.3);
z-index:9999;
transition:0.3s;
animation:whatsappPulse 2s infinite;
}

@keyframes whatsappPulse{
0%{transform:scale(1);box-shadow:0 0 0 0 rgba(37,211,102,0.7);}
70%{transform:scale(1.08);box-shadow:0 0 0 15px rgba(37,211,102,0);}
100%{transform:scale(1);box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

.whatsapp-btn:hover{
transform:scale(1.1);
background:#20c15a;
}
/* MOBILE BUTTON FIX */
@media(max-width:768px){

.top-right{
width:100%;
justify-content:center;
gap:8px;
}

.top-right a,
.top-right button{
flex:1;
font-size:12px;
padding:8px;
text-align:center;
}

.applyblink{
right:10px;
bottom:100px;
padding:10px 15px;
font-size:12px;
}

.whatsapp-btn{
width:55px;
height:55px;
font-size:24px;
}

}
/* ===== HERO TEXT FIX ===== */
#typeText{
min-height:80px;   /* 🔥 FIX height */
display:flex;
align-items:center;
justify-content:center;
text-align:center;
}
/* HERO FIX */
.hero-text-box{
height:520px;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
gap:20px;   /* 🔥 spacing */
}
/* BUTTON FIX */
.hero-buttons{
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
min-height:50px;   /* 🔥 height lock */
}

/* PREMIUM STYLE */
.hero-buttons a{
padding:12px 28px;
border-radius:30px;
font-weight:600;
transition:0.3s;
box-shadow:0 5px 15px rgba(0,0,0,.2);
}

/* APPLY BUTTON */
.btn-apply{
background:linear-gradient(45deg,#ffcc00,#ff9900);
color:#000;
}

.btn-apply:hover{
transform:translateY(-3px);
box-shadow:0 10px 25px rgba(255,153,0,0.4);
}

/* COURSE BUTTON */
.btn-course{
background:#fff;
color:#000;
}

.btn-course:hover{
transform:translateY(-3px);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}
/* BUTTON FIX */
.hero-buttons{
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
min-height:50px;   /* 🔥 height lock */
}

/* PREMIUM STYLE */
.hero-buttons a{
padding:12px 28px;
border-radius:30px;
font-weight:600;
transition:0.3s;
box-shadow:0 5px 15px rgba(0,0,0,.2);
}

/* APPLY BUTTON */
.btn-apply{
background:linear-gradient(45deg,#ffcc00,#ff9900);
color:#000;
}

.btn-apply:hover{
transform:translateY(-3px);
box-shadow:0 10px 25px rgba(255,153,0,0.4);
}

/* COURSE BUTTON */
.btn-course{
background:#fff;
color:#000;
}

.btn-course:hover{
transform:translateY(-3px);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}
#typeText::after{
content:"|";
animation:blink 1s infinite;
}

@keyframes blink{
0%,100%{opacity:1}
50%{opacity:0}
}
#typeText{
letter-spacing:1px;
transition:0.1s;
}

/* ===== SAFE FOOTER FIX ===== */
body{
min-height:100vh;
display:block;
}

footer{
margin-top:40px;
}
main{
min-height:70vh;
}
main{
min-height:70vh;
}
#typeText{
color:#fff;
font-size:42px;
font-weight:700;
}

#typeText::after{
content:"|";
margin-left:5px;
animation:blink 1s infinite;
color:#fff;
}

@keyframes blink{
0%,100%{opacity:1}
50%{opacity:0}
}
.btn-main{
display:inline-block;
padding:10px 20px;
background:linear-gradient(145deg,#000,#222);
color:#fff;
border-radius:8px;
text-decoration:none;
font-weight:600;
letter-spacing:.5px;

/* 3D EFFECT */
box-shadow:
0 6px 0 #000,
0 10px 10px rgba(0,0,0,0.3);

transition:all 0.2s ease;
position:relative;
}

/* HOVER */
.btn-main:hover{
transform:translateY(-2px);
box-shadow:
0 8px 0 #000,
0 14px 25px rgba(0,0,0,0.4);
background:linear-gradient(145deg,#111,#333);
}

/* CLICK */
.btn-main:active{
transform:translateY(4px);
box-shadow:
0 2px 0 #000,
0 5px 10px rgba(0,0,0,0.3);
}