#gallery-section {
    position: relative;
    overflow: hidden;
}

/* decorative green architectural patches */
#gallery-section::before,
#gallery-section::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    background: rgba(10, 143, 75, 0.05);
    border-radius: 50%;
    z-index: 0;
}

/* top-left glow */
#gallery-section::before {
    top: -180px;
    left: -180px;
}

/* bottom-right glow */
#gallery-section::after {
    bottom: -180px;
    right: -180px;
}
/* =========================
   SECTION WRAPPER
========================= */
#gallery-section {
    padding: 80px 8%;
    background: #ffffff;
}

/* =========================
   HEADER
========================= */
.gallery-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
}

.gallery-header p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 40px;
}

/* =========================
   GRID LAYOUT
========================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* =========================
   GALLERY ITEM
========================= */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    margin-bottom: 30px;
    margin-top: 30px;
    margin-right: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* hover effect */
.gallery-item:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* zoom on hover */
.gallery-item:hover img {
    transform: scale(1.08);
}

/* LABEL */
.gallery-item span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    #gallery-section {
        padding: 50px 20px;
    }

    .gallery-item {
        height: 180px;
    }
}

/* 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;
}
@media (max-width: 768px) {
    #gallery-section {
        padding: 50px 20px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on phone */
        gap: 12px;
    }

    .gallery-item {
        height: 200px;        /* taller than 180px so images are recognizable */
        margin-right: 0;      /* remove right margin that causes overflow */
        margin-bottom: 0;     /* grid gap handles spacing */
        margin-top: 0;
    }
}

@media (max-width: 768px) {
  .musa-quote {
    position: fixed !important;
    right: 15px !important;
    bottom: 20px !important;
    display: block !important;
    z-index: 100000 !important;
  }

  .musa-quote img {
    transform: none !important;
    width: 64px;
    height: 64px;
  }
}