* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
}

/* Background Video */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers full section */
    filter: blur(0 px); /* Apply blur effect */
    z-index: -1; /* Sends the video behind content */
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    text-decoration: none;
    font-size: 24px;
    color: #fff3f3;
    font-weight: bold;
}

nav .fab {
    font-size: 42px;
    /* color: #5236f4; */
    color: #c8fff2;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    display: inline-block;
    list-style: none;
    padding: 8px 12px;
    position: relative;
    text-transform: uppercase;
}

.nav-links ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #c8fff2;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}



table.center-text {
    margin: 0 auto;
    text-align: center;
}

table.center-text td {
    font-weight: bold;
    font-size: 18px;
}

/* Existing Button Styles */
.hero_btn {
    position: relative;
    display: inline-block;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}

.hero_btn:hover {
    border: 1px solid #c8fff2;
    background: #c8fff2;
    transition: 1s;
}

/* Popup Background - Initially Hidden */
.popup {
    display: none; /* ✅ Hide by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

/* Popup Box */
.popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}

/* Close Button */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}


nav .fa {
    display: none;
}

/* Update index code */


p.subhead {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* X-offset, Y-offset, Blur, Shadow Color */
}

.text_box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    padding: 20px; /* Added padding for better spacing */
}

.text_box h2 {
    font-size: 48px;
    font-weight: 900;
    color: #c8fff2;
    margin-bottom: 20px;
}

.text_box #headtext {
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
}

.text_box p {
    margin: 10px 0 30px;
    font-size: 18px;
    line-height: 1.5; /* Improved readability */
    color: #ffff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .text_box {
        width: 95%; /* Increases width slightly for better fit */
        padding: 10px;
    }
    
    .text_box h2 {
        font-size: 36px;
    }

    .text_box #headtext {
        font-size: 28px;
    }

    .text_box p {
        font-size: 16px;
        margin: 10px 20px; /* Ensures proper spacing */
    }
}

@media (max-width: 480px) {
    .text_box {
        width: 100%;
        top: 55%; /* Adjusted position for small screens */
    }

    .text_box h2 {
        font-size: 28px;
    }

    .text_box #headtext {
        font-size: 24px;
    }

    .text_box p {
        font-size: 14px;
        margin: 10px 15px;
    }
}

/* Responsive Navbar */
@media (max-width: 700px) {
    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: fixed;
        background: rgba(200, 255, 242, 0.2); /* Transparent slab effect */
        backdrop-filter: blur(10px); /* Smooth glass effect */
        -webkit-backdrop-filter: blur(10px); /* Safari support */
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1.2s;
        border-left: 1px solid rgba(200, 255, 242, 0.4); /* Subtle border effect */
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;
    }
}


/* Update index code */






/* Course Section Start */

.course {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.PageBlock {
    position: relative;
    margin: 0px !important;
    padding: 0px;
}

.verticalLine {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, #c8fff2, #41524e); /* Vertical gradient */
    margin: 0 auto 40px;
}


.Clear {
    clear: both;
}

h1 {
    font-size: 46px;
    font-weight: 800;
    margin: 15px 0;
    line-height: 50px;
    text-transform: uppercase;
    color: #41524e;
}

h1.about {
    font-size: 46px;
    font-weight: 800;
    margin: 15px 0;
    line-height: 50px;
    text-transform: uppercase;
    color: #c8fff2;
}

p {
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;

}

p.boxes {
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    text-align: justify; /* Justifies text */

}


.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly; /* Ensures equal spacing between columns */
    gap: 20px; /* Provides uniform spacing between elements */
    margin-top: 5%;
}

.int-col {
    flex: 1; /* Allows flexible resizing */
    max-width: 30%; /* Ensures three columns per row */
    min-width: 280px; /* Prevents columns from shrinking too much */
    background: #eee;
    border-radius: 10px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    text-align: center;
}

/* Hover Effect */
.int-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .int-col {
        max-width: 45%; /* Two columns on medium screens */
    }
}

@media screen and (max-width: 768px) {
    .int-col {
        max-width: 100%; /* One column on small screens */
    }
}


@media (max-width: 700px) {
    .verticalLine {
        widtH: 1px;
    }
    h1 {
        font-size: 24px;
        line-height: unset;
    }
    .row {
        flex-direction: column;
    }
}

/* Course Section End */



/* Facilities Section Start */

.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%;
    transition: 0.5s;
    border-radius: 10px;
}

.facilities-col img:hover {
    box-shadow: 0 0 20px 10px rgba(54, 58, 121, 0.2);
}

.facilities-col p {
    padding: 0;
}

.facilities-col h3 {
    text-align: left;
    margin-top: 16px;
    margin-bottom: 15px;
}

/* Facilities Section End */

/* Testimonials Section Start */

.testimonials {
    margin: auto;
    width: 80%;
    padding-top: 100px;
    text-align: center;
}

.testimonials-col {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.testimonials-col img {
    height: 60px;
    width: 60px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonials-col p {
    padding: 0;
}

.testimonials-col h3 {
    margin-top: 15px;
    text-align: left;
}

.testimonials-col .fa {
    color: #c8fff2;
}

@media (max-width: 700px) {
    .testimonials-col img {
        margin-left: 0px;
        margin-right: 15px;
    }
}

/* Testimonials Section Start */

/* Call To Action Section Start */

.cta {
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url(img/back1.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.cta h1 {
    font-size: 58px;
    font-weight: 800;
    margin: 15px 0;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
}

@media (max-width: 700px) {
    .cta h1 {
        font-size: 26px;
    }
}

/* Call To Action Section End */

/* Footer Section Start */

.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4 {
    font-weight: 600;
    margin-bottom: 25px;
    margin-top: 20px;
}

.footer a {
    text-decoration: none;
    color: #949fdf;
    font-weight: 600;
}

.footer a:hover {
    color: #c8fff2;
}

.icons .fab {
    color: #5236f4;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.icons .fab:hover{
    color: #c8fff2;
}

.fa-heart {
    color: #c8fff2;
}

hr {
    border: 0.01px solid #7777772a;
}

/* Footer Section End */

/* About me Section Start */

.Sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), 
    url(img/banner.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.Sub-header h1 {
    margin-top: 100px;
}

.about-me {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
    
    /* Center Text & Inline Elements */
    text-align: center;

    /* Center Block Elements */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img {
    width: 300px;  /* Set a fixed width */
    height: 300px; /* Set a fixed height */
    object-fit: cover; /* Ensures images fill the space while maintaining aspect ratio */
}


.about-col h1 {
    padding-top: 0;
}

.about-col p {
    padding: 15px 0 25px;
}

.btn {
    border: 1px solid #5236f4;
    background: transparent;
    color: #5236f4;
}

.btn:hover {
    color: #fff;
}

/* About me Section end */

/* Blog Section start */

.blog-content {
    width: 80%;
    margin: auto;
    padding: 60px 0;
    text-align: center; /* Align content to center */
    margin-left: 25%; /* Move content 10% to the right */
}

.blog-left {
    flex-basis: 65%;
}

.blog-left img {
    width: 100%;
    margin-bottom: 20px;
}

.blog-left h2 {
    color: #222;
    font-weight: 600;
    margin: 20px 0;
}

.blog-left h5 {
    color: #c8fff2;
    font-weight: bolder;
    margin: 5px 0;
    cursor: pointer;
}

.blog-left p {
    color: #999;
    padding: 0;
}


/* Blog Section End */

/* Comment Box Section Start */

.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: 10px 0;
}

@media(max-width: 700px) {
    .Sub-header h1 {
        font-size: 24px;
    }
}

/* Comment Box Section End */


.loacation {
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.loacation iframe {
    width: 100%;
}

.contact-us {
    width: 80%;
    margin: auto;
}

.content-col {
    flex-basis: 48%;
    margin-bottom: 30px;
}

.content-col div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.content-col div .fa {
    font-size: 28px;
    color: #c8fff2;
    margin: 10px;
    margin-right: 30px;
}

.content-col div p {
    padding: 0;
}

.content-col div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.content-col input, .content-col textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    border: 1px solid #ccc;
    outline: none;
    box-sizing: border-box;
}

