/* ========== Header Start ==========  */


@media (max-width: 1024px) {

    :root {
        --font-size-medium: .7rem;
        --font-size-x: .8rem;
        --container-width: 100%;
    }

    .header__img,
    .header_darkmode,
    .header_button {
        display: none;
    }

    .header__search,
    .header__search-container {
        width: 100%;
    }

    .header__top {
        padding-bottom: 0;
    }

    .header__bottom {
        justify-content: space-between;
    }

    .header-Platform-dropdown {
        top: 125%;
        left: 0;
    }

    .header__nav {
        position: fixed;
        inset: 0;
        background-color: var(--color-bg);
        z-index: 999;
        gap: 20px;
        opacity: 0;
        pointer-events: none;
        height: 0;
        transition: .7s ease;
    }

    .active_header__nav {
        opacity: 1;
        pointer-events: auto;
        height: 100%;
        transition: .7s ease;
    }

    .header__nav,
    .header__nav-ul {

        flex-direction: column;
        justify-content: start;
        align-items: start;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .header__nav-li {
        height: max-content;
        padding: 10px;
    }

    .burgur-menu {
        width: 27px;
    }

    .burgur-menu-header,
    .burgur-menu {
        display: block;
    }

    .menu-burgur-logo {
        display: block;
        width: 100px;
        padding: 10px;
    }

    .dropdown-container {
        position: static;
    }

    .header__nav-li {
        flex-direction: column;
        align-items: start;
    }

    .header__nav-dropdown {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .header__nav-li:hover .header__nav-dropdown {
        height: max-content;
    }

    .header__nav-dropdown-img {
        width: 70px;
    }

    .header__nav-dropdown-right-divider {
        min-width: calc(100% + 60px);
    }

    .header__nav-li:hover::after {
        width: 0;
    }

    .header__nav-li,
    .dropdown-container,
    .header__nav-dropdown,
    .header__nav-dropdown-right,
    .header__nav-ul,
    .header__nav-dropdown-left {
        min-width: 100%;
    }

    .header__nav-dropdown-right {
        padding: 15px;
    }

    .header__nav-dropdown-right-item {
        align-self: flex-start;
    }

    .header__nav-dropdown-left {
        max-height: 316px;
        overflow: auto;
    }

    .burgur-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 15px 10px 15px 10px;
        border-bottom: 2px solid var(--border-color);
    }

    .burgur-menu-close {
        width: 23px;
        height: 23px;
    }

    .menu-burgur-logo {
        padding: 0;
    }

    .contact,
    .qa {
        flex-direction: row;
    }

    .header__nav-li {
        align-content: flex-start;
        justify-content: start;
    }

}

@media (min-width : 1025px) and (max-width: 1207px) {

    .DC5,
    .DC4 {
        padding-top: 20px;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width : 1060px) {
    .DC3 {
        padding-top: 20px;
        top: 100%;
        left: 20%;
        transform: translateX(-50%);
    }
}


/* ========== Header End ==========  */

/* ========== Footer Start ==========  */

@media (max-width: 1024px) {
    .footer-start {
        flex-direction: column !important;
        align-items: start !important;
        justify-content: center !important;
        gap: 20px;
    }

    .footer-start__ul,
    .footer-center__svg-name {
        display: none !important;
    }

    .footer-center {
        flex-direction: column !important;
    }

    .footer-center__start {
        width: 100% !important;
    }

    .footer-start__ul-svg {
        display: block !important;
        transform: rotate(0deg);
        transition: transform .7s ease-in-out;
    }

    .footer-start__ul-container {
        display: flex;
        gap: 5px;
        align-items: start;
        flex-direction: column;
    }

    .footer-start__ul-svg {
        width: 1rem;
    }

    .footer-start_header {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .footer-start__ul-container:hover .footer-start__ul {
        display: block !important;
    }

    .footer-start__ul-container:hover .footer-start__ul-svg {
        transform: rotate(180deg);
        transition: .7s ease-in-out;
    }

    .footer-center__svg-container {
        justify-content: flex-start !important;
    }
}

@media (min-width: 1024px) and (max-width: 1349px) {
    :root {
        --container-width: 100%;
    }

    .footer-center__svg-name {
        display: none;
    }
}

/* ========== Footer End ==========  */

@media (max-width: 1024px) {


    .hero-container {
        flex-direction: column;
        width: 90% !important;
        justify-content: center !important;
    }

    .hero-container__end {
        position: static;
        align-items: center;
        justify-content: center !important;
        width: 100% !important;
    }

    .hero-container__end-img {
        width: 300px !important;
        position: static !important;
    }

    .hero_container__start {
        align-items: center;
    }

    .hero_container__heading {
        font-size: 2rem !important;
        text-align: center;
    }

}

@media (min-width: 1024px) and (max-width: 1070px) {
    .hero_container__heading {
        font-size: 1.7rem !important;
    }
}

@media (min-width: 1070px) and (max-width: 1170px) {
    .hero_container__heading {
        font-size: 2rem !important;
    }
}

@media (min-width: 1170px) and (max-width: 1268px) {
    .hero_container__heading {
        font-size: 2.5rem !important;
    }
}


@media (min-width: 1024px) and (max-width: 1349px) {
    .hero-container {
        width: 90% !important;
    }

    .hero-container__end-img {
        width: 500px !important;
        top: -165px !important;
    }
}

/* ========== Main ==========  */

@media (max-width: 1025px) {
    main {
        overflow: hidden;
    }

    .hero-container__card,
    .hero-container,
    .hero-container__start,
    .hero-container__card-name,
    .hero_heading,
    .hero-container__end,
    .hero-container__card-video,
    section {
        width: 100% !important;
    }

    .deyAtm {
        width: 250px !important;
    }

    .hero-container,
    .hero-container__card {
        flex-direction: column-reverse;
    }

    .hero-container__card-video {
        width: 200px !important;
    }

    .hero-container__card-name {
        justify-content: center;
        align-items: center;
    }

    .hero-container__card-name-heading {
        font-size: 1rem !important;
    }

    .column-card {
        flex-direction: row !important;
        gap: 20px !important;
        justify-content: center !important;

    }

    .column-cards {
        flex-direction: column;
        white-space: nowrap;
    }

    .hero-container__divider {
        display: none;
    }

    .hero-container__end {
        height: 349.361px !important;
    }

    .hero-container__card-name-p {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center !important;
    }

    .hero-container {
        justify-content: center !important;
        gap: 50px !important;
        align-items: center !important;
    }

    .column-card {
        overflow-x: auto !important;
        padding: 10px 0;
    }

    .hero-container {
        padding-top: 25px !important;
    }

    .hero_heading {
        align-items: center;
        justify-content: center !important;
    }

    .hero-container__start {
        width: calc(100% + 100px) !important;
        padding: 0 10px;
    }

    .thirdContainer-heading {
        font-size: 1.7rem !important;
    }

    .thirdContainer-calc-result {
        gap: 20px;
        overflow-x: auto;
    }

    /* ======= second section ======= */

    .secondContainer {
        flex-direction: column-reverse !important;
    }

    .second-start {
        align-items: center !important;
        justify-content: center !important;
        text-align: justify;
        line-height: 2.5;
    }

    .secondIcons-ul {
        grid-template: repeat(2, 1fr) / repeat(3, 1fr) !important;
        gap: 20px 10px !important;
    }

    .secondIcons-Flip {
        left: 51% !important;
        top: 40% !important;
    }

    .second-start__heading {
        font-size: 1.5rem !important;
    }

    .four-content {
        flex-direction: column-reverse;
        padding-top: 0 !important;
    }

    .fourthContainer {
        height: max-content !important;
    }

        .four-contentContainer {
        height: 915px !important;
    }

    .four-content__img {
        width: 50% !important;
    }

    .fifthContainer {
        flex-direction: column-reverse;
        background-image: linear-gradient(#fed816 10%,#fff 85%) !important;
    }

    .fifthContainer__start {
        align-items: center !important;
    }

    .fifthContainer__heading {
        font-size: 1.7rem !important;
        margin-bottom: 10px !important;
    }
    
    .mahakpopup {
        display: none;
    }

    .fifthContainer_btn {
        border: 1px solid var(--border-color) !important;
    }

}

@media (max-width : 768px) {
    .four-contentContainer {
        height: 744px !important;
    }
        .four-content__img {
        width: 70% !important;
    }

}

@media (min-width : 471px ) and (max-width : 970px ) {
        .four-contentContainer {
        height: 925px !important;
    }
            .four-content__img {
        width: 70% !important;
    }
}

@media (min-width : 1025px) and (max-width : 1273px) {
    .hero-container__card {
        flex-direction: column-reverse !important;
        /* position: static !important; */
        max-height: 100% !important;
        width: 100% !important;
    }

    .hero-container {
        height: max-content !important;
    }

    .hero-container__end {
        max-width: 100% !important;
        min-height: 580.958px !important;
    }

    .hero-container__card-name {
        width: 100% !important;
        align-items: center;
        justify-content: center;
    }

    .hero-container__divider {
        display: none !important;
    }

}

@media (min-width : 1040px) and (max-width : 1348px) {
    .secondIcons-Flip {
        left: clamp(15%, 25%, 35%) !important;
    }

    .secondSection {
        max-width: 1040px !important;
    }
}

@media (min-width : 1348px)  {
    .secondIcons-Flip {
        left: 20.3% !important;
        max-width: 1370px;
    }

    .secondSection {
        max-width: 1370px !important;
    }
}