/* Styles for differential-axle-repair.css */


/* ============================================================ */
/* FILE PATH: assets/css/differential-axle-repair.css           */
/* ============================================================ */

/* ============================================================ */
/* SECTION: Root Variables & Global Controls
/* ============================================================ */
:root {
  --banner-overlay-opacity: 0.2 !important;
  --banner-height: 800px !important;
  --universal-banner-padding-horizontal: 15px !important;
}

/* ============================================================ */
/* SECTION: Breadcrumb Banner Styling
/* ============================================================ */




.breadcumd__banner {
  position: relative !important;
  overflow: hidden !important;
  background-color: #1a0b2e !important;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../img/truck-repairs/differential-axle-repair/1-differential-axle-repair.avif') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: var(--banner-height) !important;
}

.breadcumd__banner .banner-img-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 0 !important;
}

.breadcumd__banner .banner-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}

.breadcumd__banner::before {
  position: absolute !important;
  content: "" !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  background: rgba(0, 0, 0, var(--banner-overlay-opacity)) !important;
  pointer-events: none !important;
}

.breadcumd__banner .breadcumd__wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  position: relative !important;
  z-index: 2 !important;
  min-height: var(--banner-height) !important;
  padding: 20px var(--universal-banner-padding-horizontal) !important;
}

.breadcumd__banner .left__content {
  color: #ffffff;
  font-weight: 600;
}

.breadcumd__banner .right__content {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcumd__banner .right__content li {
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--theme);
}

.breadcumd__banner .right__content li:not(:last-child) {
  margin-right: 10px;
  color: #ffffff;
}

.breadcumd__banner .right__content li a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.breadcumd__banner .right__content li a:hover {
  color: var(--theme);
}



/* ============================================================ */
/* SECTION: Breadcrumb Banner Responsive Adjustments
/* ============================================================ */
@media (max-width: 767px) {
  .breadcumd__banner .breadcumd__wrapper {
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .breadcumd__banner .breadcumd__wrapper .left__content {
    font-size: 24px;
  }
}

/* ============================================================ */
/* SECTION: Header & Logo Layout
/* ============================================================ */
.header-section {
    position: relative;
}

.straddle-logo {
    position: absolute;
    top: 50%; /* SYNCED: Logo visible like homepage */
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
  transition: top 0.3s ease-in-out;
    z-index: 20;
  /* SYNCED: Same timing as homepage */
  visibility: visible !important;
  opacity: 1 !important;
  animation-delay: 0s !important;
  transition-delay: 0s !important;
}

.straddle-logo img {
    height: 230px;
    width: auto;
    max-width: none;
  transition: height 0.3s ease-in-out;
  /* SYNCED */
  visibility: visible !important;
  opacity: 1 !important;
}

/* ============================================================ */
/* SECTION: Top Informational Header Bar
/* ============================================================ */
.header__top {
    min-height: 0px !important;
    padding: 8px 0 !important;
    background-color: #ffffff !important;
    position: relative !important;
    z-index: 99 !important;
}

.header__top .header__wrapper {
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    flex-wrap: wrap;
}
    
.header__top .info li {
    color: #333333 !important;
    margin-right: 25px !important;
    font-size: 14px !important;
}

.header__top .info li i {
    color: #2e0c5e !important;
    margin-right: 8px !important;
}

.header__top .social__icon {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    gap: 15px !important;
}

.header__top .social__icon li {
    margin-right: 15px !important;
}

.header__top .social__icon li a {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #2e0c5e !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    transition: background-color 0.3s ease;
}

.header__top .social__icon a:hover {
    background-color: #facc15 !important;
}
.header__top .social__icon a:hover i {
    color: #ffffff !important;
}

/* ============================================================ */
/* SECTION: Desktop Navigation Adjustments
/* ============================================================ */
@media (min-width: 992px) {
    .header-wrapper .main__logo {
        display: none;
    }
    .header-wrapper .logo__menuadjust {
        flex-grow: 1;
        justify-content: center;
    }
    .header-wrapper .main-menu {
        justify-content: center;
        width: 100%;
        display: flex;
    }
    .header-wrapper .main-menu > li:nth-child(3) {
        margin-right: 180px;
    }
    .header-wrapper .main-menu > li:nth-child(4) {
        margin-left: 180px;
    }
}

/* ============================================================ */
/* SECTION: Sidebar Logo Sizing
/* ============================================================ */
.side_bar .logo img {
    max-width: 80%;
    height: auto;
}

/* ============================================================ */
/* SECTION: Service Details Page Layout
/* ============================================================ */
.details__section .container {
    max-width: 1800px !important;
}

.details__section .row {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
}

.details__section .col-lg-3,
.details__section .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.sidebar__widget {
    margin-bottom: 30px;
}

.details__thumb img,
.benefit__thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    max-width: 100%;
}

.benefit .points li {
    display: flex;
    align-items: flex-start;
    font-size: 16px !important;
}

.benefit .points .fa-check {
    margin-right: 10px;
    color: var(--cmn-theme);
    margin-top: 5px;
}

.service__helping .thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%;
}

.service__helping .helping__content {
    padding: 25px;
}

.service__helping .helping__content h4 {
    font-size: 20px;
}

.service__helping .helping__content p {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

@media (max-width: 991px) {
    .details__section .row {
        flex-direction: column;
    }
}

/* ============================================================ */
/* SECTION: Service List Sidebar Widget
/* ============================================================ */
.service__list {
    padding: 0;
    list-style: none;
}

.service__list li {
    margin-bottom: 30px !important;
}

.service__list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    border: 0.2px solid #e6bc11;
    border-radius: 10px;
    padding: 15px 20px;
    font-weight: 500;
    font-size: 16px;
    color: #121212;
    text-align: left;
    transition: all 0.3s ease;
}

.service__list li a:hover,
.service__list li a.current {
    background-color: #e6bc11;
    border-color: var(--cmn-theme);
    color: var(--cmn-theme);
}

.service__list li a.active {
    background-color: var(--cmn-theme);
    border-color: var(--cmn-theme);
}

.service__list li a.active span {
    color: #000000 !important;
    font-weight: bold;
}

.service__list li a.active .fa-chevron-right {
    color: #000000 !important;
}

/* ============================================================ */
/* SECTION: General Typography & Animation
/* ============================================================ */
p {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

[data-wow-delay] {
    transition: opacity 0.5s ease, transform 0.5s ease !important;
}

/* ============================================================ */
/* SECTION: Sidebar Call-to-Action (CTA) Animations
/* ============================================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes flipOut { from { transform: perspective(400px) rotateY(0deg); } to { transform: perspective(400px) rotateY(180deg); } }

.text-justify {
    animation: fadeIn 2s;
}

.cta-section {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    animation: slideIn 1.5s;
}

.cta-section a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    animation: pulse 2s infinite;
}

/* ============================================================ */
/* SECTION: Footer Content Area
/* ============================================================ */
.footer-info { padding: 40px 0; }
.footer-info .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.footer-top-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding-bottom: 30px; }

.footer-widget { position: relative; text-align: center; }
.footer-logo { position: absolute; top: 0; left: 0; height: 100px; width: auto; }
.widget-title { color: #ffd60a !important; font-size: 1.25rem; font-weight: bold; margin-bottom: 15px; }
.footer-widget:first-child .widget-title { margin-top: 115px; }

.contact-list, .quick-links { list-style: none; padding: 0; text-align: center; }
.contact-list li, .quick-links li { margin-bottom: 10px; }
.contact-list i { color: #ffd60a; margin-right: 10px; }
.social-icons { display: flex; gap: 15px; justify-content: center; margin-top: 15px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 1.2rem; color: #1a0b2e; background-color: #ffd60a; border-radius: 50%; transition: all 0.3s; }
.social-icons a:hover { transform: scale(1.1) rotate(10deg); background-color: #ffffff; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #48118a; }

.footer-info, .footer-widget p, .contact-list a, .quick-links a, .contact-list span, .footer-bottom p {
    color: #ffffff !important;
    text-decoration: none;
}
.contact-list a:hover, .quick-links a:hover { color: #ffd60a !important; }





/* ================================================================= */
/* 10. UNIVERSAL CUSTOM ENHANCEMENTS FOR ALL PAGES                  */
/* ================================================================= */

/* --- Rounded Corners for Main Content Containers --- */
/* This applies rounded corners to containers for a cohesive look. */
.service__section .service__items,
.blog__section .blog__items {
    border-radius: 15px; /* The key change for the cohesive look */
    overflow: hidden;    /* Clips 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 Standalone Image Containers --- */
/* This targets all single image containers across different pages. */
.shop__details .image.img,
.details__thumb,
.benefit__thumb,
.service__helping .thumb {
    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 Card-like Containers --- */
.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 Standalone Image Containers --- */
.shop__details .image.img:hover,
.details__thumb:hover,
.benefit__thumb:hover,
.service__helping .thumb:hover {
    transform: scale(1.03); /* A slightly more subtle pop-out */
    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 icon */
}

/* --- Click-to-View Icon Styling --- */
/* This adds a magnifying glass icon over all targeted images. */
.service__thumb a::before,
.blog__thumb a::before,
.shop-single-slide .swiper-slide a::before,
.details__thumb a::before,
.benefit__thumb a::before,
.service__helping .thumb 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 any targeted image container. */
.service__items:hover .service__thumb a::before,
.blog__items:hover .blog__thumb a::before,
.shop__details .image.img:hover a::before,
.details__thumb:hover a::before,
.benefit__thumb:hover a::before,
.service__helping .thumb:hover a::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
/* ========================================================================== */
/* TOP HEADER SOCIAL ICONS — CONSISTENT SIZING (PAGE-SPECIFIC)               */
/* ========================================================================== */

/* ---- 1) BUTTON SHAPE + BASE STATE ---------------------------------------- */
.header__top .social.social__icon li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  color: #facc15 !important;
  background: transparent !important;
  border: 2px solid #facc15 !important;
  border-radius: 50% !important;
  line-height: 1;
  transition: all .2s ease;
  text-decoration: none !important;
}

.header__top .social.social__icon li a i {
  font-size: 16px !important;
  color: currentColor !important;
}

/* ---- 2) HOVER + FOCUS ----------------------------------------------------- */
.header__top .social.social__icon li a:hover,
.header__top .social.social__icon li a:focus-visible {
  transform: translateY(-2px);
  color: #ffffff !important;
  background: #2e0c5e !important;
  border-color: #2e0c5e !important;
}

/* ---- 3) ALIGNABLE IMG - sized to match icons ------------------------------ */
.header__top .social.social__icon li a[aria-label="Alignable"] img {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(84%) sepia(78%) saturate(508%)
          hue-rotate(357deg) brightness(103%) contrast(102%);
}

/* ========================================================================== */

.footer-widget .social-icons .alignable-custom-icon {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain;
}


/* ========================================================================== */
/* FOOTER SOCIAL ICONS — SIZE ONLY (no color changes)                        */
/* ========================================================================== */
.footer-widget .social-icons .alignable-custom-icon {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain;
}


/* ========================================================================== */
/* SOCIAL ICONS SIZING FIX — Header + Footer (SIZE ONLY, NO COLOR CHANGES)   */
/* ========================================================================== */

/* Header top bar: Increase circle size and center icons */
.header__top .social.social__icon li a {
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Header icons: Font Awesome icon size */
.header__top .social.social__icon li a i {
  font-size: 16px !important;
}

/* Header Alignable img: Match other icon sizes */
.header__top .social.social__icon li a img {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain !important;
}

/* Footer Alignable img: Match other footer icon sizes */
.footer-widget .social-icons .alignable-custom-icon {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain !important;
}

/* ============================================================ */
/* SECTION: Responsive Banner Height Breakpoints
/* ============================================================ */
/* 8K / Theatre Displays (5121px+) */
@media (min-width: 5121px) { :root { --banner-height: 1200px !important; } }
/* 5K Displays (5120px) */
@media (max-width: 5120px) { :root { --banner-height: 1100px !important; } }
/* 4K / UHD Displays (3840px) */
@media (max-width: 3840px) { :root { --banner-height: 950px !important; } }
/* QHD / 1440p Displays (2560px) */
@media (max-width: 2560px) { :root { --banner-height: 850px !important; } }
/* Full HD / 1080p Displays (1920px) */
@media (max-width: 1920px) { :root { --banner-height: 750px !important; } }
/* HD+ / Large Laptops (1440px) */
@media (max-width: 1440px) { :root { --banner-height: 650px !important; } }
/* HD / Standard Laptops (1280px) */
@media (max-width: 1280px) { :root { --banner-height: 550px !important; } }
/* Tablets / iPad Landscape (1024px) */
@media (max-width: 1024px) { :root { --banner-height: 450px !important; } }
/* Tablets / iPad Portrait (768px) */
@media (max-width: 768px) { :root { --banner-height: 350px !important; } }
/* Large Phones / Phablets (576px) */
@media (max-width: 576px) { :root { --banner-height: 280px !important; } }
/* Medium Phones (480px) */
@media (max-width: 480px) { :root { --banner-height: 240px !important; } }
/* Small Phones (400px) */
@media (max-width: 400px) { :root { --banner-height: 200px !important; } }
/* Extra Small Phones (320px) */
@media (max-width: 320px) { :root { --banner-height: 180px !important; } }




.breadcumd__banner .right__content {
  position: static !important;
  top: auto !important;
  left: auto !important;
}


/* Extra Small Phones (320px) */
@media (max-width: 320px) { :root { --banner-height: 180px !important; } }


/* ====================================================================================== */
/* GLASS EFFECT STYLES (Copied from light-duty-towing-banner.css)                         */
/* ====================================================================================== */

/* The Glass Container */
.service-glass-container {
  background-color: rgba(
    0,
    0,
    0,
    0.3
  ) !important; /* Semi-transparent black - CLEAR glass */
  padding: 35px 40px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important; /* Subtle white border */
  max-width: 800px !important;
  text-align: left !important; /* FORCE LEFT ALIGNMENT */
  /* NO backdrop-filter - keeps it CLEAR, not frosted */
}

/* Heading inside glass container */
.service-heading {
  color: #ffffff !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
  text-align: left !important; /* FORCE LEFT ALIGNMENT */
}

/* Description text inside glass container */
.service-description {
  color: #f0f0f0 !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  margin-bottom: 25px !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
  text-align: left !important; /* FORCE LEFT ALIGNMENT */
}

/* Button container */
.service-buttons {
  display: flex !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
  margin-top: 20px !important;
  justify-content: flex-start !important; /* FORCE LEFT ALIGNMENT */
}

/* Base button styles (matching index.html) */
.service-btn {
  padding: 12px 28px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  text-transform: capitalize !important;
}

/* Primary button (yellow background) */
.service-btn-primary {
  background-color: #facc15 !important;
  color: #222222 !important;
  border: 2px solid #facc15 !important;
}

.service-btn-primary:hover {
  background-color: #ffffff !important;
  color: #2e0c5e !important;
  border-color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.service-btn-primary span {
  color: #222222 !important;
}

.service-btn-primary:hover span {
  color: #2e0c5e !important;
}

/* Secondary button (transparent with white border) */
.service-btn-secondary {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}

.service-btn-secondary:hover {
  background-color: #ffffff !important;
  color: #2e0c5e !important;
  border-color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.service-btn-secondary span {
  color: #ffffff !important;
}

.service-btn-secondary:hover span {
  color: #2e0c5e !important;
}

/* Responsive adjustments for glass container */
@media (max-width: 991px) {
  .service-glass-container {
    padding: 30px 25px !important;
    max-width: 100% !important;
    text-align: left !important; /* ENSURE LEFT ALIGNMENT ON MOBILE */
  }

  .service-heading {
    font-size: 36px !important;
    text-align: left !important; /* ENSURE LEFT ALIGNMENT ON MOBILE */
  }

  .service-description {
    font-size: 16px !important;
    text-align: left !important; /* ENSURE LEFT ALIGNMENT ON MOBILE */
  }

  .service-buttons {
    justify-content: flex-start !important; /* ENSURE LEFT ALIGNMENT ON MOBILE */
  }
}

@media (max-width: 768px) {
  .service-glass-container {
    padding: 25px 20px !important;
  }

  .service-heading {
    font-size: 28px !important;
  }

  .service-description {
    font-size: 15px !important;
  }

  .service-btn {
    padding: 10px 22px !important;
    font-size: 0.9rem !important;
  }
}

/* ====================================================================================== */
/* FORCE OVERRIDE: Service Banner Heading - Maximum Specificity                          */
/* ====================================================================================== */
#main-h1.service-heading {
  font-size: 36px !important;
  text-align: left !important;
}


/* ====================================================================================== */

.breadcumd__banner .right__content {
  margin-left: auto !important;
}



/* ============================================================ */
/* START: BANNER TEXT COLOR OVERRIDES
/* ============================================================ */
.breadcumd__banner .breadcumd__wrapper .left__content,
.breadcumd__banner .breadcumd__wrapper .right__content li a {
  color: #ffffff !important;
}

.breadcumd__banner .breadcumd__wrapper .right__content li,
.breadcumd__banner .breadcumd__wrapper .right__content li a:hover {
  color: #facc15 !important;
}

.breadcumd__banner .breadcumd__wrapper .right__content li:last-child a {
  color: #facc15 !important;
}


/* POSITIONING OVERRIDES                                                                  */
/* ====================================================================================== */

/* Wrapper adjustment for alignment */
.left-content {
  margin-left: -50px !important;
}

/* Glass container positioning */
.service-glass-container {
  position: relative !important;
  left: -300px !important;
  margin-left: 0 !important;
}



/* ============================================================ */
/* RESPONSIVE BANNER HEIGHT - 26 Breakpoints (320px to 8192px+) */
/* Full image visibility with background-size: contain          */
/* ============================================================ */

/* Base/Default - Extra small screens */
:root {
  --banner-height: 180px;
}

/* 320px+ - Small phones */
@media (min-width: 320px) {
  :root { --banner-height: 200px; }
}

/* 360px+ - Small phones */
@media (min-width: 360px) {
  :root { --banner-height: 220px; }
}

/* 375px+ - iPhone SE/8 */
@media (min-width: 375px) {
  :root { --banner-height: 230px; }
}

/* 400px+ - Medium phones */
@media (min-width: 400px) {
  :root { --banner-height: 240px; }
}

/* 414px+ - iPhone Plus/Max */
@media (min-width: 414px) {
  :root { --banner-height: 260px; }
}

/* 480px+ - Large phones */
@media (min-width: 480px) {
  :root { --banner-height: 280px; }
}

/* 576px+ - Phablets */
@media (min-width: 576px) {
  :root { --banner-height: 350px; }
}

/* 768px+ - Tablets portrait */
@media (min-width: 768px) {
  :root { --banner-height: 450px; }
}

/* 800px+ - Small tablets */
@media (min-width: 800px) {
  :root { --banner-height: 480px; }
}

/* 992px+ - Tablets landscape */
@media (min-width: 992px) {
  :root { --banner-height: 520px; }
}

/* 1024px+ - iPad/small laptops */
@media (min-width: 1024px) {
  :root { --banner-height: 550px; }
}

/* 1200px+ - Laptops */
@media (min-width: 1200px) {
  :root { --banner-height: 600px; }
}

/* 1280px+ - HD laptops */
@media (min-width: 1280px) {
  :root { --banner-height: 650px; }
}

/* 1366px+ - Common laptops */
@media (min-width: 1366px) {
  :root { --banner-height: 700px; }
}

/* 1440px+ - Large laptops */
@media (min-width: 1440px) {
  :root { --banner-height: 750px; }
}

/* 1600px+ - Desktop monitors */
@media (min-width: 1600px) {
  :root { --banner-height: 800px; }
}

/* 1920px+ - Full HD (1080p) */
@media (min-width: 1920px) {
  :root { --banner-height: 850px; }
}

/* 2048px+ - 2K cinema */
@media (min-width: 2048px) {
  :root { --banner-height: 900px; }
}

/* 2560px+ - QHD (1440p) */
@media (min-width: 2560px) {
  :root { --banner-height: 950px; }
}

/* 3440px+ - Ultrawide */
@media (min-width: 3440px) {
  :root { --banner-height: 1000px; }
}

/* 3840px+ - 4K UHD */
@media (min-width: 3840px) {
  :root { --banner-height: 1100px; }
}

/* 4096px+ - 4K cinema */
@media (min-width: 4096px) {
  :root { --banner-height: 1150px; }
}

/* 5120px+ - 5K */
@media (min-width: 5120px) {
  :root { --banner-height: 1200px; }
}

/* 7680px+ - 8K */
@media (min-width: 7680px) {
  :root { --banner-height: 1300px; }
}

/* 8192px+ - 8K cinema extreme */
@media (min-width: 8192px) {
  :root { --banner-height: 1400px; }
}



/* ============================================================ */
/* SERVICE GLASS CONTAINER (SYNCED)                            */
/* Source: assets/css/secondary-towing-relocation.css          */
/* ============================================================ */



/* ================================================================= */
/* MOBILE VISIBILITY SAFEGUARD                                       */
/* Ensures content isn't hidden by "overflow" or "height" issues     */
/* ================================================================= */

@media (max-width: 991px) {
    /* 1. Force Banner to fit content */
    section.banner__section-override {
        height: auto !important;
        min-height: 600px !important;
        overflow: visible !important; /* Prevents cutting off text */
    }

    /* 2. Force Glass Container Visibility */
    .shop__details, 
    .banner__content-override,
    .service__items,
    .blog__items {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important; /* Ensures it renders in flow */
    }
}


/* ============================================================ */
/* RESPONSIVE BANNER HEIGHT - 26 Breakpoints (320px to 8192px+) */
/* Full image visibility with background-size: contain          */
/* ============================================================ */

/* Base/Default - Extra small screens */
:root {
  --banner-height: 180px;
}

/* 320px+ - Small phones */
@media (min-width: 320px) {
  :root { --banner-height: 200px; }
}

/* 360px+ - Small phones */
@media (min-width: 360px) {
  :root { --banner-height: 220px; }
}

/* 375px+ - iPhone SE/8 */
@media (min-width: 375px) {
  :root { --banner-height: 230px; }
}

/* 400px+ - Medium phones */
@media (min-width: 400px) {
  :root { --banner-height: 240px; }
}

/* 414px+ - iPhone Plus/Max */
@media (min-width: 414px) {
  :root { --banner-height: 260px; }
}

/* 480px+ - Large phones */
@media (min-width: 480px) {
  :root { --banner-height: 280px; }
}

/* 576px+ - Phablets */
@media (min-width: 576px) {
  :root { --banner-height: 350px; }
}

/* 768px+ - Tablets portrait */
@media (min-width: 768px) {
  :root { --banner-height: 450px; }
}

/* 800px+ - Small tablets */
@media (min-width: 800px) {
  :root { --banner-height: 480px; }
}

/* 992px+ - Tablets landscape */
@media (min-width: 992px) {
  :root { --banner-height: 520px; }
}

/* 1024px+ - iPad/small laptops */
@media (min-width: 1024px) {
  :root { --banner-height: 550px; }
}

/* 1200px+ - Laptops */
@media (min-width: 1200px) {
  :root { --banner-height: 600px; }
}

/* 1280px+ - HD laptops */
@media (min-width: 1280px) {
  :root { --banner-height: 650px; }
}

/* 1366px+ - Common laptops */
@media (min-width: 1366px) {
  :root { --banner-height: 700px; }
}

/* 1440px+ - Large laptops */
@media (min-width: 1440px) {
  :root { --banner-height: 750px; }
}

/* 1600px+ - Desktop monitors */
@media (min-width: 1600px) {
  :root { --banner-height: 800px; }
}

/* 1920px+ - Full HD (1080p) */
@media (min-width: 1920px) {
  :root { --banner-height: 850px; }
}

/* 2048px+ - 2K cinema */
@media (min-width: 2048px) {
  :root { --banner-height: 900px; }
}

/* 2560px+ - QHD (1440p) */
@media (min-width: 2560px) {
  :root { --banner-height: 950px; }
}

/* 3440px+ - Ultrawide */
@media (min-width: 3440px) {
  :root { --banner-height: 1000px; }
}

/* 3840px+ - 4K UHD */
@media (min-width: 3840px) {
  :root { --banner-height: 1100px; }
}

/* 4096px+ - 4K cinema */
@media (min-width: 4096px) {
  :root { --banner-height: 1150px; }
}

/* 5120px+ - 5K */
@media (min-width: 5120px) {
  :root { --banner-height: 1200px; }
}

/* 7680px+ - 8K */
@media (min-width: 7680px) {
  :root { --banner-height: 1300px; }
}

/* 8192px+ - 8K cinema extreme */
@media (min-width: 8192px) {
  :root { --banner-height: 1400px; }
}

/* ============================================================ */
/* SERVICE GLASS CONTAINER (SYNCED)                            */
/* Source: assets/css/secondary-towing-relocation.css          */
/* ============================================================ */

/* ================================================================= */
/* MOBILE VISIBILITY SAFEGUARD                                       */
/* Ensures content is not hidden by overflow or height issues        */
/* ================================================================= */

@media (max-width: 991px) {
    /* 1. Force Banner to fit content */
    section.banner__section-override {
        height: auto !important;
        min-height: 600px !important;
        overflow: visible !important;
    }

    /* 2. Force Glass Container Visibility */
    .shop__details, 
    .banner__content-override,
    .service__items,
    .blog__items {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
}

/* ====================================================================================== */
/* ====================================================================================== */
/*          UNIVERSAL MASTER FIX - VISUALS + LAYOUT + RESPONSIVENESS                     */
/* ====================================================================================== */
/* ====================================================================================== */

/* ====================================================================================== */
/* 1. GLASS CONTAINER VISUALS (Applies to all screens)                                    */
/* ====================================================================================== */
.service-glass-container {
  background-color: rgba(0, 0, 0, 0.3) !important;
  padding: 35px 40px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  max-width: 800px !important;
  position: relative !important;
  z-index: 10 !important;
}

.service-heading {
  color: #ffffff !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.service-description {
  color: #f0f0f0 !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  margin-bottom: 25px !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.service-buttons {
  display: flex !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
  margin-top: 20px !important;
}

.service-btn, .cmn--btn {
  white-space: nowrap !important;
  padding: 12px 28px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}

.service-btn-primary {
  background-color: #facc15 !important;
  color: #222222 !important;
  border: 2px solid #facc15 !important;
}

.service-btn-secondary {
  background-color: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
}

/* ====================================================================================== */
/* 2. DESKTOP LAYOUT (Screens larger than 991px)                                          */
/* ====================================================================================== */
@media (min-width: 992px) {
  .service-glass-container {
    left: -300px !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
  
  .service-heading {
    text-align: left !important;
  }

  .service-description {
    text-align: left !important;
  }
  
  .service-buttons {
    justify-content: flex-start !important;
  }

  .left-content {
    margin-left: -50px !important;
  }
}

/* ====================================================================================== */
/* 3. MOBILE/TABLET LAYOUT FIX (Screens smaller than 991px)                               */
/* ====================================================================================== */
@media (max-width: 991px) {
    
    .service-glass-container {
        left: 0 !important;
        margin: 20px auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 20px !important;
        transform: none !important;
        background-color: rgba(0, 0, 0, 0.6) !important;
        text-align: center !important;
    }

    .service-heading { 
        font-size: 32px !important; 
        text-align: center !important;
    }
    
    .service-description { 
        font-size: 16px !important; 
        text-align: center !important;
    }
    
    .service-buttons { 
        justify-content: center !important; 
    }
    
    .left-content { 
        margin-left: 0 !important; 
    }

    .header-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 90px !important;
        padding: 0 15px !important;
        position: relative !important;
    }

    .header-wrapper .main__logo {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        bottom: auto !important;
        z-index: 20 !important;
        width: auto !important;
    }
    
    .header-wrapper .main__logo .logo img {
        height: 50px !important;
        width: auto !important;
        object-fit: contain !important;
    }

    .header-wrapper .menu__components {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 25 !important;
        display: flex !important;
        gap: 15px !important;
    }

    .header-wrapper .logo__menuadjust nav, .straddle-logo {
        display: none !important;
    }

    section.banner__section,
    section.banner__section-override {
        display: block !important;
        height: auto !important;
        min-height: 800px !important;
        padding-bottom: 60px !important;
        overflow: visible !important;
        margin-bottom: 0 !important;
    }

    .banner__image, 
    .banner__section .swiper-slide .banner__image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        height: 100% !important;
        width: 100% !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .banner__content,
    .banner__content-override {
        position: relative !important;
        margin-top: 80px !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10 !important;
    }
    
    section.banner__section + section,
    section.banner__section-override + section,
    .feature__section {
        margin-top: 0 !important;
        padding-top: 50px !important;
        background: #fff !important;
        position: relative !important;
        z-index: 5 !important;
    }
}

