/* Techworldzim Services - Responsive Styles */

/* ===== Tablet Styles (768px - 1024px) ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ===== Mobile Styles (max-width: 768px) ===== */
@media (max-width: 768px) {
    /* Header & Navigation */
    .header-container {
        flex-wrap: wrap;
    }
    
    /* Logo optimization for mobile */
    .logo {
        gap: 8px;
    }
    
    .logo img {
        height: 40px;
        max-width: 120px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    nav {
        width: 100%;
        display: none;
        margin-top: 1rem;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    
    nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--light-grey);
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Typography */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Sections */
    .section {
        padding: 2rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    /* Grids */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Cards */
    .card {
        padding: 1.5rem;
    }
    
    .service-card,
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .service-actions,
    .product-actions,
    .card-footer {
        flex-direction: column;
    }
    
    .service-actions .btn,
    .product-actions .btn {
        width: 100%;
    }
    
    /* Slider */
    .slide img {
        height: 250px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Forms */
    .form-control {
        padding: 10px;
    }
    
    /* Gallery */
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    /* Team Cards */
    .team-photo {
        width: 150px;
        height: 150px;
    }
    
    /* Infographics */
    .infographic-icon {
        font-size: 3rem;
    }
    
    .infographic-number {
        font-size: 2rem;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }
    
    /* WhatsApp Button */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
    
    /* WhatsApp Quote Button */
    .whatsapp-quote-btn {
        bottom: 75px;
        right: 15px;
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .whatsapp-quote-btn span:last-child {
        display: none;
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Small Mobile Styles (max-width: 480px) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .card,
    .service-card,
    .product-card {
        padding: 1rem;
    }
    
    .slide-content h2 {
        font-size: 1.25rem;
    }
    
    .infographic {
        padding: 1.5rem;
    }
    
    .infographic-icon {
        font-size: 2.5rem;
    }
    
    .infographic-number {
        font-size: 1.75rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    header,
    footer,
    .whatsapp-btn,
    nav,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

