body{
margin:0;
font-family:'Poppins',sans-serif;
}

/* HERO */

.hero{
height:100vh;
background:url('https://images.unsplash.com/photo-1509062522246-3755977927d7') center/cover;
position:relative;
display:flex;
align-items:center;
justify-content:center;
color:white;
text-align:center;
}

.hero-overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
}

.hero-content{
position:relative;
}

.hero-btn{
padding:12px 30px;
background:#0072ff;
color:white;
text-decoration:none;
border-radius:30px;
}

/* ABOUT */

.about{
display:flex;
padding:80px 10%;
gap:50px;
align-items:center;
}

.about img{
width:100%;
border-radius:15px;
}

/* INSTITUTES */

.institutes{
padding:80px 10%;
text-align:center;
background:#f4f7fb;
}

.card-grid{
display:flex;
gap:30px;
}

.inst-card{
background:white;
border-radius:15px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
transition:.4s;
flex:1;
}

.inst-card:hover{
transform:translateY(-10px);
}

.inst-card img{
width:100%;
height:220px;
object-fit:cover;
}

.inst-card a{
display:inline-block;
margin:20px;
background:#0072ff;
color:white;
padding:10px 20px;
border-radius:20px;
text-decoration:none;
}

/* COUNTER */

.counter{
display:flex;
justify-content:space-around;
padding:60px;
background:#0072ff;
color:white;
text-align:center;
}

/* CTA */

.cta{
text-align:center;
padding:70px;
background:#111;
color:white;
}

.cta a{
background:#0072ff;
padding:12px 25px;
border-radius:25px;
color:white;
text-decoration:none;
}

/* FOOTER */

.footer{
display:flex;
justify-content:space-around;
padding:40px;
background:#222;
color:white;
}

/* MOBILE */

@media(max-width:900px){

.about{
flex-direction:column;
}

.card-grid{
flex-direction:column;
}

.counter{
flex-direction:column;
gap:30px;
}

.footer{
flex-direction:column;
gap:20px;
text-align:center;
}

}
.about-section{
padding:100px 8%;
background:linear-gradient(to right,#f7fbff,#eef5ff);
text-align:center;
}

.about-title{
font-size:42px;
font-weight:700;
margin-bottom:15px;
}

.about-desc{
max-width:800px;
margin:auto;
color:#666;
margin-bottom:50px;
line-height:1.7;
}

.about-cards{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.about-card{
background:white;
padding:35px 25px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
transition:.4s;
position:relative;
overflow:hidden;
}

.about-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 60px rgba(0,0,0,0.15);
}

.about-card::before{
content:"";
position:absolute;
width:100%;
height:5px;
background:#0072ff;
left:0;
top:0;
}

.icon{
font-size:40px;
margin-bottom:15px;
}

.about-card h3{
margin-bottom:10px;
}

.about-card p{
color:#777;
font-size:14px;
line-height:1.6;
}

.about-btn{
display:inline-block;
margin-top:40px;
background:#0072ff;
color:white;
padding:14px 35px;
border-radius:30px;
text-decoration:none;
font-weight:500;
transition:.3s;
}

.about-btn:hover{
background:#0057c2;
}

/* MOBILE */

@media(max-width:1000px){
.about-cards{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:600px){
.about-cards{
grid-template-columns:1fr;
}
.about-title{
font-size:28px;
}
}
.hero{
height:90vh;
min-height:600px;
width:100%;
position:relative;
background-size:cover;
background-position:center;
display:flex;
align-items:center;
justify-content:center;
margin-top:80px;
overflow:hidden;
}

.hero::before{
content:"";
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
top:0;
left:0;
}

.hero-content{
position:relative;
z-index:2;
color:white;
text-align:center;
max-width:700px;
padding:20px;
}

.hero-content h1{
font-size:52px;
font-weight:700;
margin-bottom:15px;
}

.hero-content p{
font-size:20px;
margin-bottom:25px;
}

.hero-btn{
background:#0072ff;
padding:14px 35px;
border-radius:30px;
color:white;
text-decoration:none;
font-weight:500;
}

/* MOBILE FIX */

@media(max-width:768px){

.hero{
height:85vh;
min-height:500px;
margin-top:70px;
}

.hero-content h1{
font-size:32px;
}

.hero-content p{
font-size:16px;
}

}
.institute-select{
padding:60px 8%;
text-align:center;
background:#f4f7fb;
}

.small-title{
color:#0072ff;
letter-spacing:2px;
margin-bottom:30px;
font-weight:600;
}

.select-wrapper{
display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
}

.select-btn{
display:flex;
align-items:center;
gap:12px;
padding:18px 35px;
border-radius:40px;
color:white;
text-decoration:none;
font-size:18px;
font-weight:500;
transition:.3s;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.select-btn span{
font-size:24px;
}

/* DIFFERENT COLORS */

.nursing{
background:linear-gradient(45deg,#0072ff,#00c6ff);
}

.pharmacy{
background:linear-gradient(45deg,#ff7b00,#ffb347);
}

.ayurvedic{
background:linear-gradient(45deg,#1db954,#4cd137);
}

.select-btn:hover{
transform:translateY(-6px);
box-shadow:0 20px 40px rgba(0,0,0,0.2);
}

/* MOBILE */

@media(max-width:768px){
.select-wrapper{
flex-direction:column;
align-items:center;
}
}
/* ===== INSTITUTE SELECT SECTION ===== */

.institute-select{
padding:80px 8%;
background:linear-gradient(to bottom,#f7faff,#eef4ff);
text-align:center;
}

.small-title{
font-size:18px;
letter-spacing:3px;
color:#0072ff;
margin-bottom:40px;
font-weight:600;
}

/* BUTTON WRAPPER */

.select-wrapper{
display:flex;
justify-content:center;
gap:40px;
flex-wrap:wrap;
}

/* COMMON BUTTON */

.select-btn{
width:260px;
height:80px;
display:flex;
align-items:center;
justify-content:center;
gap:12px;
border-radius:60px;
color:white;
text-decoration:none;
font-size:20px;
font-weight:600;
transition:0.4s;
box-shadow:0 15px 35px rgba(0,0,0,0.15);
position:relative;
overflow:hidden;
}

/* ICON */

.select-btn span{
font-size:28px;
}

/* NURSING */

.nursing{
background:linear-gradient(45deg,#0072ff,#00c6ff);
}

/* PHARMACY */

.pharmacy{
background:linear-gradient(45deg,#ff7b00,#ffb347);
}

/* AYURVEDIC */

.ayurvedic{
background:linear-gradient(45deg,#1db954,#4cd137);
}

/* HOVER EFFECT */

.select-btn:hover{
transform:translateY(-10px) scale(1.05);
box-shadow:0 25px 60px rgba(0,0,0,0.25);
}

/* SHINE ANIMATION */

.select-btn::before{
content:"";
position:absolute;
width:100%;
height:100%;
background:rgba(255,255,255,0.2);
top:-100%;
left:0;
transition:.5s;
}

.select-btn:hover::before{
top:0;
}

/* MOBILE */

@media(max-width:768px){

.select-wrapper{
flex-direction:column;
align-items:center;
gap:25px;
}

.select-btn{
width:90%;
height:70px;
font-size:18px;
}

}
.select-btn{
width:200px;        /* before 260px */
height:40px;        /* before 80px */
display:flex;
align-items:center;
justify-content:center;
gap:10px;
border-radius:50px;
color:white;
text-decoration:none;
font-size:16px;     /* before 20px */
font-weight:600;
transition:0.4s;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
position:relative;
overflow:hidden;
}
.small-title{
font-size:20px;          /* BIG SIZE */
font-weight:800;
letter-spacing:5px;
color:#0d6efd;
text-align:center;
margin-bottom:60px;
text-transform:uppercase;
position:relative;
}
.small-title::after{
content:"";
width:120px;
height:5px;
background:linear-gradient(to right,#0072ff,#00c6ff);
display:block;
margin:15px auto 0;
border-radius:10px;
}
.small-title{
font-size:50px;
font-weight:900;
letter-spacing:6px;
color:#0d6efd;
text-align:center;
margin-bottom:70px;
text-transform:uppercase;
}
.small-title{
font-size:28px;        /* reduced */
font-weight:700;
letter-spacing:3px;
color:#0d6efd;
text-align:center;
margin-bottom:40px;
text-transform:uppercase;
}

.small-title::after{
content:"";
width:70px;
height:4px;
background:#0d6efd;
display:block;
margin:12px auto 0;
border-radius:5px;
}
.select-btn{
width:160px;        /* reduced */
height:40px;
font-size:18px;
border-radius:40px;
box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.select-btn span{
font-size:18px;
}

.select-wrapper{
gap:20px;           /* less gap */
}
.select-btn span{
font-size:28px;   /* increase icon size */
display:flex;
align-items:center;
justify-content:center;
}
/* ===== INSTITUTE BUTTON SECTION ===== */

.institute-select{
padding:30px 8% 10px;   /* TOP RIGHT-LEFT BOTTOM */
background:linear-gradient(to bottom,#f7faff,#eef4ff);
text-align:center;
}

/* REMOVE EXTRA SPACE BELOW BUTTONS */

.select-wrapper{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
margin-bottom:0;
}


/* ===== ABOUT / NEXT SECTION ===== */

.about-section{
padding:20px 8% 80px;   /* TOP SPACE REDUCED */
text-align:center;
}

/* HEADING SPACE CONTROL */

.about-section h2{
margin-top:0;
margin-bottom:15px;
font-size:40px;
font-weight:800;
}

/* PARAGRAPH SPACE */

.about-section p{
margin-top:0;
line-height:1.7;
color:#666;
max-width:800px;
margin-left:auto;
margin-right:auto;
}
/* BUTTON SECTION BOTTOM SPACE */

.institute-select{
padding:25px 8% 5px;   /* very small bottom gap */
}

/* REMOVE EXTRA GAP BELOW BUTTONS */

.select-wrapper{
margin-bottom:5px;
}

/* NEXT SECTION TOP SPACE */

.about-section{
padding-top:10px;   /* very small gap */
}
.about-section h2{
margin-top:5px;
}
/* INSTITUTE BUTTON SECTION */

.institute-select{
padding:40px 8% 40px;   /* bottom gap increased */
}

/* NEXT SECTION */

.about-section{
padding-top:40px;   /* space above heading */
}
.institutes-section{
padding:70px 8%;
background:#f5f7fb;
text-align:center;
}

.section-title{
font-size:34px;
font-weight:700;
margin-bottom:10px;
}

.section-subtitle{
color:#666;
margin-bottom:40px;
}

.institutes-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.institute-card{
background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:.4s;
}

.institute-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.card-img{
width:100%;
height:220px;
object-fit:cover;
}

.card-body{
padding:25px;
text-align:left;
}

.card-body h3{
margin-bottom:15px;
}

.course-list{
list-style:none;
padding:0;
margin-bottom:20px;
}

.course-list li{
margin-bottom:8px;
font-size:15px;
}

.btn{
display:inline-block;
padding:10px 22px;
border-radius:25px;
color:#fff;
text-decoration:none;
font-size:14px;
}

/* Different Colors */

.nursing-btn{ background:#0d6efd; }
.pharmacy-btn{ background:#ff8800; }
.ayur-btn{ background:#28a745; }
.course-btn{
background:#ff9800;
border:none;
padding:10px 18px;
color:white;
border-radius:25px;
cursor:pointer;
margin:10px 5px;
font-size:14px;
}

.explore-btn{
background:#0d6efd;
padding:10px 18px;
color:white;
border-radius:25px;
text-decoration:none;
font-size:14px;
}

.popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:none;
justify-content:center;
align-items:center;
z-index:999;
}

.popup-content{
background:white;
padding:30px;
border-radius:12px;
width:350px;
text-align:center;
animation:popupShow .4s;
}

@keyframes popupShow{
from{transform:scale(.7);opacity:0;}
to{transform:scale(1);opacity:1;}
}

.close{
float:right;
font-size:28px;
cursor:pointer;
}

#courseList{
list-style:none;
padding:0;
margin-top:20px;
}

#courseList li{
padding:8px;
border-bottom:1px solid #eee;
}
/* ===== POPUP BACKGROUND ===== */
.popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:none;
justify-content:center;
align-items:center;
z-index:9999;
backdrop-filter:blur(4px);
}

/* ===== POPUP BOX ===== */
.popup-content{
background:#fff;
width:400px;
max-width:90%;
padding:35px 30px;
border-radius:16px;
text-align:center;
position:relative;
box-shadow:0 20px 60px rgba(0,0,0,0.3);
animation:popupFade .35s ease;
}

/* Animation */
@keyframes popupFade{
from{
transform:translateY(40px) scale(.9);
opacity:0;
}
to{
transform:translateY(0) scale(1);
opacity:1;
}
}

/* Title */
.popup-content h2{
font-size:32px;
margin-bottom:20px;
font-weight:700;
color:#0d6efd;
}

/* Course List */
#courseList{
list-style:none;
padding:0;
margin:0;
}

#courseList li{
padding:12px;
border-bottom:1px solid #eee;
font-size:16px;
font-weight:500;
transition:.3s;
}

#courseList li:hover{
background:#f4f7ff;
padding-left:18px;
color:#0d6efd;
}

/* Close Button */
.close{
position:absolute;
top:12px;
right:18px;
font-size:28px;
cursor:pointer;
font-weight:bold;
color:#444;
transition:.3s;
}

.close:hover{
color:red;
transform:rotate(90deg);
}
.institutes{
padding:80px 8%;
background:linear-gradient(to right,#eef2f7,#dde6f3);
text-align:center;
}

.section-title{
font-size:40px;
font-weight:700;
margin-bottom:50px;
color:#111;
}

/* GRID */
.card-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:35px;
}

/* CARD */
.inst-card{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
transition:.4s;
position:relative;
}

.inst-card:hover{
transform:translateY(-12px);
box-shadow:0 25px 50px rgba(0,0,0,0.18);
}

/* IMAGE */
.inst-img{
overflow:hidden;
}

.inst-img img{
width:100%;
height:210px;
object-fit:cover;
transition:.6s;
}

.inst-card:hover img{
transform:scale(1.1);
}

/* CONTENT */
.inst-content{
padding:22px;
}

.inst-content h3{
font-size:22px;
font-weight:700;
margin-bottom:8px;
color:#222;
}

.inst-content p{
font-size:15px;
color:#666;
margin-bottom:20px;
}

/* BUTTON */
.view-btn{
background:linear-gradient(45deg,#ff9800,#ffb74d);
border:none;
padding:12px 28px;
border-radius:40px;
font-size:15px;
font-weight:600;
color:#fff;
cursor:pointer;
transition:.35s;
box-shadow:0 6px 15px rgba(255,152,0,.4);
}

.view-btn:hover{
background:linear-gradient(45deg,#0d6efd,#3fa2ff);
transform:scale(1.07);
box-shadow:0 10px 25px rgba(13,110,253,.5);
}
.institutes{
padding:90px 8%;
background:linear-gradient(to right,#eef3f9,#dde7f6);
text-align:center;
}

.section-title{
font-size:42px;
font-weight:700;
margin-bottom:10px;
}

.section-subtitle{
color:#666;
margin-bottom:55px;
}

.card-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:40px;
}

/* CARD */
.inst-card{
background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 12px 35px rgba(0,0,0,0.08);
transition:.4s;
position:relative;
}

.inst-card:hover{
transform:translateY(-15px);
box-shadow:0 30px 60px rgba(0,0,0,0.18);
}

/* TOP COLOR STRIP */
.top-strip{
height:6px;
width:100%;
}

.nursing .top-strip{background:#0d6efd;}
.pharmacy .top-strip{background:#ff9800;}
.ayur .top-strip{background:#28a745;}

/* IMAGE */
.inst-img{
height:210px;
overflow:hidden;
}

.inst-img img{
width:100%;
height:100%;
object-fit:cover;
transition:.6s;
}

.inst-card:hover img{
transform:scale(1.1);
}

/* BODY */
.inst-body{
padding:25px;
}

.inst-body h3{
font-size:22px;
margin-bottom:15px;
font-weight:700;
}

/* COURSE TAGS */
.course-tags{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:8px;
margin-bottom:22px;
}

.course-tags span{
background:#f1f4f9;
padding:6px 14px;
border-radius:20px;
font-size:13px;
font-weight:600;
}

/* BUTTON */
.view-btn{
background:linear-gradient(45deg,#0d6efd,#3fa2ff);
border:none;
padding:12px 28px;
border-radius:30px;
color:#fff;
font-weight:600;
cursor:pointer;
transition:.3s;
}

.pharmacy .view-btn{
background:linear-gradient(45deg,#ff9800,#ffb74d);
}

.ayur .view-btn{
background:linear-gradient(45deg,#28a745,#4cd964);
}

.view-btn:hover{
transform:scale(1.08);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}
.institutes{
padding:80px 20px;
background:linear-gradient(to right,#eef2f7,#d9e2ec);
text-align:center;
}

.section-title{
font-size:40px;
font-weight:800;
margin-bottom:50px;
color:#111;
}

/* GRID */

.card-grid{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:35px;
}

/* CARD */

.inst-card{
background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.4s;
display:flex;
flex-direction:column;
justify-content:space-between;
}

.inst-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* IMAGE */

.img-box{
height:220px;
overflow:hidden;
}

.img-box img{
width:100%;
height:100%;
object-fit:cover;
transition:.5s;
}

.inst-card:hover img{
transform:scale(1.1);
}

/* CONTENT */

.card-content{
padding:25px;
}

.card-content h3{
font-size:22px;
font-weight:700;
margin-bottom:20px;
color:#222;
}

/* BUTTON */

.view-btn{
background:linear-gradient(45deg,#ff9800,#ff6a00);
border:none;
padding:12px 28px;
border-radius:30px;
color:#fff;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:.3s;
box-shadow:0 8px 20px rgba(255,140,0,.3);
}

.view-btn:hover{
transform:translateY(-3px);
box-shadow:0 12px 25px rgba(255,140,0,.5);
}
@media(max-width:992px){
.card-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:600px){
.section-title{
font-size:30px;
}

.card-grid{
grid-template-columns:1fr;
}

.img-box{
height:200px;
}
}
.section-title{
text-align:center;
font-size:40px;
margin-bottom:40px;
font-weight:700;
}

.card-grid{
display:flex;
gap:30px;
justify-content:center;
flex-wrap:wrap;
}

.inst-card{
width:320px;
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:.3s;
}

.inst-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

.img-box img{
width:100%;
height:220px;
object-fit:cover;
}

.card-content{
padding:20px;
text-align:center;
}

.view-btn{
margin-top:15px;
padding:12px 25px;
border:none;
border-radius:30px;
background:linear-gradient(45deg,#ff9800,#ff6a00);
color:#fff;
font-size:16px;
cursor:pointer;
transition:.3s;
}

.view-btn:hover{
transform:scale(1.05);
}

/* POPUP */

.course-popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:none;
align-items:center;
justify-content:center;
z-index:999;
}

.popup-box{
background:#fff;
padding:40px;
border-radius:12px;
width:400px;
max-width:90%;
text-align:center;
position:relative;
animation:popupScale .3s ease;
}

@keyframes popupScale{
from{transform:scale(.7);opacity:0;}
to{transform:scale(1);opacity:1;}
}

.close-popup{
position:absolute;
top:10px;
right:15px;
font-size:28px;
cursor:pointer;
}

.popup-box li{
padding:12px;
border-bottom:1px solid #eee;
font-size:18px;
}
/* POPUP OVERLAY */
.course-popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.65);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
padding:20px;
}

/* POPUP BOX */
.popup-box{
background:#ffffff;
width:420px;
max-width:100%;
border-radius:16px;
padding:40px 30px;
text-align:center;
position:relative;
box-shadow:0 25px 60px rgba(0,0,0,0.25);
animation:popupFade .35s ease;
}

/* ANIMATION */
@keyframes popupFade{
from{
transform:translateY(40px) scale(.9);
opacity:0;
}
to{
transform:translateY(0) scale(1);
opacity:1;
}
}

/* CLOSE BUTTON */
.close-popup{
position:absolute;
right:18px;
top:12px;
font-size:28px;
cursor:pointer;
color:#555;
transition:.3s;
}

.close-popup:hover{
color:#ff4d4d;
transform:rotate(90deg);
}

/* TITLE */
.popup-box h2{
font-size:34px;
margin-bottom:25px;
font-weight:700;
color:#111;
}

/* COURSE LIST */
.popup-box ul{
list-style:none;
padding:0;
margin:0;
}

.popup-box li{
font-size:18px;
padding:14px;
border-bottom:1px solid #eee;
transition:.3s;
cursor:pointer;
}

.popup-box li:last-child{
border-bottom:none;
}

.popup-box li:hover{
background:#f5f7ff;
color:#0d6efd;
padding-left:20px;
border-radius:8px;
}
.why-section{
    background:#f4f7fb;
    padding:80px 20px;
    text-align:center;
}

.section-title{
    font-size:40px;
    font-weight:700;
    margin-bottom:10px;
}

.section-subtitle{
    color:#666;
    max-width:600px;
    margin:0 auto 50px;
    font-size:16px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    max-width:1100px;
    margin:auto;
}

.why-box{
    background:white;
    padding:35px 25px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.4s;
    position:relative;
    overflow:hidden;
}

.why-box:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.why-icon{
    font-size:45px;
    margin-bottom:15px;
}

.why-box h3{
    font-size:20px;
    margin-bottom:10px;
}

.why-box p{
    color:#666;
    font-size:14px;
    line-height:1.6;
}
.why-box{
    background:#fff;
    padding:35px 25px;
    border-radius:18px;
    text-align:center;
    transition:0.4s;

    /* ⭐ NEW BORDER */
    border:1.5px solid #e3e8f0;

    /* soft shadow */
    box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

.why-box:hover{
    transform:translateY(-8px);

    /* ⭐ BORDER COLOR CHANGE */
    border-color:#1e6be3;

    /* ⭐ GLOW EFFECT */
    box-shadow:0 18px 40px rgba(30,107,227,0.18);
}
.why-box{
    background:#fff;
    padding:35px 25px;
    border-radius:18px;
    text-align:center;
    transition:0.4s;
    border:2px solid transparent;
    background-clip:padding-box;
    position:relative;
}

.why-box::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:18px;
    padding:2px;
    background:linear-gradient(120deg,#1e6be3,#00c6ff);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
    opacity:0;
    transition:0.4s;
}

.why-box:hover::before{
    opacity:1;
}

.why-box:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}
.why-choose{
    padding:80px 8%;
    
    /* ⭐ PREMIUM SOFT GRADIENT BACKGROUND */
    background:linear-gradient(120deg,#f7faff,#eef3fb);

    position:relative;
    overflow:hidden;
}
/* =========================
   WHY CHOOSE US SECTION
========================= */

.why-choose{
    padding:90px 8%;
    background-color:#0b1e3c;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size:25px 25px;
    position:relative;
}

/* Gradient overlay for premium feel */
.why-choose::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg,#0b1e3c 40%, #102a52 100%);
    opacity:0.95;
}

.why-container{
    position:relative;
    z-index:2;
    max-width:1200px;
    margin:auto;
}

/* =========================
   TITLE
========================= */

.why-title{
    text-align:center;
    font-size:38px;
    color:#ffffff;
    font-weight:700;
    margin-bottom:60px;
    letter-spacing:1px;
}

/* =========================
   GRID
========================= */

.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

/* =========================
   CARD DESIGN
========================= */

.why-box{
    background:#ffffff;
    border-radius:20px;
    padding:40px 25px;
    text-align:center;
    box-shadow:0 20px 45px rgba(0,0,0,0.45);
    transition:0.4s;
    border:1px solid rgba(255,255,255,0.1);
}

.why-box:hover{
    transform:translateY(-12px) scale(1.03);
    box-shadow:0 30px 60px rgba(0,0,0,0.6);
}

/* =========================
   ICON
========================= */

.why-box img{
    width:60px;
    margin-bottom:20px;
}

/* =========================
   CARD TITLE
========================= */

.why-box h3{
    font-size:20px;
    font-weight:700;
    margin-bottom:12px;
    color:#111;
}

/* =========================
   CARD TEXT
========================= */

.why-box p{
    font-size:15px;
    color:#666;
    line-height:1.6;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){
    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .why-grid{
        grid-template-columns:1fr;
    }

    .why-title{
        font-size:28px;
    }
}
/* SECTION BACKGROUND */
.why-section{
    padding:80px 20px;
    background:#f4f7fb;
}

/* GRID */
.why-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

/* CARD BASE */
.why-card{
    padding:40px 25px;
    border-radius:18px;
    text-align:center;
    transition:0.4s;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* DIFFERENT LIGHT COLORS */
.why-card:nth-child(1){ background:#ffecec; }
.why-card:nth-child(2){ background:#eafff1; }
.why-card:nth-child(3){ background:#eef3ff; }
.why-card:nth-child(4){ background:#fff6e8; }
.why-card:nth-child(5){ background:#f5ecff; }
.why-card:nth-child(6){ background:#e9fffb; }

/* HOVER */
.why-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 45px rgba(0,0,0,0.15);
}

/* ICON */
.why-card .icon{
    font-size:40px;
    margin-bottom:15px;
}

/* TITLE */
.why-card h3{
    font-size:20px;
    font-weight:700;
    margin-bottom:10px;
}

/* TEXT */
.why-card p{
    font-size:15px;
    color:#555;
    line-height:1.6;
}
/* SECTION */
.why-section{
    padding:80px 20px;
    background:#f2f6fb;
}

/* GRID */
.why-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

/* CARD */
.why-card{
    padding:40px 25px;
    border-radius:18px;
    text-align:center;
    position:relative;
    transition:0.4s;
    border:2px solid transparent;
    box-shadow:0 15px 30px rgba(0,0,0,0.08);
}

/* LIGHT DARK COLOR STYLE */
.why-card:nth-child(1){
    background:linear-gradient(135deg,#ffeaea,#ffd6d6);
    border-color:#ffb3b3;
}

.why-card:nth-child(2){
    background:linear-gradient(135deg,#eafff4,#c9f7e2);
    border-color:#9be8c8;
}

.why-card:nth-child(3){
    background:linear-gradient(135deg,#eef3ff,#d6e1ff);
    border-color:#a9c2ff;
}

.why-card:nth-child(4){
    background:linear-gradient(135deg,#fff5e6,#ffe0b3);
    border-color:#ffc266;
}

.why-card:nth-child(5){
    background:linear-gradient(135deg,#f5ecff,#e1ccff);
    border-color:#c299ff;
}

.why-card:nth-child(6){
    background:linear-gradient(135deg,#e6fffb,#bdf3ea);
    border-color:#7be3d6;
}

/* HOVER EFFECT */
.why-card:hover{
    transform:translateY(-12px) scale(1.02);
    box-shadow:0 25px 50px rgba(0,0,0,0.15);
}

/* ICON */
.why-card .icon{
    font-size:42px;
    margin-bottom:15px;
}

/* TITLE */
.why-card h3{
    font-size:20px;
    font-weight:700;
    margin-bottom:10px;
}

/* TEXT */
.why-card p{
    font-size:15px;
    color:#444;
    line-height:1.6;
}
.hero-institutes{
margin-top:25px;
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
}

.hero-select{
background:rgba(255,255,255,0.95);
color:#333;
padding:12px 22px;
border-radius:40px;
text-decoration:none;
font-weight:600;
transition:0.3s;
display:flex;
align-items:center;
gap:8px;
}

.hero-select:hover{
background:#0d6efd;
color:#fff;
transform:translateY(-3px);
box-shadow:0 8px 20px rgba(0,0,0,0.2);
}
/* COMMON BUTTON STYLE */

.hero-select{
padding:14px 30px;
border-radius:50px;
text-decoration:none;
font-weight:600;
color:#fff;
display:inline-flex;
align-items:center;
gap:10px;
font-size:17px;
transition:0.4s;
box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

/* NURSING BUTTON */

.hero-select.nursing{
background:linear-gradient(135deg,#1677ff,#00c6ff);
}

/* PHARMACY BUTTON */

.hero-select.pharmacy{
background:linear-gradient(135deg,#ff8a00,#ffc46b);
}

/* AYURVEDIC BUTTON */

.hero-select.ayurvedic{
background:linear-gradient(135deg,#16a34a,#4ade80);
}

/* HOVER EFFECT */

.hero-select:hover{
transform:translateY(-5px) scale(1.04);
box-shadow:0 15px 30px rgba(0,0,0,0.25);
}
.hero-desc{
max-width:700px;
margin:15px auto 25px;
font-size:18px;
line-height:1.6;
color:#f1f1f1;
}
.hero-desc{
max-width:750px;
margin:18px auto 30px;
font-size:19px;
line-height:1.7;
color:#ffffff;
font-weight:600;   /* ✅ THIS makes text bold */
}
.hero-desc{
max-width:750px;
margin:18px auto 30px;
font-size:20px;
line-height:1.7;
color:#ffffff;
font-weight:700;
text-shadow:0 2px 8px rgba(0,0,0,0.6);
}
.admission-section{
padding:90px 20px;
background:linear-gradient(135deg,#eef3ff,#f8fbff);
text-align:center;
position:relative;
overflow:hidden;
}

.section-title{
font-size:40px;
font-weight:800;
margin-bottom:60px;
color:#111;
}

/* GRID */

.stylish-steps{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
gap:40px;
max-width:1100px;
margin:auto;
position:relative;
}

/* CONNECTOR LINE */

.stylish-steps::before{
content:"";
position:absolute;
top:45px;
left:8%;
width:84%;
height:4px;
background:linear-gradient(90deg,#1677ff,#00c6ff);
z-index:0;
}

/* CARD */

.step{
background:#fff;
padding:40px 25px;
border-radius:20px;
transition:.4s;
box-shadow:0 15px 35px rgba(0,0,0,0.08);
position:relative;
z-index:1;
}

.step:hover{
transform:translateY(-12px);
box-shadow:0 25px 50px rgba(0,0,0,0.18);
}

/* CIRCLE */

.step-circle{
width:70px;
height:70px;
background:linear-gradient(135deg,#1677ff,#00c6ff);
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
font-weight:700;
margin:-75px auto 20px;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
border:6px solid #fff;
}

/* TEXT */

.step h3{
font-size:22px;
margin-bottom:12px;
font-weight:700;
}

.step p{
font-size:15px;
color:#666;
line-height:1.6;
}
/* ===== FIX TIMELINE BREAK ISSUE ===== */

/* Default remove line */
.stylish-steps::before{
display:none;
}

/* Show line only on big screens */
@media(min-width:992px){

.stylish-steps{
grid-template-columns:repeat(4,1fr);
}

.stylish-steps::before{
display:block;
content:"";
position:absolute;
top:50px;
left:12%;
width:76%;
height:4px;
background:linear-gradient(90deg,#1677ff,#00c6ff);
z-index:0;
}

}
/* FIX heading overlap */

.admission-section{
padding-top:120px;   /* increase top spacing */
}

/* push timeline down */

.stylish-steps{
margin-top:60px;
}

/* move line slightly down */

@media(min-width:992px){

.stylish-steps::before{
top:85px;   /* earlier 50px — now below heading */
}

}
.admission-section{
padding:70px 20px;   /* normal spacing */
margin-top:-40px;    /* pulls section upward */
}
.institutes-section{
padding-bottom:20px;   /* reduce bottom spacing */
margin-bottom:0;
}
.institutes-section{
padding-bottom:0 !important;
margin-bottom:0 !important;
min-height:auto !important;
height:auto !important;
}
.institutes-container,
.institutes-wrapper,
.institutes-row{
height:auto !important;
min-height:auto !important;
padding-bottom:0 !important;
margin-bottom:0 !important;
}
.institutes-section::after{
display:none !important;
}
.admission-section{
padding:70px 20px;
margin-top:0;
}
.facilities-section{
padding-bottom:10px !important;
margin-bottom:0 !important;
height:auto !important;
min-height:auto !important;
}
.faq-section{
padding:80px 20px;
background:#f8fbff;
}

.faq-container{
max-width:900px;
margin:auto;
}

.faq-item{
background:#fff;
margin-bottom:15px;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
overflow:hidden;
}

.faq-question{
width:100%;
padding:18px 20px;
border:none;
background:none;
font-size:18px;
font-weight:600;
text-align:left;
display:flex;
justify-content:space-between;
align-items:center;
cursor:pointer;
}

.faq-question span{
font-size:22px;
color:#0d6efd;
}

.faq-answer{
max-height:0;
overflow:hidden;
transition:0.4s;
padding:0 20px;
}

.faq-answer p{
padding-bottom:18px;
color:#555;
line-height:1.6;
}
.founder-section{
padding:90px 20px;
background:#f6f9ff;
text-align:center;
}

.founder-header .tag{
background:#ff4d7e;
color:#fff;
padding:6px 16px;
border-radius:20px;
font-size:14px;
font-weight:600;
display:inline-block;
margin-bottom:10px;
}

.founder-header h2{
font-size:38px;
font-weight:800;
margin-bottom:8px;
}

.underline{
width:60px;
height:4px;
background:#ff8a00;
margin:10px auto 20px;
border-radius:3px;
}

.founder-header p{
max-width:700px;
margin:auto;
color:#666;
font-size:16px;
line-height:1.6;
}

.founder-card{
margin-top:50px;
background:#fff;
padding:40px;
border-radius:20px;
display:flex;
gap:40px;
align-items:center;
max-width:1000px;
margin-left:auto;
margin-right:auto;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
text-align:left;
}

.founder-img img{
width:280px;
border-radius:15px;
}

.founder-content h3{
font-size:26px;
font-weight:700;
margin-bottom:8px;
}

.role{
background:#ff8a00;
color:#fff;
padding:5px 14px;
border-radius:15px;
font-size:14px;
display:inline-block;
margin-bottom:15px;
}

.founder-content h4{
font-size:18px;
margin-bottom:10px;
color:#333;
}

.founder-content p{
color:#666;
line-height:1.7;
}

/* MOBILE */

@media(max-width:768px){
.founder-card{
flex-direction:column;
text-align:center;
}
.founder-img img{
width:200px;
}
}
.leader-section{
padding:90px 20px;
background:#f7f9ff;
}

.leader-card{
background:#fff;
border-radius:20px;
padding:40px;
display:flex;
align-items:center;
gap:50px;
max-width:1100px;
margin:auto;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

/* Reverse Layout */
.leader-card.reverse{
flex-direction:row;
}

.leader-content h3{
font-size:28px;
font-weight:700;
margin-bottom:10px;
}

.leader-role{
background:#ff8a00;
color:#fff;
padding:6px 16px;
border-radius:20px;
font-size:14px;
display:inline-block;
margin-bottom:15px;
}

.leader-content h4{
font-size:18px;
margin-bottom:12px;
color:#333;
}

.leader-content p{
color:#666;
line-height:1.7;
}

.leader-img img{
width:320px;
border-radius:15px;
}

/* MOBILE */
@media(max-width:768px){
.leader-card{
flex-direction:column;
text-align:center;
}
.leader-img img{
width:220px;
}
}
/* =========================
   RESET + BASE
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#f5f8ff;
color:#222;
line-height:1.6;
}

/* =========================
   GLOBAL SECTION SPACING
========================= */

section{
padding:80px 0;
margin:0;
position:relative;
}

/* remove random gaps */
section::before,
section::after{
display:none !important;
}

/* =========================
   CONTAINER SYSTEM
========================= */

.container{
width:90%;
max-width:1200px;
margin:auto;
height:auto !important;
min-height:auto !important;
}

.wrapper,
.row{
height:auto !important;
min-height:auto !important;
}

/* =========================
   HEADINGS
========================= */

.section-title{
font-size:40px;
font-weight:800;
text-align:center;
margin-bottom:15px;
}

.section-subtitle{
text-align:center;
color:#666;
margin-bottom:40px;
}

/* underline */
.section-underline{
width:70px;
height:4px;
background:#ff8a00;
margin:10px auto 30px;
border-radius:5px;
}

/* =========================
   CARDS GLOBAL
========================= */

.card{
background:#fff;
border-radius:18px;
padding:30px;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
transition:.4s;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 25px 50px rgba(0,0,0,0.15);
}

/* =========================
   BUTTON SYSTEM
========================= */

.btn{
display:inline-block;
padding:12px 26px;
border-radius:30px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-primary{
background:linear-gradient(135deg,#1677ff,#00c6ff);
color:#fff;
}

.btn-primary:hover{
transform:translateY(-3px);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.btn-orange{
background:linear-gradient(135deg,#ff8a00,#ffb347);
color:#fff;
}

/* =========================
   GRID SYSTEM
========================= */

.grid-3{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.grid-4{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}

/* =========================
   IMAGE RESPONSIVE
========================= */

img{
max-width:100%;
display:block;
}

/* =========================
   HERO SECTION FIX
========================= */

.hero{
min-height:90vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:0 20px;
}

/* =========================
   GAP FIX UTILITIES
========================= */

.no-gap{
padding-bottom:40px !important;
}

.small-gap{
padding:60px 0 !important;
}

.large-gap{
padding:100px 0 !important;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:768px){

.section-title{
font-size:30px;
}

section{
padding:60px 0;
}

.container{
width:92%;
}

}
.leadership-section{
padding:80px 20px;
background:#f6f9ff;
}

.leader-card{
background:#fff;
border-radius:20px;
padding:40px;
display:flex;
align-items:center;
gap:50px;
max-width:1100px;
margin:40px auto;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.leader-card.reverse{
flex-direction:row-reverse;
}

.leader-img img{
width:300px;
border-radius:15px;
}

.leader-content h3{
font-size:28px;
font-weight:700;
margin-bottom:10px;
}

.leader-role{
background:#ff8a00;
color:#fff;
padding:6px 16px;
border-radius:20px;
font-size:14px;
display:inline-block;
margin-bottom:15px;
}

@media(max-width:768px){
.leader-card{
flex-direction:column;
text-align:center;
}
}
.leadership-section{
padding:80px 20px;
background:#f6f9ff;
}

.leader-card{
display:flex;
align-items:center;
gap:60px;
background:#fff;
padding:40px;
border-radius:20px;
max-width:1100px;
margin:40px auto;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

/* ALTERNATE RIGHT */
.leader-card.reverse{
flex-direction:row-reverse;
}

.leader-img img{
width:300px;
border-radius:15px;
}

.leader-content{
flex:1;
}

.leader-content h3{
font-size:28px;
font-weight:700;
margin-bottom:10px;
}

.leader-role{
background:linear-gradient(135deg,#ff8a00,#ffb347);
color:#fff;
padding:6px 16px;
border-radius:20px;
font-size:14px;
display:inline-block;
margin-bottom:15px;
}

/* MOBILE FIX */
@media(max-width:768px){

.leader-card{
flex-direction:column;
text-align:center;
gap:25px;
}

.leader-card.reverse{
flex-direction:column;
}

.leader-img img{
width:220px;
}

}
.leadership-section{
padding:80px 20px;
background:#f6f9ff;
}

.leader-card{
display:flex;
align-items:center;
gap:60px;
background:#fff;
padding:40px;
border-radius:20px;
max-width:1100px;
margin:50px auto;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

/* RIGHT SIDE IMAGE */
.leader-card.reverse{
flex-direction:row-reverse;
}

.leader-img img{
width:300px;
border-radius:15px;
}

.leader-content{
flex:1;
}

.leader-content h3{
font-size:28px;
font-weight:700;
margin-bottom:10px;
}

.leader-role{
background:linear-gradient(135deg,#ff8a00,#ffb347);
color:#fff;
padding:6px 16px;
border-radius:20px;
font-size:14px;
display:inline-block;
margin-bottom:15px;
}

/* MOBILE */
@media(max-width:768px){
.leader-card{
flex-direction:column;
text-align:center;
gap:25px;
}
.leader-card.reverse{
flex-direction:column;
}
.leader-img img{
width:220px;
}
}
.faq-section{
padding-bottom:40px !important;
margin-bottom:0 !important;
}
.leadership-section{
padding-top:40px !important;
margin-top:0 !important;
}
section{
padding:70px 0;
margin:0;
}

section + section{
padding-top:40px;
}
.main-footer{
background:#0d1b2a;
color:#fff;
padding-top:60px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
padding-bottom:40px;
}

.footer-col h3{
font-size:24px;
margin-bottom:15px;
}

.footer-col h4{
font-size:18px;
margin-bottom:15px;
color:#ffb347;
}

.footer-col p{
color:#ccc;
font-size:14px;
line-height:1.7;
}

.footer-col ul{
list-style:none;
}

.footer-col ul li{
margin-bottom:10px;
}

.footer-col ul li a{
text-decoration:none;
color:#ccc;
font-size:14px;
transition:.3s;
}

.footer-col ul li a:hover{
color:#00c6ff;
padding-left:5px;
}

.social-icons{
margin-top:15px;
}

.social-icons a{
display:inline-block;
margin-right:10px;
background:#162b44;
padding:10px;
border-radius:50%;
transition:.3s;
}

.social-icons a:hover{
background:#00c6ff;
transform:translateY(-3px);
}

.footer-bottom{
border-top:1px solid rgba(255,255,255,0.1);
padding:20px 0;
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
font-size:14px;
color:#bbb;
}

.credit span{
color:#00c6ff;
font-weight:600;
}

/* MOBILE */
@media(max-width:768px){
.footer-bottom{
flex-direction:column;
text-align:center;
gap:10px;
}
}
.main-footer{
background:#0d1b2a;
color:#fff;
width:100%;
padding:70px 0 30px;
}

/* ⭐ This controls content width (NOT footer width) */
.footer-inner{
width:90%;
max-width:1200px;
margin:auto;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
margin-bottom:40px;
}

.footer-bottom{
border-top:1px solid rgba(255,255,255,0.1);
padding-top:20px;
display:flex;
justify-content:space-between;
flex-wrap:wrap;
font-size:14px;
color:#bbb;
}

.credit span{
color:#00c6ff;
font-weight:600;
}

@media(max-width:768px){
.footer-bottom{
flex-direction:column;
text-align:center;
gap:10px;
}
}
/* FULL WIDTH BACKGROUND */
.main-footer {
    width: 100%;
    background: #071a2f;
    color: #fff;
    padding: 60px 0;
}

/* INNER CONTENT (CENTERED, NOT FULL WIDTH) */
.footer-inner {
    max-width: 1200px;   /* controls content width */
    margin: auto;
    padding: 0 40px;
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* HEADINGS */
.footer-col h3,
.footer-col h4 {
    color: #ffa500;
    margin-bottom: 15px;
}

/* LINKS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: #fff;
}

/* CONTACT TEXT */
.footer-col p {
    margin: 6px 0;
}

/* SOCIAL ICONS */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    background: #0d2a4d;
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #1e90ff;
}

/* BOTTOM BAR */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-bottom .credit span {
    color: #00c3ff;
    font-weight: 600;
}
/* REMOVE SIDE GAPS */
body {
    margin: 0;
    padding: 0;
}

/* FULL WIDTH FOOTER BACKGROUND */
.main-footer {
    background: #071a2f;
    color: #fff;
    width: 100%;
    padding: 60px 0 30px;
}

/* CENTER CONTENT */
.footer-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 40px;
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* HEADINGS */
.footer-col h3,
.footer-col h4 {
    color: #ffa500;
    margin-bottom: 15px;
}

/* TEXT */
.footer-col p {
    color: #ccc;
    line-height: 1.6;
}

/* LINKS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

/* SOCIAL ICONS */
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    background: #0d2a4d;
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #1e90ff;
}

/* BOTTOM BAR */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 14px;
    color: #aaa;
}

.footer-bottom span {
    color: #00c3ff;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* REMOVE DEFAULT PAGE GAP */
body {
    margin: 0;
    padding: 0;
}

/* FORCE FULL WIDTH FOOTER (BREAK OUT OF CONTAINER) */
.main-footer {
    width: 100vw;                      /* full screen width */
    margin-left: calc(-50vw + 50%);    /* break container */
    background: #071a2f;
    color: #fff;
    padding: 60px 0 30px;
}

/* CENTER CONTENT */
.footer-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 40px;
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* HEADINGS */
.footer-col h3,
.footer-col h4 {
    color: #ffa500;
    margin-bottom: 15px;
}

/* TEXT */
.footer-col p {
    color: #ccc;
    line-height: 1.6;
}

/* LINKS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

/* SOCIAL ICONS */
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    background: #0d2a4d;
    padding: 10px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #1e90ff;
}

/* BOTTOM */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #aaa;
}

.footer-bottom span {
    color: #00c3ff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
.contact-section {
    background: #f5f7fa;
    padding: 80px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* FORM */
.contact-form h2 {
    font-size: 30px;
    color: #071a2f;
    margin-bottom: 10px;
}

.contact-form p {
    color: #555;
    margin-bottom: 20px;
}

.contact-form form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1e90ff;
}

/* BUTTON */
.contact-form button {
    background: #1e90ff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.contact-form button:hover {
    background: #0d6efd;
}

/* MAP */
.contact-map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 300px;
    }
}
/* CONTACT SECTION */
.contact-section {
    padding: 40px 20px 60px;  /* ↓ reduced top padding */
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #071a2f;
}

.logo img {
    height: 45px;
}

.logo span {
    font-size: 18px;
}
.lang-switch button {
    margin-left: 10px;
    padding: 6px 12px;
    border: none;
    background: #1e90ff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.lang-switch button:hover {
    background: #0d6efd;
}
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}
.lang-switch {
    display: flex;
    gap: 10px;
    margin-left: 15px;
}

.lang-btn {
    padding: 8px 18px;
    border-radius: 25px;
    background: linear-gradient(45deg, #1e90ff, #2563eb);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* NAVBAR */
.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px; /* spacing between normal links */
}

/* NAV LINKS */
.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

/* ADMISSION BUTTON */
.admission-btn {
    padding: 8px 18px;
    border-radius: 25px;
    background: linear-gradient(45deg, #1e90ff, #2563eb);
    color: #fff !important;
    transition: 0.3s;
    margin-left: 10px; /* small gap from nav links */
}

.admission-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* LANGUAGE SWITCH */
.lang-switch {
    display: flex;
    gap: 4px;           /* space between English & Marathi */
    margin-left: 5px;   /* VERY SMALL gap from Admission */
}

/* LANGUAGE BUTTONS */
.lang-btn {
    padding: 8px 16px;
    border-radius: 25px;
    background: linear-gradient(45deg, #1e90ff, #2563eb);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* ================= NAVBAR ================= */
.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px; /* spacing between Home, About, etc */
}

/* NAV LINKS */
.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s;
}

.menu a:hover {
    color: #2563eb;
}

/* ================= ADMISSION BUTTON ================= */
.admission-btn {
    padding: 8px 20px;
    border-radius: 25px;
    background: linear-gradient(45deg, #1e90ff, #2563eb);
    color: #fff !important;
    font-weight: 600;
    margin-left: 10px; /* gap from nav links */
    transition: 0.3s;
}

.admission-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ================= LANGUAGE SWITCH ================= */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;       /* space between English & Marathi */
    margin-left: 1px; /* VERY SMALL gap from Admission */
}

/* LANGUAGE BUTTON */
.lang-btn {
    padding: 8px 18px;
    border-radius: 25px;
    background: linear-gradient(45deg, #1e90ff, #2563eb);
    color: #fff !important;   /* ✅ FORCE WHITE TEXT */
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

/* FIX ALL STATES */
.lang-btn,
.lang-btn:visited,
.lang-btn:active {
    color: #fff !important;
}

/* HOVER EFFECT */
.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ACTIVE LANGUAGE */
.lang-btn.active {
    background: linear-gradient(45deg, #06b6d4, #0ea5e9);
}

/* ================= RESPONSIVE (OPTIONAL) ================= */
@media (max-width: 768px) {
    .menu {
        flex-wrap: wrap;
        gap: 10px;
    }

    .admission-btn,
    .lang-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}
.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;  /* 👈 reduce from 18px → 10px */
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 40px;   /* adjust size */
    height: auto;
}

.footer-logo h3 {
    margin: 0;
    font-size: 18px;
}
/* NAVBAR MENU */
.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;   /* 🔥 reduce space between links */
}

/* REMOVE EXTRA SPACE FROM LINKS */
.menu a {
    margin: 0;
    padding: 6px 10px;  /* control spacing manually */
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

/* OPTIONAL (EVEN TIGHTER LOOK) */
.menu a:not(.admission-btn):not(.lang-btn) {
    padding: 5px 8px;
}
/* MOBILE FIX */
@media (max-width: 768px) {

    .hero-section {
        padding: 60px 20px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-section p {
        font-size: 14px;
        line-height: 1.5;
        padding: 0 10px;
    }

    /* BUTTONS STACK */
    .hero-institutes {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .hero-select {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 14px;
    }
}
/* DEFAULT (DESKTOP SAFE) */
.menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* HAMBURGER HIDDEN ON DESKTOP */
.hamburger {
    display: none;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {

    .nav-container {
        position: relative;
    }

    /* SHOW HAMBURGER */
    .hamburger {
        display: block;
        font-size: 26px;
        cursor: pointer;
    }

    /* MENU DROPDOWN */
    .menu {
        position: absolute;
        top: 65px;
        right: 0;
        width: 100%;
        background: #fff;

        flex-direction: column;
        align-items: center;
        gap: 12px;

        padding: 20px 0;
        display: none;

        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .menu.active {
        display: flex;
    }

    /* LINKS FULL WIDTH */
    .menu a {
        width: 90%;
        text-align: center;
        padding: 10px;
    }

    /* BUTTON FIX */
    .admission-btn {
        width: 90%;
        text-align: center;
    }

    /* LANGUAGE BUTTONS */
    .lang-switch {
        display: flex;
        gap: 8px;
        justify-content: center;
    }
}
/* NAVBAR BASE */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MENU DESKTOP */
.menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* HAMBURGER DEFAULT HIDE */
.hamburger {
    display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .hamburger {
        display: block;
        font-size: 26px;
        cursor: pointer;
    }

    .menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;

        flex-direction: column;
        align-items: center;

        padding: 15px 0;
        gap: 12px;

        z-index: 9999;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        width: 90%;
        text-align: center;
        padding: 10px;
    }

    .lang-switch {
        display: flex;
        gap: 8px;
        justify-content: center;
    }
}
/* FIX HERO WIDTH ON MOBILE */
@media (max-width: 768px) {

    .hero-section {
        width: 100%;
        padding: 60px 15px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    /* FIX TEXT WRAPPING */
    .hero-content h1 {
        font-size: 26px;
        line-height: 1.3;
        text-align: center;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
        padding: 0 10px;
    }

    /* FIX BUTTONS */
    .hero-institutes {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-top: 20px;
    }

    .hero-select {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}
/* FIX FULL WIDTH ON MOBILE */
@media (max-width: 768px) {

    body {
        margin: 0;
        padding: 0;
    }

    /* REMOVE FIXED WIDTH */
    .container,
    .wrapper,
    .hero-wrapper,
    .nav-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0;
        padding: 0 15px;
    }

    /* HERO FULL WIDTH */
    .hero-section {
        width: 100%;
        padding: 50px 15px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    /* TEXT FIX */
    .hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* BUTTON FIX */
    .hero-institutes {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-select {
        width: 100%;
        justify-content: center;
    }
}
/* ================= GLOBAL MOBILE FIX ================= */
@media (max-width: 768px) {

    /* RESET BODY */
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* REMOVE CENTER BOX ISSUE */
    .container,
    .wrapper,
    .main-container,
    .nav-container,
    .footer-inner,
    .about-wrapper,
    .contact-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    /* HERO FIX */
    .hero-section {
        width: 100%;
        padding: 50px 15px;
        text-align: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* HERO BUTTONS */
    .hero-institutes {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-select {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    /* CARDS / SECTIONS FIX */
    .course-row,
    .features-grid,
    .footer-grid,
    .contact-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* CARDS FULL WIDTH */
    .course-card,
    .feature-card,
    .footer-col {
        width: 100% !important;
    }

    /* CONTACT SECTION */
    .contact-map {
        height: 300px;
    }

    /* NAVBAR FIX */
    .menu {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 15px 0;
        display: none;
        z-index: 9999;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        width: 90%;
        text-align: center;
        padding: 10px;
    }

    .hamburger {
        display: block;
        font-size: 26px;
        cursor: pointer;
    }
}
/* ================= NAVBAR FIX ================= */

/* DESKTOP SAFE */
.navbar {
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* HAMBURGER HIDE DESKTOP */
.hamburger {
    display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    /* 🔥 FULL WIDTH NAVBAR */
    .nav-container {
        max-width: 100% !important;
        width: 100%;
        margin: 0;
        padding: 10px 15px;
    }

    /* FIX LOGO SIZE */
    .logo img {
        height: 30px;
    }

    .logo span {
        font-size: 14px;
    }

    /* SHOW HAMBURGER */
    .hamburger {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }

    /* HIDE MENU DEFAULT */
    .menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;

        flex-direction: column;
        align-items: center;
        gap: 12px;

        padding: 15px 0;
        z-index: 9999;
    }

    /* SHOW MENU */
    .menu.active {
        display: flex;
    }

    /* LINKS */
    .menu a {
        width: 90%;
        text-align: center;
        padding: 10px;
    }

    /* LANG BUTTON */
    .lang-switch {
        display: flex;
        gap: 8px;
        justify-content: center;
    }
}
/* 🔥 FIX PAGE WIDTH ISSUE */
html, body {
    width: 100%;
    overflow-x: hidden;
}
/* REMOVE FIXED WIDTH ON MOBILE */
@media (max-width: 768px) {

    .container,
    .wrapper,
    .nav-container,
    .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding-left: 15px;
        padding-right: 15px;
    }

}
@media (max-width: 768px) {

    .hero {
        width: 100%;
        height: auto;
    }

    .hero-content {
        padding: 40px 15px;
        text-align: center;
    }

}
@media (max-width: 768px) {

    .navbar {
        width: 100%;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
    }

}
/* =========================
   RESET + GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/* =========================
   CONTAINER (SAFE)
========================= */
.container,
.wrapper,
.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* =========================
   NAVBAR (SAFE - NO BREAK)
========================= */
.navbar {
    width: 100%;
    background: #fff;
}

.menu {
    display: flex;
    gap: 18px;
    align-items: center;
}

/* =========================
   HERO (SAFE)
========================= */
.hero {
    width: 100%;
}

.hero-content {
    text-align: center;
    padding: 60px 20px;
}

/* =========================
   WHY CHOOSE SECTION
========================= */

/* DESKTOP */
.why-choose-container {
    display: grid; /* ✅ GRID ONLY */
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 40px 0;
}

/* CARD */
.why-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 2px solid #eee;
    transition: 0.3s ease;

    /* 🔥 IMPORTANT FIX */
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

/* ICON */
.why-card span {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

/* TITLE */
.why-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* TEXT */
.why-card p {
    font-size: 14px;
    color: #555;
}

/* HOVER */
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
    .why-choose-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   🔥 MOBILE FIX (MAIN)
========================= */
@media (max-width: 768px) {

    /* FULL WIDTH FIX */
    .container,
    .wrapper,
    .nav-container {
        max-width: 100%;
        padding: 0 15px;
    }

    /* 🔥 FORCE GRID */
    .why-choose-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* ✅ 2 cards */
        gap: 12px;
        padding: 20px 0;
    }

    /* CARD FIX */
    .why-card {
        padding: 15px;
        border-radius: 12px;
    }

    .why-card span {
        font-size: 24px;
    }

    .why-card h3 {
        font-size: 14px;
    }

    .why-card p {
        font-size: 12px;
    }

    /* NAVBAR MOBILE SAFE */
    .menu {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 15px;
    }

    .menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
        font-size: 22px;
        cursor: pointer;
    }
}

/* =========================
   EXTRA SMALL MOBILE
========================= */
@media (max-width: 480px) {

    .why-choose-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

}

/* =========================
   🚨 IMPORTANT (REMOVE BUG)
========================= */

/* ❌ MAKE SURE YOU DO NOT HAVE THIS ANYWHERE */
.why-card {
    min-width: unset !important;
    width: 100% !important;
}
/* 🔥 FIX SECTION FULL WIDTH */
section {
    width: 100%;
    overflow: hidden;
}
/* 🔥 FORCE PERFECT GRID */
.why-choose-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}
@media (max-width: 768px) {

    .why-choose-container {
        grid-template-columns: repeat(2, 1fr) !important; /* ✅ 2 cards */
        gap: 10px;
        padding: 10px;
    }

    .why-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

}
/* ===== WHY SECTION ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop */
    gap: 20px;
}

/* ===== CARD ===== */
.why-card {
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    background: #fff;
    width: 100%; /* IMPORTANT */
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

    .why-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* ✅ 2 cards */
        gap: 12px;
        padding: 0 10px;
    }

    .why-card {
        padding: 15px;
    }

    .why-card h3 {
        font-size: 14px;
    }

    .why-card p {
        font-size: 12px;
    }
}
@media (max-width: 768px) {

    /* Remove side spacing */
    body {
        margin: 0;
        padding: 0;
    }

    /* Make all sections full width */
    .container,
    .contact-container,
    .about-wrapper,
    .why-section,
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin: 0 !important;
    }

    /* Contact form full width */
    .contact-form {
        width: 100% !important;
    }

    /* Map full width */
    .contact-map {
        width: 100% !important;
        height: 250px;
    }

    /* Remove extra wrapper spacing */
    section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* ===== INSTITUTES GRID ===== */
.institutes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop */
    gap: 20px;
}

/* ===== CARD ===== */
.institute-card {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    text-align: center;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

    .institutes-grid {
        grid-template-columns: repeat(1, 1fr) !important; /* ✅ 1 per row */
        gap: 15px;
        padding: 0 10px;
    }

    .institute-card {
        width: 100% !important;
    }

    .institute-card img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 768px) {

    /* Center whole section */
    .institutes-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        justify-content: center !important;
        align-items: center;
        padding: 0 15px;
    }

    /* Center each card */
    .institute-card {
        margin: 0 auto !important;   /* ✅ CENTER FIX */
        width: 100%;
        max-width: 320px;            /* ✅ keeps it nice centered */
    }

}
@media (max-width: 768px) {

    /* FIX MAIN GRID ALIGNMENT */
    .institutes-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;   /* ✅ THIS IS KEY */
        align-items: center;
        width: 100%;
    }

    /* CENTER CARD PROPERLY */
    .institute-card {
        width: 90% !important;      /* ✅ gives side spacing */
        max-width: 350px;
        margin: 0 auto !important;
    }

}
@media (max-width: 768px) {

    /* FIX OUTER SECTION WRAPPER */
    .why-section,
    .institutes-section,
    .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* FIX GRID */
    .institutes-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        width: 100%;
    }

    /* FIX CARD */
    .institute-card {
        width: 90% !important;
        max-width: 350px;
        margin: 0 auto !important;
    }

}
/* ===============================
   INSTITUTES SECTION FIX
=================================*/

/* Desktop (no change) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Cards */
.inst-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

/* Image fix */
.img-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===============================
   MOBILE FIX (MAIN FIX)
=================================*/
@media (max-width: 768px) {

    /* FULL WIDTH SECTION */
    .institutes {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        margin: 0 auto !important;
    }

    /* GRID CENTER FIX */
    .card-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;   /* ✅ CENTER */
        gap: 15px;
        width: 100%;
    }

    /* CARD CENTER FIX */
    .inst-card {
        width: 100% !important;
        max-width: 350px;   /* ✅ CENTER LOOK */
        margin: 0 auto !important;
    }

}
/* Remove unwanted vertical gaps */
section {
    margin: 0 !important;
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Fix specific gap above Contact */
.contact-section {
    margin-top: 0 !important;
    padding-top: 1px !important;
}

/* Remove bottom gap from previous section */
.institutes,
.why-section,
.about-section {
    margin-bottom: 0 !important;
    padding-bottom: 1px !important;
}
/* NAVBAR MAIN FIX */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

/* LOGO FIX */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0; /* 🔥 prevents shrinking */
}

.logo span {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

/* MENU FIX */
.menu {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto; /* 🔥 pushes menu to right */
}

/* MENU LINKS */
.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}

/* BUTTON GROUP FIX */
.lang-switch {
    display: flex;
    gap: 10px;
}

/* ADMISSION BUTTON */
.admission-btn {
    padding: 8px 18px;
    border-radius: 20px;
    background: #1e73e8;
    color: #fff !important;
}
/* NAVBAR CONTAINER */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

/* LEFT SIDE (LOGO + TEXT) */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

/* RIGHT SIDE MENU */
.menu {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto; /* 🔥 pushes menu fully right */
}

/* LINKS */
.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* BUTTONS */
.admission-btn {
    background: #1e73e8;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 20px;
}

/* LANGUAGE BUTTONS */
.lang-switch {
    display: flex;
    gap: 10px;
}
/* DESKTOP NAVBAR SPACING */
.menu {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 18px; /* ✅ PERFECT GAP */
}

/* LINKS */
.menu a {
    padding: 6px 10px; /* ✅ clean clickable area */
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}
/* ===== NAVBAR ===== */
.navbar {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* CONTAINER */
.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;

    display: flex;
    align-items: center;
}

/* LOGO LEFT */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

/* MENU RIGHT */
.menu {
    display: flex;
    align-items: center;
    margin-left: auto; /* 🔥 pushes to right */
    gap: 18px; /* ✅ PERFECT GAP */
}

/* LINKS */
.menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 10px;
    white-space: nowrap;
}

/* ADMISSION BUTTON */
.admission-btn {
    background: #1e73e8;
    color: #fff !important;
    border-radius: 20px;
    padding: 8px 16px;
}

/* LANGUAGE BUTTONS */
.lang-switch {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: #1e73e8;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

/* HAMBURGER (hidden on desktop) */
.hamburger {
    display: none;
    font-size: 22px;
    cursor: pointer;
}
/* DROPDOWN FIX */
.lang-switch {
    position: relative;
}

/* BUTTON */
.dropdown-toggle {
    cursor: pointer;
    border: none;
    background: #1e73e8;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
}

/* MENU */
.dropdown-menu {
    position: absolute;
    top: 45px;
    right: 0;
    background: #fff;
    border-radius: 10px;
    min-width: 140px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 999;
}

/* LINKS */
.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

/* SHOW */
.lang-switch.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.admission-btn {
    background: #1e73e8;
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.admission-btn:hover {
    background: #155acb;
}
.admission-btn {
    display: inline-block;
    background: #1e73e8;
    color: #fff;
    padding: 8px 22px;   /* SAME WIDTH LOOK */
    border-radius: 50px; /* FULL ROUND (pill shape) */
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    line-height: 1;
}

.admission-btn:hover {
    background: #155acb;
}
.btn-admission {
    background: #2d7df6;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-admission:hover {
    background: #1a5edb;
}
.btn-admission {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-admission {
    background: #2d7df6;
    color: #ffffff !important;   /* FORCE WHITE */
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Also force for link states */
.btn-admission:link,
.btn-admission:visited,
.btn-admission:hover,
.btn-admission:active {
    color: #ffffff !important;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    min-width: 150px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #f2f2f2;
}

/* SHOW DROPDOWN ON HOVER */
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    min-width: 150px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #f2f2f2;
}

.dropdown-menu.show {
    display: block;
}
/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    min-width: 140px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 999;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #f2f2f2;
}

.dropdown-menu.show {
    display: block;
}
.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: block;
}
/* NAV CONTAINER */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* MENU FULL */
.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 20px;
}

/* LEFT LINKS */
.nav-links {
    display: flex;
    gap: 2px;
}

/* RIGHT BUTTONS */
.nav-actions {
    display: flex;
    gap: 2px;
    align-items: center;
}
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
}

.dropdown-menu.show {
    display: block;
}