/* ========== Base Styling ========== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* ========== Responsive Utility ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ========== Navbar ========== */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-img {
  height: 120px;            /* taller logo */
  max-width: 330px;        /* longer logo */
  display: block;
  margin: 8px 0;
  object-fit: contain;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* ========== Hero Slider ========== */
.hero-slider {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  position: absolute;
  bottom: 10%;
  left: 5%;
  right: 5%;
  max-width: 600px;
  color: white;
  z-index: 2;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.75);
}

.slide-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.slide-content .btn {
  background: #0072ff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

/* ========== Sections ========== */
.section {
  padding: 60px 20px;
}

.section.light {
  background: #f9f9f9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.service-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

/* ========== Form ========== */
input,
textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* ========== Footer ========== */
.footer {
  text-align: center;
  background: #f1f1f1;
  padding: 20px;
  font-size: 0.9rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.about-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 400px;
}

.about-details {
  background-color: #ffffff;
  padding: 60px 20px;
}

.about-details h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-details p,
.about-details ul li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-details ul {
  padding-left: 20px;
}

/* Language Switcher Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  list-style: none;
  padding: 0;
  display: none;
  min-width: 120px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lang-menu li a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.lang-menu li a:hover {
  background-color: #f2f2f2;
}

.lang-dropdown:hover .lang-menu {
  display: block;
}

/* ========== Responsive Fixes ========== */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
  }
  .slide-content {
    left: 5%;
    right: 5%;
    bottom: 15%;
  }
  .slide-content h2 {
    font-size: 1.75rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
  .slider-btn {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
  .about-details h2 {
    font-size: 1.75rem;
  }
  .about-details p,
  .about-details ul li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 48px;
  }
  .slide-content h2 {
    font-size: 1.5rem;
  }
  .slide-content p {
    font-size: 0.95rem;
  }
  .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}


.contact-info-bar {
  background-color: #e6f4ea; /* soft green background */
  border-top: 6px solid #007f3e;
  padding: 40px 0;
  color: #1b1b1b;
}

.contact-grid {
  display: flex;
  justify-content: center; /* Center the two items */
  gap: 80px; /* Space between them */
  flex-wrap: wrap;
  text-align: center;
}


.contact-item {
  flex: 1 1 250px;
  margin-bottom: 20px;
}

.contact-item img {
  height: 30px;
  margin-bottom: 10px;
}

.contact-item .label {
  font-weight: bold;
  color: #007f3e;
  margin-bottom: 5px;
}

.contact-item a {
  color: #e0a800;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.about-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  overflow: hidden;
  margin-top: 0; /* remove space between navbar and image */
}


.about-banner-img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}



@media (max-width: 768px) {
  .about-banner {
    height: 250px; /* reduce height for better visibility on mobile */
  }

  .about-banner img {
    object-position: center center; /* center better for smaller screens */
  }
}

@media (max-width: 480px) {
  .about-banner {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .about-banner {
    margin-top: 100px;
  }

  .about-banner-img {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .about-banner-img {
    max-height: 240px;
  }
}



.contact-item img {
  height: 40px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 2px #000); /* adds contrast to light icons */
}


.contact-item img:hover {
  transform: scale(1.3);
}

