*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
.header{
    min-height:100vh;
    width:100%;
    background-image: linear-gradient(rgba(65, 105, 225, 0.3), rgba(65, 105, 225, 0.5)), url("/assets/images/bg.jpg");
    background-position:center;
    background-size:cover;
    position:relative;
}

.nav-wrap{
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 

}

nav{
    display: flex;
    padding: 2% 3%;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(rgba(100, 149, 237, 1), rgba(50, 50, 50, 0.5));
    height: 45px;
    
}


nav img{
    padding-top: 8px;
    width: 140px;
    height: 100px; 
    filter: contrast(3000%);
    opacity: 1;

}

.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
.nav-links ul li::after{
    content:'';
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, #B3E5FC, #64B5F6, #0D47A1);
    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: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
    text-align: center;
}
.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 #4169E1; 
    background: linear-gradient(135deg, #4169E1, #5A8DEE); 
    box-shadow: 0 0 10px 5px rgba(65, 105, 225, 0.5); 
    color: white;
    transition: 1s; 

}
nav .fa-circle-xmark,
nav .fa-bars-staggered {
    display: none;
}

/*------courses------------*/

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;

}
.crs-head{
    font-size: 36px;
    font-weight: 600;

}
.crs-para{
    color: #07070774;
    font-size: 14px;
    line-height: 22px;
    padding: 10px;
}
.crs-img {
    width: 50px;
    max-height: 70px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.row-2{
    margin-top: 1%;
    display: flex;
    justify-content: space-between;
}
.crs-col{
    flex-basis: 31%;
    background: #aec9f2;
    border-radius: 10px;
    margin-bottom: 1%;
    padding: 20px 12px;
    box-sizing: border-box;
}

.crs-col2{
    flex-basis: 31%;
    background: #aec9f2;
    border-radius: 10px;
    margin-bottom: 2%;
    padding: 10px 12px 20px 12px;
    box-sizing: border-box;
}
.crs-btn{
    display: inline-block;
    text-decoration: none;
    color: #000000;
    border: 1px solid #aec9f2;
    padding: 12px 34px;
    font-size: 15px;
    background: linear-gradient(rgba(173, 216, 230, 0.3), rgba(255, 255, 255, 0.2));
    position: relative;
    cursor: pointer;
    font-weight: 600;
}
.crs-btn:hover{
    border: 1px solid #4169E1; 
    background: linear-gradient(135deg, #4169E1, #5A8DEE); 
    box-shadow: 0 0 10px 5px rgba(65, 105, 225, 0.5); 
    color: rgb(0, 0, 0);
    transition: 1s; 

}
.crs-dis{
    text-align: center;
    font-weight: 600;
}
.crs-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.4);

}
.crs-col2:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.4);

}


.whyus{
    width: 100%;
    margin: auto;
    margin-top: 40px;
    text-align: center;
    padding-top: 50px;
    background: linear-gradient(rgba(65, 105, 225, 0.5), rgba(255, 255, 255, 0));
}
.why-head{
    font-size: 36px;
    font-weight: 600;
    color: #fff;
}
.why-para{
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    padding: 10px;
}
.why-img{
    width: 100px;
    height: 120px;
}
.why-row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}
.why-dis{
    font-size: 26px;
    font-weight: 600;
}
.why-img-para{
    word-wrap: break-word;
    text-align: center;
    overflow: auto;
    font-size: 12px;

}
.why-col {
    flex-basis: 31%;
    margin-bottom: 1%;
    padding: 20px 17px;
    position: relative;
    overflow: hidden; 
}

.why-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(65, 105, 225, 0.5), rgba(255, 255, 255, 0)); 
    transform: translateX(-100%) translateY(-100%);
    opacity: 0; 
    transition: opacity 0.3s ease; 
    z-index: 2; 
    pointer-events: none; 
}

.why-col:hover::after {
    opacity: 1; 
    animation: slideIn 0.6s forwards; 
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%) translateY(-100%); 
        opacity: 0;
    }
    100% {
        transform: translateX(0) translateY(0); 
        opacity: 1;
    }
}

.why-col .why-img, 
.why-col .why-dis, 
.why-col .why-img-para {
    z-index: 1; 
}

/*------testimony-------*/

.tst {
    width: 100%;
    padding: 20px 0;
    background-color: #759de0;
    overflow: hidden;
    height: 410px;
}

.tst-header {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: 600;
    color: #fff;
}

.tst-header h1 {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px; /* Small space between heading and description */
}

.tst-header p {
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    padding: 10px;
}

.tst-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    width: 100%;
}

.testimonial {
    display: flex;
    animation: scrollTestimonial 30s linear infinite;
}

.testimonial-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.9);
    width: 250px;
    height: 150px;
    justify-content: center;
    text-align: center;
    margin-right: 40px;
}

.student-photo {
    width: 189px;
    height: 69px;
    border-radius: 50%;
    margin-right: 15px;
}

.student-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.student-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    padding-left: 34px;
}

.student-opinion {
    font-size: 14px;
    color: #555;
    text-align: center;
}

@keyframes scrollTestimonial {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.tst-row {
    width: calc(250px * 10 + 40px * 9); /* Dynamic width calculation */
    gap: 40px; /* Space between testimonials */
}

/* Achieve Section Styling */
.achieve {
    width: 100%;
    background-image: linear-gradient(rgba(65, 105, 225, 0.3), rgba(65, 105, 225, 0.5)), url("../images/ach.jpg");
    background-position: center;
    background-size: cover;
    padding: 50px 0;
    position: relative;
    color: #fff;
}

.achieve-header {
    text-align: center;
    margin-bottom: 40px;
}

.achieve-header h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.achieve-header p {
    font-size: 18px;
    margin-bottom: 40px;
}

.achieve-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Styling for Each Stat Item */
.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: calc(25% - 15px); /* Adjusted width to make 4 items per row */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px; /* Space between items for large screens */
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.stat-count {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    transition: all 5s ease-in-out; /* Smooth transition for counting */
}

.stat-info p {
    font-size: 18px;
    color: #fff;
}

/* Media Query for Small Screens */
@media (max-width: 700px) {
    .achieve-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-item {
        width: 80%; /* Make columns 80% of the width for smaller screens */
        margin: 0 auto;
    }

    .achieve-header h1 {
        font-size: 28px;
    }

    .achieve-header p {
        font-size: 16px;
    }
}

/* Media Query for Larger Screens (Above 700px) */
@media (min-width: 700px) {
    .stat-item {
        width: calc(25% - 20px); /* Ensure 4 columns per row with space between them */
    }
}
.footer{
    align-items: center;
    text-align: center;
    background: #000000;
    color: #fff;
    height: 190px;
}

.footer a{
    text-decoration: none; 
    color: inherit;
    outline: none;
}

.footer-head{
    font-size: 30px;
    font-weight: 600;
    padding: 1px 2px;  
}
.footer-para{
    font-size: 14px;
}
.icons{
    padding: 12px 10px 4px 10px;
    font-size: 30px;
    color: #fff;
}
.icons i{
    padding: 0 17px 0 9px;
    
}
.designed{
    padding: 13px 28px;
    font-size: 10px;
}
.rights{
    font-size: 13px;
}

.enquiry {
    position: fixed;
    bottom: 20px; /* Position from the bottom of the screen */
    right: 20px;  /* Position from the right of the screen */
    width: 60px;  /* Size of the button */
    height: 60px;
    border-radius: 50%;
    background-color: #25D366; /* WhatsApp green color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;  /* Make sure it stays above all other content */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.enquiry a {
    color: white; /* Make the WhatsApp icon white */
    text-decoration: none; /* Remove any underlines */
}

.enquiry i {
    font-size: 35px;
}

.enquiry:hover {
    transform: scale(1.1); /* Pop effect: slightly enlarge the icon */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow effect on hover */
}

.enquiry a:hover {
    cursor: pointer; /* Change cursor to pointer on hover */
}





@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #4169e1;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
     }
    nav .fa-circle-xmark,
    nav .fa-bars-staggered {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
     }
    .nav-links ul{
        padding: 30px;
    }
    .row{
        flex-direction: column;
    }
    .row-2{
        flex-direction: column;
    }
    .why-row{
        flex-direction: column;
    }
}