/* Tablet Styles - 768px to 1024px */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    /* Hero */
    .hero-title {
        font-size: 3rem;
    }

    /* Features Grid */
    .features {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Services Page */
    .service-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-section.reverse {
        direction: ltr;
    }

    .service-image {
        height: 300px;
    }

    /* Contact Page */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Styles - up to 768px */
@media screen and (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero */
    .hero {
        height: 80vh;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    /* Services Carousel */
    .services-carousel {
        flex-direction: column;
        gap: 20px;
    }

    .service-card {
        opacity: 1;
        transform: scale(1);
        padding: 40px 30px;
    }

    .service-features {
        justify-content: center;
    }

    .service-features span {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Expertise Areas */
    .expertise-areas {
        grid-template-columns: 1fr;
    }

    /* Info Grid */
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile - up to 480px */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    /* Navigation */
    .nav-logo h1 {
        font-size: 1.5rem;
    }

    .nav-logo .tagline {
        font-size: 0.7rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Buttons */
    .cta-button,
    .cta-button-light {
        padding: 12px 30px;
        font-size: 0.85rem;
    }

    /* Page Header */
    .page-header {
        padding: 100px 0 40px;
    }

    /* Contact Form */
    .contact-form {
        padding: 30px 20px;
    }

    .submit-button {
        padding: 12px 30px;
    }
}

/* Landscape Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-section {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }
}
