body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #333;
}

header {
  /*background: #111;*/
  background-color: #333;
  color: #fff;
  padding: 1rem;
  text-align: center;
}
.container{
  background: #ffg;
}
.cont{
  width: 48%;
  float: left;
}
.clearfix{
  clear: both;
  float: none;
}
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.custom-navbar {
  background-color: #333;
}

.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
  color: #fff !important;
}

.custom-navbar .nav-link:hover {
  color: #ffc107 !important; /* Optional: gold on hover */
}

@keyframes moveBackground {
  0%   { background-position: 0 0; }
  100% { background-position: 100% 100%; }
}

#hero {
  background: url('../uploads/kinyozi.jpg') repeat;
  background-size: cover;
  animation: moveBackground 20s linear infinite;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
.gradient-text {
  background: linear-gradient(to right, green, orangered);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#hero h2.gradient-text {
  font-size: 5rem;
  font-weight: bold;
  text-align: center;
  margin: 0;
}
#hero p.gradient-text {
  font-size: 3rem;
  text-align: center;
  margin: 0;
}
.btn {
  background: #e67e22;
  padding: 0.7rem 1.2rem;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

section {
  padding: 2%;
  text-align: center;
}
#services ul{
  list-style: none;
}

.gallery {
  border: 1px solid blue;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.gallery img {
  width: 200px;
  height: auto;
  border-radius: 8px;
}

form input, form button, form select {
  display: block;
  margin: 1% auto;
  padding: 0.5rem;
  width: 80%;
  max-width: 300px;
}


/* css for services*/
.scroll-wrapper {
    position: relative;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    opacity: 0.8;
}

.scroll-btn:hover {
    opacity: 1;
}

.scroll-left {
    left: -20px;
}

.scroll-right {
    right: -20px;
}

.service-container {
    overflow-x: auto;
    display: flex;
    gap: 20px;
    padding: 10px;
    scroll-behavior: smooth;
}

.service-card {
    flex: 0 0 250px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: 0.3s;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f1f1f1;
}

.service-content {
    padding: 15px;
}

.service-content h3 {
    margin: 0;
    font-size: 16px;
}

.service-content p {
    font-size: 14px;
    color: #555;
    margin: 8px 0;
}

.price {
    font-weight: bold;
    color: #007bff;
}
.book-btn {
    display: inline-block;
    margin-top: 10px;
    background: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.book-btn:hover {
    background: #218838;
}

@media (max-width: 600px) {
    .scroll-btn {
        display: none;
    }
}
/*css for services ends here*/


/* css for gallery*/
h2 {
  text-align: center;
  margin-bottom: 30px;
}

.slideshow-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.main-image-wrapper {
    flex: 2;
    text-align: center;
}

.main-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain; /* ✅ ensures full image fits without cropping */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    background: #fff;
}
.side-image {
    flex: 1;
    max-width: 250px;
    text-align: center;
}

.side-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain; /* ✅ fits entire image */
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    background: #fff;
}
.caption {
    margin-top: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.thumbnail-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.thumbnail-grid img {
    width: 100px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
}

.thumbnail-grid img.active {
  opacity: 1;
  outline: 2px solid #007bff;
}

@media (max-width: 768px) {
  .slideshow-container {
      flex-direction: column;
  }
  .main-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain; /* ✅ ensures full image fits without cropping */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    background: #fff;
}
  .side-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain; /* ✅ fits entire image */
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    background: #fff;
}
.cont{
  width: 90%;
  float: left;
}
}
/* css for gallery ends here*/



/* css for the map and contact details*/
#contact {
  padding: 2%;
  background-color: #f0f0f0;
  text-align: center;
}

.contact-details {
  margin-bottom: 1%;
}

.contact-details p, .contact-details a {
  margin: 1% 0;
  font-size: 16px;
  color: #333;
}

.contact-details a {
  text-decoration: none;
  color: #25D366;
}

.map-container iframe {
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
/*css for the footer*/
footer {
  background-color: #222;
  color: black;
  text-align: center;
  padding: 1%;
}

/*Css for floating whatsapp button*/

/* WhatsApp Chat Widget */
#whatsapp-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: sans-serif;
  z-index: 9999;
}

.whatsapp-open-btn {
  background: #25D366;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#chat-box {
  background: white;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 10px;
  width: 250px;
  margin-top: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#chat-box.hidden {
  display: none;
}

#chat-box input,
#chat-box textarea {
  width: 95%;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#chat-box button {
  background: #25D366;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}