/* Main card container */
.main-card {
    display: flex;
    align-items: center;        /* vertically center slider + text */
    justify-content: center;    /* horizontally center them */
    gap: 40px;                  /* space between image and text */
    margin: 40px auto;          /* centers the whole card */
    padding: 25px;
    max-width: 1200px;          /* keeps layout balanced */
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Slider block */
.slider1 {
    position: relative;
    width: 400px;
    height: 550px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
    margin: 0 auto;             /* centers slider inside card */
    box-shadow: 0 6px 18px rgb(255, 255, 255);
    background-color: #f7f1f1;

    display: flex;
    align-items: center;        /* centers image vertically */
    justify-content: center;    /* centers image horizontally */
}
h1{ font-size: 2.5rem;        /* Sets the text size (1rem = base font size, usually 16px) */
  font-weight: bolder;        /* Makes the text bold */
  color: #068133;           /* Dark bluish-gray text color */
  text-align: center;       /* Centers the heading horizontally */
  margin-top: 20px;         /* Adds space above the heading */
  margin-bottom: 25px;      /* Adds space below the heading */
  padding-bottom: 15px;      /* Creates space between text and underline */
  letter-spacing: 1px;      /* Slightly spaces out the letters */
}





/* Slides */
.slide1 {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
.slide1.active {
    opacity: 1;
}
.slide1 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;        /* keeps full image visible */
    border-radius: 12px;
    display: block;
    margin: auto;
}
 /* Slider2 container */

 
.slider2 {
    position: relative;
    width: 400px;
    height: 500px;
    margin: 40px auto;          /* centers horizontally */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(244, 243, 243, 0.948);
    background-color: #ffffff;

    display: flex;
    align-items: center;        /* centers images vertically */
    justify-content: center;    /* centers images horizontally */
}


.slide2 {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
.slide2.active {
    opacity: 1;
}

.slide2 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;        /* keeps full image visible */
    border-radius: 12px;
    display: block;
    margin: auto;
}

.text-content {
  max-width: auto;        /* Prevents text from stretching too wide */
  margin-left: 35px;
  margin-right: 35px;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;      /* Centers the heading and paragraph text */
  padding: 20px;           /* Adds breathing room inside the block */
}

.text-content h3 {
margin-top: 5px;
    font-size: 24px;         /* Clear, bold heading size */
  color: #101010;          /* Dark bluish-gray for contrast */
}

.text-content p {
  margin: 0;               /* Removes extra space below paragraph */
  line-height: 1.6;        /* Comfortable line spacing */
  font-size: 1rem;         /* Standard readable size */
  color: #555;             /* Softer gray for body text */
}



/* Residential card container */
.residential-card {
  display: flex;
  flex-direction: row-reverse; /* Flips order: image goes right, text left */
  align-items: flex-start;
  gap: 40px;
  margin-left: 20px;
  margin-right: 20px;
}

.residential-card img {
  width: 400px;
  padding: 20px;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.residential-card div {
  flex: 1;
}


/* Headings and text */
.residential-card h3 {
    margin-bottom: 20px;
    margin: 0 0 12px;
    font-size: 22px;
    color: #333;
}
.residential-card p {
    margin: 0;
    word-spacing: 3px;
    line-height: 1.6;
    font-size: 1rem;
    color: #555;
}

/* Commercial card container */
.commercial-card {
    display: flex;
    align-items: flex-start;        /* vertically center image + text */
    gap: 30px;                  /* space between image and text */
   
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Image styling */
.commercial-card img {
    width: 420px;               /* fixed width for balance */
    height: 500px;               /* keeps aspect ratio */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;             /* prevents image from shrinking */
}

/* Text block */
.commercial-card div {
    flex: 1;
    text-align: left;
}

/* Headings and text */
.commercial-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #333;
}
.commercial-card p {
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
    color: #555;
}

/* Interior card container */
.photo-row {
    display: flex;
    gap: 10px;
}

.photo-row img {
    width: calc(20% - 8px);
    height: 280px;
    object-fit: cover;
}

.text-content1 {
  max-width:1000px;        /* Keeps text contained but not too narrow */
  margin: 40px auto;       /* Equal space above and below, centered horizontally */
  padding: 20px;           /* Equal spacing inside on all sides */
  background-color: #fff;  /* Clean background */
  border-radius: 6px;      /* Subtle rounded corners */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Professional soft shadow */
  text-align: left;        /* Flow text left-to-right */
}

.text-content1 h3 {
  margin-bottom: 15px;     /* Space below heading */
  font-size: 24px;         /* Clear heading size */
  font-weight: 600;        /* Strong emphasis */
  color: #2c3e50;          /* Dark bluish-gray for contrast */
}

.text-content1 p {
  line-height: 1.6;        /* Comfortable spacing */
  font-size: 1rem;         /* Standard readable size */
  color: #444;             /* Softer gray for body text */
  margin: 0;               /* Remove default margins */
}


.text-content {
  margin: 0 auto;          /* Centers the block horizontally */
  text-align: center;      /* Centers heading and paragraph */
  padding: 20px;           /* Adds breathing room */
}

.text-content h3 {
  margin-bottom: 15px;     /* Space below heading */
  font-size: 24px;         /* Clear heading size */
  color: #048027;          /* Dark bluish-gray for contrast */
}

.text-content p {
  line-height: 1.6;        /* Comfortable spacing */
  font-size: 1rem;         /* Standard readable size */
  color: #000000;             /* Softer gray for body text */
}
 


/* Design Grid */
.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.design-card {
    background: #fff;
    border-radius: 15px;
    padding: 50px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.design-card:hover {
    transform: translateY(-8px);
}

.design-card img {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    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;
    }
}


h2 {
    margin-bottom: 12px;   /* smaller space below heading */
    font-size: 1.6rem;
    color: #010101;
}

ul {
    list-style: none;      /* removes bullets */
    padding: 0;            /* no extra indent */
    margin: 0;             /* no extra spacing around list */
}

ul li {
    margin-bottom: 8px;    /* light spacing between items */
    line-height: 1.4;      /* keeps text readable but compact */
}




body {
    font-family: 'Comfortaa', sans-serif;
}


/* =========================
   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 this stylesheet
========================================== */
@media (max-width: 768px) {

  h1 {
    font-size: 1.8rem;
  }

  /* Main card (slider1 + text) */
  .main-card {
    flex-direction: column;
    gap: 15px;
    margin: 20px auto;
    padding: 15px;
  }

  .slider1,
  .slider2 {
    width: 100%;
    max-width: 320px;
    height: 380px;
    margin: 0 auto;
  }

  .text-content {
    margin: 0;
    padding: 10px;
  }

  /* Residential card */
  .residential-card {
    flex-direction: column;
    gap: 15px;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  .residential-card img {
    width: 100%;
    max-width: 320px;
    height: 280px;
    padding: 0;
    margin: 0 auto;
  }

  /* Commercial card */
  .commercial-card {
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    text-align: center;
  }

  .commercial-card img {
    width: 100%;
    max-width: 320px;
    height: 280px;
    margin: 0 auto;
  }

  .commercial-card div {
    text-align: left;
  }

  /* Photo row: stop forcing 5-across, wrap into a grid instead */
  .photo-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .photo-row img {
    width: calc(50% - 5px);
    height: 160px;
  }

  /* Text content blocks */
  .text-content1 {
    margin: 20px auto;
    padding: 15px;
  }

  /* Design cards */
  .design-card {
    padding: 20px;
  }

  .design-card img {
    height: 220px;
  }
}

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;
    }
}


