/*-----------------------------------------------------------------------------------

    Template Name: CodoTrack – GPS Tracking, Vehicle Monitoring & Fleet Management HTML Template
    Template URI: https://codocraft.com
    Description: Clean, modern, responsive HTML5 template for GPS tracking, telematics, and fleet management built with Bootstrap 5.
    Author: Muhammad Abrar
    Author URI: https://codocraft.com
    Version: 1.0.0
    Created: 2026
    Framework: Bootstrap 5.3.3
    License: Envato Standard License
    Copyright: © Copyright 2026 CodoCraft Solutions. All Rights Reserved.

-----------------------------------------------------------------------------------*/

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Desktop & Laptop (1200px - 1399.98px) */
@media (max-width: 1399.98px) {
    .hero3-grid {
        gap: 32px;
    }
}

/* Tablet Landscape & Small Laptops (992px - 1199.98px) */
@media (max-width: 1199.98px) {
    .hero3-devices {
        transform: scale(0.9);
        transform-origin: center center;
    }

    .quick-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .about3 {
        grid-template-columns: 1fr;
    }
}

/* Tablet Portrait (768px - 991.98px): Keep device mockups scaled and centered */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero3-devices {
        display: block;
        transform: scale(0.84);
        transform-origin: center top;
        max-width: 580px;
        margin: 0 auto;
    }
}

/* Tablet & Mobile shared overrides (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .topbar-in {
        flex-direction: column;
        gap: 10px;
        height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
        text-align: center;
    }

    .hero3-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .nav-burger {
        display: block;
    }

    .service-sidebar {
        position: static;
        margin-bottom: 24px;
    }
}

/* Mobile Devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
    .hero3-devices {
        display: none;
    }

    .quick-bar {
        grid-template-columns: 1fr;
    }

    .hero3-title {
        font-size: 2.05rem;
    }

    .sec-title {
        font-size: 1.75rem;
    }

    .contact-form-box {
        padding: 24px;
    }

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Small Smart Phones (< 576px) */
@media (max-width: 575.98px) {
    .navbar-logo .logo-img {
        height: 38px;
        width: auto;
    }

    .hero3-title {
        font-size: 1.8rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        text-align: center;
    }

    .page-header {
        padding: 96px 0 48px;
    }

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