/* ==========================================
   NEXORA GROUP - RESPONSIVE STYLES
   Mobile-First Responsive Design
   ========================================== */

/* === TABLET (768px and below) === */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.3rem;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Header */
    .logo-image {
        height: 60px;
        /* Mobile Size */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        /* Full Width on Mobile for Modern Feel */
        background: #f8fcff;
        /* User Requested Color */
        /* White Glass Gradient Effect */
        background: linear-gradient(135deg, #f8fcff 0%, #ffffff 100%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 0;
        width: 100%;
        color: var(--text-main);
        /* Dark Text */
        font-size: 1.5rem;
        /* Larger Click Target */
        font-weight: 700;
        border-bottom: none;
    }

    .nav-link.active {
        color: var(--primary);
        /* Navy */
        background: transparent;
        box-shadow: none;
        padding-left: 0;
        border-left: none;
    }

    .nav-link.active::after {
        content: '•';
        display: block;
        color: var(--secondary);
        font-size: 2rem;
        line-height: 0.5;
        margin-top: 5px;
    }

    .nav-cta {
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Sections */
    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Grids */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 2rem 1.5rem;
    }

    /* CTA Section */
    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* === LARGE TABLET (992px and below) === */
@media (max-width: 992px) {

    /* Grids */
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === SMALL MOBILE (480px and below) === */
@media (max-width: 480px) {

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Service Card */
    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-category {
        font-size: 1.2rem;
    }

    /* Blog Card */
    .blog-content {
        padding: 1.5rem;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Footer */
    .social-links {
        justify-content: center;
    }
}

/* === LARGE DESKTOP (1400px and above) === */
@media (min-width: 1400px) {
    :root {
        --container-width: 1320px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* === UTILITIES === */

/* Hide on mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Mobile overlay when menu is open */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.mobile-overlay.active {
    display: block;
}