.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}


@media (min-aspect-ratio: 16/9) {
    .back-video {
        width: 100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9) {
    .back-video {
        width: auto;
        height: 100%;
    }
}

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.header {
    min-height: 100vh;
    width: 100%;
}
nav {
    display: flex;
    padding: 0.5% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img {
    width: 90px;
}

.nav-links {
    text-align: right;
}
.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}
.nav-links ul li::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #ff00ff;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after {
    width: 100%;
}
.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1 {
    font-size: 90px;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    transition: 0.5s;
}
.text-box h1:hover {
    color: white;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover {
    border: 1px solid #ba0e07;
    background: #ba0e07;
    transition: 1s;
}
nav .fa {
    display: none;
}

@media (max-width: 700px) {
    .text-box h1 {
        font-size: 30px;
        -webkit-text-stroke: 1px #fff;
        color: transparent;
    }
    .nav-links {
        display: block;
    }
    .nav-links {
        position: fixed;
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/button.jpg);
        height: 41vh;
        width: 130px;
        top: 0;
        right: -200px;
        text-align: center;

        z-index: 2;
        transition: 1s;
    }
    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 25px;
        cursor: pointer;
    }
    .nav-links ul {
        padding: 10px;
    }
    .nav-links ul li a {
        font-size: 12px;
    }
    .text-box h1 {
        font-size: 32px;
        transition: 0.5s;
    }
    .text-box h1:hover {
        color: white;
    }
}

/*-----Courses--------------------------------------------------------------------------------------------------------------*/
#course {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/marker.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    display: -ms-grid;
    display: grid;
    place-items: center;
    min-height: 100vh;
    width: 100vw;
}

#course .heading {
    font-size: 2rem;
    padding-top: 5rem;
    margin: 2rem 0;
    color: #fff;
    text-align: center;
    position: relative;
}

#course .heading::after {
    content: "";
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 0.3rem;
    width: 60%;
    border-radius: 5rem;
    background: #333;
}

#course .box-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 90%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#course .box-container .box {
    height: 15rem;
    width: 15rem;
    border-radius: 2rem;
    -webkit-box-shadow: 0 0 0.3rem #333;
    box-shadow: 0 0 0.3rem #333;
    margin: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    cursor: pointer;
    overflow: hidden;
}

#course .box-container .box img {
    height: 35%;
    width: 35%;
    -webkit-transform: translateY(5rem);
    transform: translateY(5rem);
}

#course .box-container .box p {
    font-size: 12px;
    text-align: center;
    color: #fff;
    opacity: 0;
    -webkit-transform: translateY(12rem);
    transform: translateY(12rem);
    padding: 0 0.4rem;
}

#course .box-container .box:hover p {
    opacity: 1;
    -webkit-transform: translateY(0rem);
    transform: translateY(0rem);
}

#course .box-container .box:hover img {
    height: 25%;
    width: 25%;
    -webkit-transform: translateY(-2rem);
    transform: translateY(-2rem);
}

#course .box-container .box:hover {
    background: #00b894;
}


/*---------------course2---------------------------------------------------------------------------------------------------*/

#course2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/library.png);
    background-position: center;
    background-size: cover;
    position: relative;
    display: -ms-grid;
    display: grid;
    place-items: center;
    min-height: 100vh;
    width: 100vw;
}

#course2 .heading {
    font-size: 2rem;
    padding-top: 5rem;
    margin: 2rem 0;
    color: #fff;
    text-align: center;
    position: relative;
}

#course2 .heading::after {
    content: "";
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 0.3rem;
    width: 60%;
    border-radius: 5rem;
    background: #333;
}

#course2 .box-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 90%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#course2 .box-container .box {
    height: 15rem;
    width: 15rem;
    border-radius: 0.5rem;
    -webkit-box-shadow: 0 0 0.3rem #333;
    box-shadow: 0 0 0.3rem #333;
    margin: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    cursor: pointer;
    overflow: hidden;
}

#course2 .box-container .box img {
    height: 35%;
    width: 35%;
    -webkit-transform: translateY(5rem);
    transform: translateY(5rem);
}

#course2 .box-container .box p {
    font-size: 12px;
    text-align: center;
    color: #fff;
    opacity: 0;
    -webkit-transform: translateY(12rem);
    transform: translateY(12rem);
    padding: 0 0.4rem;
}

#course2 .box-container .box:hover p {
    opacity: 1;
    -webkit-transform: translateY(0rem);
    transform: translateY(0rem);
}

#course2 .box-container .box:hover img {
    height: 25%;
    width: 25%;
    -webkit-transform: translateY(-2rem);
    transform: translateY(-2rem);
}

#course2 .box-container .box:hover {
    background: #00b894;
}

/*---------------course3---------------------------------------------------------------------------------------------------*/

#course3 {
    background-image: url(images/13.jpg);
    background-position: center;
    background-size: cover;
    position: center;
    display: -ms-grid;
    display: grid;
    place-items: center;
    min-height: 100vh;
    width: 100vw;
}

#course3 .heading {
    font-size: 2rem;
    padding-top: 5rem;
    margin: 2rem 0;
    color: black;
    text-align: center;
    position: relative;
}

#course3 .heading::after {
    content: "";
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 0.3rem;
    width: 60%;
    border-radius: 5rem;
    background: #333;
}

#course3 .box-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 90%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#course3 .box-container .box {
    height: 15rem;
    width: 15rem;
    border-radius: 0.3rem;
    -webkit-box-shadow: 0 0 0.3rem #333;
    box-shadow: 0 0 0.3rem #333;
    margin: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    cursor: pointer;
    overflow: hidden;
}

#course3 .box-container .box img {
    height: 35%;
    width: 35%;
    -webkit-transform: translateY(4rem);
    transform: translateY(4rem);
}

#course3 .box-container .box p {
    font-size: 12px;
    text-align: center;
    color: #fff;
    opacity: 0;
    -webkit-transform: translateY(12rem);
    transform: translateY(12rem);
    padding: 0 0.4rem;
}

#course3 .box-container .box:hover p {
    opacity: 1;
    -webkit-transform: translateY(0rem);
    transform: translateY(0rem);
}

#course3 .box-container .box:hover img {
    height: 23%;
    width: 25%;
    -webkit-transform: translateY(-2rem);
    transform: translateY(-2rem);
}

#course3 .box-container .box:hover {
    background: #000000;
}

/*------------------------------------------Testimonials------------------------------------------------------------*/

.testimonials {
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonials p {
    font-size: 11px;
    color: darkgray;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.testimonial-col {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background-color: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.testimonial-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonial-col p {
    padding: 0;
    color: gray;
}
.testimonial-col h3 {
    margin-top: 15px;
    text-align: left;
}

.testimonial-col .fa {
    color: #f44336;
}

@media (max-width: 700px) {
    .row {
        flex-direction: column;
    }
    .testimonial-col img {
        margin-left: 0px;
        margin-right: 15px;
    }
    .cta {
        text-align: center;
    }
    .cta h1 {
        text-align: center;
    }
}

.cta {
    margin: 100px auto;
    width: 60%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/banner2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 90px 90px;
}

.cta h1 {
    color: white;
    margin-bottom: 50px;
    padding: 0;
    font-size: 30px;
}

/*----------- About Us -------------------------------------------------------*/

.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.footer h4 {
    margin-bottom: 35px;
    margin-top: 25px;
    font-weight: 600;
}
.footer p {
    font-size: 12px;
    color: grey;
}

.icons .fa {
    color: #f44336;
    margin: 25px 13px;
    cursor: pointer;
    padding: 18 0;
}
.fa-heart-o {
    color: #f44336;
}

/*==============================About us page ===================================================================================*/
.sub-header {
    height: 50vh;
    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: #fff;
}

.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 {
    width: 100%;
}

.about-col h1 {
    padding: 0;
    font-size: xx-large;
}

.about-col p {
    padding: 15px 0 25px;
    font-size: 12px;
    color: grey;
}
/*========================Enroll Now ====================================================================================*/
.enroll-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/back3.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.enroll-header h1 {
    margin-top: 100px;
}

/*--------------------box to show ----------------------------------------------------------------------------------------*/


/*=============================REGISTRATION FORM =======================================================*/
.registration-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/contact.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.registration-header h1 {
    margin-top: 100px;
    font-size: 60px;
}

.registration {
    font-family: Arial, sans-serif;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/marker.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    margin-top: 30px;
    margin-bottom: 15px;
}

h1 {
    margin-bottom: 20px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

#upiQrCode {
    width: 30%;
    height: 50%;
}

.message {
    text-align: center;
    border-radius: 2px;
    font-size: 14px;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    display: block;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

#send {
    padding: 10px;
    background-color: #5cb85c;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#send:hover {
    background-color: #4cae4c;
}

#upiQrCode {
    display: block;
    margin: 10px auto;
    max-width: 100%;
}

/* ================================================= REIVEW ===================================================================== */

.review-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/back1.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.review-header h1 {
    margin-top: 100px;
}

.testimonials2 {
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonials2 p {
    font-size: 11px;
    color: darkgray;
}

.row2 {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.testimonial-col2 {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/student.jpg);
    background-position: center;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.testimonial-col2 img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonial-col2 p {
    padding: 0;
    color: white;
}
.testimonial-col2 h3 {
    margin-top: 15px;
    text-align: left;
    color: white;
}

.testimonial-col2 .fa {
    color: #f44336;
}

@media (max-width: 700px) {
    .row2 {
        flex-direction: column;
    }
    .testimonial-col2 img {
        margin-left: 0px;
        margin-right: 15px;
    }
}

/* ============================================CONTACT =======================================================================*/

.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 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-col input,
.contact-col textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
}

/* ============================================CONTACT HEADER=======================================================================*/

.contact-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/enroll.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.contact-header h1 {
    margin-top: 100px;
}

.hero-btn2 {
    display: inline-block;
    text-decoration: none;
    color: black;
    border: 1px solid black;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn2:hover {
    border: 1px solid #25a53e;
    background: #25a53e;
    color: white;
    transition: 1s;
}

/*================================================COURSE PAGE =================================================================*/


body{
    font-family: 'Poppins', sans-serif;
}

.container2 {
    text-align: center;
    padding: 20px;
}

.button-group {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.content {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease, max-height 0.5s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.content.show {
    display: block;
    opacity: 1;
    max-height: 1000px; /* Adjust based on content size */
}


/*************************************************************************************************************/


.button-group {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #007bff; /* Adjust as needed */
    color: #ffffff;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #0056b3; /* Adjust hover color */
    transform: scale(1.05); /* Slightly enlarges the button on hover */
}

@media (max-width: 768px) {
    button {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    button {
        font-size: 12px;
        padding: 6px 12px;
    }
}

.content {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease, max-height 0.5s ease;
    opacity: 0;
    max-height: 0;
    overflow: auto;
}

.content.show {
    display: block;
    opacity: 1;
    max-height: 1000px; /* Adjust based on content size */
}

.box-container2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default to four columns */
    gap: 20px; /* Space between boxes */
    padding: 10px;
}

.box2 {
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box2 img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
}


 .box-container2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 90%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

 .box-container2 .box2 {
    height: 15rem;
    width: 15rem;
    border-radius: 0.3rem;
    -webkit-box-shadow: 0 0 0.3rem #333;
    box-shadow: 0 0 0.3rem #333;
    margin: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    cursor: pointer;
    overflow: hidden;
}

 .box-container2 .box2 img {
    height: 35%;
    width: 35%;
    -webkit-transform: translateY(4rem);
    transform: translateY(4rem);
}

.box-container2 .box2 p {
    font-size: 12px;
    text-align: center;
    color: #fff;
    opacity: 0;
    -webkit-transform: translateY(12rem);
    transform: translateY(12rem);
    padding: 0 0.4rem;
}

 .box-container2 .box2:hover p {
    opacity: 1;
    -webkit-transform: translateY(0rem);
    transform: translateY(0rem);
}

 .box-container2 .box2:hover img {
    height: 23%;
    width: 25%;
    -webkit-transform: translateY(-2rem);
    transform: translateY(-2rem);
}

 .box-container2 .box2:hover {
    background: #000000;
}

.button-group {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #007bff; /* Adjust as needed */
    color: #ffffff;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #0056b3; /* Adjust hover color */
    transform: scale(1.05); /* Slightly enlarges the button on hover */
}

@media (max-width: 700px) {
    .container2 {
        grid-template-columns: repeat(6, 1fr); /* Three columns for large tablets */
    }
}















