/* Responsive Styles */

/* Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile menu styles */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        width: 24px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .mobile-menu-toggle span {
        width: 100%;
        height: 2px;
        background: var(--dark-gray);
        margin: 2px 0;
        transition: 0.3s;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .navbar {
        position: relative;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .posts-grid {
        gap: 1rem;
    }
    
    .post-card {
        padding: 1.5rem;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        font-weight: 600;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-gray: #f8fafc;
        --light-gray: #1f2937;
        --text-gray: #d1d5db;
        --white: #111827;
    }
    
  
    
    .service-card,
    .testimonial-card,
    .post-card {
        background: #1f2937;
        color: #f8fafc;
    }
    
    .service-card h3,
    .testimonial-card h3,
    .post-card h3 {
        color: #f8fafc;
    }
    
    .service-card p,
    .testimonial-card p,
    .post-card p {
        color: #d1d5db;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}