/* Responsive Design */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* Tablet */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-bottom {
        text-align: center;
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        height: 100vh;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-item i {
        margin-top: 0;
    }
    
    .reg-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .vision-mission {
        gap: 1.5rem;
    }
    
    .vm-card {
        padding: 1.5rem;
    }
}

/* Mobile Medium */
@media (max-width: 576px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.3rem;
    }
    
    .vm-card {
        padding: 1rem;
    }
    
    .vm-icon {
        width: 50px;
        height: 50px;
    }
    
    .vm-icon i {
        font-size: 1.2rem;
    }
    
    .contact-grid {
        gap: 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .cta-section h3 {
        font-size: 1.3rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .clients-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .client-placeholder {
        padding: 2rem 1rem;
    }
    
    .client-placeholder i {
        font-size: 2rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .service-card,
    .feature-card,
    .vm-card {
        padding: 0.75rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 0.5rem;
        right: 0.5rem;
    }
}

/* Landscape Mobile */
@media (max-width: 812px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
        padding-top: 1rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .back-to-top,
    .mobile-menu,
    .cta-button,
    .service-btn {
        display: none !important;
    }
    
    .section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
    
    .service-card,
    .feature-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .section-title,
    .vm-card h3,
    .service-card h3 {
        color: #000 !important;
    }
    
    .contact {
        background: #f8f9fa !important;
        color: #000 !important;
    }
    
    .footer {
        background: #f8f9fa !important;
        color: #000 !important;
        border-top: 2px solid #ddd;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 2px 8px rgba(0,0,0,0.3);
        --shadow-hover: 0 8px 16px rgba(0,0,0,0.4);
    }
    
    .service-card,
    .feature-card,
    .vm-card {
        border: 2px solid #ddd;
    }
    
    .cta-button,
    .service-btn {
        border: 2px solid transparent;
    }
    
    .cta-button:hover,
    .service-btn:hover {
        border-color: #fff;
    }
}

/* Reduced Motion */
@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;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .spinner {
        animation: none;
        border: 4px solid #ddd;
        border-top: 4px solid var(--primary-color);
    }
}