/* =========================
   ONE-WAY (REFLECTIVE) GLASS PAGE
========================= */

.glass-box {
    max-width: none;
    width: 93%;
    margin: 60px auto;
    padding: 20px;
    font-family: 'Comfortaa', sans-serif;
    color: #444;
}

/* Headings */
.glass-box h1 {
    text-align: center;
    font-size: 3rem;
    color: #1f7a3d;
    margin-bottom: 30px;
    font-weight: 700;
}

.glass-box h2 {
    text-align: center;
    font-size: 2rem;
    color: #1f7a3d;
    margin: 60px 0 30px;
}

.glass-box h3 {
    color: #1f7a3d;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Paragraphs */
.glass-box p {
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* Hero Images */
.glass-main-image {
    width: 100%;
    max-width: 600px;
    height: 600px;
    object-fit: cover;
    display: block;
    margin: 0 auto 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.glass-box .one-way.demo {
    width: 100%;       /* makes it span the full container width */
    max-width: 750px;  /* optional: set a maximum width so it doesn’t get too large */
    display: block;    /* ensures it behaves like a block element */
    margin: 0 auto;    /* centers the image horizontally */
}
/* Application Cards */
.application-card {
    display: flex;
    width: 93%;
    max-height: 1500px;
    margin: 0 auto;
    align-items: flex-start;
    gap: 40px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.application-card div {
    flex: 1;            /* text adapts to remaining space */
    padding-right: 100px;
    padding-left: 100px;
    margin-top: 30px;
}

.hotel-img {
    width: 380px;
    height: 260px;
}

.office-img {
    width: 350px;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}
/*residential*/
.application-card1 {
  display: flex;              /* keeps slider and text side by side */
  align-items: flex-start;    /* aligns them properly */
margin-bottom: 35px;
  gap: 20px;                  /* spacing between slider and text */
}

.slider {
  position: relative;
  flex: 1;                    /* slider takes available space */
  max-width: 500px;           /* optional: control width */
  height: 400px;              /* fixed height so images show */
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.residential-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-block {
  flex: 1;                    /* text takes remaining space */
}


.text-block {
  flex: 1;                    /* text adapts to remaining space */
  padding: 0 12px;
}
/* Reflective Glass Variants */

.shopfront-img {
    width: 350px;
    margin-top: 30px;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}
.highrise-img {
    width: 400px;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
}



.application-card div {
    flex: 1;
}

/* Alternate layout for even cards */
.application-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Design Grid */
.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.design-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.design-card:hover {
    transform: translateY(-8px);
}

.design-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.design-card h3 {
    padding: 20px 20px 10px;
    color: #1f7a3d;
    font-size: 1.3rem;
}

.design-card p {
    padding: 0 20px 20px;
    margin: 0;
    font-size: 0.95rem;
}


/* Benefits List */
.glass-box ul {
    max-width: 900px;
    margin: 30px auto;
    padding-left: 25px;
}

.glass-box ul li {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-box h1 {
        font-size: 2rem;
    }

    .glass-box h2 {
        font-size: 1.6rem;
    }

    .glass-main-image {
        height: 280px;
    }

    .application-card,
    .application-card:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .application-card img {
        width: 100%;
        height: 220px;
    }

    .design-grid {
        grid-template-columns: 1fr;
    }
}

/* 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;
}


/* =========================
   get quote
========================= */

/* =========================
   MUSA FLOATING BUTTON
   KIOO CHETU BRAND
   WHITE • BLACK • GREEN
========================= */

.musa-quote {
    position: fixed;
    right: 0;
    bottom: 30px;
    z-index: 9999;
}

/* main link container */
.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);

    transform: translateX(10px);
    transition: 0.3s ease;
}

/* text bubble */
.musa-quote span {
    background: #000000;   /* black */
    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; /* green accent */

    opacity: 0;
    transform: translateX(8px);

    transition: 0.3s ease;
}

/* hover effect */
.musa-quote:hover span {
    opacity: 1;
    transform: translateX(-5px);
}

.musa-quote:hover img {
    transform: translateX(10px) 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;
}

/* ==========================================
   ADDITIONAL MOBILE FIXES - add inside or
   right after your existing
   @media (max-width: 768px) block
========================================== */
@media (max-width: 768px) {

  .glass-box {
    width: 100%;
    padding: 15px;
    margin: 30px auto;
  }

  /* Application cards: remove huge side padding, stack vertically */
  .application-card div {
    padding-right: 15px;
    padding-left: 15px;
    margin-top: 15px;
  }

  /* Residential section: stack slider above text */
  .application-card1 {
    flex-direction: column;
    gap: 15px;
  }

  .slider {
    max-width: 100%;
    width: 100%;
    height: 260px;   /* shorter on mobile */
  }

  .text-block {
    padding: 0;
    text-align: left;
  }

  /* Fixed-size images: make them fluid instead of fixed px */
  .hotel-img,
  .office-img,
  .shopfront-img,
  .highrise-img {
    width: 100%;
    max-width: 100%;
    height: 220px;   /* consistent shorter height on mobile */
  }

  /* Design grid cards already go to 1 column via your existing rule */

  .glass-box ul {
    padding-left: 20px;
    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;
    }
}

