@media (max-width: 1280px) {
    .form-box:after {
        width: 51px;
        height: 171px;
    }
    .form-box:before {
        width: 74px;
        height: 63px;
        left: -10px;
        bottom: -10px;
    }
    .form-box {
        padding: 20px 80px 20px 40px;
        margin: 20px 0 50px 0;
    }
    section.hero.contact-hero {
        display: block;
    }
    .contact-sec {
        gap: 20px;
    }
    .contact-sec .contact-right-details .map iframe {
        width: 100%;
        height: 340px;
    }
}
@media (max-width: 1024px) { 
    .acc-text {
        width: 90%;
        text-align: left;
    }
    .demandingGrid{grid-template-columns: repeat(2, 1fr)}
    .aboutWrap{grid-template-columns: 1fr}
    .customerTop{grid-template-columns: 1fr}
    .miniGrid{grid-template-columns: repeat(2, 1fr)}
    .resourcesWrap{grid-template-columns: 1fr}
    .featuresGrid{grid-template-columns: repeat(2, 1fr)}
    .header__nav-list {
        gap: 1rem;
    }
    .mblShow {
        display: block;
    }
    .deskShow {
        display: none;
    }
    h2.section__title, h2 {
        text-align: center;
    }
    .aboutWrap img, .card.customerArt img {
        margin: 0 auto;
        width: 100%;
        display: table;
    }
}

@media (max-width: 991px) {
    .accordion-item button {
        text-align: left;
        line-height: 28px;
    }
    .footer__nav-list {
        gap: 10px;
    }
    section {
        padding: 3rem 0;
    }
    h1 {
        font-size: 38px !important;
    }
    h2 {
       font-size: 32px;
    }
    h3 {
        font-size: 28px;
    }   
    .hero__container {
        gap: 0rem;
    }
    .mobileMenu {
        display: flex;
    }
    .desktopMenu {
        display: none;
    }
     /* Hide desktop nav */
    .header__nav {
        display: none;
    }

    /* Hamburger */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }

    .mobile-toggle span {
        width: 28px;
        height: 2px;
        background: #000;
        transition: 0.3s ease;
    }
    .mobile-toggle span:nth-child(3) {
        width: 20px;
    }
    .mobile-toggle span:nth-child(2) {
        width: 22px; 
    }
    /* Fullscreen Overlay */
    .mobile-menu {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.76);
        backdrop-filter: blur(8px);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.5s ease;
        z-index: 1050;
    }

    .mobile-menu.active {
        transform: translateY(0);
    }

    /* Close Button */
    .mobile-close {
        position: absolute;
        top: 25px;
        right: 30px;
        font-size: 40px;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* Menu List */
    .mobile-menu__list {
        list-style: none;
        text-align: center;
        padding: 0;
    }

    .mobile-menu__list > li {
        margin: 20px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease;
    }

    .mobile-menu.active .mobile-menu__list > li {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu__list a {
        color: #fff;
        font-size: 26px;
        text-decoration: none;
        font-weight: 600;
        transition: 0.3s;
    }

    .mobile-menu__list a:hover {
        color: #00c3ff;
    }

    /* Submenu */
    .mobile-menu__list .sub-menu {
        list-style: none;
        padding: 10px 0 0;
        display: none;
    }

    .mobile-menu__list li.open > .sub-menu {
        display: block;
    }

    .mobile-menu__list .sub-menu a {
        font-size: 18px;
        font-weight: 400;
        color: #ccc;
    }
}

@media (max-width: 820px) {
    .main-wrapper {
        gap: 10px;
    }
    nav.footer__nav {
        display: block;
        width: 100%;
    }
    nav.footer__nav ul#footer__nav-list {
        display: block;
    }
    nav.footer__nav ul#footer__nav-list li {
        margin: 10px 0;
    }
    .hero .hero__container {
        flex-direction: column;
    }
    .hero {
        padding: 4rem 2rem;
    }
    .hero__image {
        margin-top: 40px;
    }
    .hero__content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-sec {
        grid-template-columns: repeat(1, 1fr);
    }
    .header__container {
        flex-direction: column;    
        align-items: flex-start;    
        height: auto;
        padding: 1rem 2rem;
    } 
    .hero__container {
        flex-direction: row;
        text-align: left;
    }  
} 
@media (max-width: 667px) {
    .form-box {
        padding: 20px 40px 20px 40px;
    }
    .right-panel {
        margin-top: 40px;
    }
    .main-wrapper {
        display: block; 
    }
    .cust-serv-top-box {
        display: block;
    }
    .post-thumbnail img {
        width: 100%;
        height: auto;
    }
    .customerTop {
        margin-top: 0;
    }
    .bx-txt p {
        margin-bottom: 0;
    }
    .mobile-menu__list a {
        font-size: 20px;
        font-weight: 500;
    }
    .f-text {
        margin: 0 0 20px 0;
    }
    .footer__inner {
        align-items: flex-start;
    }
    .resourcesright-innerbox:nth-child(2) {
        margin-top: 0;
    }
    .hero {
        padding: 2rem 0;
    }
    .footer__inner {
        flex-direction: column;
        gap: 1rem;
    }
    .footer__nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    .demandingGrid{grid-template-columns: 1fr}
    .miniGrid{grid-template-columns: 1fr}
    .resourcesRight{grid-template-columns: 1fr}
    .featuresGrid{grid-template-columns: 1fr}
    .customerArtInner{flex-direction:column; align-items:flex-start}
    .illustration{width:100%}
}
@media (max-width: 480px) {
    .form-box {
        padding: 20px 40px 20px 20px;
    }
    h1 {
        font-size: 34px !important;
    }
    h2 {
        font-size: 30px;
    }
    h2 {
        font-size: 26px;
    }
    .about-hero .hero__image {
        margin-top: 0px;
    }
    section.hero.about-hero {
        margin-bottom: 40px;
    }
    .header__container .logo img {
        width: 160px;
    }
    .header__container { 
        padding: 1rem 1rem;
    }
    .hero__button {
        font-size: 14px;
    }
    .grid.featuresGrid .demandingCard img {
        margin-bottom: 20px;
    }
    .services-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 375px) {
    .accordion-header {
        font-weight: 500;
        font-size: 16px;
    }
    h1 {
        font-size: 32px !important;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 24px;
    }
    h4 {
        font-size: 20px;
    }
    p {
        font-size: 14px;
    }
}
@media (max-width: 360px) {
    h1 {
        font-size: 29px !important;
    }
    h2 {
        font-size: 25px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 18px;
    }
}
@media (max-width: 340px) {
    .container {
        padding: 0 1rem;
    }
    h1 {
        font-size: 26px !important;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 16px;
    }
}