/* Responsive Styles */

/* Large Desktops (1200px and above) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium Desktops (992px to 1199px) */
@media screen and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .service-card, 
    .benefit-item {
        padding: 1.5rem;
    }
    
    .service-hero h1 {
        font-size: 2.2rem;
    }
}

/* Tablets and Small Desktops (768px to 991px) */
@media screen and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    header .container {
        padding: 0.8rem 1rem;
    }
    
    .logo svg {
        height: 35px;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        z-index: 1000;
        padding-top: 70px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav ul li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 0.8rem;
    }
    
    .main-nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        display: none;
    }
    
    .main-nav .dropdown.active .dropdown-menu {
        max-height: 500px;
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid,
    .benefits-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .overview-content {
        flex-direction: column;
    }
    
    .about-text, .about-image,
    .overview-text, .overview-image {
        flex: none;
        width: 100%;
    }
    
    .solution-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .solution-icon {
        margin-bottom: 1rem;
    }
    
    .solution-details ul li {
        text-align: left;
    }
    
    .features-content {
        flex-direction: column;
    }
    
    .technologies-content {
        grid-template-columns: 1fr;
    }
    
    .case-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        width: 100%;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
}

/* Mobile Landscape (576px to 767px) */
@media screen and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .service-hero h1 {
        font-size: 1.8rem;
    }
    
    .service-hero p {
        font-size: 1rem;
    }
    
    .services-grid,
    .benefits-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .service-benefits .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* Mobile Portrait (575px and below) */
@media screen and (max-width: 575px) {
    .container {
        width: 100%;
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .feature-card,
    .solution-item,
    .technology-item,
    .benefit-item {
        padding: 1rem;
    }
    
    .testimonial-content {
        padding: 1rem;
    }
    
    .testimonial-item {
        height: 350px;
    }
    
    .testimonial-slider {
        height: 350px;
    }
    
    .case-study-text {
        padding: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
