* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* Navbar */
.navbar {
    background-color: #e0f3f2; /* light background */
	color: #284274;            /* dark text/icon color */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    flex-wrap: wrap;
}

.logo img {
  height: auto;
  max-height: 70px;
  width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #284274;
    text-decoration: none;
    font-weight: bold;
}

.social-icons a {
    color: #5db2ae;
    margin-left: 15px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: url('../images/cleaning.jpg') no-repeat center center/cover;
    height: 400px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text h1 {
    font-size: 3em;
    color: #ffffff;
    text-shadow: 2px 2px 5px #000;
}

.hero-text p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* About Section */
.about, .why-us {
    padding: 50px 30px;
    background-color: white;
    text-align: center;
}

.about h2, .why-us h2 {
    color: #284274;
    margin-bottom: 20px;
}

.container {
    max-width: 1000px;
    margin: auto;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.feature-box {
    width: 250px;
    padding: 20px;
    background-color: #e8f7f6;
    border-radius: 8px;
    margin: 10px;
    text-align: center;
}

.feature-box i {
    font-size: 30px;
    color: #5db2ae;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #284274;
    color: white;
    padding: 40px 30px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-content div {
    width: 250px;
    margin: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #5db2ae;
    padding-top: 10px;
    font-size: 0.9em;
    color: #ccc;
}

/* Testimonials */
.testimonials {
  background-color: #f0f8f8;
  padding: 60px 30px;
  text-align: center;
}

.testimonials h2 {
  color: #284274;
  margin-bottom: 30px;
  font-size: 2em;
}

.testimonial-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
}

.testimonial-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.testimonial-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #5db2ae;
  border-radius: 4px;
}

.testimonial-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 10px 0;
  white-space: nowrap;
}

.testimonial {
  flex: 0 0 auto;
  width: 300px;
  background-color: white;
  border-left: 4px solid #5db2ae;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  white-space: normal;
}

.testimonial p {
  font-style: italic;
}

.testimonial h4 {
  margin-top: 10px;
  font-weight: bold;
  color: #284274;
}

/* Testimonial Logos */
.client-logo {
  max-width: 80px;
  max-height: 50px;
  display: block;
  margin: 0 auto 10px;
  object-fit: contain;
}




/* Services Hero */
.services-hero {
  background: url('../images/services-hero.jpg') no-repeat center/cover;
  color: white;
  height: 300px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}
.services-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(40,66,116,0.5);
}
.services-hero .hero-text {
  position: relative;
  width: 100%;
}
.services-hero h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
}
.services-hero p {
  font-size: 1.2em;
}

/* Services List */
.services-list {
  padding: 60px 30px;
  background-color: #f9f9f9;
  text-align: center;
}
.services-list .container {
  max-width: 1000px;
  margin: auto;
}
.service {
  background-color: white;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  display: flex;
  align-items: start;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.service i {
  font-size: 36px;
  color: #5db2ae;
  flex-shrink: 0;
}
.service h3 {
  font-size: 1.2em;
  color: #284274;
  margin: 0 0 8px;
}
.service p {
  margin: 0;
  color: #555;
  text-align: left;
}


/* Service Section Enhancements */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.feature-box {
  width: 280px;
  padding: 20px;
  background-color: #eaf7f7;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box i {
  font-size: 32px;
  color: #5db2ae;
  margin-bottom: 12px;
}

/* Testimonials Horizontal Scroll */
.testimonial-scroll-wrapper {
  overflow-x: auto;
  padding-bottom: 10px;
}

.testimonial-cards {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  min-width: max-content;
}



.cta {
	background-color: #a2dcd9;
  /* background-color: #f0fafa; */
  color: #284274;
  padding: 40px 20px;
  border-top: 2px solid #5db2ae;
  text-align: center;
}


.cta h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.call-btn {
  background-color: #284274;
  color: #ffffff;
  padding: 12px 25px;
  font-size: 1.2em;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.call-btn:hover {
  background-color: #1d3156;
}

/* service.php call-btn */
.cta-btn {
  display: inline-block;
  background-color: #5db2ae;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background-color: #469b96;
}


@media (max-width: 768px) {
  .features,
  .testimonial-cards,
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .feature-box,
  .testimonial,
  .footer-content div {
    width: 90%;
    margin-bottom: 20px;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-icons {
    margin-top: 10px;
  }

  .hero-text h1 {
    font-size: 2em;
  }

  .hero-text p {
    font-size: 1em;
  }
}

.about-hero {
  background: url('../images/about-hero.webp') no-repeat center center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-color: #eaf7f7; /* fallback background color */
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-hero .hero-text {
  z-index: 2;
  color: #284274;
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.7); /* optional white overlay for readability */
  border-radius: 8px;
}

/* Contact Hero */
/* Contact Hero Section */
.contact-hero {
  background: url('../images/contact-hero.jpg') no-repeat center center/cover;
  height: 300px;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}
.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(40,66,116,0.6);
}
.contact-hero .hero-text {
  position: relative;
  width: 100%;
}
.contact-hero h1 {
  font-size: 2.5em;
}
.contact-hero p {
  font-size: 1.2em;
}

/* Contact Section */
/* Contact Hero */
.contact-hero { background: url('../images/contact-hero.jpg') no-repeat center center/cover; height:300px; position:relative; display:flex; align-items:center; color:white; text-align:center; }
.contact-hero::after { content:''; position:absolute; inset:0; background:rgba(40,66,116,0.6); }
.contact-hero .hero-text { position:relative; width:100%; }
.contact-hero h1 { font-size:2.8em; margin-bottom:10px; }
.contact-hero p { font-size:1.2em; }

/* Contact Form Section */
.contact-section { background:#f9f9f9; padding:60px 20px; }
.contact-section .container { max-width:700px; margin:0 auto; }
.alert { margin-bottom:30px; padding:15px; border-radius:6px; display:flex; align-items:center; gap:10px; }
.alert.success { background:#e6ffed; color:#155724; }
.alert.error { background:#ffe6e6; color:#721c24; }
.alert i { font-size:1.5em; }

/* Form Layout */
.contact-form { display:flex; flex-direction:column; gap:20px; }
.form-row { display:flex; gap:20px; flex-wrap:wrap; }
.form-group { flex:1; display:flex; flex-direction:column; position:relative; }
.form-group.full { flex:2; }
.form-group i { position:absolute; top:38px; left:12px; color:#5db2ae; font-size:1.2em; }
.form-group input, .form-group textarea {
  padding:12px 12px 12px 40px; border:1px solid #ccc; border-radius:6px; font-size:1em;
}
.form-group textarea { min-height:120px; resize:vertical; padding-top:16px; }
.form-group input:focus, .form-group textarea:focus { border-color:#5db2ae; outline:none; }

/* Submit Button */
.btn-primary {
  background:#5db2ae; color:white; padding:14px 0; border:none; font-size:1.1em; font-weight:bold;
  border-radius:6px; cursor:pointer; transition:background 0.3s;
}
.btn-primary i { margin-right:8px; }
.btn-primary:hover { background:#469b96; }

/* Responsive */
@media(max-width:768px) {
  .form-row { flex-direction:column; }
  .form-group i { top:32px; }
}

/* Form Row Flex */
.feedback-form .form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Form Group Widths */
.feedback-form .form-group {
  position: relative;
  width: 48%;
  margin-bottom: 15px;
}

/* Full width form group */
.feedback-form .form-group.full {
  width: 100%;
}

/* Label styles */
.feedback-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
  font-family: 'Roboto', sans-serif;
}

/* Input and textarea styling */
.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form textarea {
  width: 100%;
  padding: 10px 12px 10px 38px; /* left padding for icon */
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  height: 40px;
}

.feedback-form textarea {
  height: 100px;
  resize: vertical;
  padding-top: 12px;
}

/* Input focus */
.feedback-form input[type="text"]:focus,
.feedback-form input[type="email"]:focus,
.feedback-form textarea:focus {
  border-color: #d35400;
}

/* Icon inside input */
.feedback-form .form-group i {
  position: absolute;
  top: 36px;
  left: 12px;
  color: #d35400;
  font-size: 1.2rem;
  pointer-events: none;
}

/* Rating group special width for stars */
.feedback-form .rating-group {
  width: 48%;
}

/* Rating stars container */
.rating-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 8px;
}

/* Hide radio inputs */
.rating-stars input[type="radio"] {
  display: none;
}

/* Star labels styling */
.rating-stars label {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Star hover & checked color */
.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input[type="radio"]:checked ~ label {
  color: #d35400;
}

/* Checked star */
.rating-stars input[type="radio"]:checked + label {
  color: #d35400;
}

/* Button styling */
.btn-primary {
  background-color: #d35400;
  color: white;
  padding: 12px 25px;
  font-size: 1.1rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #e67e22;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .feedback-form .form-group,
  .feedback-form .rating-group {
    width: 100%;
  }

  .feedback-form .form-row {
    flex-direction: column;
  }
}


.rating-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.rating-stars input[type="radio"] {
  display: none; /* Hide the actual radio buttons */
}

.rating-stars label {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input[type="radio"]:checked ~ label {
  color: #d35400;
}

.rating-stars input[type="radio"]:checked + label {
  color: #d35400;
}


/* Style the select dropdown like inputs */
.feedback-form select {
  width: 100%;
  padding: 10px 12px 10px 38px; /* left padding for icon */
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  height: 40px;
  appearance: none; /* removes default arrow for most browsers */
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23d35400"><polygon points="0,0 16,0 8,8"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
}

/* Select focus */
.feedback-form select:focus {
  border-color: #d35400;
}

/* Icon inside select */
.feedback-form .rating-group i {
  position: absolute;
  top: 36px;
  left: 12px;
  color: #d35400;
  font-size: 1.2rem;
  pointer-events: none;
}
