/* 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%;
    border-radius: 10px;
    margin-bottom:5%;
    text-align:left;
}
.facilities-col img{
    width:100%;
    border-radius:10px;
}
.facilities-col p{
    padding:0;
}
.facilities-col h3{
    margin-top:16px;
    margin-bottom:15px;
    text-align: left;

}
@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);
}}

.location{
    width:80%;
    margin:auto;
    padding:80px 0;
}
.location iframe{
    width:100%;
}

/* contact us section */
.contact-us{
    width:80%;
    margin:auto;
}
.contact-col {
   flex-basis: 48%;
   margin-bottom: 30px ;
}
.contact-col div{
    display:flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa{
    font-size: 28px;
    color:#f44336;
    margin:10px;
    margin-right:30px;
}

.contact-col div p{
    padding:0;
}
.contact-col div h5{
    font-size:20px;
    margin-bottom:5px ;
    color:#555;
    font-weight:400;
}

/* Contact Column */
.contact-col input,.contact-col textarea{
    width:100%;
    padding:15px;
    margin-bottom: 17px;
    outline:none;
    border:1px solid #ccc;
    box-sizing:border-box;
}
