.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.img-overlay-text {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    /* padding: 8px 12px; */
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.img-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}



.faq-body {
    font-family: Arial, sans-serif;
    background-color: black;
    margin: 0;
    padding: 0;
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq-header h2 {
    font-size: 3rem;
    color: #cdcccc;
    font-family: "Zilla Slab", Sans-serif;
}

.faq-header h3 {
    font-size: 2rem;
    color: #cdcccc;
    font-family: "Zilla";
}

/* FAQ item styling */
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: white;
}

.faq-answer {
    display: none;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #666;
}

/* Plus and minus icon */
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #007bff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Responsive styling */
@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .img-overlay-text {
        font-size: 10px;
    }
}


/* about us */

.aboutus-body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .about-section {
    background-color: #e0f7fa;
    color: #004d40;
    padding: 50px;
    max-width: 800px;
    margin: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-align: left;
  } */
.about-section {
    background-color: black;
    /* color: #b31e26; */
    padding: 50px;
    max-width: 800px;
    margin: 40px;
    border-radius: 10px;
    box-shadow: 0 0 30px blueviolet;
    /* text-align: left; */
}

.about-section h2 {
    font-size: 2.5em;
    color: #00796b;
    text-align: center;
    margin-bottom: 30px;
}

/* .about-section p {
    font-size: 1.15em;
    line-height: 1.8;
    color: white;
    text-align: justify;
    margin-bottom: 20px;
    padding: 0 74px;
  } */

.about-section ol {
    /* list-style-type: disc; */
    padding-left: 100px;
    color: GRAY;
    line-height: 1.8;
    text-align: left;
}

.about-section ol li {
    font-size: 1.1em;
    margin-bottom: 10px;
    list-style-position: inside;
}

.about-section ul li {
    list-style-position: inside;
    color: white;
    text-align: justify;
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 20px;
    padding: 0 74px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-section h2 {
        font-size: 2em;
    }

    .about-section p,
    .about-section ol li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .about-section h2 {
        font-size: 1.7em;
    }

    .about-section p,
    .about-section ol li {
        font-size: 0.95em;
    }
}







.curriculum-section {
    background-color: #f1f8e9;
    margin: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 12px blueviolet;
    text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.curriculum-section h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 14px;
}

.curriculum-section p {
    font-size: 1.15em;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
    padding: 0 55px;
}

.curriculum-section ol {
    padding-left: 40px;
    color: blue;
    line-height: 1.8;
}

.curriculum-section ol li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.image7 img {
    height: 240px;
    float: left;
    padding-left: 60px;
    padding-bottom: 20px;
    margin-right: 15px;
}

.image8 img {
    height: 240px;
    float: right;
    padding-left: 60px;
    padding-bottom: 20px;
    margin-right: 20px;

}

@media (max-width: 480px) {
    .curriculum-section h2 {
        font-size: 1.7em;
    }

    .curriculum-section p {
        font-size: 0.95em;
        padding: 0 10px;
        /* Further reduces padding for very small screens */
    }

    .curriculum-section ol {
        padding-left: 20px;
        /* Reduces list padding */
    }

    .curriculum-section ol li {
        font-size: 0.95em;
    }

    .image7 img {
        padding-left: 10px;
        height: 160px;
        /* Further reduces image height */
    }
}


/* Responsive Styles */
@media (max-width: 768px) {
    .curriculum-section h2 {
        font-size: 2em;
    }

    .curriculum-section p,
    .curriculum-section ol li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .curriculum-section h2 {
        font-size: 1.7em;
    }

    .curriculum-section p,
    .curriculum-section ol li {
        font-size: 0.95em;
    }
}








/* styles.css */



header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* background-color: #333;
    color: white; */
    background-color: yellow;
    color: black;
}

a {
    font-size: 17px;
}


body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
    /* color: black; */
}


/* .navbar {
    
    padding: .8rem 1rem !important;
    
} */

/* .logo {
    font-size: 1.8em;
    font-weight: 700;
    text-transform: uppercase;
} */

/* .nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu li a {
    color: black;
    text-decoration: none;
    font-weight: 600
}

.nav-menu li a:hover {
    color: black;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 23px;
}
 */


.navbar a:hover {
    color: black;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 23px;
}

nav a {
    color: black;
}


.dropdown:hover .dropdown-menu {
    display: block;
}

ul.dropdown-menu {
    background-color: yellow;
}


.dropdown-menu {
    display: none;
    position: absolute;
    top: 40px;
    background-color: yellow;
    list-style: none;
    border-radius: 5px;
    padding: 10px;
}

.dropdown-menu li {
    margin: 10px 0;

}

.dropdown-menu li a {
    padding: 0px 15px;
    display: block;
    color: black;

}









.hamburger {
    display: none;
}

.hero-section {
    height: 100vh;
    background: url('1.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease-in-out;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-in-out;
}

.btn-primary {
    padding: 12px 25px;
    /* background-color: #f4b400; */
    background-color: rgb(22, 238, 22) !important;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: green;
}

/* .ourcourse {
    color: white
} */

.classes-section {
    background: url('3.jpg') no-repeat center center/cover;
}



/* .container{
    margin-left: 100px;
}
 */


.about-section,
.classes-section,
.testimonials-section {
    padding: 60px 0;
    text-align: center;
}

.about-grid,
.course-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.about-item, .course-item {
    background-color: lightgoldenrodyellow;
    padding: 20px;
    margin: 18px;
    width: 30%;
    border-radius: 90px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 45px;
}

.about-item:hover,
.course-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.testimonial-item {
    min-width: 300px;
    background-color: white;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: scale(1.05);
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer Styles */

footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    font-size: 14px;
}

.footer-container {
    max-width: 1283px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 220px;
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.footer-column p,
.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    /* color: #f4b400; */
    color: yellow;
}

.social-icons a {
    color: white;
    font-size: 18px;
    margin-right: 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    /* color: #f4b400; */
    color: red;
}

#subscribeForm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#subscribe-email {
    padding: 10px;
    flex: 1;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    min-width: 180px;
}

.btn-subscribe {
    /* background-color: #f4b400; */
    background-color: red;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    /* background-color: #d29b00; */
    background-color: rgb(168, 33, 33);
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    background-color: #222;
    /* margin-top: 20px; */
    margin-bottom: -40px;
}

.footer-bottom p {
    margin: 0;
}


/* .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
} */

/* .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.5s ease;
} */

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #000;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        justify-content: center;
        align-items: center;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
        color: white;
        cursor: pointer;
    }

    .course-item,
    .about-item {
        width: 100%;
        margin: 10px 0;
    }
}






body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin-top: 50px;
    /* background-color: #f0f0f0; */
}

#loading-container {
    width: 100%;
    background-color: #ddd;
    border-radius: 20px;
    margin: 0 auto;
    max-width: 600px;
    height: 25px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: relative;
}

#loading-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    border-radius: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: width 0.25s ease-in-out;
}

.hidden {
    display: none;
}

#delayed-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.footer-bottom {
    background-color: yellow;
    color: black;
}



/*  
 .ht_ctc_style.ht_ctc_chat_style {
    display: flex;
    flex-direction: row-reverse;
    margin: 25px;
    margin-top: -2700px;
}
.ctc_s_3.ctc_nb {
    position: fixed;
    margin-left: -80px;
} */


.whatsapp-body {
    font-family: Arial, sans-serif;
    position: relative;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    width: 54px;
    height: 54px;
    border-radius: 21px;
}


@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.bounce {
    animation: bounce 1s;
}






.hero-section {
    background-image: url('image1.jpg');
    background-size: cover;
    background-position: center;
    height: 620px;

}

.hero-content {
    margin-top: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: -175px;
}











* {
    /* box-sizing: border-box; */
    margin: 0;
    padding: 0;
}

.contactform-body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* background: linear-gradient(135deg, #ff7e5f, #feb47b); */
    background: white;
    margin-bottom: 30px;
}

.contact-form-container {
    width: 100%;
    max-width: 500px;
    padding: 30px;
    background: blueviolet;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contactform-body h2 {
    color: black;
    margin-bottom: 10px;
}

.contactform-body p {
    color: black;
    margin-bottom: 20px;
}


.form-group {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    font-weight: bold;
    color: beige;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: red;
    box-shadow: 0 0 5px rgba(255, 126, 95, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: rgb(22, 238, 22);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background: darkgreen;
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 20px;
        margin: 15px;
    }
}

















/* .how we teach.css */

.body-howweteach {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.teaching-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px;
}

.teaching-section h2 {
    text-align: center;
    font-size: 33px;
    margin-bottom: 50px;
}

.teaching-section p {
    line-height: 1.6;
    padding: 0 53px;
    font-size: 1.1em;
}

.teaching-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.method-card {
    background-color: #e6ffe6;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px;
    margin-bottom: 25px;
}

.method-card h3 {
    font-size: 27px;
    color: darkblue;
    margin-bottom: 10px;
}

.method-card p {
    font-size: 1em;
    color: #333;
}


/* body flowchart */
.body-flowchart {
    font-family: Arial, sans-serif;

    display: flex;
    justify-content: center;
    padding: 20px;
}

.container-flowchart {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}

.header-flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.header-flowchart img {
    max-width: 200px;
    border-radius: 10px;
    margin-top: 16px;
    margin-bottom: 15px;
}

.content {
    display: flex;
    flex-direction: column;
}

.section {
    margin: 15px 0;
    padding-left: 20px;
    border-left: 2px solid #4CAF50;
}

/* .section h3 {
    margin: 0;
    font-size: 1.2em;
    color: #4CAF50;
} */
.section h3 {
    margin: 0;
    font-size: 23px;
    color: darkblue;
}

.sub-section {
    margin-top: 10px;
    padding-left: 20px;
    border-left: 2px solid #8BC34A;
}

.sub-section p {
    margin: 5px 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container-flowchart {
        flex-direction: row;
    }

    .header-flowchart {
        flex-direction: column;
        align-items: flex-start;
        width: 30%;
        text-align: left;
        margin-right: 20px;
    }

    .content {
        width: 70%;
    }
}




/* .classes */

/* General Styles */
.body-classes {
    font-family: Arial, sans-serif;
    background-color: #f4f8f6;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Classes Section */
  .classes-section {
    width: 90%;
    max-width: 1200px;
    margin-top: 80px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 -2px 17px blueviolet;
}

  /* Section Title */
  .section-title {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
  }

  /* Class Type Container */
  .class-type {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    padding: 15px 0;
    border-top: 2px solid #e5e5e5;
  }

  /* Class Type Heading */
  .class-type h2 {
    width: 100%;
    font-size: 1.5em;
    color: #27ae60;
    margin-bottom: 15px;
    margin-top: 25px;
  }

  /* Class Details */
  .class-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
    padding: 15px;
    background-color: saddlebrown;;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    margin-left: 207px;
  }
  .class-details:hover {
    transform: scale(1.05);
  }

  /* Class Image */
  .class-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  /* Class Name */
  .class-name {
    font-size: 1.25em;
    font-weight: bold;
    color: yellow;
    margin-bottom: 10px;
}

  /* Class Description */
  .class-description {
    font-size: 0.95em;
    color: white;
  }


  .course-item h3 {
    color: red;
    margin-bottom: 17px;
}

  /* Responsive Design */
  @media (max-width: 768px) {
    .class-type {
      flex-direction: column;
      align-items: center;
    }
    .class-details {
      width: 80%;
      margin-left: -10px;   
    }
  }