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

/* ========================== */
/* 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 */
}

/* 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;
}

/* === 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;
    }
}

@media screen and (max-width: 768px) {
    #brand-slider {
        animation-duration: 200s !important; /* Slow down animation for mobile */
    }

    #service-slider {
        animation-duration: 40s !important; /* Adjust service slider speed */
    }

    #promotions-slider {
        animation-duration: 100s !important; /* Adjust promotions slider speed */
    }
}
/* 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;
}

#dealSection {
  background: url('./sale.png') center/cover no-repeat;
  padding: 60px 20px;
  color: white;
  text-align: center;
  position: relative;
}

#dealSection .content {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 30px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  animation: fadeIn 1.2s ease-out;
  text-align: center;

  max-width: 90%;
  box-sizing: border-box;
}


#dealSection h2 {
  font-size: 36px;
  margin-bottom: 10px;
  text-shadow: 0 0 15px rgba(255, 153, 0, 0.8);
}

#dealSection p {
  font-size: 20px;
  margin-bottom: 10px;
}

#dealSection .countdown {
  font-size: 24px;
  font-weight: bold;
  color: #fff700;
  text-shadow: 0 0 10px #fff700;
}

#dealSection .view-btn {
  margin-top: 15px;
  display: inline-block;
  padding: 12px 24px;
  background: #ff9900;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  animation: pulse 2s infinite;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,153,0, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255,153,0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,153,0, 0); }
}

@media (max-width: 768px) {
  #dealSection h2 { font-size: 28px; }
  #dealSection p,
  #dealSection .countdown { font-size: 18px; }
  #dealSection .view-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  #dealSection .content { padding: 20px; }
}

#dealSection::before,
#dealSection::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 21vw;
  height: 21vw;
  max-width: 400px;
  max-height: 400px;
  background: url('./service-deals-side.png') no-repeat center center;
  background-size: contain;
  transform: translateY(-50%);
  opacity: 1;
  animation: flicker 2s infinite;
  pointer-events: none;
  z-index: 1;
}

#dealSection::before {
  left: calc(6vw);
}
#dealSection::after {
  right: calc(6vw);
}


@keyframes flicker {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.scrolling-banner {
  background-color: #0078D7;
  overflow: hidden;
  padding: 10px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  white-space: nowrap;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-loop 20s linear infinite;
  position: relative;
}

.scrolling-text::after {
  content: attr(data-text);
  padding-left: 50px;
}
@keyframes scroll-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
