/*==========================
1400px
==========================*/

@media (max-width:1400px) {
    .container {
        width: 95%;
    }

    .hero-text h1 {
        font-size: 52px;
    }

    .hero-image img {
        max-width: 600px;
    }

}

/*==========================
1200px
==========================*/

@media (max-width:1200px) {
    nav ul {
        gap: 20px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 46px;
    }

    .cards {
        grid-template-columns: repeat(2,1fr);
    }

    .features .container {
        grid-template-columns: repeat(2,1fr);
    }

    .counter .container {
        grid-template-columns: repeat(2,1fr);
    }

    .about-box {
        grid-template-columns: 1fr;
    }

    .content {
        text-align: center;
    }

    .hero-image img {
        max-width: 520px;
    }

}

/*==========================
576px
==========================*/

@media (max-width:576px) {
    .container {
        width: 92%;
    }

    .logo img {
        height: 55px;
    }

    nav ul {
        gap: 12px;
    }

    nav a {
        font-size: 14px;
    }

    .hero {
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-image img {
        max-width: 100%;
    }

    .feature {
        padding: 30px 20px;
    }

    .feature i {
        width: 65px;
        height: 65px;
        font-size: 24px;
    }

    .item h2 {
        font-size: 40px;
    }

    .item p {
        font-size: 16px;
    }

    .card img {
        height: 220px;
    }

    .content h2 {
        font-size: 30px;
    }

    .content p {
        font-size: 16px;
    }

    .play {
        width: 70px;
        height: 70px;
        font-size: 22px;
    }

    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 28px;
    }

    footer {
        font-size: 14px;
    }

}

/*==========================
420px
==========================*/

@media (max-width:420px) {
    .hero-text h1 {
        font-size: 26px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn {
        padding: 13px 18px;
    }

    .btn-outline {
        padding: 13px 18px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .counter-card h2 {
        font-size: 22px;
    }

    .counter-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin-bottom: 10px;
    }

}

@media (max-width:768px) {
    .hero-text h1 {
        font-size: 34px;
    }

    .hero-text p {
        line-height: 2;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .features .container {
        grid-template-columns: 1fr;
    }

    .counter .container {
        grid-template-columns: repeat(2,1fr);
        gap: 16px;
    }

    .counter-card {
        padding: 24px 10px;
    }

    .counter-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
        margin-bottom: 15px;
    }

    .counter-card h2 {
        font-size: 32px;
        margin-bottom: 8px;
        word-break: break-word;
    }

    .counter-card span {
        font-size: 13px;
    }

    .logos {
        justify-content: center;
    }

    .experience {
        width: 110px;
        height: 110px;
        bottom: -15px;
        left: -15px;
    }

    .experience h3 {
        font-size: 28px;
    }

    .experience span {
        font-size: 11px;
    }

    .cta h2 {
        font-size: 32px;
    }

    .content h2 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn,
    .btn-outline {
        width: 100%;
    }

    .logo-track {
        gap: 40px;
    }

    .logo-track img {
        height: 45px;
    }

}

@media (max-width:650px) {
    .counter .container {
        grid-template-columns: repeat(2,1fr);
        gap: 12px;
    }

    .counter-card {
        padding: 20px 8px;
    }

    .counter-card h2 {
        font-size: 26px;
    }

    .counter-card span {
        font-size: 12px;
        letter-spacing: 0;
    }

}

/* لپ تاپ */

@media (max-width: 1400px) {
    .hero-banner {
        height: 550px;
    }

}

/* لپ تاپ کوچکتر */

@media (max-width: 1200px) {
    .hero-banner {
        height: 500px;
    }

}

/* تبلت */

@media (max-width: 992px) {
    .hero-banner {
        height: 420px;
    }

}

/* موبایل */

@media (max-width: 768px) {
    .hero-banner {
        height: 300px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

}

@media (max-width:992px) {
    .mega-menu {
        position: relative;
        width: 100%;
        display: none;
        grid-template-columns: 1fr;
        padding: 20px;
        background: #083b92;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        top: 10px;
    }

    .mega-parent:hover .mega-menu {
        display: grid;
    }

    .mega-column h3 {
        color: white;
    }

    .mega-column a {
        color: #ddd;
    }

    .mega-image {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-close {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 82%;
        height: 100vh;
        background: #06245f;
        transition: .4s;
        padding-top: 90px;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -20px 0 50px rgba(0,0,0,.3);
    }

    nav.active {
        right: 0;
    }

    .nav .btn {
        display: none;
    }

    .top-bar {
        display: none;
    }

    header {
        position: relative;
        top: 0;
        padding: 20px 0;
        background: #07235f;
    }

    .nav {
        flex-direction: column;
        gap: 25px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding-top: 80px;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .hero-image img {
        max-width: 500px;
    }

    .counter .container {
        grid-template-columns: repeat(2,1fr);
    }

    .about .container {
        grid-template-columns: 1fr;
    }

    .about {
        text-align: center;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .about-item {
        justify-content: center;
    }

    .experience {
        left: 50%;
        transform: translateX(-50%);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card img {
        height: 320px;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-content h2 {
        font-size: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .contact-item {
        justify-content: center;
    }

    .socials {
        justify-content: center;
    }

    .cursor,
    .cursor-dot {
        display: none;
    }

    body {
        cursor: auto;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

}

