@media only screen and (max-width: 767px) {
    .hero-section .hero-video {
        display: none;
    }
    .hero-section .bottom-text {
        display: none;
    }
    .hero-1-section .row {
        display: flex;
        flex-direction: column-reverse;
    }
    .hero-1-section .hero-content {
        text-align: center;
    }
    .hero-1-section .hero-content .section-heading,
    .hero-1-section .hero-content .hero-btn-wrap,
    .hero-1-section .hero-content .hero-author {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-1-section .hero-content .hero-author ul {
        justify-content: center;
    }
    .hero-1-section .hero-img-wrap,
    .hero-1-section .hero-img-wrap .hero-img {
        height: 340px;
    }
}
.hero-section .section-title .typed-text {
    display: inline-block;
}
.hero-section .section-title .cursor {
    display: inline-block;
    animation: blinkCursor 0.8s infinite;
    font-weight: 300;
}
@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Our Mission / Vision / Goals cards */
.about-ex-5-card-wrap .about-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(224, 229, 235, 0.7);
    border-radius: 14px;
    padding: 26px 26px 22px !important;
    box-shadow: 0 8px 20px rgba(15, 16, 27, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.about-ex-5-card-wrap .about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-accent, var(--ed-gradient-logo));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}
.about-ex-5-card-wrap .about-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    right: -55px;
    bottom: -65px;
    border-radius: 50%;
    background: var(--card-accent, var(--ed-gradient-logo));
    opacity: 0.05;
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
}
.about-ex-5-card-wrap .about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(15, 16, 27, 0.14);
    border-color: transparent;
}
.about-ex-5-card-wrap .about-card:hover::before {
    transform: scaleX(1);
}
.about-ex-5-card-wrap .about-card:hover::after {
    transform: scale(1.25);
    opacity: 0.09;
}
.about-ex-5-card-wrap .col-lg-4:nth-child(1) .about-card { --card-accent: #1481ff; }
.about-ex-5-card-wrap .col-lg-4:nth-child(2) .about-card { --card-accent: #9614ff; }
.about-ex-5-card-wrap .col-lg-4:nth-child(3) .about-card { --card-accent: #d6339e; }
.about-ex-5-card-wrap .about-card .icon {
    width: 60px !important;
    height: 60px !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-ex-5-card-wrap .about-card .icon img {
    width: 28px !important;
    height: auto;
    margin-bottom: 0 !important;
}
.about-ex-5-card-wrap .about-card:hover .icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 0 0 6px rgba(89, 102, 236, 0.08);
}
.about-ex-5-card-wrap .about-card .about-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}
.about-ex-5-card-wrap .about-card .about-card-head .icon {
    flex-shrink: 0;
}
.about-ex-5-card-wrap .about-card .title {
    position: relative;
    transition: color 0.3s ease;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 19px !important;
    line-height: 1.3 !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.about-ex-5-card-wrap .about-card .title::after {
    content: '';
    display: block;
    flex-basis: 100%;
    width: 30px;
    height: 3px;
    border-radius: 3px;
    margin-top: 8px;
    margin-bottom: 10px;
    background: var(--card-accent, var(--ed-gradient-logo));
    transition: width 0.4s ease;
}
.about-ex-5-card-wrap .about-card:hover .title::after {
    width: 50px;
}
.about-ex-5-card-wrap .about-card p {
    font-size: 15px !important;
    line-height: 1.6 !important;
}
@media only screen and (max-width: 767px) {
    .about-ex-5-card-wrap {
        margin-top: 20px !important;
    }
    .about-ex-5-card-wrap .row.gy-4 {
        --bs-gutter-y: 12px;
    }
    .about-ex-5-card-wrap .about-card {
        padding: 16px 16px 14px !important;
    }
    .about-ex-5-card-wrap .about-card .icon {
        width: 44px !important;
        height: 44px !important;
    }
    .about-ex-5-card-wrap .about-card .icon img {
        width: 20px !important;
    }
    .about-ex-5-card-wrap .about-card .about-card-head {
        gap: 10px;
        margin-bottom: 2px;
    }
    .about-ex-5-card-wrap .about-card .title {
        font-size: 16px !important;
    }
    .about-ex-5-card-wrap .about-card .title::after {
        margin-top: 4px;
        margin-bottom: 6px;
    }
    .about-ex-5-card-wrap .about-card p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
}

/* Why Choose Rich Wave India cards - mobile: icon left, title beside, content below */
@media only screen and (max-width: 767px) {
    .choose-us-ex-10 .choose-us-ex-10-item {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "icon title"
            "content content";
        align-items: center;
        column-gap: 12px;
        text-align: left;
        padding: 18px 18px 16px 18px;
    }
    .choose-us-ex-10 .choose-us-ex-10-item .icon {
        grid-area: icon;
        margin-bottom: 0;
    }
    .choose-us-ex-10 .choose-us-ex-10-item .icon img {
        width: 36px !important;
        height: 36px !important;
        object-fit: contain;
    }
    .choose-us-ex-10 .choose-us-ex-10-item .title {
        grid-area: title;
        font-size: 17px;
        line-height: 1.3;
        margin-bottom: 0;
    }
    .choose-us-ex-10 .choose-us-ex-10-item p {
        grid-area: content;
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.5;
    }
}

/* FAQ numbering badges */
.faq-content .faq-accordion .accordion-item {
    border-radius: 14px;
    margin-bottom: 10px;
    padding: 5px 20px;
    background: #f7f8fb;
    border: 1px solid rgba(224, 229, 235, 0.7);
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.faq-content .faq-accordion .accordion-item:last-child {
    margin-bottom: 0;
}
.faq-content .faq-accordion .accordion-item:hover {
    border-color: rgba(89, 102, 236, 0.25);
    box-shadow: 0 10px 24px rgba(15, 16, 27, 0.06);
}
.faq-content .faq-accordion .accordion-item .accordion-button {
    padding-top: 10px;
    padding-bottom: 10px;
}
.faq-content .faq-accordion .accordion-item .accordion-button:not(.collapsed) {
    border-bottom-color: rgba(224, 229, 235, 0.9);
}
.faq-content .faq-accordion .accordion-item .accordion-body {
    padding-top: 4px;
    padding-bottom: 10px;
}
.faq-content .faq-accordion .accordion-item .accordion-button .faq-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    margin-right: 16px;
    border-radius: 50%;
    background: rgba(89, 102, 236, 0.08);
    border: 1.5px solid rgba(89, 102, 236, 0.16);
    color: var(--ed-color-theme-primary);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    transition: all 0.35s ease;
}
.faq-content .faq-accordion .accordion-item .accordion-button:hover .faq-num {
    border-color: var(--ed-color-theme-primary);
    transform: translateY(-3px);
}
.faq-content .faq-accordion .accordion-item .accordion-button:not(.collapsed) .faq-num {
    background: var(--ed-gradient-logo);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 22px rgba(89, 102, 236, 0.35);
}

/* Our Certificate section */
.certificate-section .certificate-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(224, 229, 235, 0.7);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 16, 27, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.certificate-section .certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ed-gradient-logo);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
    z-index: 1;
}
.certificate-section .certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 36px rgba(15, 16, 27, 0.12);
    border-color: transparent;
}
.certificate-section .certificate-card:hover::before {
    transform: scaleX(1);
}
.certificate-section .certificate-card .cert-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 90px;
    padding: 16px 18px 0;
    overflow: hidden;
}
.certificate-section .certificate-card .cert-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.4s ease;
}
.certificate-section .certificate-card:hover .cert-img img {
    transform: scale(1.08);
}
.certificate-section .certificate-card .cert-footer {
    margin-top: auto;
    padding: 10px 14px 14px;
}
.certificate-section .certificate-card .title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.certificate-section .certificate-card p {
    margin-bottom: 0;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--ed-color-text-body);
}

/* Why us stats section */
.stats-section {
    background: #F2F4F7;
}
.stats-section .stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 14px 28px 14px 14px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}
.stats-section .stat-card:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 16, 27, 0.1);
}
.stats-section .stat-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 16, 27, 0.1);
    font-size: 26px;
    overflow: hidden;
}
.stats-section .stat-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.stats-section .stat-number {
    display: flex;
    align-items: flex-start;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
    color: #16213e;
}
.stats-section .stat-number .plus {
    color: #f2994a;
    font-size: 22px;
    font-weight: 700;
    margin-left: 2px;
}
.stats-section .stat-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--ed-color-text-body);
}
@media only screen and (max-width: 767px) {
    .stats-section .section-heading .sub-heading {
        font-size: 13px;
    }
    .stats-section .section-heading .section-title {
        font-size: 22px !important;
    }
    .stats-section .stat-card {
        gap: 7px;
        padding: 10px 14px 10px 10px;
        min-height: 76px;
    }
    .stats-section .stat-label {
        display: block;
    }
    .stats-section .stat-icon {
        width: 36px;
        height: 36px;
    }
    .stats-section .stat-icon img {
        width: 20px;
        height: 20px;
    }
    .stats-section .stat-number {
        font-size: 20px;
    }
    .stats-section .stat-number .plus {
        font-size: 14px;
    }
    .stats-section .stat-label {
        font-size: 10px;
    }
}
