.coursecontainer {
    margin: auto;
}

.index-course-btn {
    border-radius: 10px;
    background: #f15a29;
    border: none;
    padding: 7px 25px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.hero-title {
    color: #555;
    font-size: 24px;
}


@media(min-width:1400px) {
    .hero-title {
        color: #555;
        font-size: 24px;
    }
}

@media(max-width:768px) {
    .index-b2b-container {
        display: grid;
    }

    .hero-content {
        display: flex;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    /* .index-b2b-left {
        width: 80% !important;
    } */

    .b2b-container,
    .b2b-container.reverse {
        width: 90% !important;
    }

    .b2b-right-img {
        margin: auto;
    }

    .why-buttons {
        flex-direction: column;
        width: 50%;
        margin: auto;
    }

    .b2b-right-img {
        width: 100%;
    }

    #indexCourses {
        grid-template-columns: auto auto;
    }
}

@media(max-width:480px) {
    .b2b-right-img {
        width: 100%;
    }

    .why-buttons {
        width: 70%;
    }
}

/* @media(max-width:375px) {
    .why-btn {
        font-size: 14px !important;
    }
} */

/* Heading  */

.index-section-heading {
    width: 100%;
    padding: 40px 20px;
}

.index-section-heading h1 {
    /* font-size: 48px;
    font-weight: 700; */
    color: #444;
    text-align: center;
}

.index-section-heading p {
    text-align: center;
    font-size: 20px;
}

@media(max-width:768px) {
    .index-section-heading h1 {
        font-size: 32px;
    }
}

@media(max-width:480px) {
    .index-section-heading h1 {
        font-size: 26px !important;
    }

    .index-section-heading p {
        text-align: center;
        font-size: 16px;
    }
}




/* FAQ SECTION */
.faq-section {
    width: 80%;
    max-width: 900px;
    margin: 50px auto;
    /* font-family: "Poppins", sans-serif; */
}

.faq-title {
    text-align: center;
    margin-bottom: 25px;
    /* font-size: 32px; */
    /* font-weight: 700; */
    color: #333;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff60;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: 0.3s ease;
    border-left: 5px solid #00aeef;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.q-number {
    font-weight: 700;
    font-size: 18px;
    margin-right: 12px;
    color: #f15a29;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    flex: 1;
}

.arrow {
    transition: transform 1s ease;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all .5s ease-in-out;
    color: #444;
    padding-left: 32px;
    padding-top: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
    padding-top: 12px;
    max-height: 300px;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 13px;
    }
}

/* ------------------------------
   📱 MOBILE: max-width 480px
--------------------------------*/
@media (max-width: 480px) {
    .faq-question {
        font-size: 14px;
    }

    .faq-answer {
        font-size: 12px;
    }
}

.email-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    width: 90%;
    max-width: 360px;
    animation: popupScale 0.3s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.popup-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.popup-card h3 {
    margin: 10px 0;
    color: #222;
}

.popup-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.popup-card button {
    background: #f15a29;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
}

.popup-card button:hover {
    background: #d94d22;
}

@keyframes popupScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

