*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(image/SCHOOL.jfif);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 0% 0%;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(201, 243, 239, 0.3); /* Adjusted background color for more transparency */
    box-shadow: 0 4px 8px rgba(0,0,0,0.5); /* Softer shadow for a glass effect */
    backdrop-filter: blur(20px); /* Adds blur to the background */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border for a glass effect */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}
nav img{
    width: 150px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.nav-links ul li{
    list-style: none;
    padding: 8px 20px;
    position: relative;
}
.nav-links ul li a{
    color: rgb(24, 5, 129);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: width 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.nav-links ul li:hover a{
    color: #f44336;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 20px;
    color: white;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}
nav .fa{
    display: none;
}
@media(max-width: 700px){
    nav{
        padding: 2% 4%;
    }
    .text-box h1{
        font-size: 24px;
    }
    .nav-links ul{
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        height: calc(100vh - 80px);
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
    }
    .nav-links ul li{
        display: block;
        padding: 16px;
        text-align: center;
    }
    nav .fa{
        display: block;
        color: #000;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links.show{
        transform: translateX(0);
    }
}

.sub-header {
    padding-top: 80px; /* Adjust the value as needed */
    height: calc(50vh - 100px); /* Adjust the height calculation to maintain the intended height */
}


/*---------cousre--------*/
.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: 5%;
    display: flex;
    justify-content: space-between;
}

.course-col{
    flex-basis: 31%;
    background: #f1f1f1;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(94, 89, 89, 0.5);
    color: rgb(0, 0, 0);
    transform: scale(1.02); 
    background-color: #fffdfd;
}
@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}
/*----------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.9s;
}
.layer:hover{
    background: rgba(240, 37, 37, 0.7);
    color: WHITE;
}
.layer h3{
    width: 100%;
    font-weight: 100%;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.9s;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
    color: #fff;
}
.layer:hover p{
    color: #fff;
}
.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;
    transition: transform 0.3s ease;
}
.facilities-col:hover img {
    transform: scale(1.1); /* Added scale effect on hover */
}
.facilities-col p{
    padding: 0;
}
.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*---------testimonials---------*/


.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.testimonials-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #faf3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
    transition: transform 0.5s ease;
}
.testimonials-col:hover{
    transform: scale(1.07);
    box-shadow: 0 0 20px 0px rgba(10, 1, 1, 0.5);
}
.testimonials-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonials-col p{
    padding: 0;
}
.testimonials-col H3{
    margin-top: 15px;
    text-align: left;
    color: #f44336;
}
.testimonials-col .fa{
    color: #f44336;
}
@media(max-width: 700px){
    .testimonials-col img{
        margin-left: 0px;
        margin-right: 15px;
    }
}
/*------CALL TO ACTION-------*/

.cta{
    margin: 100PX auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(image/SCHOOL.jfif);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
    transition: transform 0.5s ease;
}
.cta:hover{
    box-shadow: 0 0 20px 0px rgba(10, 1, 5, 5);
}
.cta h1{
    color: wheat;
    margin-bottom: 40px;
    padding: 0;
}
@media(max-width: 700px){
    .cta h1{
        font-size: 24px;
    }
}
/*---------------footer----*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}
.icons .fa{
    color: red;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-heart-o{
    color: red;
}

/*------------about us*/
.sub-header {
    height: 50vh;
    width: 100%;
    /*background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(image/school_back.png);*/
    background-position: center;
    background-size: cover;
    text-align: center;
    color: rgb(10, 10, 10);
}
.sub-header h1{
    margin-top: 100px;
}
.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img:hover{
    transform: scale(1.05);
    border-radius: 5px;
}
.about-col img{
    width: 100%;
    border-radius: 5px;
    transition: transform 0.5s ease;
}
.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding-top: 15px 0 25px;
}
.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.red-btn:hover{
    color: white;
}
/*------------blog-content--------------*/
.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;
}
.blog-left img{
    width: 100%;
}
.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}
.blog-left p{
    color: #030303;
    padding: 0;
}
.blog-right{
    flex-basis: 32%;
}
.blog-right h3{
    background: #f44336;
    color: #fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    flex-basis: 32%;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}
.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}
.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    margin: ;
}
@media(max-width:700px){
    .sub-header h1{
        font-size: 24px;
    }
}

/*-----------------contact us page------------------*/
.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.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 input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}



/* apply form*/

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: #e6f4f8;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Form Labels */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Form Inputs */
input[type="text"], input[type="email"], input[type="date"], select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Submit and Back Buttons */
input[type="submit"], .back-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: calc(50% - 10px); /* Make buttons side by side */
}

input[type="submit"]:hover, .back-button:hover {
    background-color: #45a049;
}

.back-button {
    background-color: #f44336;
}

.back-button:hover {
    background-color: #d32f2f;
}

/* Button Group Styling */
.button-group {
    display: flex;
    justify-content: space-between;
}

/* Hidden Message Styling */
/* .hidden1 {
    display: none;
} */
#message {
    display: none;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

#message {
    margin-top: 20px;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border-radius: 4px;
    text-align: center;
}

/* Other Styles */
.contact-col form {
    margin-top: 20px;
}

.contact-col form input, .contact-col form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-col form button {
    background-color: #f44336;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-col form button:hover {
    background-color: #d32f2f;
}
