/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 15px 20px;
  position: relative; /* To position the hamburger menu */
}

header .logo img {
  width: 150px;
  height: auto;
}

header nav {
  display: flex;
  align-items: center;
}

header nav .hamburger {
  display: none; /* Hide by default on larger screens */
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #333;
  outline: none;
  margin-left: auto; /* Push hamburger to the right */
}

header nav ul {
  list-style-type: none;
  display: flex;
}

header nav ul li {
  margin: 0 15px;
}

header nav ul li a {
  color: rgb(26, 26, 26);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #f0a500;
}

/* Banner Slider */
.banner-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
  color: white;
  font-size: 20px;
}

.banner-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 20px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Background images for each slide */
.banner-slider .slide:nth-child(1) {
  background-image: url('images/banner1.jpg');
}

.banner-slider .slide:nth-child(2) {
  background-image: url('images/banner-2.jpg');
}

.banner-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

/* Sections */
.service-group{
  padding: 50px 20px;
  max-width: 100%;
  margin: 20px auto; /* Center the service groups */
}

.group-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 50px;
  text-align: center;
  text-decoration: underline;
}

.service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
  justify-content: space-between;
}

.service.reverse {
  flex-direction: row-reverse;
}

.service .content-left,
.service .content-right {
  flex: 1;
  max-width: 500px;
  margin: 0 20px;
}

.service img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

h3.service-title {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 15px;
}

p {
  font-size: 1rem;
  color: #666;
}

.about-us {
  text-align: center;
  padding: 50px 20px;
  background-color: #f4f4f4;
}

.about-us .content {
  max-width: 100%;
  margin: 0 auto;
}

.about-us h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

/* Contact Us Section */
.contact-us {
  text-align: left;
  background-color: #f4f4f4;
  padding: 50px 20px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-left {
  flex: 1;
  padding-right: 20px;
}

.contact-left h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.contact-left p {
  font-size: 1.1rem;
  color: #666;
}

.contact-right {
  flex: 1;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.5rem;
  color: #f0a500;
  margin-right: 10px;
}

.contact-item p {
  font-size: 1.1rem;
  color: #666;
}

.contact-item a {
  text-decoration: none;
  color: #333;
}

.contact-item a:hover {
  color: #f0a500;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 20px 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 0.95rem;
}

.footer-right .social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 16px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #f0a500;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  header nav {
    justify-content: space-between;
    width: 100%;
  }

  header nav .hamburger {
    display: block;
    margin-left: auto; /* Push to the right */
  }

  header nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Adjust based on header height */
    left: 0;
    background-color: #fff;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }

  header nav ul.open {
    display: flex;
  }

  header nav ul li {
    margin: 15px 20px;
    text-align: center;
  }

  .banner-slider {
    height: auto;
    min-height: 60vh;
  }

  .banner-slider .slide {
    padding: 50px 20px;
  }

  .banner-slider .slide h1 {
    font-size: 1.5rem;
  }

  .service {
    flex-direction: column; /* Stack elements on mobile */
    text-align: left; /* Align text to the left in services */
  }

  .service.reverse {
    flex-direction: column; /* Ensure consistent stacking for reversed blocks */
  }

  .service .content-left,
  .service .content-right {
    max-width: 100%;
    margin: 20px 0;
  }

  .service img {
    margin-bottom: 15px;
  }

  .about-us {
    text-align: left; /* Align text to the left in about us */
    padding: 50px 20px;
  }

  .about-us .content {
    text-align: left; /* Ensure content within about us is also left-aligned */
  }

  .about-us h2 {
    text-align: left; /* Align the heading as well */
  }

  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .contact-left, .contact-right {
    padding: 0;
    margin-bottom: 20px;
  }
  .contact-right {
    align-items: center;
  }
  .contact-item {
    flex-direction: column;
  }
  .contact-item i {
    margin-right: 0;
    margin-bottom: 5px;
  }
}