/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
}

/* Header and Navbar */
header {
  background-color: #fff;
  border-bottom: 4px solid #0080ff;
  padding: 10px 20px;
  position: relative;
  z-index: 10;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: #0080ff;
  font-size: 26px;
  font-weight: bold;
}

.logo:hover {
  color: #0000a0;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: #0080ff;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #0080ff;
  font-weight: 500;
  padding: 8px 12px;
}

.nav-links li a:hover {
  background-color: #0080ff;
  color: white;
  border-radius: 6px;
}

/* Responsive Navbar */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: white;
    width: 180px;
    border: 1px solid #0080ff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }
}

/* Carousel Container */
.carousel {
  width: 100%;
  max-height: 80vh; /* optional: prevents images from being too tall */
  overflow: hidden;
  position: relative;
}

/* Slides wrapper */
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Each slide image */
.slide {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  object-fit: cover; /* keeps image ratio and fills */
}

/* ✅ Mobile adjustments */
@media (max-width: 768px) {
  .carousel {
    max-height: 50vh; /* smaller banners for phones */
  }
  .slide {
    object-fit: contain; /* show full image on smaller screens */
  }
}

/* Indicators */
.indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.6;
}

.active-dot {
  opacity: 1;
  background: #007bff; /* highlight active dot */
}

/* Introduction Section */
.introduction {
  padding: 40px 20px;
  background-color: #ffffff;
  text-align: center;
}

.introduction h2 {
  font-size: 28px;
  color: #0080ff;
}

.introduction p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 10px auto;
}

/* Product Sections */
.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.top-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Institutional Care Section */
.institutional-care {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-header h2 {
  color: #0080ff;
  font-size: 32px;
  margin-bottom: 10px;
}

.section-header p {
  color: #555;
  font-size: 18px;
  margin-bottom: 30px;
}

/* Horizontal Scroll Container */
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-behavior: smooth;
  padding: 1rem 0;
}

.scroll-container::-webkit-scrollbar {
  height: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.scroll-container:hover::-webkit-scrollbar-thumb {
  background-color: #0080ff;
}

/* Product Card */
.product-card {
  flex: 0 0 auto;
  width: 250px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-info {
  padding: 15px;
}

.product-info h3 {
  font-size: 18px;
  margin: 10px 0 5px;
  color: #222;
}

.product-info p {
  color: #ff6900;
  font-size: 16px;
  margin-bottom: 10px;
}

.product-info button {
  background-color: #0080ff;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.product-info button:hover {
  background-color: #e55c00;
}




/* Product Highlight Section */
.product-highlight {
  padding: 50px 20px;
  background-color: #fff;
}

.highlight-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.highlight-image {
  flex: 1 1 45%;
  min-width: 280px;
}

.highlight-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.highlight-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.highlight-content h2 {
  font-size: 28px;
  color: #000;
  margin-bottom: 15px;
}

.highlight-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

.highlight-content ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
}

.highlight-content ul li {
  font-size: 16px;
  margin-bottom: 8px;
  color: #222;
}



/* Footer */
.footer {
  background-color: #1c1c1c;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer h3, .footer h4 {
  color: #ff6900;
  margin-bottom: 10px;
}

.footer-about, .footer-links, .footer-contact, .footer-social {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact p, .footer-about p {
  font-size: 14px;
  color: #ccc;
  margin: 5px 0;
}

.social-icons a {
  color: #ccc;
  margin-right: 15px;
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ff6900;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #aaa;
}






.janitorial-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.janitorial-section h2 {
  font-size: 30px;
  color: #222;
  margin-bottom: 30px;
  font-weight: bold;
}

.janitorial-grid {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.janitorial-grid img {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-section {
  padding: 60px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.product-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #222;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}
/* ✅ Mobile View – Grid 2 products per row */
@media (max-width: 768px) {
  .product-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 products per row */
    gap: 15px; /* space between products */
  }

  .product-card {
    width: 100%;          /* let grid handle size */
    font-size: 14px;      /* smaller text for mobile */
  }

  .product-card img {
    width: 100%;          /* make images responsive */
    height: auto;         /* maintain aspect ratio */
  }
}


.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 18px;
  color: #333;
  margin: 0;
}

.about-us {
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
}

.about-us .container {
  max-width: 1200px;
  margin: auto;
}

.about-us h1,
.about-us h2 {
  color: #004080;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-us .intro,
.about-us p {
  font-size: 17px;
  line-height: 1.6;
}

.grid-section .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.vision-list,
.features,
.industries {
  list-style: none;
  padding-left: 0;
  font-size: 16px;
  line-height: 1.8;
}

.contact-cta {
  background: #004080;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-radius: 10px;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #f4f6f8;
  color: #333;
}

.contact-container {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #004080;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-info, .contact-form {
  flex: 1 1 45%;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-info h2, .contact-form h2 {
  color: #004080;
  margin-bottom: 20px;
}

.contact-info p {
  margin: 10px 0;
}

.contact-info a {
  color: #004080;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contact-form button {
  background-color: #004080;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #002b5c;
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
}


.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: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 400px;
  text-align: center;
}
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
.modal-button {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.modal-button.call {
  background-color: #007bff;
}


.a-scroll-section {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 20px;
  scroll-snap-type: x mandatory;
  
}

.a-scroll-item {
  display: flex;
  flex: 0 0 90%;
  scroll-snap-align: start;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.a-scroll-item img {
  width: 40%;
  border-radius: 10px;
  object-fit: contain;
  margin-right: 20px;
}

.a-scroll-text {
  flex: 1;
}

.a-scroll-text h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.a-scroll-text ul {
  padding-left: 20px;
}

.a-scroll-text ul li {
  margin-bottom: 8px;
}


.janitorial-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px 20px;
  align-items: flex-start;
  background-color: #f9f9f9;
}

.janitorial-left {
  flex: 1;
  min-width: 300px;
}

.janitorial-left img {
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.janitorial-right {
  flex: 2;
  min-width: 300px;
}

.janitorial-right h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.janitorial-right h4 {
  margin-top: 20px;
  color: #333;
}

.janitorial-right ul {
  padding-left: 20px;
  margin-top: 5px;
}

.janitorial-right li {
  margin-bottom: 8px;
}
