/* 
 * WDF Solutions Website - Responsive Styles
 * Breakpoints:
 * - Large: 1200px and above (default styles)
 * - Medium: 992px to 1199px
 * - Tablet: 768px to 991px
 * - Mobile: 576px to 767px
 * - Small Mobile: 575px and below
 */

/* ===== Medium Screens (992px - 1199px) ===== */
@media screen and (max-width: 1199px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 7rem 0 4rem;
    }
    
    .hero-image {
        width: 45%;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    /* Stats Section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl) var(--spacing-xxl);
    }
}

/* ===== Tablet Screens (768px - 991px) ===== */
@media screen and (max-width: 991px) {
    /* Typography */
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Header */
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-list {
        gap: var(--spacing-md);
    }
    
    /* Hero Section */
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 80%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-shape {
        display: none;
    }
    
    /* Work Grid */
    .work-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .footer-logo {
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

/* ===== Mobile Screens (576px - 767px) ===== */
@media screen and (max-width: 767px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Header & Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--text-white);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-md);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-lg);
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Hero Section */
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Work Grid */
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonial-item {
        padding: var(--spacing-lg);
    }
    
    /* Stats Section */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
}

/* ===== Small Mobile Screens (575px and below) ===== */
@media screen and (max-width: 575px) {
    /* Container */
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Typography */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 4.5rem 0 2rem;
    }
    
    .hero h1 .highlight:after {
        height: 5px;
    }
    
    /* Services Section */
    .service-card {
        padding: var(--spacing-lg);
    }
    
    /* CTA Section */
    .cta h2 {
        font-size: 1.5rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
}