
/* ================================================================= */
/* ================================================================= */
/*       LIGHT-DUTY TOWING PAGE MASTER OVERRIDE STYLESHEET           */
/* ================================================================= */
/* ================================================================= */
/*  NOTE: This is the definitive manual control fix. It provides     */
/*  total, forceful, and stable responsive control for all sections. */
/* ================================================================= */


/* ================================================================= */
/* 1. Banner Section - REBUILT FOR MANUAL POSITIONING & STYLING      */
/* ================================================================= */


/* --- This is the main container for the entire banner --- */
section.banner__section-override {
  /* --- Background Image & Sizing --- */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url('../img/towing/flat-tire/banner.png') !important; /* Sets the background image with a semi-transparent dark overlay. */
  background-size: cover !important;           /* This forces the image to always cover the entire banner area without being stretched. */
  background-position: center center !important; /* This centers the background image perfectly, both horizontally and vertically. */
  background-repeat: no-repeat !important;      /* This prevents the background image from repeating. */
  
  /* --- Positioning Context --- */
  position: relative !important;                /* This is the anchor for the content block inside. DO NOT CHANGE. */
  width: 100% !important;                       /* This forces the section to span the full width of the screen. */
  height: auto !important;                      /* This ensures the height is flexible and not fixed. */
  min-height: 80vh !important;                  /* This sets a minimum height of 80% of the viewport's height for a dynamic, large look on desktop. */
  padding: 0 !important;                        /* Padding is removed because the content inside is positioned manually. */
}

/* --- This is the content block that holds your text and buttons --- */
section.banner__section-override .banner__content-override {
  /* --- Brute-Force Manual Positioning --- */
  position: absolute !important;                /* This rips the content out of the normal page flow for manual control. */
  
/* ===================================================== */
/* == ADJUST THESE VALUES TO MANUALLY MOVE THE CONTENT == */
/* ===================================================== */
top: 50% !important;                          /* This sets the vertical starting point to the middle of the banner. */
left: 12% !important;                         /* This SETS THE DISTANCE FROM THE LEFT EDGE. Decrease to move left, increase to move right. */

/* This transform pulls the content block up by half of its own height to perfectly center it vertically. */
transform: translateY(-50%) !important;

/* --- Sizing and Alignment --- */
width: auto !important;                       /* The width is determined by the content. */
max-width: 900px !important;                  /* This controls the maximum width of the text block to prevent it from becoming too wide. */
text-align: left !important;                  /* This FORCES all text inside this block to align to the left. */
}

/* --- This styles the main H1 header --- */
section.banner__section-override .banner__content-override h1 {
  color: #ffffff !important;                   /* Color: White (#ffffff) */
  font-size: 58px !important;                   /* This sets the font size of the header. */
  font-weight: 900 !important;                  /* This sets the font weight (boldness) of the header. */
  line-height: 1.2 !important;                  /* This sets the spacing between lines of text in the header. */
}

/* --- This styles the paragraph text --- */
section.banner__section-override .banner__content-override p {
  color: #facc15 !important;                   /* Color: Grenier's Yellow (#facc15) */
  font-size: 18px !important;                   /* This sets the font size of the paragraph text. */
  font-weight: 800 !important;                  /* This sets the font weight of the paragraph text. */
  margin-top: 20px !important;                  /* This adds space above the paragraph, separating it from the header. */
}

/* --- This styles the container for the buttons --- */
section.banner__section-override .banner__button-override {
  display: flex !important;                     /* This activates flexbox for button alignment. */
  justify-content: flex-start !important;       /* This aligns the buttons to the left, matching the text. */
  align-items: center !important;               /* This aligns the buttons vertically if they wrap to a new line. */
  gap: 20px !important;                         /* This adds space between the buttons. */
  flex-wrap: wrap !important;                   /* This allows the buttons to stack on small screens if they don't fit side-by-side. */
}

/* --- This styles both buttons --- */
section.banner__section-override .banner__button-override a.cmn--btn,
section.banner__section-override .banner__button-override a.cmn--btn2 {
  padding: 16px 35px !important;                /* This sets the padding inside the buttons, controlling their size. */
  font-size: 16px !important;                   /* This sets the font size of the text inside the buttons. */
  font-weight: 700 !important;                  /* This sets the font weight of the button text. */
  border-radius: 50px !important;               /* THIS LINE IS THE ONLY ADDITION to make the corners round. */
}

/* --- Styles for the primary button --- */
section.banner__section-override .banner__button-override a.cmn--btn {
  background-color: #facc15 !important;         /* Background Color: Grenier's Yellow (#facc15) */
}
section.banner__section-override .banner__button-override a.cmn--btn:hover {
  background-color: #ffffff !important;         /* Background Color on Hover: White (#ffffff) */
}
section.banner__section-override .banner__button-override a.cmn--btn span {
  color: #222222 !important;                   /* Text Color: Rich Black (#222222) */
}

/* --- Styles for the secondary button --- */
section.banner__section-override .banner__button-override a.cmn--btn2 {
  background-color: transparent !important;     /* Background Color: Transparent */
  border: 2px solid #ffffff !important;         /* Border Color: White (#ffffff) */
}
section.banner__section-override .banner__button-override a.cmn--btn2:hover {
  background-color: #ffffff !important;         /* Background Color on Hover: White (#ffffff) */
}
section.banner__section-override .banner__button-override a.cmn--btn2 span {
  color: #ffffff !important;                   /* Text Color: White (#ffffff) */
}
section.banner__section-override .banner__button-override a.cmn--btn2:hover span {
  color: #222222 !important;                   /* Text Color on Hover: Rich Black (#222222) */
}

/* ================================================================= */
/* 2. Light-Duty Towing Capabilities Section (`shop__details`)       */
/* ================================================================= */

/* --- Main container for the capabilities section --- */
section.shop__details {
  background-color: #ffffff !important;         /* Background Color: White (#ffffff) */
  padding-top: 130px !important;                /* Sets the top spacing for this section. */
  padding-bottom: 130px !important;             /* Sets the bottom spacing for this section. */
}
/* --- Main heading in the capabilities section --- */
section.shop__details .content h3 {
  color: #facc15 !important;                   /* Text Color: Grenier's Yellow (#facc15) */
  font-size: 32px !important;                   /* Sets the font size of the heading. */
  font-weight: 600 !important;                  /* Sets the font weight of the heading. */
}
/* --- Subheading in the capabilities section --- */
section.shop__details .content h6 {
  color: #2e0c5e !important;                   /* Text Color: Primary Purple (#2e0c5e) */
  font-size: 20px !important;                   /* Sets the font size of the subheading. */
  font-weight: 600 !important;                  /* Sets the font weight of the subheading. */
}
/* --- Paragraph text in the capabilities section --- */
section.shop__details .content p {
  color: #000000 !important;                   /* Text Color: Black (#000000) */
  font-size: 18px !important;                   /* Sets the font size of the paragraph text. */
}


/* ================================================================= */
/* 3. Comprehensive Solutions Section (`service__section`)         */
/* ================================================================= */

/* --- Main container for the services section --- */
section.service__section {
  background-color: #f5f0ea !important;         /* Background Color: Light Beige (#f5f0ea) */
  padding-top: 130px !important;                /* Sets the top spacing for this section. */
  padding-bottom: 130px !important;             /* Sets the bottom spacing for this section. */
}
/* --- Subtitle for the services section --- */
section.service__section .section__title h6 {
  color: #275c53 !important;                   /* Text Color: Dark Green (#275c53) */
  font-size: 14px !important;                   /* Sets the font size of the subtitle. */
}
/* --- Main header for the services section --- */
section.service__section .section__title h2 {
  color: #222222 !important;                   /* Text Color: Rich Black (#222222) */
  font-size: 42px !important;                   /* Sets the font size of the main header. */
}
/* --- Individual service cards --- */
section.service__section .service__items {
  background-color: #ffffff !important;         /* Background Color: White (#ffffff) */
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1) !important; /* Sets the drop shadow for the cards. */
}
/* --- Title inside the service cards --- */
section.service__section .service__items .service__content h4 a {
  color: #222222 !important;                   /* Text Color: Rich Black (#222222) */
  font-size: 24px !important;                   /* Sets the font size of the card title. */
}
section.service__section .service__items .service__content h4 a:hover {
  color: #facc15 !important;                   /* Text Color on Hover: Grenier's Yellow (#facc15) */
}
/* --- Paragraph text inside the service cards --- */
section.service__section .service__items .service__content p {
  color: #888888 !important;                   /* Text Color: Gray (#888888) */
  font-size: 16px !important;                   /* Sets the font size of the paragraph text. */
}


/* ================================================================= */
/* 4. Testimonials Section                                           */
/* ================================================================= */

/* --- Main container for the testimonials section --- */
section.testimonial__section {
  background-color: #ffffff !important;         /* Background Color: White (#ffffff) */
  padding-top: 130px !important;                /* Sets the top spacing for this section. */
  padding-bottom: 130px !important;             /* Sets the bottom spacing for this section. */
}
/* --- Subtitle for the testimonials section --- */
section.testimonial__section .section__title h6 {
  color: #275c53 !important;                   /* Text Color: Dark Green (#275c53) */
  font-size: 14px !important;                   /* Sets the font size of the subtitle. */
}
/* --- Main header for the testimonials section --- */
section.testimonial__section .section__title h2 {
  color: #222222 !important;                   /* Text Color: Rich Black (#222222) */
  font-size: 42px !important;                   /* Sets the font size of the main header. */
}
/* --- Individual testimonial cards --- */
section.testimonial__section .testi__items {
  background-color: #ffffff !important;         /* Background Color: White (#ffffff) */
  box-shadow: 0 0 8px 0 rgba(136, 136, 136, .1) !important; /* Sets the drop shadow for the cards. */
}
/* --- Client's name in the testimonial --- */
section.testimonial__section .testi__items .content h5 {
  color: #222222 !important;                   /* Text Color: Rich Black (#222222) */
  font-size: 20px !important;                   /* Sets the font size of the client's name. */
}
/* --- Client's description in the testimonial --- */
section.testimonial__section .testi__items .content span {
  color: #888888 !important;                   /* Text Color: Gray (#888888) */
  font-size: 18px !important;                   /* Sets the font size of the client's description. */
}
/* --- Quote text in the testimonial --- */
section.testimonial__section .testi__items p {
  color: #888888 !important;                   /* Text Color: Gray (#888888) */
}
/* --- Star ratings in the testimonial --- */
section.testimonial__section .testi__items ul li i.fa-star {
  color: #facc15 !important;                   /* Star Color: Grenier's Yellow (#facc15) */
}


/* ================================================================= */
/* 5. Blog Section                                                   */
/* ================================================================= */

/* --- Main container for the blog section --- */
section.blog__section {
  background-color: #f5f0ea !important;         /* Background Color: Light Beige (#f5f0ea) */
  padding-top: 130px !important;                /* Sets the top spacing for this section. */
  padding-bottom: 130px !important;             /* Sets the bottom spacing for this section. */
}
/* --- Subtitle for the blog section --- */
section.blog__section .section__title h6 {
  color: #275c53 !important;                   /* Text Color: Dark Green (#275c53) */
  font-size: 14px !important;                   /* Sets the font size of the subtitle. */
}
/* --- Main header for the blog section --- */
section.blog__section .section__title h2 {
  color: #222222 !important;                   /* Text Color: Rich Black (#222222) */
  font-size: 42px !important;                   /* Sets the font size of the main header. */
}
/* --- Individual blog cards --- */
section.blog__section .blog__items {
  background-color: #ffffff !important;         /* Background Color: White (#ffffff) */
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1) !important; /* Sets the drop shadow for the cards. */
}
/* --- Title inside the blog cards --- */
section.blog__section .blog__items .blog__content h4 a {
  color: #222222 !important;                   /* Text Color: Rich Black (#222222) */
  font-size: 20px !important;                   /* Sets the font size of the blog post title. */
}
section.blog__section .blog__items:hover .blog__content h4 a {
  color: #facc15 !important;                   /* Text Color on Hover: Grenier's Yellow (#facc15) */
}
/* --- Meta info in the blog cards --- */
section.blog__section .blog__items .blog__content ul li {
  color: #888888 !important;                   /* Text Color: Gray (#888888) */
  font-size: 16px !important;                   /* Sets the font size of the meta info. */
}
/* --- Icons in the meta info --- */
section.blog__section .blog__items .blog__content ul li i {
  color: #facc15 !important;                   /* Icon Color: Grenier's Yellow (#facc15) */
}
/* --- Excerpt text in the blog cards --- */
section.blog__section .blog__items .blog__content p {
  color: #888888 !important;                   /* Text Color: Gray (#888888) */
}
/* --- "Read more" link in the blog cards --- */
section.blog__section .blog__items .blog__btn a.cmn--btn3 {
  color: #222222 !important;                   /* Text Color: Rich Black (#222222) */
}


/* ============================================================ */
/* 6. Global Custom Section Styles                              */
/* ============================================================ */
/* Notes:
   - This section provides global styles for custom pages.
   - It is designed to work with Bootstrap and animate.css.
*/
/* ============================================================ */

/* --- Root Variables (For Reference) --- */
:root {
  --body: #ffffff;      /* White: #ffffff */
  --white: #ffffff;     /* White: #ffffff */
  --theme: #2e0c5e;      /* Primary Purple: #2e0c5e */
  --black: #222222;      /* Rich Black: #222222 */
  --subtitle: #275c53;   /* Dark Green: #275c53 */
  --base: #facc15;       /* Grenier's Yellow: #facc15 */
  --pra: #888888;        /* Gray: #888888 */
}

/* --- Global Typography & Body --- */
body {
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  background-color: #ffffff !important; /* Background Color: White (#ffffff) */
}

/* --- Helper and Base Section Class --- */
.section__custom {
  overflow: hidden !important;
  padding-top: 130px !important;
  padding-bottom: 130px !important;
  background-color: #ffffff !important; /* Background Color: White (#ffffff) */
}

/* --- Sub-Title Styling --- */
.section__custom .sub__tittle {
  margin-bottom: 20px !important;
}

.section__custom .sub__tittle h6 {
  text-transform: uppercase !important;
  color: #275c53 !important;           /* Text Color: Dark Green (#275c53) */
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 2px !important;
  position: relative !important;
}

.section__custom .sub__tittle h6::before {
  position: absolute !important;
  top: 7px !important;
  left: 220px !important;
  width: 60px !important;
  height: 1px !important;
  content: "" !important;
  background-color: #275c53 !important; /* Line Color: Dark Green (#275c53) */
}

/* --- Content Styling --- */
.section__custom .content__custom h2 {
  color: #222222 !important;           /* Text Color: Rich Black (#222222) */
  font-family: "DM Sans", sans-serif !important;
  font-size: 40px !important;
  line-height: 140% !important;
  font-weight: 500 !important;
  text-transform: capitalize !important;
  margin-bottom: 40px !important;
}

.section__custom .content__custom h2 span {
  color: #facc15 !important;           /* Highlight Color: Grenier's Yellow (#facc15) */
}

.section__custom .content__custom p {
  font-size: 16px !important;
  line-height: 1.5 !important;
  margin-bottom: 0 !important;
  color: #888888 !important;           /* Text Color: Gray (#888888) */
  font-family: "DM Sans", sans-serif !important;
}

.section__custom .content__custom .text {
  margin-top: 30px !important;
}

.section__custom .content__custom .text p {
  color: #2e0c5e !important;           /* Text Color: Primary Purple (#2e0c5e) */
  font-weight: 600 !important;
}

/* --- Image & Video Styling --- */
.section__custom .thumb__custom img {
  width: 100% !important;
  height: 180% !important; /* Stretches image vertically */
}

.section__custom .style__two {
  position: relative !important;
}

.section__custom .style__two::before {
  content: "" !important;
  position: absolute !important;
  right: -30px !important;
  top: 0 !important;
  height: 50% !important;
  width: 15px !important;
  background: #e80a0a !important;     /* Bar Color: Primary Purple (#2e0c5e) */
}

.section__custom .style__two::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: -30px !important;
  height: 55% !important;
  width: 15px !important;
  background: #facc15 !important;     /* Bar Color: Grenier's Yellow (#facc15) */
}

/* --- Global Video Pulse Button --- */
.video-pulse {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
  display: inline-block !important;
  z-index: 4 !important;
}

.video-pulse .video-btn {
  position: relative !important;
  color: #ffffff !important;               /* Icon Color: White (#ffffff) */
  font-size: 25px !important;
  background-color: #2e0c5e00 !important;   /* Background: Transparent version of Primary Purple (#2e0c5e00) */
  width: 100px !important;
  height: 100px !important;
  line-height: 100px !important;
  border-radius: 100% !important;
  display: block !important;
  transition: all 0.6s ease-in-out !important;
  text-decoration: none !important;
}

.video-pulse .video-btn:hover {
  background-color: #facc15 !important;     /* Background on Hover: Grenier's Yellow (#facc15) */
}

.video-pulse::before,
.video-pulse::after {
  position: absolute !important;
  content: "" !important;
  width: 100px !important;
  height: 100px !important;
  line-height: 100px !important;
  border: 1px solid #ffffff !important;     /* Pulse Border: White (#ffffff) */
  opacity: 0.7 !important;
  left: 0 !important;
  top: 0 !important;
  border-radius: 50% !important;
  animation: video-animation 2.5s linear infinite !important;
}

.video-pulse::before {
  animation-delay: 1s !important;
}

/* --- Animation Keyframes for Video Pulse --- */
@-webkit-keyframes video-animation {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { opacity: 0; transform: scale(2); }
}
@keyframes video-animation {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { opacity: 0; transform: scale(2); }
}


/* ================================================================= */
/* 7. RESPONSIVE OVERRIDE BLOCK (Screens < 992px)                    */
/* ================================================================= */
@media (max-width: 991px) {
  /* --- Banner content positioning --- */
  section.banner__section-override {
    padding: 80px 15px !important;
  }
  section.banner__section-override .banner__content-override {
    position: static !important;
    transform: none !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  section.banner__section-override .banner__button-override {
    justify-content: center !important;
  }
  
  /* --- Banner font size reduction --- */
  section.banner__section-override .banner__content-override h1 {
    font-size: 42px !important;
  }
  section.banner__section-override .banner__content-override p {
    font-size: 16px !important;
  }
  
  /* --- Stacking for shop details --- */
  section.shop__details .row {
    flex-direction: column !important;
    gap: 40px !important;
  }
  section.shop__details .row > .col-xl-6,
  section.shop__details .row > .col-xl-5 {
    width: 100% !important;
  }
  
  /* --- Centering for card sections --- */
  section.service__section .row,
  section.blog__section .row {
    justify-content: center !important;
  }
  
  /* --- Combined padding reduction for all relevant sections --- */
  section.shop__details,
  section.service__section,
  section.testimonial__section,
  section.blog__section,
  .section__custom {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
  
  /* --- Font size reduction for custom section --- */
  .section__custom .content__custom h2 {
    font-size: 32px !important;
  }
  .section__custom .content__custom p {
    font-size: 15px !important;
  }

  /* --- Video button size reduction --- */
  .video-pulse {
    width: 80px !important;
    height: 80px !important;
  }
  .video-pulse .video-btn {
    width: 80px !important;
    height: 80px !important;
    line-height: 80px !important;
    font-size: 20px !important;
  }
  .video-pulse::before,
  .video-pulse::after {
    width: 80px !important;
    height: 80px !important;
    line-height: 80px !important;
  }
}


/* ================================================================= */
/* 8. RESPONSIVE OVERRIDE BLOCK (Screens < 768px)                    */
/* ================================================================= */
@media (max-width: 767px) {
  /* --- Banner font size reduction --- */
  section.banner__section-override .banner__content-override h1 {
    font-size: 32px !important;
  }
  section.banner__section-override .banner__content-override p {
    font-size: 15px !important;
  }
  
  /* --- Combined section header font reduction --- */
  section.shop__details .content h3,
  section.service__section .section__title h2,
  section.testimonial__section .section__title h2,
  section.blog__section .section__title h2,
  .section__custom .content__custom h2 {
    font-size: 30px !important;
  }
  
  /* --- Combined padding reduction for all relevant sections --- */
  section.shop__details,
  section.service__section,
  section.testimonial__section,
  section.blog__section,
  .section__custom {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  
  /* --- Font size reduction for custom section --- */
  .section__custom .content__custom p {
    font-size: 14px !important;
  }

  /* --- Video button size reduction --- */
  .video-pulse {
    width: 60px !important;
    height: 60px !important;
  }
  .video-pulse .video-btn {
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
    font-size: 18px !important;
  }
  .video-pulse::before,
  .video-pulse::after {
    width: 60px !important;
    height: 60px !importanT;
    line-height: 60px !important;
  }
}









/* ================================================================= */
/* 9. CUSTOM ENHANCEMENTS FOR IMAGE BOXES                            */
/* ================================================================= */

/* --- Rounded Corners for Main Service and Blog Containers --- */
/* This applies rounded corners to the entire container for a cohesive look. */
.service__section .service__items,
.blog__section .blog__items {
    border-radius: 15px; /* This is the key change for the cohesive look */
    overflow: hidden;    /* This clips the content (like the image) to the rounded shape */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* --- Rounded Corners for the Standalone Capabilities Image --- */
/* This section's image is separate from the text, so it gets its own rounding. */
.shop__details .image.img {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* --- Pop-Out Effect on Hover for Service and Blog Sections --- */
/* This makes the entire service or blog item scale up smoothly on hover. */
.service__section .service__items:hover,
.blog__section .blog__items:hover {
    transform: scale(1.05); /* Makes the container "pop out" */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Adds a more pronounced shadow */
    z-index: 10;
    position: relative;
}

/* --- Pop-Out Effect for Capabilities Section Image --- */
.shop__details .image.img:hover {
    transform: scale(1.03); /* A slightly more subtle pop-out for this larger image */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* --- Positioning for Click-to-View Icon --- */
.service__thumb,
.blog__thumb {
    position: relative; /* Needed for positioning the click-to-view icon */
}

/* --- Click-to-View Icon Styling --- */
/* This adds a magnifying glass icon over images, indicating they can be expanded. */
.service__thumb a::before,
.blog__thumb a::before,
.shop-single-slide .swiper-slide a::before {
    content: '\f00e'; /* Font Awesome search/magnify icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    color: white;
    font-size: 40px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5;
    pointer-events: none; /* Allows clicks to go through to the link */
}

/* --- Show Icon on Hover --- */
/* The icon appears when you hover over the main container. */
.service__items:hover .service__thumb a::before,
.blog__items:hover .blog__thumb a::before,
.shop__details .image.img:hover a::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }