.glass.box {
    background: #f5f5f5;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1500px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.glass.box h1 {
    font-size: 2rem;
    color: #046317;
    margin-bottom: 15px;
    text-align: center;   /* keep heading aligned left */
}

.glass.box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    text-align: left;   /* normal text alignment */
    margin-left: 20px;
    margin-right: 20px;
}

/* Product section styling */
#aluminium-products {
    margin-top: 30px;
}

#aluminium-products h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #222;
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;   /* centers image + title */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.product-card img {
    display: block;
    margin: 0 auto 15px;
    width: 450px;        /* control width */
    height: 500px;       /* control height */
    object-fit: cover;   /* keeps proportions neat */
    border-radius: 4px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.product-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/*casement*/
.product-card2 {
    display: flex;              /* side-by-side layout */
    align-items: center;        /* vertical alignment */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.product-card2 img {
    width: 320px;               /* control image width */
    height: 350px;              /* control image height */
    object-fit: cover;          /* keeps proportions neat */
    border-radius: 4px;
    margin-right: 20px;         /* space between image and text */
}

.product-info {
    flex: 1;                    /* text takes remaining space */
    text-align: left;           /* keep text aligned left */
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/*sliding door*/
.product-card3 {
    display: flex;              /* side-by-side layout */
    align-items: center;        /* vertical alignment */
    flex-direction: row;        /* default: text left, image right */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.product-card3 img {
    width: 450px;               /* control image width */
    height: 510px;              /* control image height */
    object-fit: cover;          /* keeps proportions neat */
    border-radius: 4px;
    margin-left: 20px;          /* space between text and image */
}

.product-info {
    flex: 1;                    /* text takes remaining space */
    text-align: left;           /* keep text aligned left */
}

.product-info h3 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/*folding doors*/

.product-card4 {
    display: flex;              /* side-by-side layout */
    align-items: center;        /* vertical alignment */
    flex-direction: row;        /* image left, text right */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.product-card4 img {
    width: 520px;               /* control image width */
    height: 420px;              /* control image height */
    object-fit: cover;          /* keeps proportions neat */
    border-radius: 4px;
    margin-right: 20px;         /* space between image and text */
}

.product-info {
    flex: 1;                    /* text takes remaining space */
    text-align: left;           /* keep text aligned left */
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    font-size: 1.6rem;
    color: #555;
    line-height: 1.5;
}

/*shopfront*/
.product-card5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.content {
    margin-bottom: 15px;
}

.image-wrapper img {
    width: 100%;
    max-width: 400px;
    height: 450px;
    display: block;
    margin: 0 auto;
    border-radius: 10px; /* optional nice touch */
}

/*office*/
.product-card.office-partitions {
    display: flex;              /* side-by-side layout */
    align-items: center;        /* vertical alignment */
    flex-direction: row;        /* text left, image right */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.product-card.office-partitions img {
    width: 400px;               /* control image width */
    height: 500px;              /* control image height */
    object-fit: cover;          /* keeps proportions neat */
    border-radius: 4px;
    margin-left: 20px;          /* space between text and image */
}

.product-info {
    flex: 1;                    /* text takes remaining space */
    text-align: left;           /* keep text aligned left */
}

.product-info h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: rgb(2, 85, 9);
}

.product-info p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/*curtain-wall*/

.product-card.curtain-wall {
    width: 1500px;
    margin: 20px auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.image-wrapper {
    position: relative;         /* allows heading to overlay */
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 6px;
}

.overlay-heading {
    position: absolute;
    top: 15px;                  /* distance from top of image */
    left: 50%;
    transform: translateX(-50%);
    color: #fff;                /* white text for contrast */
    font-size: 1.5rem;
    background: rgba(0,0,0,0.5);/* semi-transparent background */
    padding: 6px 12px;
    border-radius: 4px;
}


/*balustrades*/

.product-card6 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-card6 h3{
text-align: center;
font-size: 1.6em;
color: #046317;

}
.product-card6 .image img {
    width: 300px;
    margin-left: 15px;
    margin-right: 15px;
    height: auto;
    object-fit: cover;
    border-radius: 8px; /* optional */
}

.product-card6 .content {
    flex: 1;
}

/*aluminium Frames*/

.product-card7 {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
}

.product-card7 .image img {
    width: 370px;
    height: 400px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 8px; /* optional */
}

.product-card7 h3{
    font-size: 1.6em;
}

/*Aluminium door handle*/

.product-card8 {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
}
.product-card8 P{
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 15px;

}

.product-card8 .image img {
    width: 370px;
    height: 400px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 8px; /* optional */
}

.product-card8 h3{
    font-size: 1.6em;
}

.product-card9 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.product-card9 .content {
    flex: 1;
    text-align: left;
}

.product-card9 .image img {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* optional */
}

/*Barlock*/
.product-card10 {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.product-card10 .image img {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.product-card10 .content {
    flex: 1;
    text-align: left;
}

/*friction stay*/
.product-card11 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.product-card11 .content {
    flex: 1;
    text-align: left;
}

.product-card11 .image img {
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}


/* =========================
   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;
}
/* ==========================================
   MOBILE FIXES - add to bottom of aluminium stylesheet
========================================== */
@media (max-width: 768px) {

  /* Main glass box */
  .glass.box {
    max-width: 100%;
    padding: 15px;
    margin: 15px auto;
  }

  .glass.box p {
    margin-left: 0;
    margin-right: 0;
  }

  /* Curtain wall - was fixed 1500px width */
  .product-card.curtain-wall {
    width: 100%;
    max-width: 100%;
    margin: 15px auto;
  }

  /* product-card (basic centered card) */
  .product-card img {
    width: 100%;
    max-width: 100%;
    height: 260px;
  }

  /* product-card2 (casement - flex row) */
  .product-card2 {
    flex-direction: column;
    gap: 15px;
  }

  .product-card2 img {
    width: 100%;
    max-width: 100%;
    height: 260px;
    margin-right: 0;
  }

  /* product-card3 (sliding door - flex row) */
  .product-card3 {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .product-card3 img {
    width: 100%;
    max-width: 100%;
    height: 260px;
    margin-left: 0;
  }

  /* product-card4 (folding doors - flex row) */
  .product-card4 {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .product-card4 img {
    width: 100%;
    max-width: 100%;
    height: 260px;
    margin-right: 0;
  }

  /* product-card4 text was 1.6rem - too big on mobile */
  .product-card4 .product-info p {
    font-size: 0.95rem;
  }

  /* product-card5 (shopfront) */
  .image-wrapper img {
    max-width: 100%;
    height: 260px;
  }

  /* product-card.office-partitions */
  .product-card.office-partitions {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .product-card.office-partitions img {
    width: 100%;
    max-width: 100%;
    height: 260px;
    margin-left: 0;
  }

  /* product-card6 (balustrades - flex row) */
  .product-card6 {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .product-card6 .image img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* product-card7 (aluminium frames - already column, just fix image) */
  .product-card7 .image img {
    width: 100%;
    max-width: 100%;
    height: 280px;
  }

  /* product-card8 (door handle - already column, just fix image) */
  .product-card8 .image img {
    width: 100%;
    max-width: 100%;
    height: 280px;
  }

  .product-card8 p {
    margin-left: 0;
    margin-right: 0;
  }

  /* product-card9 (flex row) */
  .product-card9 {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .product-card9 .image img {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .product-card9 .content {
    text-align: center;
  }

  /* product-card10 (barlock - flex row) */
  .product-card10 {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .product-card10 .image img {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .product-card10 .content {
    text-align: center;
  }

  /* product-card11 (friction stay - flex row) */
  .product-card11 {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .product-card11 .image img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .product-card11 .content {
    text-align: center;
  }
}

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;
    }
}

