/************************* Landing Page Styles *************************/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");
body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.landing-page {
    font-family: "Inter", sans-serif; /* Use Inter as the primary font */
    line-height: 1.6;
    color: #333;
    box-sizing: border-box;
}
/************************* Hero Section Styles *************************/
.animate-text {
    z-index: 3; /* Ensure the animated text is fully above other elements */
    position: relative; /* Maintain stacking context */
}

.animate-text span {
    position: absolute; /* Stack words inside the container */
    top: 0;
    left: 0;
    width: 100%; /* Ensure it spans the full width of the parent */
    opacity: 0; /* Initially hidden */
    transform: translateY(100%); /* Start below the container */
    transition: transform 0.5s ease, opacity 0.5s ease; /* Smooth transitions */
    white-space: nowrap; /* Prevent wrapping for individual spans */
    text-align: center; /* Align text as needed */
}

.animate-text span.text-in {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move into view */
}

.animate-text span.text-out {
    opacity: 0; /* Hidden */
    transform: translateY(-100%); /* Move out of view */
}

.landing-page-hero {
    position: relative;
    text-align: center;
    padding: 150px 20px;
    color: #fff;
    height: 600px; /* Fixed height */
    width: 100%; /* Full width to fit all screen sizes */
    background: url("../images/abs-hero-light.png") no-repeat center
        center/cover; /* Ensure proper background scaling */
}
@media screen and (max-width: 768px) {
    .landing-page-hero {
        height: 400px; /* Adjust height for smaller screens */
    }
}

/* Dark overlay */
.landing-page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Add a semi-transparent overlay */
    z-index: 1;
}

.landing-page-hero-content {
    position: relative;
    z-index: 2; /* Content above the overlay */
}

/* Title and Highlighted Text */
.landing-page-title {
    display: inline;
    overflow: visible;
    font-size: 3.5rem;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    z-index: 1;
}

.landing-page-title .animate-text {
    padding: 0px 300px 0px 0px;
}

.landing-page-highlight {
    color: #ffa500;
}

/* Description */
.landing-page-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #dcdcdc;
}

/* Form Styling */
.hero-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px; /* Adjust spacing above the form */
    margin-bottom: 40px; /* Optional: Adjust spacing below the form */
}
.hero-input {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
}

.hero-button {
    background-color: #ffa500;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #ff8c00;
}

/************************* Action Cards Section *************************/
/* Initial hidden state */
.action-card {
    opacity: 0; /* Fully transparent */
    transform: translateY(50px); /* Slight downward offset */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* Smooth, longer duration */
}

/* Visible state when scrolled into view */
.action-card.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}

.action-cards-section {
    position: relative;
    z-index: 3;
    margin-top: -130px; /* Pull the cards up to overlap the hero */
    padding: 50px 20px 20px; /* Padding for the bottom */
}

.action-cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 280px;
    padding: 30px;
    height: 170px;
    background: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease,
        background-color 0.3s ease;
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

/* Highlight the third card */
.action-card:nth-child(3) {
    background: #ffa500;
    color: #ffffff;
}

.action-card:nth-child(3):hover {
    background: #ff8c00;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.card-icon img {
    width: 100%;
    height: auto;
}

.card-text {
    color: #9a562a;
    font-size: 18px;
}

.card-text-white {
    color: #fff;
    font-size: 18px;
}

/****************************** Responsive Styles for Hero Section *******************************/

/* For tablets and medium screens */
@media screen and (max-width: 1024px) {
    .landing-page-hero {
        height: 500px; /* Adjust hero height */
        padding: 100px 15px; /* Adjust padding */
    }

    .landing-page-title {
        font-size: 3rem; /* Scale down the title font size */
        padding: 0 30px; /* Add padding for title alignment */
    }

    .landing-page-description {
        font-size: 16px; /* Adjust description font size */
        padding: 0 15px; /* Add horizontal padding */
    }

    .hero-form {
        flex-direction: column; /* Stack input and button vertically */
        gap: 15px; /* Add spacing */
    }

    .hero-input {
        width: 80%; /* Reduce input width */
    }

    .hero-actions {
        bottom: -70px; /* Adjust closer to the form */
        gap: 15px; /* Reduce spacing */
    }

    .action-card {
        width: 240px; /* Adjust card width */
        height: auto; /* Let card height adjust dynamically */
        padding: 20px; /* Reduce padding */
    }

    .card-icon {
        width: 35px; /* Scale down icon size */
        height: 35px;
    }

    .card-text {
        font-size: 16px; /* Adjust text size */
    }
}

/* For mobile screens */
@media screen and (max-width: 768px) {
    .landing-page-hero {
        height: 400px; /* Reduce hero height */
        padding: 80px 10px; /* Adjust padding */
    }

    .landing-page-title {
        font-size: 2.5rem; /* Reduce title size further */
        padding: 0 20px; /* Adjust padding */
    }

    .landing-page-description {
        font-size: 14px; /* Reduce font size */
    }

    .hero-form {
        flex-direction: column; /* Stack input and button vertically */
        gap: 10px; /* Reduce spacing */
    }

    .hero-input {
        width: 100%; /* Full width */
    }

    .hero-actions {
        flex-direction: column; /* Stack cards vertically */
        bottom: -50px; /* Move closer to the form */
        gap: 10px; /* Reduce spacing between cards */
    }

    .action-card {
        width: 100%; /* Full width for cards */
        height: auto; /* Let height adjust dynamically */
        padding: 15px; /* Adjust padding */
    }

    .card-icon {
        width: 30px; /* Reduce icon size */
        height: 30px;
    }

    .card-text {
        font-size: 14px; /* Reduce text size */
    }

    .action-cards-container {
        flex-direction: column;
        gap: 20px;
    }
    .action-cards-section {
        margin-top: 0; /* Pull the cards up to overlap the hero */
    }
}

/* For very small mobile screens */
@media screen and (max-width: 480px) {
    .landing-page-hero {
        height: 300px; /* Reduce height */
        padding: 60px 10px; /* Adjust padding for very small screens */
    }

    .landing-page-title {
        font-size: 1.8rem; /* Reduce font size */
        line-height: 1.3; /* Adjust line height */
    }

    .landing-page-description {
        font-size: 12px; /* Further reduce font size */
    }

    .hero-form {
        gap: 8px; /* Reduce spacing further */
    }

    .hero-input {
        width: 100%; /* Full width */
    }

    .hero-actions {
        gap: 8px; /* Reduce spacing further */
    }

    .action-card {
        width: 95%; /* Full width with some margin */
        height: auto;
        padding: 10px; /* Reduce padding */
    }

    .card-icon {
        width: 25px; /* Further reduce icon size */
        height: 25px;
    }

    .card-text {
        font-size: 12px; /* Adjust text size */
    }
}

/******************************* About Us Section Styles  *******************************/
.about-section {
    padding: 50px 20px;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto 0;
}

.section-header {
    text-align: left; /* Align the headings to the left */
    margin-bottom: 30px;
}

.section-subtitle {
    color: #f0941c; /* Orange color for the "About Us" subtitle */
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
}

.section-subtitle::after {
    content: "";
    width: 50px;
    height: 2px;
    background-color: #f0941c; /* Matching underline for "About Us" */
    display: block;
    margin-top: 5px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.4;
    color: #7a3e1d; /* Brown color for the main part of the title */
}

.section-title .highlight {
    color: #f0941c; /* Orange color for the "Experience" highlight */
}

.about-content {
    display: flex;
    gap: 30px;
    align-items: flex-start; /* Align content to the top */
    justify-content: space-between;
    margin-top: 20px;
}

.about-text {
    flex: 1;
    max-width: 50%;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #3c3c3b;
    margin-bottom: 15px;
}

.discover-more-btn {
    display: inline-block;
    background-color: #f0941c; /* Orange background */
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.discover-more-btn:hover {
    background-color: #9a562a; /* Brown hover effect */
}

.about-image {
    flex: 1;
    text-align: center;
    position: relative;
    max-width: 50%; /* Matches the width of the text section */
    /* overflow: hidden; */ /* Ensure no unexpected overflow */
    margin-top: -220px;
}

.hanging-image {
    /* max-width: 120%;  */
    height: auto;
    transform: rotate(6deg) translate(50px, -80px); /* Tilt and move it further up */
    margin-left: auto; /* Push the image to the right */
    position: relative;
    right: 0;
    margin-top: -56px;
}

.about-image {
    flex: 1;
    text-align: center;
    position: relative;
    max-width: 50%; /* Matches the width of the text section */
    margin-top: -220px;
}

.hanging-image {
    transform: rotate(6deg) translate(50px, -80px); /* Tilt and move it further up */
    margin-top: -56px;
}
/************************* Animation Styles *************************/
.about-section .section-subtitle,
.about-section .section-title,
.about-section .about-text,
.about-section .discover-more-btn,
.about-section .about-image {
    opacity: 0; /* Initially hidden */
    transform: translateY(20px); /* Slide up effect */
    transition: opacity 1s ease, transform 1s ease; /* Smooth transition */
}

.about-section .visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Reset to original position */
}

/******************** Responsive Styles **********************/

/* For tablets and small screens */
@media screen and (max-width: 1024px) {
    .about-image {
        display: none; /* Hides the image */
    }
    .about-content {
        flex-direction: column; /* Stack text and image vertically */
        align-items: center;
        gap: 20px;
    }

    .about-text,
    .about-image {
        max-width: 100%; /* Full-width for both text and image */
        text-align: center; /* Center-align text */
    }

    .about-image {
        margin-top: -100px; /* Adjust image placement */
    }

    .section-title {
        font-size: 30px; /* Reduce heading size for tablets */
    }

    .section-subtitle {
        font-size: 16px; /* Adjust subtitle font size */
    }
}

/* For mobile screens */
@media screen and (max-width: 768px) {
    .about-image {
        display: none; /* Hides the image */
    }
    .about-section {
        padding: 30px 15px; /* Reduce padding for smaller screens */
    }

    .section-title {
        font-size: 26px; /* Reduce heading size further */
    }

    .section-subtitle {
        font-size: 14px; /* Further reduce subtitle size */
    }

    .about-content {
        gap: 15px; /* Reduce spacing between text and image */
    }

    .hanging-image {
        transform: rotate(6deg) translate(20px, -50px); /* Adjust tilt and positioning for smaller screens */
    }
}

/* For very small mobile screens (portrait mode) */
@media screen and (max-width: 480px) {
    .section-title {
        font-size: 22px; /* Smaller heading size */
    }

    .about-text p {
        font-size: 14px; /* Smaller text size for better readability */
    }

    .discover-more-btn {
        font-size: 14px; /* Adjust button text size */
        padding: 8px 15px; /* Smaller padding for button */
    }

    .hanging-image {
        transform: rotate(6deg) translate(10px, -30px); /* Adjust image for very small screens */
        margin-top: -30px;
    }
}

/****************************** Scrolling Banner Styles *******************************/
.scrolling-banner {
    background: linear-gradient(
        to right,
        #f0941c,
        #f8b653
    ); /* Orange gradient */
    overflow: hidden; /* Hide overflowing content */
    padding: 10px 0;
    position: relative;
}

.scrolling-content {
    display: flex;
    gap: 20px; /* Spacing between items */
    white-space: nowrap; /* Prevent wrapping */
    animation: scrolling-loop 15s linear infinite; /* Continuous scrolling animation */
    align-items: center;
}

.scrolling-content span {
    color: #ffffff; /* White text and stars */
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/****************************** Animation for Seamless Loop *******************************/
@keyframes scrolling-loop {
    from {
        transform: translateX(0); /* Start from the beginning */
    }
    to {
        transform: translateX(-50%); /* Move left by half the content's width */
    }
}

/* Ensure the scrolling is seamless */
.scrolling-content {
    animation-duration: 20s; /* Adjust speed */
    animation-timing-function: linear; /* Smooth continuous scrolling */
    animation-iteration-count: infinite; /* Infinite loop */
}
/************************** Landing Services Section **************************/
.services-section {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px; /* Match the width of About Us */
    margin: 50px auto 0; /* Center it and add spacing above */
    background: url("../images/abs-map.png") no-repeat center center;
    background-size: contain; /* Ensures the background map covers the area */
}

/* Header Animation: Fade-In from Top */
.section-header {
    opacity: 0; /* Initially hidden */
    transform: translateY(-20px); /* Pushed slightly up */
    transition: opacity 0.8s ease, transform 0.8s ease; /* Smooth fade and slide */
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0); /* Slide into place */
}

/* Animation for individual cards remains the same */

.section-subtitle {
    color: #f0941c; /* Orange color */
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
}

.section-subtitle::after {
    content: "";
    width: 50px;
    height: 2px;
    background-color: #f0941c;
    display: block;
    margin-top: 5px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    color: #7a3e1d;
}

.section-title .highlight {
    color: #f0941c; /* Highlighted orange color */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns layout */
    gap: 20px;
    justify-content: center;
    position: relative;
}

.service-card:last-child {
    grid-column: span 2; /* Center the card by spanning two columns */
    justify-self: center; /* Align horizontally in the center */
    height: 150px; /* Match height of other cards */
    width: 50%; /* Match width of the grid */
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    cursor: pointer;
    height: 150px; /* Set consistent height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent; /* Default border */
    text-decoration: none; /* Removes underline */
    color: #9a562a; /* Dark brown */
    display: block; /* Ensures full clickable area */
}

/* Hover effect */
.service-card:hover {
    transform: translateY(-10px); /* Move up slightly more */
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    border: 2px solid #f0941c;
}
.service-icon {
    font-size: 40px; /* Icon size */
    color: #f0941c; /* Icon color */
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: bold;
    color: #7a3e1d;
}

/* Initial hover animation */
@keyframes initial-hover {
    from {
        transform: translateY(0);
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }
    to {
        transform: translateY(-5px);
        box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
    }
}

/************************** Responsive Styles **************************/
@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr; /* Adjust to two columns */
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Single column layout for smaller screens */
    }

    .service-card {
        width: 100%;
    }
}
/* Animation: Fade-In with Slight Slide */
.service-card {
    opacity: 0; /* Initially hidden */
    transform: translateY(20px); /* Slightly pushed down */
    transition: opacity 0.8s ease, transform 0.8s ease; /* Smooth transition */
}

/* Make cards visible when scrolled into view */
.service-card.visible {
    opacity: 1;
    transform: translateY(0); /* Slide into place */
}

/* Keyframes for smooth appearance of the whole grid */
@keyframes grid-appearance {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add subtle animation to the entire services grid */
.services-grid {
    animation: grid-appearance 1s ease forwards;
}

/* First Card Emphasis: Bounce Animation */
@keyframes card-bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.service-card:nth-child(1):hover {
    animation: card-bounce 1s ease-in-out;
}

/******************************* Why Us Section Styles  *******************************/
.why-us-section {
    position: relative;
    padding: 60px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url("../images/whyChooseUs-Bg.png") no-repeat center center; /* Add background image */
    background-size: cover; /* Ensure the background image covers the section */
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.why-us-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.why-us-left {
    flex: 1;
    position: relative;
    text-align: center;
    margin-right: -100px; /* Move truck out of the page */
}

.why-us-right {
    flex: 1;
    padding: 20px;
    position: relative;
}

.why-us-subtitle {
    color: #f0941c;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    position: relative;
}

.why-us-subtitle::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: #f0941c;
    margin-top: 5px;
}

.why-us-title {
    font-size: 36px;
    font-weight: bold;
    color: #7a3e1d;
    margin-bottom: 20px;
}

.why-us-description {
    font-size: 16px;
    color: #3c3c3b;
    margin-bottom: 30px;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 40px;
    color: #f0941c;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: bold;
    color: #7a3e1d;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: #3c3c3b;
}

/* Card Boxes Section */
.cardboxes-container {
    position: absolute;
    bottom: 0;
    right: 0; /* Align to the far-right edge */
    z-index: 1; /* Ensure boxes are behind the content */
    transform: translateY(20px); /* Slightly lift the boxes for alignment */
}

.cardboxes-image {
    max-width: 100%; /* Ensure boxes image scales properly */
    height: auto;
}

.why-us-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.why-us-left {
    position: relative;
    max-width: 50%;
    margin-right: -50px;
}

.why-us-truck {
    max-width: 120%;
    height: auto;
    transform: translateX(-20%);
    transform: translateX(-100%); /* Hidden off-screen to the left */
    opacity: 0; /* Hidden initially */
    transition: transform 5s ease, opacity 1.2s ease; /* Smooth entry */
    z-index: 1;
}

.why-us-right {
    max-width: 45%;
    text-align: left;
}

.why-us-subtitle {
    color: #f0941c;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.why-us-subtitle::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: #f0941c;
    margin-top: 5px;
}

.why-us-title {
    font-size: 36px;
    font-weight: bold;
    color: #7a3e1d;
    margin-bottom: 20px;
}

.why-us-description {
    font-size: 16px;
    color: #3c3c3b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    font-size: 30px;
    color: #f0941c;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: bold;
    color: #7a3e1d;
    margin: 0;
}

.feature-text p {
    font-size: 14px;
    color: #3c3c3b;
    margin: 0;
}

.cardboxes-container {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(20%, 20%);
}

.cardboxes-image {
    height: auto;
    margin-left: 60%;
    opacity: 0; /* Hidden initially */
}
.cardboxes-image {
    max-width: 100%;
    height: auto;
    transform: translateX(50%); /* Hidden off-screen to the right */
    opacity: 0; /* Hidden initially */
    transition: transform 1s ease, opacity 1.5s ease; /* Smooth entry */
}
/* General Setup for Animations */
.why-us-title {
    opacity: 0; /* Initially hidden */
    transform: translateY(20px); /* Move slightly below */
    transition: transform 1s ease, opacity 1s ease; /* Smooth upward fade-in */
}
.why-us-subtitle,
.why-us-description,
.feature {
    opacity: 0; /* Initially hidden */
    transform: translateY(20px); /* Move slightly below */
    transition: transform 0.8s ease, opacity 0.8s ease; /* Smooth upward fade-in */
}

/* Visible State for Animations */
.why-us-subtitle.visible,
.why-us-title.visible,
.why-us-description.visible {
    opacity: 1;
    transform: translateY(0); /* Move to final position */
}

/* Features Animation - Fading in One by One */
.feature {
    opacity: 0; /* Hidden initially */
    transform: translateY(20px); /* Slightly below */
    animation: fade-in 3s ease forwards; /* General fade-in animation */
}

/* Add Delays for Each Feature */
.feature:nth-child(1) {
    animation-delay: 0.5s; /* Delay for the first feature */
}

.feature:nth-child(2) {
    animation-delay: 1s; /* Delay for the second feature */
}

.feature:nth-child(3) {
    animation-delay: 1.5s; /* Delay for the third feature */
}

/* Keyframes for Fade-In Animation */
@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start from below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Final position */
    }
}
/* Truck and Boxes Animation */

.why-us-truck.visible {
    transform: translateX(0); /* Slide to final position */
    opacity: 1; /* Fully visible */
}
.cardboxes-image.visible {
    transform: translateX(0); /* Slide to final position */
    opacity: 1; /* Fully visible */
}
@media screen and (min-width: 1440px) {
    .why-us-truck {
        transform: translateX(
            -15%
        ); /* Slightly less offset for wide monitors */
    }

    .why-us-right {
        max-width: 40%; /* Adjust text width for better spacing */
    }

    .cardboxes-container {
        transform: translate(10%, 10%); /* Adjust card box position */
    }
}
/* Standard Responsive Design */
@media screen and (max-width: 1024px) {
    .why-us-container {
        flex-direction: column;
        align-items: center;
    }

    .why-us-left {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .why-us-truck {
        max-width: 100%;
        transform: translateX(0);
    }

    .why-us-right {
        max-width: 100%;
        text-align: center;
        padding: 0;
    }

    .cardboxes-container {
        position: static;
        transform: translate(0, 0);
        margin-top: 20px;
    }

    .cardboxes-image {
        max-width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .why-us-section {
        padding: 40px 15px;
    }

    .cardboxes-container {
        margin-top: 20px;
    }

    .cardboxes-image {
        max-width: 70%;
    }
}
/******************************* Testimonials Section Styles  *******************************/
.landing-testimonials-section {
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
}

.landing-testimonials-header {
    text-align: left; /* Align header to the left */
    margin-bottom: 30px;
}

.landing-testimonials-subtitle {
    color: #f0941c;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    position: relative;
}

.landing-testimonials-subtitle::after {
    content: "";
    display: inline-block;
    width: 60px;
    height: 2px;
    background: #7a3e1d;
    margin-left: 10px;
    vertical-align: middle;
}

.landing-testimonials-title {
    font-size: 36px;
    font-weight: bold;
    color: #7a3e1d;
    margin-bottom: 20px;
}

.landing-testimonials-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px; /* Align with other sections */
    margin: 0 auto;
}

.landing-testimonials-swiper {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

.landing-testimonials-swiper-wrapper {
    display: flex;
    justify-content: space-around;
    transition: transform 0.5s ease;
    width: 100%;
    cursor: pointer;
}
.landing-testimonial-card {
    width: 30%;
    max-width: 320px;
    min-width: 280px;
    padding: 20px;
    margin: 0 10px;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border-left: 6px solid #f0941c;
    opacity: 0.7;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.landing-testimonial-card.active {
    transform: scale(1);
    opacity: 1;
}

.landing-testimonial-card blockquote {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px;
    position: relative;
    padding-left: 20px;
}

.landing-testimonial-card blockquote:before {
    content: "“";
    font-size: 30px;
    color: #f0941c;
    position: absolute;
    left: 0;
    top: -10px;
}

.landing-testimonial-author {
    display: flex;
    align-items: center;
}

.landing-testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    margin-left: 15px;
}

.landing-author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.landing-author-info strong {
    font-size: 16px;
    color: #333;
}

.landing-author-info span {
    font-size: 14px;
}

.landing-stars {
    color: #ffd700;
    font-size: 16px;
    line-height: 1;
}

.landing-testimonials-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.dot.active {
    background-color: #f0941c;
    width: 30px;
    border-radius: 15px;
}

/********************* Responsive Styles ********************/
@media (max-width: 880px) {
    .landing-testimonials-swiper-wrapper {
        flex-direction: column;
    }

    .landing-testimonials-subtitle {
        padding: 5px 20px;
    }

    .landing-testimonial-card {
        width: 100%;
        max-width: 100%;
        margin: 10px auto;
    }

    .landing-testimonial-card.active {
        transform: scale(0.9);
    }

    .landing-testimonial-card {
        opacity: 0.5;
        transform: scale(0.8);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
}
/* Header Animation */
/* Header Animation */
.landing-testimonials-title,
.landing-testimonials-subtitle {
    opacity: 0; /* Hidden initially */
    transform: translateY(20px); /* Slightly below */
    transition: opacity 2s ease, transform 2s ease; /* Smooth transition */
}

.landing-testimonials-subtitle.visible,
.landing-testimonials-title.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}

.landing-testimonials-subtitle.visible,
.landing-testimonials-title.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}

/* Optional Keyframes (for custom timing) */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px); /* Start slightly below */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Final position */
    }
}

/********************* landing stats section ********************/
/* Landing Stats Section */
.landing-stats-section {
    padding: 60px 20px;
    background: url("../images/whyChooseUs-Bg.png") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
}
.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stats-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #7a3e1d;
    margin-bottom: 10px;
    display: inline-block;
}

.plus-icon {
    font-size: 36px;
    font-weight: bold;
    color: #f0941c;
    margin-left: 5px;
}

.stat-text {
    font-size: 16px;
    font-weight: bold;
    color: #f0941c;
}

/* Footer Image Section */
.footer-image-container {
    width: 100%;
    margin-top: 20px;
    position: relative;
}

.fleet-image {
    width: 100%;
    height: auto;
    display: block;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        margin-bottom: 20px;
    }
    .fleet-image {
        max-width: 100%;
    }
}
