/* ============================================================
   GVR SPACES - MASTER RESPONSIVE STYLES
   Range: 300px to 3500px+
   ============================================================ */

/* --- 0. GLOBAL FIXES --- */
html,
body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- 1. EXTREME HIGH-RESOLUTION DISPLAYS (3000px+) --- */
@media (min-width: 3000px) {
    .container {
        max-width: 2800px !important;
    }

    html {
        font-size: 28px;
    }

    .section-padding {
        padding: 300px 0;
    }

    h1 {
        font-size: 160px !important;
        line-height: 1.1 !important;
    }

    h2 {
        font-size: 130px !important;
    }

    h3 {
        font-size: 70px !important;
    }

    .hero-bg {
        height: 1400px !important;
    }

    .hero-content {
        max-width: 2000px !important;
    }

    .boutique-card {
        padding: 70px !important;
    }

    .pricing-card {
        padding: 70px !important;
    }

    .footer-logo-box img {
        max-width: 220px !important;
    }
}

/* --- 2. ULTRA-WIDE & 4K TELEVISIONS (2000px - 2999px) --- */
@media (min-width: 2000px) and (max-width: 2999px) {
    .container {
        max-width: 1900px !important;
    }

    html {
        font-size: 24px;
    }

    .section-padding {
        padding: 220px 0;
    }

    h1 {
        font-size: 120px !important;
    }

    h2 {
        font-size: 100px !important;
    }

    .hero-bg {
        height: 1050px !important;
    }

    .footer-logo-box img {
        max-width: 180px !important;
    }
}

/* --- 3. LARGE DESKTOP DISPLAYS (1600px - 1999px) --- */
@media (min-width: 1600px) and (max-width: 1999px) {
    .container {
        max-width: 1550px !important;
    }

    .hero-bg {
        height: 850px !important;
    }

    h1 {
        font-size: 90px !important;
    }
}

/* --- 4. MACBOOK AIR & STANDARD LAPTOPS (1200px - 1599px) --- */
@media (max-width: 1400px) {
    .hero-bg {
        height: 600px !important;
    }

    h1 {
        font-size: 64px !important;
    }

    .section-padding {
        padding: 90px 0;
    }
}

/* --- 5. TABLETS & SMALL LAPTOPS (992px - 1199px) --- */
@media (max-width: 1199px) {
    .header-top-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px 0;
    }

    .header-top-wrapper .contact-list {
        justify-content: center;
        width: 100%;
        gap: 20px;
    }

    .header-main {
        padding: 15px 0;
    }

    h1 {
        font-size: 56px !important;
    }

    h2 {
        font-size: 48px !important;
    }
}

/* --- 6. TABLET LANDSCAPE/PORTRAIT (768px - 991px) --- */
@media (max-width: 991px) {
    .header-top-section {
        display: none;
    }

    .header-main {
        padding: 10px 0;
    }

    .section-padding {
        padding: 80px 0;
    }

    h1 {
        font-size: 50px !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 42px !important;
        line-height: 1.3 !important;
    }

    .hero-bg {
        height: 750px !important;
    }

    .about-v3-content {
        margin-top: 50px;
    }

    .about-v3-image-box {
        margin-bottom: 50px;
    }

    .pricing-card {
        margin-bottom: 30px;
    }
}

/* --- 7. MOBILE PHONES (300px - 767px) --- */
@media (max-width: 767px) {
    html {
        font-size: 16px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-bg {
        height: 750px !important;
    }

    .hero-content {
        padding-bottom: 80px !important;
        padding-left: 0 !important;
        text-align: center !important;
    }

    .hero-content h1 {
        font-size: 38px !important;
        /* Scaled down slightly more for better fit */
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    .hero-content p {
        font-size: 16px !important;
        margin-bottom: 30px !important;
        padding: 0 10px;
    }

    .hero-button {
        display: flex;
        flex-direction: column;
        gap: 15px;
        /* Tighter gap for better reach */
        width: 100%;
    }

    .hero-button .theme-btn {
        margin: 0 !important;
        width: 100%;
        text-align: center;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 18px 25px !important;
        font-size: 15px !important;
    }

    /* Hide bulky slider arrows on mobile to prevent overlap */
    .arrow-button {
        display: none !important;
    }

    /* Standardize Container Padding */
    .hero-slider .container {
        padding-bottom: 60px !important;
        display: flex !important;
        align-items: center !important;
        /* Center content vertically on small mobile */
        justify-content: center !important;
    }

    .section-padding {
        padding: 70px 0;
    }

    h2 {
        font-size: 36px !important;
        line-height: 1.3 !important;
    }

    .header-main .logo img {
        max-width: 180px;
    }

    .header-button {
        display: none;
    }

    /* Workspace Section */
    .workspace-header h2 {
        font-size: 30px !important;
    }

    .workspace-card h3 {
        font-size: 18px !important;
    }

    /* Contact Form */
    .contact-form-card-v2 {
        padding: 40px 25px !important;
    }

    .contact-image-wrapper {
        min-height: 400px;
        margin-bottom: 40px;
    }

    /* Footer */
    .footer-section {
        padding-top: 60px !important;
    }

    .footer-widget-wrapper [class*="col-"] {
        margin-bottom: 50px;
        text-align: left;
    }

    .footer-logo-box {
        margin: 0 0 20px 0;
        display: inline-block;
    }

    .footer-desc {
        margin: 0 0 25px 0 !important;
        max-width: 100% !important;
        text-align: left;
    }

    .contact-list {
        display: flex;
        flex-direction: column;
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .contact-list li {
        justify-content: flex-start;
        align-items: flex-start;
        font-size: 15px;
        margin-bottom: 20px !important;
    }

    .contact-list li i {
        margin-right: 12px;
        min-width: 20px;
        text-align: center;
        margin-top: 5px;
    }

    .social-item h6 {
        text-align: left;
    }

    .footer-social-links {
        justify-content: flex-start;
    }

    /* Offcanvas Sidebar Mobile Fixes */
    .offcanvas__wrapper {
        padding: 30px 20px 100px !important;
        /* Increased to 100px to ensure clearance from mobile browser bars */
        display: flex;
        flex-direction: column;
    }

    .offcanvas__content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .offcanvas__contact {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .offcanvas__content .offcanvas__contact .social-icon {
        justify-content: center !important;
        margin-top: auto !important;
        /* Push to bottom of content area */
        padding-top: 50px !important;
        margin-bottom: 20px !important;
        padding-left: 0 !important;
    }

    .offcanvas__content .offcanvas__contact .social-icon a {
        width: 48px !important;
        height: 48px !important;
        font-size: 18px !important;
        margin: 0 8px !important;
    }
}

/* --- 8. SMALL MOBILE (Below 480px) --- */
@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-bg {
        height: 650px !important;
        /* Reduced for smaller viewports to prevent cutting */
    }

    .hero-content {
        padding-bottom: 60px !important;
    }

    .hero-content h1 {
        font-size: 32px !important;
        margin-bottom: 20px !important;
    }

    .hero-content p {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-bottom: 30px !important;
    }

    .hero-button .theme-btn {
        padding: 16px 20px !important;
        font-size: 14px !important;
    }

    /* Floating WhatsApp Adjustments */
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 25px !important;
        right: 25px !important;
        font-size: 20px !important;
    }
}

/* --- 9. ULTRA SMALL (300px - 360px) --- */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 28px !important;
    }

    .hero-bg {
        height: 600px !important;
    }

    .hero-button .theme-btn {
        padding: 14px 18px !important;
        font-size: 13px !important;
    }
}

/* --- 10. SPECIAL UTILITIES --- */
.fix-area {
    overflow-x: hidden;
}

/* Smooth Scrolling for the whole page */
html {
    scroll-behavior: smooth;
}