* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('../image/bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    /* font-family: 'Open Sans', sans-serif; */
}

 /*============== loader ===========*/


  #loader {
            display: none;
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(255,255,255,0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        .spinner {
            border: 8px solid #f3f3f3;
            border-top: 8px solid #3498db;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
/* ========= Topnav ====   */

.topnav {
    background: linear-gradient(90deg, #9effb5, #fef0af);
    color: #000;
    text-align: center;
    padding: 10px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.topnav a {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    color: #000;
    text-decoration: none;
}



/* ================= Navbar ===================*/
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 7px 25px;
    background-color: #ffffff;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    z-index: 999;
}

.brand img {
    height: 80px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.nav-links li a {
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #0167ff;
    transition: width 0.3s ease;
    border-radius: 12px;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: #0167ff;
}

.nav-links li a.nav_enroll {
    color: #ff9100;
    border: 2px solid #ff9100;
    padding: 10px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;

}

.nav-links li a.nav_enroll:hover {
    color: #0167ff;
    border: 2px solid #0167ff;

}

.dot {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 999;
}

.dot span {
    width: 25px;
    height: 5px;
    background-color: #000000;
    transition: 0.3s;
}

.hero {
    background-image: url('../image/bg4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    /* background-color: #000000ce; */
    position: relative;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.582), rgba(0, 0, 0, 0.752));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1.2s ease-in-out;
}

.animated-gradient-text {
    font-size: 6rem;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    text-shadow: 0.5px 0px 6px #000000;
}

@keyframes animatedText {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glow-text {
    color: #dcf1ff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0.5px 0px 6px #000000a2;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.glow-text_p {
    color: #dcf1ff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0.5px 0px 6px #000000a2;
    font-family: 'Poppins', sans-serif;
}

.hero-description {
    font-size: 1.1rem;
    /* line-height: 1.8; */
    color: #a6ff7a;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    animation: fadeIn 2s ease forwards;
    font-family: 'Open Sans', sans-serif;
}

.hero-buttons {
    margin-top: 30px;
    font-family: 'Open Sans', sans-serif;
}

.action-btn {
    padding: 10px 25px;
    margin: 0 10px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-family: 'Open Sans', sans-serif;
}

.btn-warning:hover {
    background-color: #ffcc00;
    color: #000;
    box-shadow: 0 0 15px #ffcc00;
}

.btn-light:hover {
    background-color: #ffffff;
    color: #000;
    box-shadow: 0 0 15px #ffffff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}





.about-section {
    /* min-height: 100vh; */
    background: linear-gradient(1100deg, #ffffff, rgb(255, 255, 255));
    justify-content: flex-start;
    align-items: center;
    display: flex;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    font-family: 'Open Sans', sans-serif;
}

.about-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.about_logo {
    top: -50px;
    position: absolute;
    border-radius: 50%;
}

.about-section p.lead {
    font-size: 1.3rem;
    padding: 0px 120px;
    font-weight: 600;
}






.course-section {
    background: #ffffff;
    padding: 100px 20px;


}

.course-section .container {

    justify-content: center;
    align-items: center;
    display: flex;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 50px;
    font-family: 'Montserrat', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #011753;
    text-align: center;
}

.section-title hr {
    width: 40%;
    border: 4px solid #011753;
    border-radius: 4px;
    margin: 10px auto 0;
}

.course-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    width: 40%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.card-1 {
    background-color: #fff8f8;
    border: 2px dashed #ff7070;
}

.card-2 {
    background-color: #f8fcff;
    border: 2px dashed #60caff;

}

.card-3 {
    background-color: #f8fff8;
    border: 2px dashed #60ff65;
}

.card-4 {
    background-color: #fffcf8;
    border: 2px dashed #ffc260;
}


.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.course-card h3 {
    font-size: 1.5rem;
    color: #001754;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;

}

.course-card p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
}

.explore-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0167ff;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.explore-btn:hover {
    background-color: #014fc5;
}





.login_page {
    background-color: #ededed;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.form-container {
    background-color: rgb(255, 255, 255);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    margin: 30px 7px;
}

.form-box {
    width: 100%;
}

.toggle-btns {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    font-family: 'Open Sans', sans-serif;
}

.toggle-btns button {
    flex: 1;
    padding: 10px;
    background: #e6e6e6;
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    transition: background 0.3s;
    cursor: pointer;
}

.toggle-btns button.active {
    background: #007bff;
    color: #fff;
}

.form h2 {
    text-align: center;
    color: #001f3f;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
}

.form button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.form button:hover {
    background-color: #0056b3;
}

.link-text {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 15px;
    color: #333;
}

.link-text a {
    color: #007bff;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
}

.hidden {
    display: none;
}





.row {
    padding: 0;
    margin: 0;
}

.terms-section,
.policy-section {
    background-color: #ffff;
    width: 100%;

}

.terms-box {
    background: linear-gradient(to right, #f3f8ff, #e2e5fe);
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2d2d2d;
    border-left: 5px solid #0167ff;
    transition: all 0.3s ease-in-out;
}

.policy-box {
    background: linear-gradient(to right, #f3fff6, #e2fee3);
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2d2d2d;
    border-left: 5px solid #007000;
    transition: all 0.3s ease-in-out;
    font-family: 'Open Sans', sans-serif;
}

.terms-section .section-title {
    font-weight: 700;
    color: #003366;
    font-size: 2.25rem;
}

.policy-section .section-title {
    font-weight: 700;
    color: #006607;
    font-size: 2.25rem;
    font-family: 'Open Sans', sans-serif;
}

.terms-list>li {
    font-weight: 600;
    color: #013d74;
}

.policy-list>li {
    font-weight: 600;
    color: #006321;
}


.terms-list,
.policy-list ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.terms-list ul ul {
    list-style-type: circle;
}





/* Modal Wrapper */
.enroll-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: 'Open Sans', sans-serif;
}

/* Modal Content Box */
.enroll-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    width: 100%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* Responsive Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.submit-btn {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.submit-btn:hover {
    background-color: #218838;
}

@media (max-width: 576px) {
    .enroll-content {
        padding: 20px 15px;
    }
}








.explore_courses {

    background-color: #f9f9f9;
}

.course-wrapper {
    padding: 30px 20px;
    max-width: 1100px;
    margin: auto;

}

.course-box {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;


}



.course-box-1 {
    background-color: #fff8f8;
    border: 2px dashed #ff6060;
}

.course-box-2 {
    background-color: #f8fcff;
    border: 2px dashed #60caff;

}

.course-box-3 {
    background-color: #f8fff8;
    border: 2px dashed #60ff65;
}

.course-box-4 {
    background-color: #fffcf8;
    border: 2px dashed #ffc260;
}


.course-box img {
    max-width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid #000;
}

.course-box h2 {
    font-size: 29px;
    margin-bottom: 15px;
    color: #001139;
    font-weight: 600;
    /* background-color: #efefef; */
    border-radius: 4px;
    width: 50%;
    padding: 7px 5px;
    font-family: 'Montserrat', sans-serif;
}

.course-box h3 {
    color: #2563eb;
    margin: 20px 0px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.course-box ul {
    padding-left: 20px;
}

.course-box ul li {
    line-height: 1.8;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.course-features {
    margin-top: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #10b981;
}

.enrollment {
    color: #ff9100;
    border: 2px solid #ff9100;
    padding: 10px;
    border-radius: 4px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
    text-decoration: none;
}







.otp-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.otp-container form {
    max-width: 400px;
    /* margin: 50px auto; */

    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.otp-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #333;
}

.otp-container input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

.otp-container input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px #007bff;
}

.otp-container button {
    width: 100%;
    padding: 14px;
    margin-top: 24px;
    background: #007bff;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.otp-container button:hover {
    background: #0056b3;
}

.placement {
    text-align: center;
    padding: 50px 0 0 0;
    background-color: #ffffff;
}



.placement .container {
    padding: 20px 0 70px 0;
    overflow: hidden;
}

.placement .pl {
    display: flex;
    transition: transform 0.1s ease-in-out;
}

.placement .pl-item {
    flex: 0 0 auto;
    margin: 0 10px;
}

.placement .pl img {
    height: 100px;
    max-width: 200px;
    margin-top: 10px;
    border: 1px solid #000;
    border-radius: 4px;
}






/* =============== Footer Copyright =============== */


.footer {
    background-color: #201d19;
    color: white;
    padding: 80px 20px;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ccc;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 22px;
    color: white;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ccc;
}

.support {
    font-size: 14px;
    line-height: 1.6;
}

.support i {
    margin-right: 5px;
}


.footer-bottom {
    margin-top: 30px;
    font-size: 14px;
    color: #ccc;
}

.footer-bottom a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #bbb;
}





/* === Profile Card === */
.profile-container {
    padding: 40px 20px;
    background: #f0f4f8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card {
    background: linear-gradient(to right, #ffffff, #f9f9f9);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    width: 100%;
    padding: 30px 40px;
    transition: 0.3s ease-in-out;
}

.profile-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.profile-title {
    font-size: 26px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.profile-details li {
    font-size: 17px;
    padding: 14px 0;
    border-bottom: 1px solid #eaeaea;
    color: #555;
}

.profile-details li strong {
    color: #111;
    width: 120px;
    display: inline-block;
}

.btn-logout {
    display: block;
    width: 100%;
    margin-top: 30px;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    background-color: #ff5252;
    color: #fff;
    border: none;
    transition: 0.2s;
}

.btn-logout:hover {
    background-color: #e74c3c;
}


/* ======  testimonial  for reviews =========== */
.testimonial-section {
    padding: 30px 20px;
    background: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 28px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.testimonial-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.review_nav_btn {
    background-color: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #444;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.testimonial-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 25%;
    /* 4 cards per row = 100% / 4 = 25% */
    box-sizing: border-box;
    padding: 20px;
    background: rgb(255, 255, 255);
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 136, 255, 0.29);
    text-align: left;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 10px;
}

.testimonial-card h6 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.testimonial-card span {
    font-size: 13px;
    color: #666;
}

/* ==== call button ===== */
.support-call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000d83;
    color: white;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 1002;
    transition: background 0.3s ease;
}

.support-call-button:hover {
    background-color: #00850b;
}

.support-call-button i {
    margin-right: 8px;
    font-size: 18px;
}