/* assets/css/responsive.css */
/* ============================================
   Edusterling Services - Responsive Styles
   Additional breakpoints & fine-tuning
   ============================================ */

/* ---------- LARGE TABLETS & SMALL DESKTOPS ---------- */
@media (max-width: 1100px) {
    .container {
        padding: 0 16px;
    }

    .nav-menu ul li a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .nav-menu .dropdown-menu {
        min-width: 180px;
    }
}

/* ---------- TABLETS ---------- */
@media (max-width: 992px) {
    .top-header .contact-info span:last-child {
        display: none;
    }

    .header-actions .btn-consult {
        display: none;
    }
}

/* ---------- MOBILE LANDSCAPE ---------- */
@media (max-width: 768px) {
    .top-header .contact-info span:not(:first-child) {
        display: none;
    }

    .top-header .social-links a:not(:first-child):not(:nth-child(2)) {
        display: none;
    }

    .top-header .social-links {
        gap: 8px;
    }

    .main-header {
        position: sticky;
        top: 0;
    }

    .mobile-menu {
        padding: 20px 16px 25px;
    }

    .mobile-menu ul li a {
        font-size: 0.95rem;
        padding: 10px 0;
    }

    .footer-grid {
        gap: 20px;
        padding-bottom: 25px;
    }

    .footer-col h4 {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width: 480px) {
    .top-header {
        padding: 4px 0;
        font-size: 0.65rem;
    }

    .top-header .contact-info {
        gap: 6px;
    }

    .top-header .social-links a {
        font-size: 0.7rem;
    }

    .main-header-inner {
        height: 52px;
        gap: 10px;
    }

    .logo img {
        height: 30px;
        max-width: 120px;
    }

    .search-toggle {
        font-size: 0.95rem;
        padding: 6px;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
    }

    .mobile-menu {
        width: 260px;
        padding: 16px 14px 20px;
    }

    .mobile-logo {
        height: 32px;
    }

    .mobile-menu ul li a {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .footer-col p {
        font-size: 0.85rem;
    }

    .footer-col ul li a {
        font-size: 0.85rem;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .footer-bottom-inner {
        font-size: 0.75rem;
    }

    .footer-legal {
        gap: 12px;
    }

    .footer-legal a {
        font-size: 0.7rem;
    }

    .newsletter-form input {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .newsletter-form button {
        padding: 8px 14px;
    }
}

/* ---------- EXTRA SMALL (below 360px) ---------- */
@media (max-width: 360px) {
    .top-header .contact-info span:first-child {
        font-size: 0.6rem;
    }

    .logo img {
        height: 26px;
        max-width: 100px;
    }

    .mobile-menu {
        width: 240px;
        padding: 14px 12px 18px;
    }

    .btn-consult {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}

/* ---------- PRINT STYLES ---------- */
@media print {
    .top-header,
    .main-header,
    .search-overlay,
    .mobile-menu,
    .mobile-menu-overlay,
    .main-footer {
        display: none !important;
    }

    body {
        padding: 20px !important;
        background: #fff !important;
    }
}

/* ---------- UTILITY RESPONSIVE HELPERS ---------- */
.hide-on-mobile {
    display: inline-block;
}

.show-on-mobile {
    display: none;
}

@media (max-width: 992px) {
    .hide-on-mobile {
        display: none !important;
    }
    .show-on-mobile {
        display: inline-block !important;
    }
}

/* ---------- ACCESSIBILITY: 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;
    }
}