/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
max-width:100%;
}

html,body{
overflow-x:hidden;
line-height:1.6;
width:100%;
}

/* HEADER */

.sub-header{
width:100%;
height:350px;
background-image:linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),
url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab");
background-position:center;
background-size:cover;
background-repeat:no-repeat;
text-align:center;
color:white;
padding-top:120px;
}

.sub-header h1{
font-size:40px;
letter-spacing:2px;
}

/* NAVBAR */

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 6%;
position:absolute;
top:0;
left:0;
width:100%;
z-index:1000;
}

nav img{

width: 110px; /* Slightly smaller looks more elegant in a navbar */
    height: 100px;
    object-fit: cover; /* Ensures the image fills the circle perfectly */
    border-radius: 70%; 
    border: 2px solid rgba(255, 255, 255, 0.2); /* Soft border to blend with the header */
    transition: 0.3s;
    background-color: #000;
}
nav img :hover{
    transform: scale(1.1); /* Adds a nice interactive feel */
    border-color: #f44336; /* Changes to your theme color on hover */
}




/* NAV LINKS */

.nav-links{
/* position:fixed;
background:#f44336;
height:100vh;
width:220px;
top:0;
right:-220px;
text-align:left;
z-index:2;
transition:0.4s;
padding-top:50px; */
flex:1;
text-align: right;
}

.nav-links ul{
/* padding:20px; */
display:flex;
justify-content:flex-end;
gap:28px;
align-items:center;
}

.nav-links ul li{
list-style:none;
display:relative;
margin:18px 0;
/* padding:8px 12px;
position:relative; */
}

.nav-links ul li a{
color:white;
text-decoration:none;
font-size:14px;
font-weight:500;
letter-spacing: 1px;
}

.achievement-btn i{
transition:0.3s;
}

/* .dropdown.active .achievement-btn i{
transform:rotate(180deg);
} */
/* HOVER LINE */

.nav-links ul li::after{
content:"";
width:0%;
height:2px;
background:#ff3b30;
display:block;
margin:auto;
transition:0.35s;
}

.nav-links ul li:hover::after{
width:100%;
}

/* MENU ICON */

nav .fa{
display:none;
}

img{
max-width:100%;
height:auto;
display:block;
}
/* DROPDOWN */

.dropdown{
position:relative;
}

/* ACHIEVEMENTS DROPDOWN */
.achievement-btn{
display:flex;
align-items:center;
gap:5px;
}

.achievement-menu{
/* max-height:0;
overflow:hidden;
transition:0.4s ease;
margin-top:10px; */
position:absolute;
top:35px;
right:0;
background:transparent;
width:250px;
border-radius:6px;
overflow:hidden;
max-height:0;
transition:0.4s ease;
box-shadow:0 10px 25px rgba(0,0,0,0.25);
}

/* ITEM STYLE */

.achievement-item{
display:flex;
align-items:flex-start;
gap:12px;
padding:14px 18px;
text-decoration:none;
color:white;
border-bottom:1px solid rgba(255,255,255,0.15);
transition:0.3s;
}

/* ICON */

.achievement-item i{
font-size:18px;
margin-top:3px;
color:#ff3b30;
}

/* TITLE */

.achievement-item h4{
font-size:15px;
margin-bottom:3px;
font-weight:600;
}

/* DESCRIPTION */

.achievement-item p{
font-size:12px;
opacity:0.85;
line-height:1.4;
color:#fff;
}

/* HOVER EFFECT */

.achievement-item:hover{
background:rgba(255,255,255,0.1);
border-radius:5px;
padding-left:15px;
transition:0.3s;
}

.achievement-btn i{
transition:0.3s;
}

.dropdown:hover .achievement-btn i{
transform:rotate(180deg);
}

.dropdown:hover .achievement-menu{
max-height:300px;
}
/* ABOUT SECTION */

.container{
width:85%;
max-width:1200px;
margin:auto;
padding:60px 0;
}

.row{
display:flex;
justify-content:space-between;
align-items:flex-start;
flex-wrap:wrap;
gap:40px;
width:100%;
}

.about-col{
flex:1 1 48%;
}

.about-col h1{
font-size:34px;
margin-bottom:20px;
color:#222;
}

.about-col p{
font-size:14px;
color:#555;
line-height:1.7;
}

.about-col img{
width:100%;
height:320px;
object-fit:cover;
border-radius:10px;
display:block;
}

/* BUTTON */

.hero-btn{
display:inline-block;
text-decoration:none;
color:#fff;
border:1px solid #ff3b30;
padding:12px 30px;
font-size:14px;
background:#ff3b30;
margin-top:20px;
border-radius:4px;
transition:0.3s;
}

.hero-btn:hover{
background:#d62828;
}

/* FOOTER */

.footer{
width:100%;
text-align:center;
padding:40px 20px;
background:#fff;
color:grey;
}

.footer p{
font-size:13px;
margin-top:10px;
}

.icons .fa{
margin:10px;
font-size:20px;
cursor:pointer;
color:red;
}

.icons .fa:hover{
    /* background: #25d9ff; */
    color:#1c5bb8;
}

/* MOBILE */

@media(max-width:768px){

.sub-header{
height:300px;
padding-top:100px;
}

.sub-header h1{
font-size:28px;
}

/* mobile nav */

.nav-links{
position:fixed;
background:#f44336;
height:100vh;
width:200px;
top:0;
right:-200px;
text-align:left;
z-index:2;
transition:0.4s;
padding-top:50px;
}

.nav-links ul li{
display:block;
margin:20px;
}

nav .fa{
display:block;
color:white;
font-size:22px;
cursor:pointer;
}

.row{
flex-direction:column;
text-align:center;
}

.about-col img{
height:250px;
}

}

.course{
    width:80%;
    margin:auto;
    text-align:center;
    padding-top:100px;
}
h1{
    font-size:36px;
    font-weight: 600;
}
p{
    color:#777;
    font-size:14px;
    font-weight:300;
    line-height:22px;
    padding:10px;
}

.row{
    margin-top:40px;
    display:flex;
    flex-wrap: wrap;
    gap:20px;
    justify-content: center;
}
.course-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing:border-box;
    transition: 0.4s ease;
    
}
h3{
    text-align: center;
    font-weight: 600;
    margin:10px 0;

}
.course-col:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 30px rgba(0,0,0,0.2);
}

@media(max-width:768px){
    .row{
        flex-direction: column;
        align-items: center;
        display:flex;
    }
    .course-col,
    .facilities-col,
    .campus-col{
      flex-basis: 100%;
    }
    nav img{
       width:60px;
    }
    .text-box p{
        font-size: 13px;
    }
    .hero-btn{
        padding:10px 25px;
        font-size:14px;
    }
    .testimonials-col img{
        margin:auto;
    }
    nav .fa{
display:block;
}
    
}
/* Facilities */

.facilities{
    width:80%;
    margin:auto;
    text-align:center;
    padding-top:100px;
}

.facilities-col{
   flex-basis: 31%; /* Keeps 3 columns on desktop */
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    overflow: hidden; /* Ensures images don't leak out of rounded corners */
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.facilities-col img{
   width: 100%;
    height: 250px;       /* Set a fixed height for all images */
    object-fit: cover;   /* This crops the image to fill the area without stretching */
    display: block;
    transition: 0.5s;
}

/* Hover Effect for Training Images */
.facilities-col:hover img {
    transform: scale(1.1);
}

.facilities-col p{
    padding:0;
}
.facilities-col h3{
    margin-top:16px;
    margin-bottom:15px;
    text-align: left;

}

/* Responsive Fix for Mobile */
@media(max-width: 768px) {
    .facilities-col {
        flex-basis: 100%; /* Single column on mobile */
    }
    .facilities-col img {
        height: 200px;    /* Slightly shorter on small screens */
    }
}
@media(min-width:1025px){

.nav-links{
position:static;
background:none;
height:auto;
width:auto;
right:0;
}

.nav-links ul{
display:flex;
gap:30px;
align-items:center;
}

.nav-links ul li{
margin:0;
}

.nav-links ul li a{
/* color:white; */
font-size:15px;
/* font-size:15px; */
font-weight:500;
}

.menu-btn{
display:none;
}

.close-btn{
display:none;
}

}

@media(max-width:900px){

nav .fa{
display:block;
color:white;
font-size:24px;
cursor:pointer;
}

/* SIDEBAR */

.nav-links{
position:fixed;
background:#f44336;
height:100vh;
width:220px;
top:0;
right:-220px;
text-align:left;
z-index:2;
transition:0.4s;
padding-top:60px;
}

.nav-links ul{
display:block;
padding-left:25px;
}

.nav-links ul li{
margin:22px 0;
}

.achievement-menu{
position:absolute;
top:35px;
right:0;
width:260px;
border-radius:10px;
overflow:hidden;
max-height:0;
transition:0.4s ease;

background:#d62828;
backdrop-filter: blur(10px);

box-shadow:0 15px 35px rgba(0,0,0,0.35);
}}

/* Blog Content */

.blog-content{
    width:80%;
    margin:auto;
    padding:60px 0;  
}

.blog-left{
    flex-basis:55%;
    /* align-items: left; */
    margin-right: 150px;
    margin-left:10px;
}

.blog-left img{
    width:100%;
}

.blog-left  h2{
  color:#222;
  font-weight:600;
  margin:30px 0;
}

/* Certification */
.certifications{
width:90%;
margin:auto;
text-align:center;
padding:80px 0;
}

.certifications h2{
font-size:36px;
margin-bottom:50px;
}

/* Slider container */

.slider{
overflow:hidden;
position:relative;
}

/* Moving track */

.slide-track{
display:flex;
width:calc(250px * 10);
animation:scroll 25s linear infinite;
}

/* Each card */

.slide{
width:250px;
margin:0 20px;
background:#fff;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
padding:20px;
text-align:center;
transition:0.3s;
}

.slide img{
width:100%;
height:160px;
object-fit:contain;
margin-bottom:15px;
}

.slide h3{
font-size:16px;
}

/* Hover */

.slide:hover{
transform:translateY(-10px);
}

/* Animation */

@keyframes scroll{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}

.certification-section{
width:90%;
margin:auto;
text-align:center;
padding:80px 0;
}

.certification-section h2{
font-size:34px;
margin-bottom:50px;
letter-spacing:1px;
}

/* slider container */

.certification-slider{
overflow:hidden;
position:relative;
}

/* track */

.slider-track{
display:flex;
gap:30px;
animation:scroll 25s linear infinite;
}

/* certificate card */

.certificate-card{
min-width:320px;
background:white;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
padding:20px;
text-align:center;
transition:0.3s;
display:flex;
flex-direction: column;
justify-content:space-between;
}

.certificate-card img{
width:100%;
height:400px;
object-fit:cover;
object-position: top; /* Ensures the top of the certificate is always visible */
border-radius: 8px;
margin-bottom: 15px;
border: 1px solid #eee;
}

.certificate-card img[style] {
    width: 100% !important;
    height: 400px !important;
    margin-left: 0 !important;
    object-fit: cover !important;
}

.certificate-card h3{
font-size:18px;
margin-bottom:10px;
color:#333;
min-height:44px;
}

.certificate-card p{
font-size:13px;
color:#555;
line-height:1.5;
text-align:justify;
}

/* hover effect */

.certificate-card:hover{
transform:translateY(-10px);
box-shadow:0 15px 35px rgba(0,0,0,0.2);
}

/* animation */

@keyframes scroll{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}

/* Tablet */

@media (max-width:900px){

.certificate-card{
min-width:260px;
}

.certification-section h2{
font-size:28px;
}

}

/* Mobile */

@media (max-width:600px){

.certificate-card{
min-width:220px;
padding:15px;
}

.certificate-card img{
height:140px;
}

.certificate-card h3{
font-size:15px;
}

.certificate-card p{
font-size:13px;
}

.certification-section{
padding:60px 10px;
}

}

/* Wards */
.award-section{

width:90%;
background:#f5f5f5;
padding:80px 0;
position:relative;
overflow:hidden;

}

.award-slider{

max-width:1000px;
margin:auto;
position:relative;

}

/* --- Award Section Image Uniformity --- */

.award-slide {
    display: none;
    align-items: center; /* Vertically centers text and image */
    justify-content: space-between;
    gap: 40px;
    min-height: 450px; /* Ensures the slider height stays consistent */
}

.award-slide.active {
    display: flex;
}

/* 1. Create a fixed-size container for the image */
.award-image {
    flex: 1;
    width: 100%;
    max-width: 500px; /* Limits how wide the award can get */
    height: 400px;    /* Fixed height for all awards */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff; /* Adds a background for vertical images that don't fill width */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.award-image img {
    width: 100%;
    height: 100%;
    /* Use 'contain' if you want to see the whole certificate/trophy without cropping */
    /* Use 'cover' if you want the image to fill the entire square/rectangle */
    object-fit: contain; 
    padding: 10px; /* Spacing so the award isn't touching the edges */
}

/* 2. Fix the Text Side to align with the image */
.award-text {
    flex: 1;
    padding: 40px;
    background: #e9e9e9;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive Fix for Mobile */
@media (max-width: 900px) {
    .award-slide {
        flex-direction: column;
        text-align: center;
    }
    .award-image {
        width: 100%;
        height: 300px; /* Shorter height on mobile */
    }
    .award-text {
        width: 100%;
    }
}
.award-text h1{

font-size:42px;
line-height:1.2;
margin-bottom:20px;
font-weight:700;

}

.award-text p{

font-size:17px;
line-height:1.6;
color:#555;

}

/* BUTTON */

.view-btn{

display:inline-block;
margin-top:20px;
color:#333;
text-decoration:none;
font-weight:600;

}

/* RIGHT IMAGE */

.award-image{

width:50%;

}

.award-image img{

width:100%;
border-radius:10px;

}

/* ARROWS */

.prev,.next{

position:absolute;
top:50%;
transform:translateY(-50%);
background:black;
color:white;
border:none;
padding:12px 16px;
cursor:pointer;
font-size:20px;

}

.prev{ left:30px; }
.next{ right:30px; }

/* DOTS */

.dots{

text-align:center;
margin-top:40px;

}

.dots span{

height:10px;
width:10px;
background:#bbb;
display:inline-block;
margin:5px;
border-radius:50%;
cursor:pointer;
}

.dots .active-dot{
background:#333;
}

/* RESPONSIVE */

@media(max-width:900px){

.award-slide{

flex-direction:column;

}

.award-text,
.award-image{

width:100%;

}

.award-text h1{

font-size:30px;

}

}

@media(max-width:500px){

.award-text{

padding:30px;

}

.award-text h1{

font-size:24px;

}

.award-text p{

font-size:14px;

}

}

/* Menu  */
/* DROPDOWN */

.dropdown-menu{

position:absolute;
top:40px;
left:0;

background:white;
width:220px;

box-shadow:0 10px 20px rgba(0,0,0,0.1);

list-style:none;

opacity:0;
visibility:hidden;
transform:translateY(10px);

transition:0.3s;

}

.dropdown:hover .dropdown-menu{

opacity:1;
visibility:visible;
transform:translateY(0);

}

.dropdown-menu li{
border-bottom:1px solid #eee;
}

.dropdown-menu li:last-child{
border:none;
}

.dropdown-menu a{

display:block;
padding:12px 20px;
font-size:14px;

}

.dropdown-menu a:hover{

background:#f5f5f5;
color:#7ac143;

}

/* HAMBURGER */

.hamburger{

display:none;
flex-direction:column;
cursor:pointer;

}

.hamburger span{

width:25px;
height:3px;
background:#333;
margin:4px;

}

@media(max-width:900px){

.nav-menu{

position:fixed;
top:70px;
left:-100%;

flex-direction:column;

background:white;
width:100%;
height:100vh;

padding-top:40px;

transition:0.4s;

}

.nav-menu.active{
left:0;
}

.hamburger{
display:flex;
}

.dropdown-menu{

position:static;
opacity:1;
visibility:visible;
box-shadow:none;
transform:none;

display:none;

}

.dropdown.active .dropdown-menu{
display:block;
}

}

/* News and Publication  */
.news-section{
padding:40px 25px;
max-width:1000px;
margin:auto;
}

.section-title{
text-align:center;
margin-bottom:30px;
font-size:28px;
}

.news-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:20px;
}

.news-card{
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
transition:0.3s;
}

.news-card:hover{
transform:translateY(-5px);
}

.news-card img{
width:100%;
}

.news-card h3{
padding:10px 15px;
font-size:20px;
}

.news-card p{
padding:0 15px 15px;
color:#555;
}

.news-card button{
margin:15px;
padding:10px 20px;
border:none;
background:#2a7be4;
color:white;
border-radius:5px;
cursor:pointer;
}

.news-card button:hover{
background:#1c5bb8;
}

/*Office location */
.mp-section{
text-align:center;
padding:60px 20px;
background:#f5f5f5;
font-family:Arial;
}

.mp-map-container{
position:relative;
max-width:700px;
margin:auto;
/* border-radius: 50%; */
}

.mp-map-container img{
    border-radius: 500px;
}

.mp-map{
width:100%;
}

/* MARKERS */


.marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #25d9ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #25d9ff;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s;
}
/* THE LABEL (Always Visible) */
.location-label {
    position: absolute;
    bottom: 18px; /* Positions label above the dot */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap; /* Prevents text from wrapping */
    font-weight: 500;
    pointer-events: none; /* Allows clicking the dot through the text */
}

/* Add a small arrow point to the label */
.location-label::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

/* Hover effect for the dot */
.marker:hover {
    transform: scale(1.4);
    background: #ff3b30; /* Changes to red on hover for feedback */
    box-shadow: 0 0 15px #ff3b30;
}

.marker:hover .location-label {
    background: #ff3b30;
}
.marker:hover .location-label::after {
    border-color: #ff3b30 transparent transparent transparent;
}

/* MARKER LOCATIONS (Percentages) */
.sagar-ti { top: 48%; left: 64%; }
.sagar-vihaan { top: 52%; left: 66%; } /* Slightly adjusted to avoid overlap */
.sagar-ssk { top: 46%; left: 68%; }
.dewas { top: 65%; left: 46%; }
.damoh { top: 42%; left: 69%; }
.bhopal { top: 58%; left: 55%; }
Key Changes Ma
/* TOOLTIP */

#tooltip{
position:absolute;
background:#000;
color:#fff;
padding:6px 10px;
border-radius:5px;
font-size:14px;
display:none;
z-index:10;
}