*{
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background: #0255ad;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .logo {
    height: 60px;
    margin-right: 15px;
}

h1 {
    font-size: 24px;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(144, 138, 138, 0.7), rgba(4,9,30,0.7)), url(images/front.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    
    width: 200px;
    height: 50px;
    left: 0;
    top: 100px;
}

.nav-links ul li{

    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    
    display: block;
    margin: auto;
    transition: 0.5;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.nav-links ul li a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;

}

.dropdown-content {
    display: none;
    position: absolute;
    background: transparent;
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content li a {
    padding: 10px;
    color: black;
}

.dropdown-content li a:hover {
    background: transparent;
} 

.dropdown:hover .dropdown-content {
    display: block;
}

.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    font-size: 50px;;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: white;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44366;
    background-color: #f44366;
    transition: 1s;
}


/*...course... */
.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: 5%;
    display: flex;
    justify-content: space-between;
}

.course-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    cursor: pointer;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(221, 4, 4, 0.2);
}

/* ...Campus... */

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col img{
    width: 100%;
    display: block;
}

.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover{
    background: rgba(126, 89, 145, 0.5);
}

.campus-col-1{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.campus-col-1 img{
    width: 100%;
    height: 100%;
    display: block;
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: black;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
    font-family: Arial, Helvetica, sans-serif;
}

.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/* ...facilities... */


/* Facilities Section */
.facilities {
    padding: 30px;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Gallery */
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Image Box */
.image-box {
    background: white;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 220px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.image-box img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.image-box:hover {
    transform: scale(1.1); /* Zoom in effect */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); /* Shadow effect */
}

.image-box:hover img {
    transform: scale(1.05);
}

/* Image Text */
.image-box p {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
}

/* View More Button */
.view-more {
    margin-top: 20px;
}

.view-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
}

.view-more-btn:hover {
    background: #0056b3;
}

/* View More Button */
.view-more {
    text-align: center; /* Centers the button */
    margin-top: 20px;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #007bff; /* Blue background */
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Hover Effect */
.view-more-btn:hover {
    background: #0056b3; /* Darker blue */
    transform: scale(1.05); /* Slight zoom effect */
}

/* ....count..... */
.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* Counter Container */
.counter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

/* Counter Box */
.counter-box {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white;
    padding: 20px;
    width: 150px;
    height: 150px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Icons */
.counter-box i {
    font-size: 30px;
    margin-bottom: 10px;
}

/* Counter Numbers */
.count {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Counter Labels */
.counter-box p {
    font-size: 16px;
    font-weight: bold;
}

/* ...contact details... */

.cd{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/contact.jpeg);
    background-position: center;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;

}

.cd h1{
    color: white;
    margin-bottom: 40px;
    padding: 0;
}

/* ......footer........ */

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.icons .fa-brands{
    color: #f44366;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

/* .....about us page....... */

.sub-header{
    height: 40vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/background.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: rgb(155, 95, 95);
}

.sub-header h1{
    margin-top: 100px;
}

.s-footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.s-footer h4{
    margin-bottom: 25px;
    margin-top: 100px;
    font-weight: 600;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img{
    width: 100%;
}

.about-col h1{
    padding: 0;
}

.about-col p{
    padding: 15px 0 25px;
}

/* ..........contact us............ */

.location{
    width: 80%;
    margin: auto;
    padding: 80px;
}

.location iframe{
    width: 100%;
}

.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: #f44366;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;

}

.contact-col div p{
    padding: 0 ;
}