/*custom solutions sliders*/
/* --- Custom Glass Solutions Slider --- */
#custom-solutions {
  max-width: 450px;
  max-height: 500px;
  margin: 0 auto;
  padding: 20px;
}
h1{
    text-align: center;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: #015811;
    color: #015811;
}

#custom-solutions .section-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.custom-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 500px; /* adjust height as needed */
}

.custom-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.custom-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.custom-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}


/*shower*/
.product-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 25px;
    margin: 20px 0;

    background: #fff;
    border-radius: 12px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* TEXT */
.product-card .content {
    flex: 1;
}

.product-card h3 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
    color: #222;
}

.product-card p {
    font-size: 15px;
    margin-left: 15px;
    margin-right: 25px;
    line-height: 1.6;
    color: #555;
}

/* IMAGE */
.product-card .image img {
    width: 300px;
    max-width: 100%;
    height: 400px;

    border-radius: 10px;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.product-card:hover .image img {
    transform: scale(1.05);
}

/*office*/
.product-card3 {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    text-align: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card3:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.product-card3 img {
    width: 100%;
    max-width: 280px;
    height: auto;

    border-radius: 10px;
    margin-bottom: 15px;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.product-card3:hover img {
    transform: scale(1.05);
}

/* TITLE */
.product-card3 h3 {
    font-size: 1.6em;
    margin: 10px 0;
    color: #03661c;
}

/* TEXT */
.product-card3 p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;

    max-width: 1000px;
    margin: 0 auto;
}

/*balustrades*/
.product-card4 {
    display: flex;
    align-items: center;
    gap: 30px;

    padding: 25px;
    margin: 25px 0;

    background: #ffffff;
    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;
}

.product-card4:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.product-card4 .image img {
    width: 280px;
    max-width: 100%;
    height: 420px;

    border-radius: 12px;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.product-card4:hover .image img {
    transform: scale(1.05);
}

/* TEXT */
.product-card4 .content {
    flex: 1;
}

.product-card4 h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.product-card4 p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/*canopies*/

.product-card5 {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    margin: 25px 0;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    text-align: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card5:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.product-card5 img {
    width: 100%;
    max-width: 420px;
    height: auto;

    border-radius: 12px;
    object-fit: cover;

    margin-bottom: 15px;

    transition: transform 0.4s ease;
}

.product-card5:hover img {
    transform: scale(1.05);
}

/* TITLE */
.product-card5 h3 {
    font-size: 22px;
    margin: 10px 0;
    color: #015811;
    text-align: center;
    font-size: 1.6em;
    
}

/* TEXT */
.product-card5 p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;

    max-width: 800px;
    margin: 0 auto;
}

/*shopfront*/

.product-card6 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding: 25px;
    margin: 25px 0;

    background: #fff;
    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;
}

.product-card6:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* TEXT */
.product-card6 .content {
    flex: 1;
    text-align: left;
}
.product-card6 h3 {
    font-size: 22px;
    margin: 10px 0;
    text-align: center;
    font-size: 1.6em;
    
}

/* IMAGE */
.product-card6 .image img {
    width: 280px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card6:hover .image img {
    transform: scale(1.05);
}

/*curtain-walls*/

.product-card7 {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    margin: 25px 0;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card7:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.product-card7 img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.product-card7 h3 {
    font-size: 22px;
    margin: 10px 0;
}

.product-card7 p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    max-width: 850px;
    margin: 0 auto;
}

/*unique*/
.product-card8 {
    background: linear-gradient(135deg, #ffffff, #f7f9fc);
    border-radius: 14px;
    padding: 35px;
    margin: 30px 0;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

    text-align: center;

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card8:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* Decorative top line (premium touch) */
.product-card8::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 80px;
    height: 4px;
    background: #02751d;
    border-radius: 0 0 4px 4px;
}

/* TITLE */
.product-card8 h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #036523;
}

/* TEXT */
.product-card8 p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;

    max-width: 950px;
    margin: 0 auto;
}

/* base shape */
.site-bg .shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

/* TOP LEFT - large circle */
.site-bg .circle {
    width: 250px;
    height: 250px;
    background: rgba(10, 143, 74, 0.085);
    border-radius: 50%;
    top: 120px;
    left: -180px;
}
/* =========================
   MUSA FLOATING BUTTON
   KIOO CHETU BRAND
   WHITE • BLACK • GREEN
========================= */

body {
    margin: 0;
    padding: 0;
}

/* container */
.musa-quote {
    position: fixed;
    right: 0;
    bottom: 30px;
    z-index: 9999;
}

/* link wrapper */
.musa-quote a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* avatar */
.musa-quote img {
    width: 78px;
    height: 78px;

    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #ffffff;

    box-shadow: -6px 6px 20px rgba(0,0,0,0.2);

    /* IMPORTANT FIX: keep it tight to edge */
    transform: translateX(2px);

    transition: 0.3s ease;
}

/* text bubble */
.musa-quote span {
    background: #000000;
    color: #ffffff;

    font-family: 'Comfortaa', sans-serif;
    font-size: 13px;
    font-weight: 600;

    padding: 10px 14px;
    border-radius: 18px;

    white-space: nowrap;

    border-left: 4px solid #16a34a;

    opacity: 0;
    transform: translateX(10px);

    transition: 0.3s ease;
}

/* hover reveal text */
.musa-quote:hover span {
    opacity: 1;
    transform: translateX(-4px);
}

/* hover animation for avatar */
.musa-quote:hover img {
    transform: translateX(2px) translateY(-4px);
}

/*search dropdown results*/

#searchResults.dropdown-results {
  position: fixed;
  top: 0;     /* set dynamically by JS */
  right: 0;   /* set dynamically by JS */
  left: auto;
  height: max-content;
  width: max-content;
  min-width: 180px;
  max-width: 320px;
  margin: 0;
  padding: 6px 0;
  list-style: none;

  background-color: #000 !important;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

  font-family: 'Comfortaa', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2px;

  overflow: auto;  /* allow scrolling */
  max-height: 180px;  /* reduced height */
  z-index: 999;
  display: none;
  animation: dropdownFade 0.18s ease-out;
}

#searchResults.dropdown-results.show {
  display: block;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

#searchResults.dropdown-results li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#searchResults.dropdown-results li:last-child {
  border-bottom: none;
}

#searchResults.dropdown-results li a {
  display: block;
  padding: 10px 18px;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

#searchResults.dropdown-results li a:hover,
#searchResults.dropdown-results li a:focus {
  background-color: #fff;
  color: #000 !important;
}

#searchResults.dropdown-results li.no-results {
  padding: 10px 18px;
  color: #aaa !important;
  font-style: italic;
  white-space: nowrap;
}

/* ==========================================
   MOBILE FIXES - add to bottom of custom solutions stylesheet
========================================== */
@media (max-width: 768px) {

  /* Custom solutions slider */
  #custom-solutions {
    max-width: 100%;
    padding: 10px;
  }

  .custom-slider {
    height: 280px;
  }

  /* product-card (shower - flex row) */
  .product-card {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .product-card .image img {
    width: 100%;
    max-width: 100%;
    height: 260px;
  }

  .product-card p {
    margin-left: 0;
    margin-right: 0;
  }

  /* product-card3 (office - already centered, just constrain image) */
  .product-card3 img {
    max-width: 100%;
  }

  /* product-card4 (balustrades - flex row) */
  .product-card4 {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .product-card4 .image img {
    width: 100%;
    max-width: 100%;
    height: 260px;
  }

  /* product-card6 (shopfront - flex row) */
  .product-card6 {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    text-align: center;
  }

  .product-card6 .content {
    text-align: center;
  }

  .product-card6 .image img {
    width: 100%;
    max-width: 100%;
    height: 260px;
  }

  /* product-card5, 7, 8 (centered cards - already fluid, just reduce padding) */
  .product-card5,
  .product-card7,
  .product-card8 {
    padding: 15px;
    margin: 15px 0;
  }

  .product-card5 img,
  .product-card7 img {
    max-width: 100%;
  }
}

body {
    position: relative;
    overflow-x: hidden;
    background: #ffffff;
}

.shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Desktop */
.circle {
    width: 220px;
    height: 220px;
    background: rgba(10, 143, 74, 0.3);
    top: 180px;
    left: -70px;
    animation: breathe 6s ease-in-out infinite alternate;
}

.blob {
    width: 200px;
    height: 200px;
    background: rgba(10, 143, 74, 0.3);
    top: 500px;
    right: -60px;
    animation: breathe 8s ease-in-out infinite alternate;
}

.drop {
    width: 180px;
    height: 180px;
    background: rgba(10, 143, 74, 0.3);
    top: 850px;
    left: -50px;
    animation: breathe 7s ease-in-out infinite alternate;
}

.dot {
    width: 200px;
    height: 200px;
    background: rgba(10, 143, 74, 0.3);
    bottom: 630px;
      right: -60px;

    animation: breathe 9s ease-in-out infinite alternate;
}

@keyframes breathe {
    0%   { transform: scale(1); opacity: 0.8; }
    50%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Mobile layout */
@media (max-width: 768px) {
    .circle {
        width: 120px;
        height: 120px;
        top: 800px;       /* higher so it’s visible */
        left: 0px;      /* pulled inside screen */
    }

    .blob {
        width: 110px;
        height: 110px;
        top: 300px;      /* evenly spaced below circle */
        right: 0px;     /* inside screen */
    }

    .drop {
        width: 100px;
        height: 100px;
        top: 1800px;      /* evenly spaced below blob */
        left: 0px;
    }

    .dot {
        width: 110px;
        height: 110px;
        bottom: 1700px;      /* evenly spaced below drop */
        right: 0px;
    }
}

