@media screen and (max-width: 1023px) {
    .product-feature-section {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 40px 0 0;
    }

    .product-feature-row {
        grid-template-columns: 1fr;
    }

    .product-feature-image-wrap {
        order: 2;
    }

    .product-feature-text {
        order: 1;
        min-height: 380px;
    }

    .product-feature-image {
        min-height: 380px;
    }

    .product-feature-title {
        font-size: 36px;
    }

    .why-choose-products-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .why-choose-products-image {
        order: 1;
    }

    .why-choose-products-content {
        order: 2;
    }

    .why-choose-products-content .products-list {
        font-size: 17px;
    }

    .why-choose-products-content .section-title {
        font-size: 32px;
    }

    .product-feature-description {
        font-size: 18px;
    }

    .product-feature-content {
        padding: 40px 32px;
    }

    #header {
        height: 64px;
    }

    .header-logo img {
        height: 48px;
    }

    .desktop-nav {
        display: none;
    }

    .desktop-right {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    #middle {
        padding-top: 64px;
    }

    .mobile-menu {
        top: 64px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-section {
        height: auto;
        min-height: 500px;
    }

    .hero-content {
        height: auto;
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 40px;
        line-height: 44px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-text {
        padding: 40px 32px;
    }

    .product-image-wrapper {
        height: auto;
        aspect-ratio: 19 / 20;
        padding: 16px;
    }

    .product-footer {
        padding: 16px;
    }

    .product-icon-img {
        width: 40px;
        height: 40px;
    }

    .product-contact-link {
        font-size: 20px;
    }

    .product-name {
        font-size: 20px;
    }

    .page-hero {
        height: 300px;
        max-height: 300px;
    }

    .page-hero img,
    .page-hero-overlay {
        height: 380px;
    }

    .page-hero-content {
        padding: 50px 20px;
    }

    .page-hero-text-wrapper {
        width: 65%;
        max-width: 65%;
    }

    .page-hero-text {
        padding: 32px 40px;
    }

    .page-hero-title {
        font-size: 42px;
        line-height: 44px;
        margin-bottom: 12px;
    }

    .page-hero-subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: 40px;
        line-height: 44px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title-img {
        max-width: 280px;
    }

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1023px) {
    .why-work-section {
        grid-template-columns: 1fr;
    }

    .why-work-section {
        grid-template-columns: 1fr;
    }

    .why-work-image {
        order: 2;
        height: 400px;
    }

    .why-work-text {
        order: 1;
        height: 400px;
    }

    .why-work-title {
        font-size: 40px;
        line-height: 1.3;
    }

    .why-work-description {
        font-size: 16px;
    }

    .contact-section {
        height: 500px;
        padding: 64px 0;
    }

    .contact-title {
        font-size: 40px;
        line-height: 44px;
    }

    .contact-description {
        font-size: 16px;
    }

    .trusted-logos {
        gap: 48px;
    }
}

@media screen and (max-width: 1023px) {
    .grid.grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: 2;
    }

    .products-list {
        font-size: 18px;
    }

    .dealer-card {
        min-height: 400px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    #products .grid.grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 1023px) {
    .media-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-two-col {
        grid-template-columns: 1fr;
    }

    .about-two-col-reverse .about-mission-content {
        order: 0;
    }

    .about-two-col-reverse .about-mission-image {
        order: 1;
    }

    .about-tech-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-tech-tab {
        font-size: 24px;
        padding: 16px 20px;
    }
}

/* Contact Page - Tablet */
@media screen and (max-width: 1023px) {
    .contact-page-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        border-radius: 16px;
        margin: 0 20px;
        max-width: calc(100% - 40px);
    }

    .contact-form-wrapper {
        order: 1;
        padding: 40px 32px;
        border-width: 4px;
    }

    .contact-info-panel {
        order: 2;
        padding: 48px 32px;
        min-height: 400px;
    }

    .contact-info-title {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .contact-form-title {
        font-size: 28px;
    }

    .contact-page-section {
        padding: 48px 0;
    }
}