@media (min-width: 1600px) {

    .hero-section .container,
    .courses-section .container {
        max-width: 1500px;
    }

    .courses-page .header-title,
    .hero-section .title,
    .unique-section .title,
    .courses-section .header-title,
    .reviews-section .title,
    .common-questions-section .title,
    .download-app-section .title {
        font-size: 64px;
    }

    .hero-section .small-desc {
        font-size: 42px;
    }

    .hero-section .desc {
        font-size: 26px;
    }

    .hero-section .ads-relative {
        transform: scale(1.1);
        transform-origin: center;
    }

    .hero-section {
        margin-top: 100px;
    }

    .reviews-section .message-screen .swiper .card__article {
        width: 100% !important;
    }

    .reviews-section .messages-section .swiper-button-prev,
    .reviews-section .messages-section .swiper-rtl .swiper-button-next {
        top: 730px;
    }

    .common-questions-section .accordion-button {
        font-size: 25px;
    }

    .common-questions-section .card {
        width: 70%;
    }

    .download-app-section {
        margin-top: 70px;
        padding: 85px 90px 60px;
    }

    .phone-container {
        top: 0px !important;
        inset-inline-end: 61px !important;
        inset-inline-start: auto !important;
    }

    .app-screen-bg-static {
        width: 280px;
        height: 478px;
    }

    .phone-container .app-screen {
        width: 312px;
    }

    footer .title {
        font-size: 24px !important;
    }

    footer .about,
    footer .links,
    footer .copyright {
        font-size: 20px;
    }

    footer .contact_us .icon {
        width: 50px;
        height: 50px;
        font-size: 25px;
        border-radius: 50%;
    }

    footer .payment-ways img,
    footer .payment-links img {
        width: 50px !important;
    }

    footer .payment-links a:nth-of-type(1) img {
        width: 40px !important;
    }
}

@media (min-width: 1800px) {

    .hero-section .container,
    .courses-section .container {
        max-width: 1650px;
    }

    .hero-section .ads-relative {
        transform: scale(1.3);
    }

    .stats-section {
        /* margin-top: 250px; */
    }
}


@media (max-width: 1440px) and (min-width: 992px) {

    .hero-section .container {
        max-width: 1320px;
    }

    .hero-section .ads-relative {
        transform: scale(.85);
        transform-origin: center;
        left: -85px;
    }

    .hero-section .hero-content {
        padding-inline-end: 30px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }

    .navbar .download-app {
        width: auto;
        font-size: 14px;
        padding: 12px 13px;
    }

    .navbar .login-btn {
        font-size: 14px;
        padding: 12px 13px;
    }
}

@media (min-width: 992px) {
    #accordionOne {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

    .cart-page.cart-details-page .accordion-button::after {
        display: none;
    }
}

@media (max-width: 1440px) {
    .stats-section {
        /* padding: 30px 37px; */
    }

    .stats-section .stats-count {
        font-size: 40px;
    }
}


@media (max-width: 1200px) {

    .hero-section .title {
        font-size: 48px;
    }

    .hero-section .small-desc {
        font-size: 30px;
    }

    .hero-section .desc {
        font-size: 20px;
    }

    .stats-section .stats-count {
        font-size: 37px;
    }



    .course-details-page .details-section .nav-tabs {
        justify-content: space-around;
        flex-wrap: nowrap;
    }

    .course-details-page .details-section .nav-tabs .nav-link {
        padding-left: 20px;
        padding-right: 20px;
    }


    .contact-page .main-title {
        font-size: 30px;
    }

    .contact-page .contact-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0px;
        width: 100%;
    }

    .contact-page .main-text {
        font-size: 16px;
        /* margin-top: -40px; */
    }

    .contact-page .contact-info {
        width: 100%;
        padding: 0 10px;
        /* إضافة هوامش بسيطة لمنع الالتصاق بالحواف */
    }

    .contact-page .contact-info .box {
        padding: 12px 10px;
        /* تقليل البادنج لزيادة مساحة النص */
    }

    .contact-page .contact-info .box a {
        font-size: 14px;
        /* تصغير الخط قليلاً للإيميلات الطويلة */
        word-break: break-all;
        /* كسر الإيميل إذا كان طويلاً جداً */
    }

    .contact-page .contact-info .box .icon {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }

    .contact-page .contact-info .box .icon i {
        font-size: 16px !important;
    }

    .contact-page .contact-content img {
        right: -150px;
    }
}


@media (max-width: 992px) {
    .hero-section .ads-section .ads-relative {
        /* min-height: 500px;
        margin-bottom: 20px;
        position: relative;
        width: 100%;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
        top: 0;
        transform: scale(0.8);
        transform-origin: center top; */
    }

    /* .hero-section .hero-content {
        position: relative;
        z-index: 999;
        margin: 0px 0 0 !important;
        text-align: center;
        padding: 0 15px;
        margin-top: 62px !important;
    } */

    .hero-section .heart-img {
        top: 55px !important;
        left: 85% !important;
    }

    .hero-section .loop-shape-img {
        top: 164px !important;
        left: 88% !important;
    }

    .hero-section .star-img {
        top: 360px !important;
        left: 92% !important;
    }

    .hero-section .pencil-img {
        top: 250px !important;
        left: 5% !important;
    }

    .hero-section .best_rating {
        top: 160px !important;
        left: 10% !important;
        width: 160px !important;
        height: 45px !important;
        font-size: 14px !important;
    }

    .hero-section .glass-btn {
        top: 540px !important;
        left: 55% !important;
        width: 180px !important;
        height: 48px !important;
        font-size: 14px !important;
    }

    .hero-section .ads-img.ads-loop {
        top: -15% !important;
    }

    .stats-section {
        /* margin-top: 20px; */
    }

    .stats-section .stats-count {
        font-size: 25px;
    }

    .courses-section .swiper-wrapper {
        gap: 0px !important;
        justify-content: flex-start !important;
    }

    .courses-section .swiper-slide {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px;
    }

    .unique-swiper-1 .swiper-wrapper,
    .unique-swiper-2 .swiper-wrapper {
        align-items: stretch;
    }

    .unique-swiper-1 .swiper-slide,
    .unique-swiper-2 .swiper-slide {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px;
    }



    .download-app-section {
        padding: 50px 23px 40px;
        margin: 73px 0 63px;
    }

    .download-app-section .title {
        font-size: 30px;
        width: 50%;
    }

    .download-app-section P {
        font-size: 16px;
        width: 75%;
    }

    .download-app-section .vector-1 {
        top: 22px !important;
        right: 6px !important;
        width: 31px;
    }

    .download-app-section .vector-2 {
        right: 0 !important;
    }

    .download-app-section .vector-3 {
        width: 20px;
        bottom: 8px !important;
        right: 25px !important;
    }

    .download-app-section .vector-4 {
        width: 20px;
        left: 23px !important;
    }

    .download-app-section .vector-5 {
        bottom: -40px !important;
        left: -74px !important;
        width: 166px;
    }

    .download-app-section .get_app {
        justify-content: center;
    }

    .download-app-section .get_app a {
        font-size: 15px;
        padding: 7px 20px;
        width: 100%;
    }

    .download-app-section .get_app img {
        width: 20px;
    }

    .phone-container {
        top: -10px !important;
        inset-inline-end: -36px !important;
        inset-inline-start: auto !important;
    }

    .phone-container .app-screen-bg-static {
        width: 148px;
        height: 227px;
    }

    .phone-container .app-screen {
        width: 152px;
        height: 221px;
        top: 3px;
        right: 10px;
    }

    .whatsapp-button {
        width: 70px;
        height: 90px;
        left: 30px;
    }



    .course-individual-modal {
        padding: 0 !important;
    }

    .modal .modal-dialog:not(.modal-fullscreen) {
        padding: 0;
    }

    .course-individual-modal .modal-header .modal-title {
        font-size: 14px;
    }

    .course-individual-modal .header-num {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .course-individual-modal .course-img img {
        max-width: 330px;
    }

    .course-individual-modal .step-1 {
        padding-left: 30px;
        padding-right: 30px;
    }

    .course-individual-modal .sessions_count_title {
        font-size: 20px;
    }

    .course-individual-modal .package-card .price {
        font-size: 16px;
    }

    .course-individual-modal .package-card .price img {
        width: 14px;
    }

    .course-individual-modal .package-card .price span {
        font-size: 10px;
    }

    .course-individual-modal .package-card .desc {
        font-size: 10px;
    }

    .course-individual-modal .package-card .discount {
        font-size: 10px;
    }

    .course-individual-modal .package-card .discount img {
        width: 13px;
        height: 13px;
    }

    .course-individual-modal .package-card {
        margin-bottom: 35px;
    }

    .course-individual-modal .package-desc h2 {
        font-size: 20px;
    }

    .course-individual-modal .features .title {
        font-size: 16px;
    }

    .course-individual-modal .features .desc {
        font-size: 13px;
    }

    .course-individual-modal .package-desc .icon-bg {
        right: 5px;
        width: 26px;
        top: 7px;
    }

    .course-individual-modal .modal-footer button {
        width: 100%;
        margin-top: 14px;
        padding: 16px 0 10px !important;
    }

    .course-individual-modal .card-footer {
        flex-direction: column;
        gap: 10px;
    }

    .course-individual-modal .card-footer .prev-btn,
    .course-individual-modal .card-footer .add-to-cart-btn {
        width: 100%;
    }

    .course-individual-modal .courses-section .card {
        border-radius: 0;
        width: 100% !important;
    }

    .course-individual-modal .courses-section .select-section .label,
    .course-group-modal .courses-section .select-section .label,
    .course-individual-modal .courses-section .select-section .title,
    .course-group-modal .courses-section .select-section .title,
    .course-group-modal .courses-section .selection {
        font-size: 13px !important;
    }

    .course-individual-modal .courses-section .selection select,
    .course-group-modal .courses-section .selection select {
        font-size: 10px;
    }

    .course-individual-modal .courses-section .price,
    .course-group-modal .courses-section .price {
        font-size: 16px;
    }

    .course-individual-modal .courses-section .prev-btn {
        font-size: 16px;
        padding: 6px 30px !important;
    }

    .course-group-modal .card-footer {
        padding-top: 0;
    }



    .course-details-page .hero-section .content {
        margin-top: 40px;
    }

    .course-details-page .hero-section .course-img img {
        min-width: 250px;
    }

    .course-details-page .hero-section .category {
        font-size: 20px;
    }

    .course-details-page .hero-section .category img {
        width: 20px !important;
    }

    .course-details-page .hero-section h2 {
        font-size: 37px;
    }

    .course-details-page .hero-section .add-to-cart-btn {
        font-size: 16px;
        height: auto;
        padding: 12px;
    }

    .course-details-page .details-card .title {
        font-weight: 400;
        font-size: 24px;
    }

    .course-details-page .details-card .feature .desc {
        font-size: 16px;
    }

    .course-details-page .details-card .feature-card .title {
        font-size: 16px;
    }

    .course-details-page .buy-now-btn {
        font-size: 16px;
    }

    .course-details-page .free-card img {
        width: 60px;
    }

    .course-details-page .details-section .nav-tabs .nav-link {
        font-size: 16px;
    }

    .course-details-page .details-section .nav-tabs .nav-link.active {
        border-bottom: 2.5px solid var(--primary2-color);
    }

    .course-details-page .details-section .nav-tabs .nav-item {
        padding: 0;
    }

    .course-details-page .details-section .title {
        font-size: 20px;
    }

    .course-details-page .details-section .desc {
        font-size: 16px;
    }

    .course-details-page .reviews .title {
        margin: -25px 0 35px !important;
    }

    .course-details-page .reviews .card {
        padding: 0px;
    }

    .course-details-page .reviews .quotes {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .course-details-page .reviews .username {
        font-size: 16px;
    }

    .course-details-page .reviews .stars img {
        margin-left: 0px;
        width: 20px;
    }

    .course-details-page .reviews .content,
    .course-details-page .reviews .time {
        font-size: 13px;
    }



    .privacy-pages .hero-section {
        padding-top: 120px;
        padding-bottom: 115px;
    }

    .privacy-pages .hero-section .section-img {
        max-width: 150px;
        float: inline-end;
    }

    .privacy-pages .hero-section .title {
        font-size: 30px;
    }

    .privacy-pages .hero-section p {
        font-size: 24px;
    }

    .privacy-pages .hero-section .desc {
        font-size: 16px;
    }

    .privacy-pages .hero-section .right-top-vector,
    .privacy-pages .hero-section .left-top-vector,
    .privacy-pages .hero-section .right-bottom-vector,
    .privacy-pages .hero-section .left-bottom-vector {
        max-width: 150px;
    }

    .privacy-pages .hero-section .right-bottom-vector {
        right: -45px;
    }

    .privacy-pages .hero-section img.icon-bg {
        /* right: 18px; */
        right: -5px;
        max-width: 34px;
    }

    .privacy-pages .hero-section .flower {
        bottom: 85px;
        left: 60px;
        max-width: 25px;
    }

    .privacy-pages .content .title {
        font-size: 20px;
    }

    .privacy-pages .content {
        width: 100%;
        font-size: 16px;
    }

    .terms-page .hero-section .section-img {
        max-width: 100px !important;
        margin: 0 50px;
    }

    .user-guide-page .hero-section .section-img {
        margin: 0 30px;
    }



    .contact-page .main-header {
        justify-content: center !important;
    }

    .contact-page .contact-content {
        padding: 0 60px;
    }

    .contact-page .main-header .img {
        width: 100%;
        text-align: end;
    }

    .contact-page .main-header .img img {
        width: 60px;
    }

    .contact-page .main-text {
        /* margin-top: -40px; */
    }

    .contact-page .content-img {
        max-width: 140px;
    }

    .contact-page .contact-content img {
        bottom: -95px;
        right: -24px;
        max-width: 330px;
        min-width: 330px;
    }

    .contact-page form {
        margin-top: 100px;
    }



    .auth-page .navbar-row {
        position: absolute;
        top: 0;
        justify-content: space-between;
    }

    .auth-page .navbar-link {
        font-size: 16px;
        color: #fff;
    }

    .auth-page .welcome {
        font-size: 37px;
    }

    .auth-page .welcome_text {
        font-size: 20px;
    }

    .auth-page .otp-input {
        width: 72px;
        height: 72px;
        font-size: 35px;
        line-height: 64px;
        letter-spacing: -2%;
    }

    .auth-page .otp-input::placeholder {
        font-size: 35px;
    }

    .swal2-html-container .alert_img {
        max-width: 180px;
    }

    .swal2-html-container .sawl-title {
        font-size: 20px !important;
    }

    .swal2-html-container .sawl-text {
        font-size: 16px !important;
        line-height: 27px !important;
    }

    .swal2-html-container .swal-confirm-btn {
        font-size: 16px !important;
    }
}





@media (max-width: 767px) {
    .hero-section {
        margin-top: 20px;
        overflow: hidden;
    }

    .hero-section .ads-section .ads-relative {
        width: 100%;
        max-width: 400px;
        min-height: 450px;
        margin: 0 auto;
        top: 0;
        margin-bottom: 20px;
    }

    .hero-section .ads-img {
        height: auto !important;
        width: 50% !important;
        top: 15% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 4;
    }

    .hero-section .mobile-frame {
        width: 55% !important;
        height: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 12% !important;
        z-index: 5;
    }

    .hero-section .rectangle:nth-child(1) {
        width: 80% !important;
        top: 50% !important;
        left: 5% !important;
        height: 120px !important;
        transform: rotate(-10deg) !important;
    }

    .hero-section .rectangle:nth-child(2) {
        width: 85% !important;
        height: 130px !important;
        top: 45% !important;
        left: 15% !important;
        transform: rotate(-12deg) !important;
    }

    .hero-section .rectangle:nth-child(3) {
        width: 100% !important;
        height: 140px !important;
        top: 60% !important;
        left: 50% !important;
        transform: translateX(-50%) rotate(-5deg) !important;
        background: #FBF9F5 !important;
        opacity: 0.9;
    }

    .hero-section .rectangle:nth-child(4) {
        display: none !important;
    }

    .hero-section .best_rating {
        width: auto !important;
        height: 44px !important;
        font-size: 14px !important;
        padding: 5px 15px !important;
        top: 5% !important;
        left: -5% !important;
        z-index: 10;
        border-radius: 25px !important;
        gap: 5px !important;
        white-space: nowrap;
    }

    .hero-section .best_rating img {
        width: 20px !important;
        height: 20px !important;
    }

    .hero-section .glass-btn {
        width: auto !important;
        height: 44px !important;
        top: 60% !important;
        right: -5% !important;
        left: auto !important;
        font-size: 14px !important;
        padding: 5px 15px !important;
        z-index: 10;
        border-radius: 25px !important;
        gap: 5px !important;
        white-space: nowrap;
    }

    .hero-section .glass-btn img {
        width: 20px !important;
    }

    .hero-section .heart-img {
        top: 15% !important;
        right: 15% !important;
        width: 15px !important;
    }

    .hero-section .ruler-img {
        top: 0% !important;
        left: 45% !important;
        width: 45px !important;
    }

    .hero-section .pencil-img {
        top: 30% !important;
        left: -10% !important;
        width: 45px !important;
    }

    .hero-section .star-img {
        top: 50% !important;
        right: -15% !important;
        width: 25px !important;
    }

    .hero-section .loop-shape-img {
        top: 20% !important;
        right: -10% !important;
        left: auto !important;
        bottom: auto !important;
        width: 65px !important;
    }

    .hero-section .circle-shape-img {
        top: 75% !important;
        left: 10% !important;
        width: 25px !important;
    }

    /* .hero-section .title {
        font-size: 40px !important;
        line-height: 1.2 !important;
        margin-top: 0 !important;
        color: var(--primary-color) !important;
        text-align: center !important;
        width: 100% !important;
    } */

    .hero-section .small-desc {
        font-size: 26px !important;
        color: #513122 !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        width: 100% !important;
        line-height: 1.4 !important;
    }

    .hero-section .desc {
        font-size: 16px !important;
        color: #595959 !important;
        text-align: center !important;
        width: 100% !important;
        line-height: 1.5 !important;
    }

    /* .hero-section .first-platform {
        min-width: auto !important;
        padding: 10px 25px !important;
        height: auto !important;
        font-size: 14px !important;
        margin-top: 10px !important;
        margin-bottom: 20px !important;
        display: inline-flex !important;
        float: none !important;
    } */

    .hero-section .features-section {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .hero-section .features-section .feature {
        font-size: 13px !important;
        padding: 10px 15px !important;
    }

    .stats-section {
        /* margin-top: 70px; */
        border-radius: 0 !important;
        padding: 30px 0px 35px;
        gap: 32px;
    }

    .stats-section .box {
        margin: 15px 0 7px;
    }

    .stats-section .stats-count .count {
        font-family: var(--font-family-bold);
        font-weight: bold;
        font-size: 24px;
    }

    .stats-section .stats-icon {
        font-size: 30px;
    }

    .stats-section .stats-title {
        font-size: 16px;
        margin: -9px;
    }

    .stats-section .stats-row {
        row-gap: 20px;
    }

    .unique-section {
        padding: 100px 40px 24px !important;
    }

    .reviews-section .title {
        font-size: 37px;
    }

    .reviews-section .header .quotes-bg {
        top: -10px;
        width: 60px;
        right: -30px;
    }

    .reviews-section .messages-section .swiper-button-prev:hover:after,
    .reviews-section .messages-section .swiper-button-prev:after,
    .reviews-section .messages-section .swiper-rtl .swiper-button-next:after {
        font-size: 15px;
        width: 40px;
        height: 40px;
    }

    .reviews-section .messages-section .swiper-rtl .swiper-button-next {
        right: 45px;
    }

    .reviews-section .messages-section .swiper-button-prev,
    .reviews-section .messages-section .swiper-rtl .swiper-button-next {
        top: 584px;
    }

    .reviews-section .messages-section .card__container {
        padding-bottom: 50px;
    }

    .reviews-section .star-vector {
        left: 74px;
    }

    .reviews-section .vector {
        width: 159px;
    }

    .common-questions-section .vector {
        width: 161px;
    }

    .common-questions-section .title {
        font-size: 37px;
    }

    .common-questions-section .accordion-button {
        padding: 8px 23px;
    }

    footer .box {
        justify-content: start !important;
        margin-bottom: 15px;
    }

    footer .footer-tail {
        display: flex;
        align-items: end;
        justify-content: center;
        margin-bottom: 5px;
    }

    footer .about {
        font-size: 13px;
    }

    footer .links .title,
    footer .contact_us .title {
        font-size: 16px;
    }

    footer .links a {
        font-size: 12px;
    }

    footer .copyright {
        font-size: 13px;
    }

    footer .payment-ways img {
        width: 30px !important;
    }


    .cart-page .cart-item-info {
        align-items: start !important;
    }

    .cart-page .card-img {
        max-width: 80px;
        height: 80px;
    }

    .cart-page .cart-item h6 {
        font-size: 13px;
    }

    .cart-page .cart-item .category,
    .cart-page .cart-item .stage {
        font-size: 10px;
    }

    .cart-page .cart-item-quantity {
        font-size: 13px;
    }

    .cart-page .cart-item-quantity button {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .cart-page .cart-item-quantity button i {
        margin-top: 2px;
    }

    .cart-page .cart-item-price {
        font-size: 16px;
    }

    .cart-page .cart-item-price img {
        width: 16px !important;
    }

    .cart-page .tamara-card {
        font-size: 13px;
        font-weight: 300;
        padding: 10px 26px;
    }

    .cart-page .card-info label {
        font-size: 10px;
    }

    .cart-page .card-info input::placeholder,
    .cart-page .card-data input::placeholder,
    .cart-page .card-coupon input::placeholder {
        font-size: 10px;
    }

    .cart-page .card-info .type-selection label {
        font-size: 13px;
    }

    .cart-page .card-info input[type="radio"] {
        width: 13px;
        height: 13px;
    }

    .cart-page .card-coupon button {
        font-size: 10px;
    }

    .cart-page .card-summary .cart-item-price {
        font-size: 13px;
    }

    .cart-page .card-summary .cart-item-price img {
        width: 13px !important;
    }

    .cart-page .card-footer button {
        font-size: 13px;
    }

    .cart-page .card-footer img {
        width: 20px;
    }

    .cart-page .empty-cart .title {
        font-size: 20px;
    }

    .cart-page .empty-cart .btn {
        font-size: 16px;
    }

    .cart-page #otpModal .title {
        font-size: 30px;
    }

    .cart-page #otpModal .desc {
        font-size: 16px;
    }

    .cart-page #otpModal .otp-input {
        width: 60px;
        height: 50px;
        font-size: 30px;
        min-height: 60px;
        letter-spacing: -2%;
    }

    .cart-page #otpModal .otp-input::placeholder {
        font-size: 30px;
    }

    .cart-page #otpModal #verify-otp-btn {
        padding-top: 9px;
        padding-bottom: 6px;
    }

}



@media (max-width: 576px) {
    /* .hero-section .ads-section .ads-relative {
        max-width: 450px;
        min-height: 580px;
    }

    .hero-section .ads-img {
        width: 110% !important;
        height: 670px !important;
        top: -19% !important;
        left: 50% !important;
    }

    .hero-section .ads-img.ads-loop {
        top: -45% !important;
    } */

    .hero-section .mobile-frame {
        width: 43% !important;
        height: 344px !important;
    }

    .hero-section .rectangle:nth-child(1) {
        width: 59% !important;
        top: 37% !important;
        left: -8% !important;
        height: 126px !important;
    }

    .hero-section .rectangle:nth-child(2) {
        width: 61% !important;
        height: 155px !important;
        aspect-ratio: 220 / 121 !important;
        top: 42.6% !important;
        left: 40% !important;
    }

    .hero-section .rectangle:nth-child(3) {
        width: 98% !important;
        height: 200px !important;
        aspect-ratio: 412 / 159 !important;
        top: 64.4% !important;
        left: 49% !important;
    }

    .hero-section .rectangle:nth-child(4) {
        width: 100% !important;
        height: 178px !important;
        aspect-ratio: 302 / 149 !important;
        top: 65.6% !important;
        left: -54% !important;
    }

    .hero-section .title {
        font-size: 37px;
    }

    .hero-section .small-desc {
        font-size: 24px !important;
    }

    .hero-section .desc {
        font-size: 13px !important;
    }

    .hero-section .features-section {
        /* flex-wrap: wrap; */
        gap: 4px !important;
        justify-content: center;
    }

    .hero-section .feature {
        font-size: 10px !important;
        padding: 10px 16px !important;
    }

    .hero-section .feature img {
        width: 18px !important;
        height: 18px !important;
    }

    .hero-section .start-now {
        width: 100%;
        height: auto;
        padding: 12px;
        font-size: 20px;
    }

    .hero-section .start-now img {
        width: 20px;
    }

    .courses-section .view-all-btn {
        font-size: 13px;
    }

    .courses-section .nav-align-top .nav-tabs .nav-item .nav-link {
        font-size: 13px;
        padding: 6px 16px;
    }

    .courses-section .nav-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 0 20px 10px !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .courses-section .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .courses-section .nav-tabs .nav-item {
        flex: 0 0 auto;
    }

    .courses-section .nav-tabs .nav-link {
        white-space: nowrap;
    }

    .courses-page .header-title,
    .courses-section .header-title {
        font-size: 30px;
    }

    .courses-section .title,
    .courses-section .category {
        font-size: 16px !important;
    }

    .courses-section .seperator {
        font-size: 15px !important;
        line-height: 170% !important;
    }

    .courses-section .cart {
        width: 35px !important;
        height: 35px !important;
    }

    .courses-section .cart img {
        width: 20px;
    }

    .courses-section .price img {
        width: 15px !important;
    }

    .courses-section .features .box {
        padding: 4px 8px !important;
        font-size: 10px !important;
    }

    .courses-section .course-img img {
        max-height: 180px;
    }

    .unique-section {
        padding: 100px 0px 24px !important;
    }

    .unique-section .title {
        font-size: 35px !important;
    }

    .unique-section .content .title {
        font-size: 20px !important;
    }

    .unique-section .content img:nth-child(2) {
        width: 100px !important;
    }

    .unique-section .content .desc {
        font-size: 13px !important;
    }

    .unique-section .unique-bg {
        transform: scale(1);
    }

    .unique-section .icon-bg:nth-of-type(1) {
        right: 16px !important;
        top: 160px;
        width: 37px;
    }

    .unique-section .icon-bg:nth-of-type(2) {
        top: 30px !important;
        left: 23px !important;
        width: 85px;
    }

    .unique-section .icon-bg:nth-of-type(3) {
        width: 186px;
        right: -28px !important;
        left: auto !important;
    }

    .courses-page .category-title {
        margin: 30px 0 17px 0;
        font-size: 20px;
    }

    .privacy-pages .hero-section .title {
        font-size: 30px;
    }

    .privacy-pages .hero-section .desc {
        font-size: 16px;
    }

    .reviews-section .tab-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .reviews-section .reviews-boxes .card {
        width: 350px !important;
        padding-left: 20px;
        padding-right: 33px;
    }

}


@media (max-width: 480px) {
    .hero-section .ads-section .ads-relative {
        max-width: 450px;
        min-height: 420px !important;
        margin-top: 115px !important;
    }

    .hero-section .ads-img {
        width: 113% !important;
        height: 548px !important;
        top: -20% !important;
        left: 50% !important;
    }

    .hero-section .ads-img.ads-loop {
        top: -34% !important;
    }

    .hero-section .mobile-frame {
        width: 42% !important;
        height: 277px !important;
        left: 46% !important;
        transform: translateX(-50%) !important;
        top: -9% !important;
    }

    .hero-section .rectangle:nth-child(1) {
        width: 51% !important;
        top: 150px !important;
        left: 0 !important;
        height: 99px !important;
    }

    .hero-section .rectangle:nth-child(2) {
        width: 56% !important;
        height: 123px !important;
        aspect-ratio: 220 / 121 !important;
        top: 173px !important;
        left: 40% !important;
    }

    .hero-section .rectangle:nth-child(3) {
        width: 95% !important;
        height: 200px !important;
        aspect-ratio: 412 / 159 !important;
        top: 44% !important;
        left: 50% !important;
    }

    .hero-section .rectangle:nth-child(4) {
        width: 100% !important;
        height: 160px !important;
        aspect-ratio: 302 / 149 !important;
        top: 46.5% !important;
        left: -53% !important;
    }

    .hero-section .circle-shape-img {
        width: 25px !important;
        top: 300px !important;
        left: 90px !important;
    }

    .hero-section .glass-btn {
        width: 132px !important;
        height: 44px !important;
        top: 258px !important;
        right: 5px !important;
        left: auto !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
        gap: 0 !important;
    }

    .hero-section .glass-btn img {
        width: 17px;
    }

    .hero-section .loop-shape-img {
        top: 164px !important;
        left: 567px !important;
        width: 54px !important;
        height: 77px !important;
        left: auto !important;
        top: -56px !important;
        right: -2px !important;
    }

    .hero-section .pencil-img {
        width: 43px !important;
        height: 70px !important;
        top: 16px !important;
        left: 30px !important;
    }

    .hero-section .star-img {
        width: 23px !important;
        height: 42px !important;
        top: 366px !important;
        left: 0 !important;
        top: 17% !important;
        right: 0% !important;
    }

    .hero-section .ruler-img {
        width: 55px !important;
        top: -24% !important;
        left: auto !important;
        right: 34% !important;
    }

    .hero-section .best_rating {
        width: 120px !important;
        height: 25px !important;
        font-size: 10px !important;
        padding: 20px 13px !important;
        gap: 0px !important;
        top: -72px !important;
        left: 15px !important;
    }

    .hero-section .hero-content {
        /* margin: -60px 0 0 !important; */
    }

    .first-platform {
        min-width: auto !important;
        gap: 5px !important;
        padding: 10px 25px !important;
        font-size: 10px;
        height: auto !important;
    }

    .first-platform img {
        width: 23px;
    }

    .contact-page .contact-content {
        padding: 0 40px;
    }

    .stats-section {
        margin-top: 30px !important;
    }
}



@media (max-width:400px) {

    .unique-swiper-1 .swiper-slide,
    .unique-swiper-2 .swiper-slide {
        padding: 0 4px;
    }

    .hero-section .feature img {
        width: 14px !important;
        height: 14px !important;
    }

    .hero-section .feature {
        font-size: 8px !important;
        padding: 10px 6px !important;
    }

    .download-app-section .get_app a {
        font-size: 12px;
        padding: 5px 16px;
    }

    .download-app-section .get_app img {
        width: 16px;
    }
}

/* Gap Fixes for Desktop */
/* Mobile Devices (Under 768px) */
@media (max-width: 767px) {
    .stats-section {
        margin-top: 40px !important;
        /* مسافة أصغر تناسب الجوال */
    }

    .hero-section .hero-content {
        /* margin-top: 38px !important; */
    }


}

@media (min-width: 768px) and (max-width: 991px) {
    .stats-section {
        margin-top: 80px !important;
    }

    .hero-section .hero-content {
        /* margin-top: 800px !important; */
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .stats-section {
        /* margin-top: 125px !important; */
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .stats-section {
        /* margin-top: 140px !important; */
    }
}

@media (min-width: 1440px) {
    .stats-section {
        /* margin-top: 190px !important; */
    }
}

/* Unified Spacing for Reviews Section Across All Sizes */
.reviews-section .tab-content.mt-3 {
    margin-top: 0px !important;
}

.customer-reviews-swiper {
    padding-top: 0px !important;
    margin-top: -20px !important;
}

/* Reduce gap between Reviews and FAQ section across all sizes */
.customer-reviews-swiper {
    padding-bottom: 30px !important;
}

.common-questions-section {
    padding-top: 20px !important;
}

.common-questions-section .title {
    margin-top: 10px !important;
    margin-bottom: 30px !important;
}

.ads-section {
    /* margin-bottom: -50px !important; */
}