* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #f0f4f8;
  color: #333;
}

/* === Navbar === */
.navbar {
  background-color: #2a9d8f;
  padding: 1rem 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.8rem;
  color: white;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  transition: background 0.3s, color 0.3s;
  border-radius: 5px;
  display: block;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* === Hamburger Menu === */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger-menu .bar {
  width: 30px;
  height: 3px;
  background-color: white;
  border-radius: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px); /* Top bar to diagonal */
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0; /* Middle bar disappears */
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px); /* Bottom bar to diagonal */
}

/* === Close Button === */
.close-btn {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

/* === Dropdown Menu === */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 2.5rem;
  left: 0;
  background-color: white;
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 999;
  animation: fadeIn 0.3s ease-in-out;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  color: #333;
  padding: 0.75rem 1.2rem;
  display: block;
  transition: background 0.3s ease;
  font-weight: 500;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
  color: #2a9d8f;
}

/* === Cart Icon === */
.cart-icon {
  position: relative;
}

.cart-icon a {
  color: white;
  font-size: 1.3rem;
  text-decoration: none;
  display: flex;
  align-items: center;
}

#cart-count {
  display: none;
  background-color: red;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  right: -5px;
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, #a8dadc, #457b9d);
  color: white;
  padding: 7.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(29, 53, 87, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #1d3557;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #16324f;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Laundry Slider === */
.laundry-slider {
  overflow: hidden;
  background-color: #f0f4f8;
  padding: 2rem 0;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: slideLoop 20s linear infinite;
}

.slider-track img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 1rem;
}

.slider-container:hover .slider-track {
  animation-play-state: paused;
}

button {
  background-color: #2a9d8f;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background-color: #21867a;
}

@keyframes slideLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* === Laundry Menu === */
.laundry-menu {
  padding: 4rem 2rem;
  background-color: #ffffff;
  text-align: center;
}

.laundry-menu h2 {
  font-size: 2rem;
  color: #1d3557;
  margin-bottom: 2rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item p {
  padding: 1rem;
  font-weight: 500;
  color: #2a9d8f;
  font-size: 1.1rem;
}

/* === Modal === */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.6); 
}

.modal-content {
  background-color: #ffffff;
  margin: 10% auto; 
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.4s ease;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2a9d8f;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-btn {
  background-color: #2a9d8f;
  color: white;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-btn:hover {
  background-color: #21867a;
}

.modal-btn.express {
  background-color: #e76f51;
}

.modal-btn.express:hover {
  background-color: #d35b3c;
}

.close-button {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

/* === About Section === */
.about-section {
  background-color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
  color: #1d3557;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

/* Gradient effect for a subtle background */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #a8dadc, #457b9d);
  opacity: 0.1;
  z-index: -1;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #2a9d8f;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-section > p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #555;
  line-height: 1.6;
  font-weight: 400;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid layout for items */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* About items */
.about-item {
  background-color: #f9f9f9;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Item icon with animation */
.about-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect on images */
.about-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Heading for about items */
.about-item h3 {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
  color: #2a9d8f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Description for about items */
.about-item p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  font-weight: 400;
}

/* === Contact Section === */
.contact-section {
  background-color: #f9f9f9;
  padding: 5rem 2rem;
  text-align: center;
  color: #1d3557;
  margin-top: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Gradient effect for contact section background */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a9d8f, #457b9d);
  opacity: 0.1;
  z-index: -1;
}

/* Container to center content */
.contact-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Title for contact section */
.contact-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #2a9d8f;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Paragraph under title */
.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #555;
  line-height: 1.6;
  font-weight: 400;
}

/* Form styling */
.contact-form {
  display: grid;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  text-align: left;
}

.form-group label {
  font-size: 1.1rem;
  color: #2a9d8f;
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #2a9d8f;
  outline: none;
}

.submit-btn {
  background-color: #2a9d8f;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #21867a;
}

/* Social media icons */
.social-icons {
  margin-top: 3rem;
}

.social-icon {
  font-size: 2rem;
  margin: 0 1rem;
  color: #2a9d8f;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #457b9d;
}

footer {
  background-color: #1e1e1e;
  padding: 20px 10px;
  text-align: center;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
}

footer > a {
  color: #ff4d4d;
  text-decoration: none;
  margin-left: 8px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* === Media Queries === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 77px;
    right: 0;
    width: 250px;
    background-color: #2a9d8f;
    padding: 7rem 0;
    border-radius: 8px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  /* Hamburger-menu */
  .hamburger-menu {
    display: flex;
  }

  .close-btn.active {
    display: block;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gallery-item img {
    height: auto;
  }

  .laundry-menu {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
  }

  .about-container h2 {
    font-size: 1.8rem;
  }

  .about-container p {
    font-size: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-item {
    padding: 1.5rem;
  }

  .about-item img {
    width: 70px;
    height: 70px;
  }

  .contact-form {
    padding: 0 1rem;
  }

  .contact-section {
    padding: 4rem 2rem;
  }

  .contact-section h2 {
    font-size: 2rem;
  }

  .form-group label {
    font-size: 1rem;
  }

  .form-group input, .form-group textarea {
    font-size: 0.9rem;
  }

  .submit-btn {
    font-size: 1rem;
  }
}