/* ============================================
   RESPONSIVE STYLES - Mobile First Approach
   Shah World Trade Website
   ============================================ */

/* Base styles are mobile-first in style.css */
/* This file handles responsive adjustments */

/* ============================================
   GLOBAL RESPONSIVE UTILITIES
   ============================================ */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ============================================
   MOBILE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
    /* Body padding for fixed nav */
    body {
        padding-top: 60px;
    }

    /* Navigation */
    .nav-container {
        padding: 1rem;
    }
    
    .brand {
        font-size: 1.2rem;
        gap: 8px;
        margin-left: 0;
    }

    .brand-logo {
        height: 38px;
    }

    .brand-name {
        font-size: 0.95rem;
        font-weight: 700;
        color: #2d4a2d;
    }
    
    .menu-items {
        display: flex;
        position: fixed;
        left: 0;
        top: 60px;
        flex-direction: column;
        background: linear-gradient(135deg, #ffffff 0%, #f8fdf6 100%);
        width: 100%;
        text-align: center;
        padding: 0;
        gap: 0;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    padding 0.3s ease;
        box-shadow: none;
    }
    
    .menu-items.active {
        max-height: 350px;
        opacity: 1;
        padding: 1rem 0 1.5rem;
        box-shadow: 0 15px 40px rgba(30, 86, 49, 0.15);
    }
    
    .menu-items li {
        margin: 0;
        list-style: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .menu-items.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .menu-items.active li:nth-child(1) { transition-delay: 0.1s; }
    .menu-items.active li:nth-child(2) { transition-delay: 0.15s; }
    .menu-items.active li:nth-child(3) { transition-delay: 0.2s; }
    .menu-items.active li:nth-child(4) { transition-delay: 0.25s; }
    
    .menu-items a {
        font-size: 1.1rem;
        padding: 14px 20px;
        display: block;
        color: var(--primary-green);
        text-decoration: none;
        font-weight: 500;
        transition: background 0.3s ease, color 0.3s ease;
        border-bottom: 1px solid rgba(30, 86, 49, 0.08);
    }
    
    .menu-items li:last-child a {
        border-bottom: none;
    }
    
    .menu-items a:hover,
    .menu-items a.active {
        background: rgba(30, 86, 49, 0.08);
        color: var(--secondary-green);
    }
    
    /* Animated Hamburger Menu Toggle */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        pointer-events: auto;
        padding: 8px;
        gap: 5px;
        transition: transform 0.3s ease;
    }
    
    .menu-toggle:hover {
        transform: scale(1.05);
    }
    
    .menu-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: var(--primary-green);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--secondary-green);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: var(--secondary-green);
    }
    
    /* Hero Section */
    .hero-banner {
        min-height: auto;
        padding: 60px 15px 40px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .hero-images {
        display: none;
    }
    
    .hero-graphics {
        display: none;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 40px 15px;
        margin-top: -30px;
    }
    
    .feature-card {
        padding: 1.2rem 0.8rem;
        border-radius: 12px;
    }
    
    .feature-card i {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .feature-card h3 {
        font-size: 0.85rem;
    }
    
    .feature-card p {
        font-size: 0.75rem;
        display: none;
    }
    
    /* Product Categories */
    .product-categories {
        padding: 40px 15px;
    }
    
    .product-categories h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-box {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
    
    .category-box h3 {
        font-size: 1.2rem;
    }
    
    .category-box p {
        font-size: 0.9rem;
    }
    
    /* Stats Section */
    .stats-section {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 40px 15px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .stat-item h3 {
        font-size: 1.1rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 50px 15px;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Footer - Compact Mobile Design */
    .site-footer {
        padding: 30px 15px 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        text-align: center;
    }
    
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .footer-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-col h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-col h4::after {
        display: none;
    }
    
    .footer-col p {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-col p a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        font-size: 0.8rem;
    }
    
    .footer-col p i {
        font-size: 0.75rem;
    }
    
    .footer-col ul {
        text-align: center;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem 1rem;
    }
    
    .footer-col ul li {
        margin-bottom: 0;
    }
    
    .footer-col ul li a {
        font-size: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding-top: 15px;
        margin-top: 10px;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    /* Footer Section (for products page) */
    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .footer-section:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-section p {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-section p a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        font-size: 0.8rem;
    }
    
    .footer-section p i {
        font-size: 0.75rem;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem 1rem;
        padding: 0;
        list-style: none;
    }
    
    .footer-section ul li a {
        font-size: 0.8rem;
    }
    
    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 0.9rem;
    }
    
    /* WhatsApp Button Mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        left: 15px;
        font-size: 1.6rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    /* Products Page */
    .products-header {
        padding: 60px 15px 40px;
    }
    
    .page-header h1 {
        font-size: 1.8rem !important;
    }
    
    .page-header p {
        font-size: 0.95rem !important;
    }

    /* Page Hero (About page) */
    .page-hero {
        padding: 60px 15px 50px;
        text-align: center;
    }
    
    .page-hero-content {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .page-hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .page-hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .container {
        padding: 30px 15px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        max-width: 100%;
    }
    
    .category-image {
        height: 200px;
    }
    
    .category-info {
        padding: 1.2rem;
    }
    
    .category-info h3 {
        font-size: 1.3rem;
    }
    
    .category-info p {
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-info {
        padding: 0.8rem;
    }
    
    .product-info h4 {
        font-size: 0.85rem;
    }
    
    .back-button {
        padding: 10px 18px;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .products-cta {
        padding: 50px 15px;
    }
    
    .products-cta h2 {
        font-size: 1.5rem;
    }
    
    .products-cta p {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Contact Page - Compact Mobile */
    .contact-page .page-header {
        padding: 50px 15px 30px;
    }
    
    .contact-page .page-header h1 {
        font-size: 1.6rem;
    }
    
    .contact-page .page-header p {
        font-size: 0.9rem;
    }
    
    .contact-section {
        padding: 30px 15px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        padding: 0;
        text-align: center;
    }
    
    .contact-info > p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .contact-info h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .info-items {
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .info-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .info-item p,
    .info-item p a {
        font-size: 0.8rem;
    }
    
    .contact-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-social h4 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .contact-social .social-links {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .contact-social .social-links a {
        width: 36px;
        height: 36px;
    }
    
    .contact-form-wrapper {
        padding: 1.2rem;
    }
    
    .contact-form h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Phone Input - Mobile */
    .phone-input-wrapper {
        flex-direction: column;
        gap: 8px;
    }

    .country-code-select {
        width: 100% !important;
    }

    /* About Page - Compact Mobile */
    .about-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.4rem;
    }
    
    .about-text p {
        font-size: 0.85rem;
    }
    
    .info-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1.2rem;
    }
    
    .info-card h3 {
        font-size: 1rem;
    }
    
    .info-card p {
        font-size: 0.8rem;
    }
    
    .mission-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mission-box {
        padding: 1.2rem;
    }
    
    .mission-box h3 {
        font-size: 1rem;
    }
    
    .mission-box p {
        font-size: 0.8rem;
    }
    
    .why-container h2,
    .reach-container h2,
    .values-container h2 {
        font-size: 1.4rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   TABLET (481px – 768px)
   ============================================ */
@media (min-width: 481px) and (max-width: 768px) {
    /* Body padding for fixed nav */
    body {
        padding-top: 65px;
    }

    /* Navigation */
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .brand {
        font-size: 1.3rem;
        gap: 10px;
        margin-left: 0;
    }

    .brand-logo {
        height: 45px;
    }

    .brand-name {
        font-size: 1.05rem;
        font-weight: 700;
        color: #2d4a2d;
    }
    
    .menu-items {
        display: flex;
        position: fixed;
        left: 0;
        top: 65px;
        flex-direction: column;
        background: linear-gradient(135deg, #ffffff 0%, #f8fdf6 100%);
        width: 100%;
        text-align: center;
        padding: 0;
        gap: 0;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    padding 0.3s ease;
        box-shadow: none;
    }
    
    .menu-items.active {
        max-height: 350px;
        opacity: 1;
        padding: 1rem 0 1.5rem;
        box-shadow: 0 15px 40px rgba(30, 86, 49, 0.15);
    }
    
    .menu-items li {
        margin: 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .menu-items.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .menu-items.active li:nth-child(1) { transition-delay: 0.1s; }
    .menu-items.active li:nth-child(2) { transition-delay: 0.15s; }
    .menu-items.active li:nth-child(3) { transition-delay: 0.2s; }
    .menu-items.active li:nth-child(4) { transition-delay: 0.25s; }
    
    .menu-items a {
        font-size: 1.1rem;
        padding: 14px 20px;
        display: block;
        color: var(--primary-green);
        text-decoration: none;
        font-weight: 500;
        transition: background 0.3s ease, color 0.3s ease;
        border-bottom: 1px solid rgba(30, 86, 49, 0.08);
    }
    
    .menu-items li:last-child a {
        border-bottom: none;
    }
    
    .menu-items a:hover,
    .menu-items a.active {
        background: rgba(30, 86, 49, 0.08);
        color: var(--secondary-green);
    }
    
    /* Animated Hamburger Menu Toggle */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        pointer-events: auto;
        padding: 8px;
        gap: 5px;
        transition: transform 0.3s ease;
    }
    
    .menu-toggle:hover {
        transform: scale(1.05);
    }
    
    .menu-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: var(--primary-green);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--secondary-green);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: var(--secondary-green);
    }
    
    /* Hero Section */
    .hero-banner {
        min-height: auto;
        padding: 80px 20px 60px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .hero-text p {
        font-size: 1.05rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-images {
        flex: none;
    }
    
    .image-wrapper {
        height: 320px;
        max-width: 400px;
    }
    
    .img-1, .img-2 {
        width: 200px;
        height: 200px;
    }
    
    .eco-badge {
        font-size: 0.8rem;
        padding: 10px 16px;
    }

    /* Page Hero (About page) */
    .page-hero {
        padding: 80px 20px 60px;
        text-align: center;
    }
    
    .page-hero-content {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .page-hero-content h1 {
        font-size: 2.4rem;
        margin-bottom: 0.75rem;
    }
    
    .page-hero-content p {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 50px 20px;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Product Categories */
    .product-categories h2 {
        font-size: 2rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .category-box {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
    
    .category-box h3 {
        font-size: 1.1rem;
    }
    
    .category-box p {
        font-size: 0.85rem;
    }
    
    /* Stats Section */
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 60px 20px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-item h3 {
        font-size: 1.3rem;
    }
    
    /* Footer - Tablet Compact */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .footer-col:last-child {
        border-bottom: none;
    }
    
    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-col h4::after {
        display: none;
    }
    
    .footer-col p {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-col p a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.85rem;
    }
    
    .footer-col ul {
        text-align: center;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.2rem;
    }
    
    .footer-col ul li a {
        font-size: 0.85rem;
    }
    
    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .footer-section:last-of-type {
        border-bottom: none;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section p {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section p a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.85rem;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.2rem;
        padding: 0;
        list-style: none;
    }
    
    .footer-bottom {
        padding-top: 15px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
    }
    
    /* Products Page */
    .products-header {
        padding: 80px 20px 60px;
    }
    
    .page-header h1 {
        font-size: 2.2rem !important;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .category-image {
        height: 220px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    /* Contact Page */
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .info-items {
        align-items: center;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-social {
        align-items: center;
    }
    
    .contact-social .social-links {
        justify-content: center;
    }
    
    /* About Page */
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .info-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-container {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   SMALL LAPTOPS (769px – 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Navigation - Show full menu */
    .menu-toggle {
        display: none;
    }
    
    .menu-items {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 2rem;
    }
    
    /* Hero Section */
    .hero-banner {
        padding: 80px 20px;
        min-height: 80vh;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }

    /* Page Hero (About page) */
    .page-hero {
        padding: 80px 30px;
        text-align: center;
    }
    
    .page-hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .page-hero-content p {
        font-size: 1.1rem;
    }

    .image-wrapper {
        height: 400px;
        max-width: 450px;
    }
    
    .img-1 {
        width: 260px;
        height: 260px;
    }
    
    .img-2 {
        width: 240px;
        height: 240px;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    /* Product Categories */
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .category-box {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 55px;
        height: 55px;
    }
    
    .category-icon i {
        font-size: 1.4rem;
    }
    
    .category-box h3 {
        font-size: 1.05rem;
    }
    
    .category-box p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    /* Stats Section */
    .stats-section {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Products Page */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Contact Page */
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    /* About Page */
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .info-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   DESKTOP (≥ 1025px)
   ============================================ */
@media (min-width: 1025px) {
    /* Navigation */
    .menu-toggle {
        display: none;
    }
    
    .menu-items {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 2.5rem;
    }
    
    /* Hero Section */
    .hero-banner {
        min-height: 90vh;
    }
    
    .hero-text h1 {
        font-size: 4rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Product Categories */
    .category-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
    
    .category-box {
        padding: 1.8rem;
    }
    
    .category-icon {
        width: 65px;
        height: 65px;
    }
    
    .category-icon i {
        font-size: 1.6rem;
    }
    
    .category-box h3 {
        font-size: 1.15rem;
    }
    
    .category-box p {
        font-size: 0.85rem;
    }
    
    /* Stats Section */
    .stats-section {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Products Page */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   LARGE DESKTOPS (≥ 1400px)
   ============================================ */
@media (min-width: 1400px) {
    .hero-container {
        max-width: 1400px;
    }
    
    .hero-text h1 {
        font-size: 4.5rem;
    }
    
    .image-wrapper {
        max-width: 600px;
        height: 550px;
    }
    
    .img-1 {
        width: 360px;
        height: 360px;
    }
    
    .img-2 {
        width: 340px;
        height: 340px;
    }
}

/* ============================================
   TOUCH TARGET OPTIMIZATION
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Ensure minimum touch target size of 44px */
    .btn-primary,
    .btn-secondary,
    .btn-large,
    .btn-outline,
    .back-button,
    .menu-toggle,
    .social-links a,
    .scroll-top,
    .footer-col a {
        min-height: 44px;
    }
    
    .menu-items a {
        padding: 12px 20px;
    }
    
    /* Remove hover effects on touch devices for category overlay */
    .category-overlay {
        opacity: 0;
    }
    
    .category-card:active .category-overlay {
        opacity: 1;
    }
}

/* ============================================
   LANDSCAPE MOBILE ORIENTATION
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-banner {
        min-height: auto;
        padding: 40px 20px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-images {
        display: none;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .main-nav,
    .scroll-top,
    .cta-buttons,
    .social-links,
    .menu-toggle {
        display: none !important;
    }
    
    .hero-banner {
        background: #f0f0f0 !important;
        color: #333 !important;
        padding: 20px !important;
    }
    
    .hero-images {
        display: none;
    }
}
