/* ====================================================================================== */
/* 💡 FILE: assets/css/testimonial.css (FINAL VERSION WITH MANUAL CONTROLS)                */
/* ====================================================================================== */

/* ============================================================ */
/* SECTION: Breadcrumb Banner Styling (REBUILT & FIXED)         */
/* PURPOSE: Containerizes banner image with full visibility and responsiveness */
/* ============================================================ */

/* 1. THE MAIN BANNER CONTAINER */
.breadcumd__banner {
  /* --- MANUAL HEIGHT CONTROL --- */
  /* CHANGE THE PIXEL VALUE ON THIS LINE TO ADJUST THE HEIGHT. */
  height: 1000px; /* Maintain original height control */
  position: relative; /* Crucial for layering */
  background-color: #000; /* Fallback color if image is missing */
  overflow: hidden; /* Ensures nothing spills out */
  display: flex; /* Flexbox for centering */
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
  min-height: 60vh; /* Responsive minimum height */
  max-height: 1000px; /* Cap for tall screens */
}

/* 2. THE IMAGE CONTAINER - FULLY CONTAINS IMAGE */
.banner-image-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex; /* Ensure image is centered */
  align-items: center;
  justify-content: center;
}

/* 3. THE IMAGE ITSELF - THIS IS YOUR "ZOOM" CONTROL */
.banner-image-itself {
  width: 100%; /* Full width of container */
  height: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Prevent overflow */
  max-height: 100%; /* Prevent overflow */
  object-fit: contain; /* FULL IMAGE ALWAYS VISIBLE - NO CROPPING */
  /* To make it fill the space and be cut off, change 'contain' to 'cover'. */
  /* object-fit: cover; */
  display: block; /* Ensure proper rendering */
}

/* 4. THE TEXT CONTENT OVERLAY */
.banner-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1); /* Optional: darkens the image slightly */
  z-index: 2; /* Above image */
}

/* ============================================================ */
/* SECTION: Banner Content and Text Styling                     */
/* ============================================================ */
.breadcumd__banner .breadcumd__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  position: relative;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 15px;
  z-index: 3; /* Above overlay */
}

.breadcumd__banner .left__content {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px #ffffff;
}

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

.breadcumd__banner .right__content li {
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  color: #facc15 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

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

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

/* ============================================================ */
/* SECTION: Breadcrumb Banner Styling                           */
/* PURPOSE: Applies the manual variables from above to the banner.*/
/* ============================================================ */
.breadcumd__banner {
  /* --- Core Properties --- */
  background-image: url("../img/testimonial/banner.avif") !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  position: relative !important;
  background-color: #1a0b2e !important;

  /* --- RESPONSIVE HEIGHT & CONTAIN --- */
  min-height: var(--banner-height, 600px) !important;
  height: var(--banner-height, 600px) !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;

  /* --- Flexbox for Centering Content --- */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 80px 15px !important;
}

/* PURPOSE: Applies a subtle dark overlay to the banner image for text readability. */
.breadcumd__banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, var(--banner-overlay-opacity)) !important;
}

/* PURPOSE: This is the container for the banner's text content. */
.breadcumd__banner > .container {
  height: 100% !important;
}

.breadcumd__banner .breadcumd__wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  max-width: 1200px;
  height: 100% !important;
  position: relative;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 15px !important;
}

/* ============================================================ */
/* SECTION: Banner Content and Text Styling                     */
/* ============================================================ */
.breadcumd__banner .left__content {
  color: #ffffff;
  font-weight: 600;
  font-size: 2.5rem;
}

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

.breadcumd__banner .right__content li {
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  color: #facc15 !important;
}

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

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

/* ====================================================================================== */
/* SECTION: Testimonial Section Container & Carousel                                      */
/* ====================================================================================== */
.testimonial__section {
  overflow: visible !important;
  padding-top: 170px !important;
  padding-bottom: 170px !important;
}

.carousel-viewport-wrapper {
  width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
}

.testimonial-carousel {
  position: relative !important;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  ) !important;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  ) !important;
}

.carousel-track {
  display: flex !important;
  gap: 20px !important;
  transition: transform 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) !important;
}

.carousel-track .testi__inner {
  flex-shrink: 0 !important;
  width: 380px !important;
  height: 480px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background-color: #ffffff !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  padding: 85px !important;
  box-shadow: 0 5px 20px #49158e !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  position: relative;
  overflow: visible !important;
}

.carousel-track .testi__inner:hover {
  transform: translateY(-10px) scale(1.25) !important;
  box-shadow: 0 30px 60px #5b05a6f6 !important;
  z-index: 10 !important;
}

/* ============================================================ */
/* (The rest of your original CSS follows and is unchanged)     */
/* ============================================================ */
.testi__inner__thumb {
  width: 100px !important;
  height: 100px !important;
  flex-shrink: 0 !important;
  margin-bottom: 15px !important;
  transition: transform 0.3s ease !important;
}
.testi__inner__thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 3px solid #ffcc01 !important;
}
.testi__inner:hover .testi__inner__thumb {
  transform: scale(1.1) !important;
}
.testi__inner__content {
  width: 100% !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: space-between !important;
  overflow: visible !important;
}
.testi__inner__content p {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1rem !important;
  color: #333333 !important;
  flex-grow: 1 !important;
  overflow-y: auto !important;
}
.testi__inner__content h5 {
  text-align: center !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  color: #000000 !important;
}
.testi__inner__content span {
  display: block !important;
  text-align: center !important;
  font-size: 0.9rem !important;
  color: #8800ff !important;
  margin-top: 4px !important;
}
.testimonial-rating {
  margin-top: 8px;
  text-align: center;
}
.testimonial-rating .fa-star {
  color: #ffd700 !important;
  margin: 0 2px !important;
}
.carousel-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 20 !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  color: #ffffff !important;
  border: 1px solid #ffd700 !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    opacity 0.3s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  opacity: 0.4;
}
.carousel-viewport-wrapper:hover .carousel-nav {
  opacity: 1;
}
.carousel-nav:hover {
  background-color: #5b05a6cc !important;
}
.carousel-nav.prev {
  left: 15px !important;
}
.carousel-nav.next {
  right: 15px !important;
}
.carousel-nav:disabled {
  opacity: 0.2 !important;
  cursor: not-allowed !important;
}
#modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}
#testimonial-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  max-width: 800px;
  min-width: 320px;
  height: 70vh;
  min-height: 400px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}
.modal-title {
  margin: 0;
  font-size: 1.25rem;
  color: #333;
}
.modal-close-button {
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0;
}
.modal-close-button:hover {
  color: #000;
}
.modal-body {
  display: flex;
  flex-direction: row;
  padding: 25px;
  overflow-y: auto;
  flex-grow: 1;
}
.modal-thumb {
  flex-shrink: 0;
  margin-right: 25px;
}
.modal-thumb img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #ffcc01;
  object-fit: cover;
}
.modal-content-details {
  text-align: left;
}
.modal-content-details h4 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 5px;
}
.modal-content-details p {
  color: #555;
  line-height: 1.7;
}
#modal-location {
  font-style: italic;
  color: #777;
  margin-bottom: 15px;
}
#modal-rating .fa-star {
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .modal-thumb {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .modal-content-details {
    text-align: center;
  }
}
@media (max-width: 576px) {
  .carousel-track .testi__inner {
    width: 90% !important;
    height: auto !important;
    min-height: 450px !important;
  }
  .testimonial-carousel {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      black 2%,
      black 98%,
      transparent
    ) !important;
    mask-image: linear-gradient(
      to right,
      transparent,
      black 2%,
      black 98%,
      transparent
    ) !important;
  }
}

/* ====================================================================================== */
/* SECTION: Glass Container Effect for Banner                                             */
/* PURPOSE: Clear glass effect (no blur) with text content and buttons                    */
/* ====================================================================================== */

/* The Glass Container */
.testimonial-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: 700px !important;
  text-align: center !important;
  margin: 0 auto !important;
  /* NO backdrop-filter - keeps it CLEAR, not frosted */
}

/* Heading inside glass container */
.testimonial-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;
}

/* Description text inside glass container */
.testimonial-description {
  color: #f0f0f0 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  margin-bottom: 25px !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* Button container */
.testimonial-buttons {
  display: flex !important;
  gap: 15px !important;
  flex-wrap: wrap !important;
  margin-top: 20px !important;
  justify-content: center !important;
}

/* Base button styles (matching index.html) */
.testimonial-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 (purple with yellow border) */
.testimonial-btn-primary {
  background-color: rgba(99, 17, 222, 0.7) !important;
  color: #ffffff !important;
  border: 2px solid #facc15 !important;
}

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

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

.testimonial-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;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-glass-container {
    padding: 25px 20px !important;
    max-width: 100% !important;
  }

  .testimonial-heading {
    font-size: 32px !important;
  }

  .testimonial-description {
    font-size: 16px !important;
  }

  .testimonial-buttons {
    justify-content: center !important;
  }
}

/* ====================================================================================== */
/* END OF FILE                                                                           */
/* ====================================================================================== */

/* ========================================================================== */
/* ---- 1) BUTTON SHAPE + BASE STATE ---------------------------------------- */
.header__top .social.social__icon li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(18px + 10px * 2);
  height: calc(18px + 10px * 2);
  color: #facc15 !important;
  background: transparent !important;
  border: 2px solid #facc15 !important;
  border-radius: 9999px !important;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
  text-decoration: none !important;
}

.header__top .social.social__icon li a i {
  font-size: 18px !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;
  outline: none !important;
}

.header__top .social.social__icon li a:focus-visible {
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.35);
}

/* ---- 3) ALIGNABLE IMG - sized to match icons ------------------------------ */
.header__top .social.social__icon li a[aria-label="Alignable"] img {
  width: 18px !important;
  height: 18px !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%);
}

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

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

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

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

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


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

/* ================================================================= */
/* 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) {
    section.banner__section-override {
        height: auto !important;
        min-height: 600px !important;
        overflow: visible !important;
    }

    .shop__details, 
    .banner__content-override,
    .service__items,
    .blog__items {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
}

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

.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;
}

@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;
  }
}

@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;
    }
}

