/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .additional-contact {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-content p {
        min-width: auto;
        margin-bottom: 10px;
    }

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .cookie-buttons .btn {
        min-width: 100px;
        flex: 1;
        max-width: 150px;
    }

    .commitment-list .commitment-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
        margin: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

    .page-header h1 {
        font-size: 2.5rem;
    }

    /* Hero */
    .hero {
        height: 60vh;
    }

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

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

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

    /* Grids */
    .services-grid,
    .goals-grid,
    .success-grid,
    .values-grid,
    .departments-grid,
    .features-grid,
    .catalog-grid,
    .contact-info-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .story-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .values-content,
    .commitment-grid,
    .expertise-grid,
    .process-steps,
    .pricing-features {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

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

    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }

    .cta-buttons,
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .social-links-large {
        flex-direction: column;
        align-items: center;
    }

    /* Cookie Banner */
    .cookie-content {
        padding: 0 10px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .cookie-buttons .btn {
        width: 100%;
        margin-bottom: 5px;
        padding: 14px 20px;
        font-size: 16px;
    }

    .cookie-buttons {
        flex-wrap: wrap;
    }

    .cookie-buttons .btn {
        flex: 1;
        min-width: 120px;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 0 10px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    /* Contact */
    .contact-item {
        justify-content: center;
    }

    /* Team commitment */
    .commitment-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .commitment-text {
        text-align: center;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

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

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

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    section {
        padding: 40px 0;
    }

    .service-card,
    .goal-card,
    .success-card,
    .value-card,
    .department-card,
    .feature-card,
    .catalog-category,
    .contact-card,
    .info-card {
        padding: 1.5rem;
    }

    .story-stats {
        grid-template-columns: 1fr;
    }

    .stat-large,
    .stat-item {
        padding: 1.5rem;
    }

    .stat-large h3,
    .stat-item h3 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section {
        padding-bottom: 1.5rem;
        margin-bottom: 2rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .contact-method {
        padding: 1.5rem;
    }

    .thanks-content {
        padding: 0 10px;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .step-content {
        text-align: center;
    }

    .modal-content {
        padding: 20px;
        max-width: 95%;
    }

    .modal-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .modal-buttons .btn {
        width: 100%;
    }
}

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

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

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

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .nav-toggle,
    .btn,
    .social-links,
    .social-links-large {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }

    .page-header {
        background: none !important;
        color: #000 !important;
        padding: 20px 0;
    }

    .legal-section {
        page-break-inside: avoid;
    }

    .legal-section h2 {
        border-left: none;
        padding-left: 0;
    }

    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }

    .service-card,
    .goal-card,
    .success-card,
    .value-card,
    .department-card,
    .feature-card,
    .contact-card,
    .info-card {
        border: 2px solid #333;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        border-width: 2px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero {
        scroll-behavior: auto;
    }
}

/* Dark Mode Support (if user prefers dark mode) */
@media (prefers-color-scheme: dark) {
    /* Keep light theme as requested, but provide better contrast for dark mode users */
    .service-card,
    .goal-card,
    .success-card,
    .value-card,
    .department-card,
    .feature-card,
    .contact-card,
    .info-card,
    .form-container {
        box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
    }
}
