/* ==========================================================================
   Febtic IT Solutions - Responsive Styles (v2)
   ========================================================================== */

@media (max-width: 1200px) {
    .container { max-width: 100%; }

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

    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-newsletter { grid-column: 1 / -1; }

    .dropdown-products .dropdown-inner { min-width: 560px; }
    .dropdown-other-grid { gap: 2px 16px; }
}

@media (max-width: 1024px) {
    :root { --section-padding: 64px; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-cards-grid { grid-template-columns: repeat(3, 1fr); }

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

    .hero-visual { flex: 0 0 40%; max-width: 40%; }

    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .footer-newsletter { grid-column: 1 / -1; }

    .marquee-card { min-width: 320px; }
    .testimonial-card-m { min-width: 340px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 55px; }

    /* Header */
    .nav-desktop { display: none; }
    .header-cta { display: none; }
    .hamburger { display: block; }
    .header-inner { height: 64px; }

    /* Hero */
    .hero-inner {
        flex-direction: column;
        min-height: auto;
        padding: 50px 0 80px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        order: 2;
    }

    .hero-text { margin-left: auto; margin-right: auto; }
    .hero-heading { font-size: 30px; }

    .hero-visual {
        flex: none;
        max-width: 85%;
        order: 1;
        margin-bottom: 20px;
    }

    .hero-visual img {
        height: 260px;
        border-radius: 14px;
    }

    .hero-buttons { justify-content: center; }
    .hero-arrow { display: none; }

    /* Section Headers */
    .section-heading { font-size: 28px; }
    .section-subtext { font-size: 15px; }

    /* Services */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    /* Why Choose */
    .choose-grid { gap: 12px; }
    .choose-item { flex: 0 0 calc(50% - 6px); min-width: auto; }

    /* Process */
    .process-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    /* Products */
    .products-categories { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    /* Marquee adjustments */
    .marquee-card { min-width: 300px; }
    .testimonial-card-m { min-width: 300px; }

    .marquee-wrapper::before,
    .marquee-wrapper::after { width: 40px; }

    /* Stats */
    .stats-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .stat-item { flex: 0 0 calc(33.333% - 16px); min-width: auto; }
    .stat-number { font-size: 36px; }
    .stat-suffix { font-size: 28px; }

    /* Client Logos */
    .clients-logos { justify-content: center; gap: 16px; }
    .client-logo { flex: 0 0 calc(33.333% - 12px); min-width: auto; }

    /* CTA */
    .cta-heading { font-size: 28px; }

    /* Contact */
    .contact-top { grid-template-columns: 1fr; gap: 24px; }

    .form-row { flex-direction: column; gap: 16px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-newsletter { grid-column: 1 / -1; }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    :root { --section-padding: 48px; }

    .container { padding: 0 16px; }
    .section-heading { font-size: 24px; }
    .hero-heading { font-size: 26px; }

    .hero-visual { max-width: 100%; }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline-white {
        width: 100%;
        justify-content: center;
    }

    .services-grid { grid-template-columns: 1fr; }
    .process-cards-grid { grid-template-columns: 1fr; }

    .choose-item { flex: 0 0 100%; }

    .products-categories { grid-template-columns: 1fr; }

    .stat-item { flex: 0 0 calc(50% - 12px); }
    .stat-number { font-size: 32px; }
    .stat-suffix { font-size: 24px; }

    .client-logo { flex: 0 0 calc(50% - 8px); }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline-dark {
        width: 100%;
        justify-content: center;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-about, .footer-newsletter { grid-column: 1; }

    .newsletter-input-wrap { flex-direction: column; }
    .newsletter-btn { border-radius: 0 0 8px 8px; padding: 12px; }
    .newsletter-input-wrap input { border-radius: 8px 8px 0 0; }

    .marquee-card { min-width: 280px; }
    .testimonial-card-m { min-width: 280px; }
}
