
/* ========================== */
/* Main Banner Slideshow (Top) */
/* ========================== */
.banner-slideshow-container {
    width: 100%;
    height: 80vh; /* Large full-screen effect */
    position: relative;
    overflow: hidden;
    margin-top:20px;
}

/* ========================== */
/* Promotions Slideshow (Smaller) */
/* ========================== */


/* ========================== */
/* Slides Wrapper (Common for both) */
/* ========================== */
.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Individual Slides */
.slide {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Active Slide */
.slide.active {
    opacity: 1;
}

/* Image Styling */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* === Section Titles === */
.section-title1 {
    text-align: center;
    font-size: 3rem;
    color: #ff6600;
    font-weight: bold;
    margin-bottom: 20px;
}


.banner-slideshow-container {
    margin-bottom: 5px; /* Adjust to reduce space */
}

/* Optionally, reduce margin on the section title */
.section-title1 {
    margin-top: 10px; /* Reduce space above title */
    margin-bottom: 10px; /* Reduce space below title */
}


/* ====== RESPONSIVE BREAKPOINTS FOR SLIDESHOWS====== */

/* Large Screens */
@media screen and (min-width: 1200px) {
    .banner-slideshow-container {
        height: 85vh;
         margin-bottom: 5px;
    }

}

/* Tablets */
@media screen and (max-width: 1024px) {
    .banner-slideshow-container {
        height: 70vh;
         margin-bottom: 5px;
    }

}

/* Mobile Devices */
@media screen and (max-width: 768px) {
    .banner-slideshow-container {
        height: 50vh;
         margin-bottom: 5px;
    }

}

/* Small Mobile Screens */
@media screen and (max-width: 480px) {
    .banner-slideshow-container {
        height: 40vh;
         margin-bottom: 5px;
    }
 
}

.promotions-slider-container {
    width: 100%;
    max-width: 100vw; /* Prevents overflow */
    height: 50vh; /* Adjust height as needed */
    position: relative;
    overflow: hidden;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promotions-slides {
    display: flex;
    width: max-content; /* Dynamic width to fit all slides */
    height: 100%;
    min-width: 200%; /* Ensure full room for duplicates */
    gap: 20px;
}

.promotion-slide {
    flex: 0 0 auto;
    width: 80%;  /* Adjusts dynamically based on available space */
    max-width: 300px;  /* Ensures the slide doesn't grow too large */
    height: auto; /* Allow height to scale based on aspect ratio */
    display: flex;
    justify-content: center;
    align-items: center;
}

.promotion-slide img {
    width: 100%; /* Adjust to 100% of the container, or set to a specific value (e.g., 300px) */
    height: 100%; /* Keeps the aspect ratio intact */
    max-width: 100%; /* Ensures the image does not overflow the container */
    object-fit: contain; /* Ensures the image fits within the container */
    display: block;
}



@keyframes promotionsLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Adjusted from -100% */
}


/* ✅ Responsive Fixes */
@media screen and (max-width: 768px) {
    .promotions-slider-container { height: 35vh; }
    .promotion-slide {
        width: 90%;  /* Make slides take more space on mobile */
    }

    .promotion-slide img {
        width: 100%;
        height: 100%;  /* Ensures the image adjusts on smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .promotions-slider-container { height: 30vh; }
    .promotion-slide {
        width: 95%;  /* Even larger on very small mobile screens */
    }

    .promotion-slide img {
        width: 100%;
        height: 100%;  /* Adjusts properly on very small screens */
    }
}



/* ===== ABOUT US SECTION ===== */
/* Add space between Promotions Slideshow and About Us */
.about-us {
    width: 100%;
    padding: 50px 0;
    background: #f9f9f9;
    margin-top: 100px !important; /* Adjust this value as needed */
}


/* FLEX CONTAINER */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* Adds left & right padding */
}

/* LEFT COLUMN: FULL WIDTH TEXT */
.about-text {
    flex: 1;
    padding-right: 40px; /* Adds space between text and image */
}

/* CENTER TITLE IN TEXT COLUMN */
.about-text h2 {
    font-size: 42px;
    color: #ff6600;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    position: relative;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff6600;
    margin: 5px auto; /* Centers underline */
}

/* PARAGRAPH STYLE */
.about-text p {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    color: #333;
}

/* RIGHT COLUMN: FULL WIDTH IMAGE */
.about-image {
    flex: 1;
    padding-left: 40px; /* Adds space between text and image */
    display: flex;
    justify-content: center; /* Ensures image is centered */
}

.about-image img {
    width: 100%;
    max-width: 600px; /* Prevents overly large images */
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* ABOUT TEXT LIST STYLE */
.about-text ul {
    margin: 15px 0;
    padding-left: 20px;
    color: #333;
}

.about-text ul li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    list-style-type: disc; /* You can change to 'circle', 'square', or 'none' */
}


/* ===== RESPONSIVE DESIGN for About US ===== */

/* TABLET VIEW */
@media screen and (max-width: 1024px) {
    .about-container {
        gap: 30px;
        padding: 0 30px;
    }
    
    .about-text {
        padding-right: 20px;
    }
    
    .about-image {
        padding-left: 20px;
    }
}

/* MOBILE VIEW */
@media screen and (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Stacks text above image */
        text-align: center;
        padding: 0 20px;
    }

    .about-text {
        max-width: 100%;
        padding-right: 0;
    }

    .about-text h2 {
        text-align: center;
    }

    .about-text p {
        text-align: center;
    }

    .about-image {
        max-width: 100%;
        padding-left: 0;
    }
}

/* SMALL MOBILE SCREENS */
@media screen and (max-width: 480px) {
    .about-us {
        padding: 30px;
    }

    .about-text h2 {
        font-size: 36px;
    }

    .about-text p {
        font-size: 14px;
    }
}

/* === QUOTE SECTION === */
.quote-section {
    width: 100%;
    background-color: #0000ff; /* Deep blue background */
    color: #ffffff; /* White text */
    padding: 60px 20px; /* Spacing for readability */
    text-align: center;
    margin-top: 50px; /* Adds gap between About Us and Quote section */
    margin-bottom:20px;
}

/* CONTAINER */
.quote-container {
    max-width: 800px; /* Restricts width for better readability */
    margin: 0 auto;
    margin-top: 40px;
}

/* TITLE */
.quote-container h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* UNDERLINE */
.quote-line {
    width: 80px;
    height: 3px;
    background-color: #ffffff;
    margin: 0 auto 20px;
}

/* PARAGRAPH */
.quote-container p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* BUTTON */
.quote-btn {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.quote-btn:hover {
    background-color: #ffffff;
    color: #0000ff;
}

/* ===== RESPONSIVE DESIGN FOR QUOTE ===== */
@media screen and (max-width: 768px) {
    .quote-container h2 {
        font-size: 28px;
    }

    .quote-container p {
        font-size: 14px;
    }

    .quote-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media screen and (max-width: 480px) {
    .quote-section {
        padding: 40px 15px;
    }

    .quote-container h2 {
        font-size: 24px;
    }

    .quote-btn {
        font-size: 14px;
        padding: 8px 18px;
    }
}

/* === Prevent Horizontal Scroll Globally === */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* === Section Titles === */
.section-title {
    text-align: center;
    font-size: 28px;
    color: #ff6600;
    font-weight: bold;
    margin-bottom: 20px;
}

/* === Sliders: Ensure Proper Spacing === */
.services-section {
    margin-bottom: 40px; /* Adds gap between service and brand sliders */
}

.brands-section {
    margin-bottom: 40px; /* Adds gap before the next section */
}

/* === SLIDER CONTAINERS === */
.slider-wrapper {
    width: 100%;
    max-width: 100vw; /* Prevent overflow beyond viewport */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: flex-start;
}

/* === SLIDER INNER CONTAINERS === */
.service-slides, .brand-slides {
    display: flex;
    flex-wrap: nowrap; /* Prevent stacking */
    gap: 10px; /* Reduce gap for smooth transitions */
    min-width: 100%; /* Ensures no gaps */
    animation: scrollLoop 15s linear infinite; /* Adjust speed dynamically */
}

/* === Prevent Slider Overflow === */
.service-slide, .brand-slide {
    display: inline-flex; /* Prevents vertical stacking */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 150px;
    text-align: center;
    overflow: hidden;
}

/* === Service Icon + Text === */
.service-slide img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.service-slide p {
    font-size: 14px;
    margin-top: 5px;
}

/* === Brand Logos === */
.brand-slide img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

#service-slider {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    scroll-behavior: auto;
    padding: 10px 0;
}


/* === INFINITE SLIDER ANIMATION === */
@keyframes scrollLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); } /* Ensures a seamless wrap */
}

/* === MOBILE RESPONSIVENESS FIXES === */
@media screen and (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .slider-wrapper {
        width: 100vw;
        overflow-x: hidden;
    }

    .services-section, .brands-section {
        margin-bottom: 30px; /* Reduce gap slightly for mobile */
    }

    .service-slides, .brand-slides {
        display: flex;
        flex-wrap: nowrap; /* Ensure no vertical stacking */
        animation-duration: 12s !important; /* Slower speed for mobile */
    }

    .service-slide img, .brand-slide img {
        width: 60px;
        height: auto;
    }

    .service-slide p {
        font-size: 12px;
    }
}
.service-slide {
    min-width: 200px; /* Helps spacing on small screens */
    padding: 0 10px;
}


/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

/* Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}
