/* ========== Responsive Styles ========== */

/* Large Desktop */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

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

    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 92px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.98) 0%, rgba(8, 145, 178, 0.98) 50%, rgba(5, 150, 105, 0.98) 100%);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 92px);
        overflow-y: auto;
    }

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

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        color: white !important;
        display: block;
        width: 100%;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        color: white !important;
    }

    .nav-link::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

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

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

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

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

    .why-choose-content {
        grid-template-columns: 1fr;
    }

    .why-choose-image {
        order: -1;
    }

    .why-choose-image img {
        height: 400px;
    }

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

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

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

    section {
        padding: 60px 0;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-slider,
    .hero-slide,
    .hero-background {
        min-height: 500px;
    }

    .hero-content {
        padding: 0 20px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

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

    .client-logo {
        max-width: 150px;
        height: 100px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    section {
        padding: 40px 0;
    }

    .nav-container {
        padding: 1rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    /* Hero Slider Mobile Adjustments */
    .hero-controls {
        bottom: 30px;
        gap: 1rem;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-dots {
        gap: 0.5rem;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .hero-dot.active {
        width: 30px;
    }

    .scroll-indicator {
        bottom: 100px;
        font-size: 1.5rem;
    }

    .hero-background {
        background-attachment: scroll !important;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .hero-controls {
        bottom: 20px;
        gap: 0.8rem;
    }

    .hero-prev,
    .hero-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot.active {
        width: 24px;
    }

    .scroll-indicator {
        bottom: 90px;
    }

    .scroll-indicator i {
        font-size: 1.2rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 35px;
    }

    .footer-logo .logo-img {
        height: 30px;
    }

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

    .service-card,
    .project-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .why-choose-text h2 {
        font-size: 1.8rem;
    }

    .lead {
        font-size: 1rem;
    }

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

    .why-choose-image img {
        height: 300px;
    }
}

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

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .back-to-top,
    .scroll-indicator,
    .hero-buttons,
    .social-links,
    .newsletter-form {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
    }

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

    .container {
        padding: 50px;
    }

    .service-card {
        margin-bottom: 40px;
    }
}