/* Responsive Design */

/* Large screens (1200px and up) */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Medium screens (992px and up) */
@media (max-width: 992px) {
    .container {
        max-width: 900px;
    }
    
    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero section */
    .hero h1 {
        font-size: 2.25rem;
    }
    
    /* Grid adjustments */
    .goals-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .goals-visual {
        order: -1;
        text-align: center;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hours-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Team member detailed */
    .team-member-detailed {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .member-image {
        justify-self: center;
    }
    
    /* Experience stats */
    .experience-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Timeline adjustments */
    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .timeline-year {
        align-self: center;
    }
}

/* Small screens (768px and up) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    /* Grid adjustments */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .additional-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details-grid {
        grid-template-columns: 1fr;
    }
    
    /* Form adjustments */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    /* Cookie banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    /* CTA buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .emergency-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Process steps */
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    /* Pricing */
    .pricing-info {
        grid-template-columns: 1fr;
    }
    
    /* Experience stats */
    .experience-stats {
        grid-template-columns: 1fr;
    }
    
    /* MV Grid */
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra small screens (576px and up) */
@media (max-width: 576px) {
    /* Typography */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Padding adjustments */
    .hero {
        min-height: 60vh;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    .page-header {
        padding: 3rem 0;
    }
    
    /* Grid adjustments */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Legal document */
    .legal-document {
        padding: 2rem;
    }
    
    /* Form container */
    .form-container {
        padding: 2rem;
    }
    
    /* Cookie modal */
    .cookie-modal {
        padding: 1rem;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
    }
    
    /* Social links */
    .social-links {
        justify-content: center;
    }
    
    /* Team member detailed */
    .team-member-detailed {
        padding: 1.5rem;
    }
    
    /* Service detailed */
    .service-detailed {
        padding: 2rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Thank you content */
    .thank-you-content {
        padding: 0 1rem;
    }
    
    /* Contact reminder */
    .contact-reminder {
        padding: 1.5rem;
    }
    
    .additional-info {
        padding: 1.5rem;
    }
    
    /* Schedule */
    .schedule {
        padding: 1.5rem;
    }
    
    .schedule-day {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    /* Legal links */
    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Button adjustments */
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Icon adjustments */
    .goals-icon,
    .story-icon,
    .trust-icon,
    .experience-icon,
    .hours-icon {
        max-width: 200px;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
    }
    
    .emergency-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Stats */
    .stat-card h3 {
        font-size: 2rem;
    }
    
    /* Price */
    .price {
        font-size: 1.75rem;
    }
    
    /* Step number */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.125rem;
    }
}

/* Landscape phones and small tablets */
@media (max-width: 480px) {
    /* Further reduce padding for very small screens */
    .container {
        padding: 0 10px;
    }
    
    /* Typography */
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.375rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    /* Card padding */
    .service-card,
    .stat-card,
    .team-member,
    .advantage-card,
    .value-card,
    .additional-service,
    .cert-item,
    .contact-card,
    .resource-card {
        padding: 1.5rem;
    }
    
    /* Form adjustments */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.875rem;
    }
    
    /* Timeline adjustments */
    .timeline-year {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
        min-width: 70px;
    }
    
    /* Cookie banner */
    .cookie-banner {
        padding: 0.75rem;
    }
    
    .cookie-banner .btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    /* Emergency contact */
    .emergency-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Contact details */
    .contact-details h3 {
        font-size: 1.125rem;
    }
    
    /* FAQ toggle */
    .faq-toggle {
        font-size: 1.25rem;
    }
    
    /* Member image */
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    /* Service icon large */
    .service-icon-large {
        width: 50px;
        height: 50px;
    }
}

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal,
    .contact-cta,
    .emergency-contact,
    .footer {
        display: none !important;
    }
    
    main {
        margin-top: 0;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .legal-document {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid #000;
        background: none !important;
        color: #000 !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        border: 2px solid #000;
    }
    
    .btn-outline {
        border-width: 3px;
    }
    
    .service-card,
    .stat-card,
    .team-member,
    .advantage-card {
        border: 2px solid #333;
    }
    
    .nav-link.active::after {
        height: 3px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .service-card:hover,
    .stat-card:hover,
    .team-member:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
    *:focus {
        outline: 2px solid #2b6cb0;
        outline-offset: 2px;
    }
    
    .btn:focus {
        outline: 3px solid #2b6cb0;
        outline-offset: 2px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Note: Dark mode styles would go here if implementing dark theme support */
    /* For now, we'll keep the light theme as specified in requirements */
}
