/* Responsive Design Styles */

/* Large screens (desktops) */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    .hero-content {
        gap: 3rem;
    }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .approach-features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Small screens (mobile landscape) */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .about-highlight {
        padding: 2rem;
    }
    
    .about-highlight h3 {
        font-size: 1.8rem;
    }
    
    .about-highlight p {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .approach-features {
        grid-template-columns: 1fr;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .methodology {
        padding: 2rem;
    }
    
    .methodology h3 {
        font-size: 1.8rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
    }
    
    .contact-cta {
        padding: 2rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Extra small screens (mobile portrait) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    h1 {
        font-size: 1.9rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .hero-placeholder {
        padding: 1.5rem;
    }
    
    .hero-placeholder svg {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
    
    .profile-image {
        width: 280px;
        height: 280px;
    }
    
    .about-highlight {
        padding: 1.5rem;
    }
    
    .about-highlight h3 {
        font-size: 1.6rem;
    }
    
    .about-highlight p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .delivery-options {
        padding: 2rem;
    }
    
    .feature {
        padding: 1.2rem;
    }
    
    .methodology {
        padding: 1.5rem;
    }
    
    .methodology h3 {
        font-size: 1.6rem;
    }
    
    .step {
        padding: 1.2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .contact-cta {
        padding: 1.5rem;
    }
    
    .calendly-box {
        padding: 1.5rem;
    }
    
    .calendly-box ol {
        font-size: 0.9rem;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .dropdown-menu {
        min-width: 150px;
    }
    
    .tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-header {
        padding: 0.75rem 1rem;
    }
    
    .accordion-content {
        padding: 0 1rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .btn,
    .contact-cta {
        display: none !important;
    }
    
    .hero {
        margin-top: 0;
        padding: 2rem 0;
    }
    
    section {
        padding: 1.5rem 0;
        break-inside: avoid;
    }
    
    .hero-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .approach-features,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    * {
        color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* Dark mode support (system preference) */
@media (prefers-color-scheme: dark) {
    /* This can be implemented if dark mode is desired */
    /* Currently maintaining light theme for professional appearance */
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid;
    }
    
    .service-card,
    .feature,
    .step {
        border: 1px solid #374151;
    }
    
    .hero-placeholder {
        border: 2px solid #374151;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
    
    .stat {
        flex-direction: column;
        align-items: center;
    }
    
    section {
        padding: 2.5rem 0;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-menu a {
        padding: 0.75rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .tab-button {
        min-height: 44px;
    }
    
    .accordion-header {
        min-height: 44px;
    }
}

/* Focus styles for better accessibility */
@media (prefers-reduced-motion: no-preference) {
    .btn:focus,
    .form-input:focus,
    .nav-menu a:focus,
    .dropdown-item:focus,
    .tab-button:focus {
        outline: 2px solid #3b82f6;
        outline-offset: 2px;
    }
}

/* Loading states for slow connections */
@media (max-width: 768px) {
    .hero-placeholder svg,
    .service-icon,
    .step-number {
        will-change: transform;
    }
}