@media screen and (max-height: 800px) {
    .hero-heading {
        margin-bottom: 7rem;
    }
}

@media screen and (min-width: 1600px) {
    header .container {
        max-width: 1500px !important;
    }
}

/* ================= LARGE DESKTOP (Max-width: 1400px) ================= */
@media screen and (max-width: 1400px) {

    /* Hero Banner Font Adjustment */
    .services-slide .hero-text h2 {
        font-size: 3rem;
    }

    .affix .logo {
        margin-left: 0px;
    }

    .stat-number {
        font-size: 30px;
    }

    .stat-number span {
        font-size: 35px;
    }

    .stat-label {
        font-size: 11px;
    }

    .choose-title {
        left: -290px;
        top: -5px;
    }
}

/* ================= DESKTOP/LAPTOP (Max-width: 1199px) ================= */
@media screen and (max-width: 1199px) {

    /* Hero Banner */
    .services-slide .hero-text h2 {
        font-size: 2.8rem;
    }

    .hero-heading {
        margin-bottom: 8rem;
    }

    .hero-banner .bottom-col {
        margin-bottom: 70px;
    }

    .hero-banner .get-in-col p {
        max-width: 600px;
    }
    /* About Us */
    .stat-number {
        font-size: 30px;
    }

    .stat-number span {
        font-size: 28px;
    }

    .stat-label {
        font-size: 10px;
    }
    /* Services */
    .services-section {
        height: auto;
        padding-bottom: 80px;
    }

    /* Why Choose Us - Parachutes move closer */
    .parachute-container {
        right: 0;
    }

    .choose-title {
        left: -255px;
        top: 30px;
        font-size: 20px;
    }

    .choose-content {
        margin-top: 90px;
    }

    .choose-us-section .light-text {
        margin-bottom: 0px;
    }

    .feature-box h4 {
        font-size: 18px;
    }

    .features-grid {
        gap: 10px;
        margin-top: 15px;
    }
    /* App Features */
    .app-title {
        font-size: 40px;
    }

    .app-phones-img {
        max-width: 350px;
        right: 0;
    }


    .faq-section .section-title{
        font-size: 25px;
    }
}

/* ================= TABLET/LANDSCAPE (Max-width: 991px) ================= */
@media screen and (min-width: 992px) {
    .navTrigger {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    .affix {
        border-radius: 0px;
        top: 0px;
        border: none;
    }

    /* ---------------- HEADER & NAV ---------------- */
    header .container {
        position: relative;
    }

    header .container .row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header .col-lg-3,
    header .col-lg-7,
    header .col-lg-2 {
        width: auto;
        padding: 0 15px;
    }

    .menu_bar {
        gap: 15px;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: flex-start;
    }

    header .logo {
        height: 57px;
        display: flex;
        align-items: center;
    }

    header .logo img {
        width: 125px;
    }

    .tracking_button button {
        padding: 10px 15px;
        font-size: 14px;
    }

    /* Hamburger Menu Trigger */
    .navTrigger {
        display: block;
        width: 25px;
        position: relative;
        cursor: pointer;
        z-index: 1000;
    }

    .navTrigger i {
        background-color: #ffffff;
        border-radius: 2px;
        content: '';
        display: block;
        width: 100%;
        height: 2px;
        margin-bottom: 6px;
        transition: all 0.4s ease-in-out;
    }

    .navTrigger i:last-child {
        margin-bottom: 0;
    }

    /* Active Burger Animation */
    .navTrigger.active i:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .navTrigger.active i:nth-child(2) {
        opacity: 0;
    }

    .navTrigger.active i:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .navTrigger.active i {
        background-color: #fff;
    }

    /* Full Screen Menu Overlay */
    #mainListDiv {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        background-color: var(--primary-color);
        z-index: 990;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        visibility: hidden;
        opacity: 0;
        transition: all 0.4s ease;
        float: none;
    }

    #mainListDiv.show_list {
        visibility: visible;
        opacity: 1;
    }

    header div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 30px;
    }

    header div.main_list ul li {
        width: 100%;
        text-align: center;
    }

    header div.main_list ul li a {
        color: #fff;
        font-size: 24px;
        font-weight: 600;
        display: block;
    }

    header div.main_list ul li a:hover {
        color: #fff;
        opacity: 0.8;
    }


    
    .hero-banner .get-in-col {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .scroll-down {
        display: none;
    }
    /* ---------------- HERO BANNER ---------------- */
    .services-slide .hero-text h2 {
        font-size: 2.4rem;
        line-height: 1.3;
    }

    .hero-heading {
        margin-bottom: 5rem;
    }

    .hero-banner .bottom-col {
        margin-bottom: 80px;
    }

    .hero-banner .get-in-col p {
        font-size: 15px;
    }

    /* ---------------- ABOUT US ---------------- */
    .about-border {
        border-right: none;
        border-bottom: none;
        margin-bottom: 70px;
        padding-bottom: 0;
    }

    .about-border::after,
    .about-border::before {
        display: none;
    }

    .light-text {
        margin-bottom: 15px;
    }

    /* ---------------- SERVICES ---------------- */
    .service-card {
        height: auto;
        min-height: 400px;
    }

    .service-card .service-num,
    .service-card .icon-wrapper {
        display: none;
    }

    .service-card .service-img-wrapper {
        opacity: 1;
    }

    .service-card .service-desc {
        max-height: 500px;
        opacity: 1;
        margin-top: 10px;
    }

    .service-card .service-desc p {
        font-size: 15px;
    }

    .services-slider .slick-arrow {
        top: auto;
        bottom: -40px;
        right: 45%;
    }

    .services-slider .ser-slick-next {
        right: 8%;
    }

    .services-slider .ser-slick-prev {
        right: 17%;
        left: auto;
    }

    /* Hide arrows if necessary or adjust */

    /* ---------------- WHY CHOOSE US ---------------- */


    .choose-title {
        position: static;
        margin-bottom: 20px;
    }

    .choose-content {
        margin-top: 0;
        position: relative;
    }

    .delivery-man-wrapper {
        height: auto;
        margin-bottom: 50px;
    }

    .parachute-container {
        top: 0;
        width: 100%;
    }

    .parachute.p1,
    .parachute.p2,
    .parachute.p3 {
        left: 60%;
        transform: translateX(-50%);
        width: 65px;
    }

    .parachute.p2 {
        left: 75%;
        top: 20px;
        width: 85px;
    }

    .parachute.p3 {
        left: 65%;
        top: 85px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: 50px;
    }

    /* ---------------- APP FEATURES ---------------- */
    .app-features-wrapper {
        padding: 50px 30px;
    }

    .app-content {
        margin-bottom: 50px;
    }

    .app-desc {
        margin: 0 auto 40px;
    }

    .app-buttons {
        justify-content: start;
    }

    .app-phones-wrapper {
        height: auto;
        display: block;
        margin-top: 20px;
    }

    .app-phones-img {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 80%;
        margin: 0 auto;
        display: block;
        top: 0;
    }

    .vision-mission-img {
        border-radius: 20px 20px 0 0px;
    }
}

/* ================= MOBILE (Max-width: 767px) ================= */
@media screen and (max-width: 767px) {
    .whatsapp-icon i {
        width: 50px;
        line-height: 50px;
        height: 50px;
        font-size: 27px;
        right: 25px;
    }

    .section-padding {
        padding: 60px 0;
        overflow: hidden;
    }

    /* ---------------- HEADER ---------------- */
    /* Handled by 991px mostly, but button font size reduces further if needed */
    .tracking_button button {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* ---------------- HERO BANNER ---------------- */
    .services-slide {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 60px;
        align-items: end;
    }

    .hero-heading {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 3rem;
    }

    .services-slide .hero-text h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-social-icons ul {
        display: flex;
        gap: 15px;
    }

    .hero-heading ul li {
        margin: 0;
        background: #ffffff1c;
    }

    .hero-banner .bottom-col {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .get-connect-btn button {
        padding: 8px 10px 8px 15px;
        gap: 8px;
    }

    .hero-banner .get-in-col p {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .hero-banner .slick-dots {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0;
    }

    .services-slide-a {
        background: linear-gradient(64deg, #5c8fbfa8, #5c8fbf7a, #ffffff00), url(../images/banner-shipment.jpg) center / cover no-repeat;
    }

    /* ---------------- ABOUT US ---------------- */
    .section-title {
        font-size: 21px;
    }

    .sub-section-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 32px;
    }

    .about-us-section .row.mb-5 {
        margin-bottom: 2rem !important;
        /* Overriding Bootstrap */
    }

    .video-wrapper {
        margin-top: 30px;
    }

    .animate p {
        font-size: 20px;
    }

    /* ---------------- SERVICES ---------------- */
    .services-section {
        background-size: cover;
    }

    /* Slick arrows for services on mobile */
    .services-slider .slick-arrow {
        bottom: -20px;
    }

    .services-slider .slick-list {
        padding: 0px 0 55px 0;
    }

    .service-card:hover {
        transform: translateY(0px);
    }

    /* ---------------- WHY CHOOSE US ---------------- */
    .choose-title {
        font-size: 28px;
        left: 0;
        margin-top: 20px;
    }

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

    .feature-box h4 {
        font-size: 18px;
    }

    .feature-box p {
        font-size: 15px;
    }

    .delivery-man-wrapper {
        height: auto;
        margin-bottom: 30px;
    }

    .delivery-man-img {
        width: 100%;
    }

    /* ---------------- APP FEATURES ---------------- */
    .app-title {
        font-size: 32px;
    }

    .app-sub-title {
        font-size: 24px;
    }

    .app-features-wrapper {
        padding: 40px 20px;
    }

    .store-btn img {
        height: 40px;
        /* Reduce button size */
    }

    /* ---------------- FAQ ---------------- */
    .faq-image-wrapper {
        margin-top: 40px;
    }

    .faq-item {
        padding: 15px;
    }

    .faq-header h3 {
        font-size: 16px;
    }

    /* ---------------- FOOTER ---------------- */

    .footer-col {
        margin-bottom: 30px;
    }

    .footer-col.ps-lg-5 {
        padding-left: 12px !important;
        /* Reset padding */
    }

    .footer-logo {
        display: flex;
        justify-content: flex-start;
    }

    .footer-bottom {
        margin-top: 20px;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
    }

    .footer-bottom p {
        margin-bottom: 0px;
        font-size: 13px;
        text-align: center;
    }



    /* .about-us-section======================================== */

    .inner-banner-title {
        font-size: 2.5rem;
    }

    .inner-banner {
        height: 50vh;
        min-height: 350px;
    }


    .vm-block {
        flex-direction: column;
    }

    .vision-mission-content {
        padding: 40px 20px;
    }

}

@media (max-width: 568px) {
    .inner-banner-title {
        font-size: 2rem;
    }

    .breadcrumb-nav {
        font-size: 14px;
    }

    .vision-mission-img {
        min-height: 430px;
        border-radius: 0;
    }

    .vision-mission-section .container {
        border-radius: 0px;
    }

    .services-slider .ser-slick-prev {
        right: 24%;
        left: auto;
    }
}

/* ====================Legacy Section Responsive==================== */
@media screen and (max-width: 991px) {

    .legacy-title {
        font-size: 32px;
    }

    .legacy-subtitle {
        font-size: 26px;
    }

    .legacy-text {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .legacy-title {
        font-size: 26px;
    }

    .legacy-subtitle {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .map-image-wrapper {
        margin-top: 30px;
    }

    .cityscape-wrapper {
        margin-top: 30px;
    }

    .cityscape-wrapper img {
        max-height: 300px;
        height: 100%;
        border-radius: 0;
    }

    .contact-form-wrapper {
        padding: 30px 10px;
    }

    .contact-info-wrapper .contact-social {
        display: flex;
    }

    .map-adresses {
        padding: 10px;
        border-radius: 0;
    }
}