/* ========== Desktop Navigation ========== */
.main-nav {
  gap: 0 !important;
}

.main-nav > a,
.main-nav .dropdown-toggle-nav {
  color: #fff;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 15px;
  transition: color 0.3s ease;
  cursor: pointer;
  border: none;
  background: none;
}

.main-nav > a:hover,
.main-nav .dropdown-toggle-nav:hover {
  color: #a0dd43;
}

.main-nav > a.active-nav {
  color: #a0dd43;
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle-nav .fa-chevron-down {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .fa-chevron-down {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #1a3e28;
  border-radius: 12px;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  color: #fff;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(160, 221, 67, 0.15);
  color: #a0dd43;
  padding-left: 25px;
}

/* ========== Fullscreen Menu Submenu ========== */
.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.submenu-arrow {
  font-size: 0.6em;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.has-submenu.open .submenu-arrow {
  transform: rotate(180deg);
}

.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 25px;
  margin-top: 5px;
}

.has-submenu.open .submenu {
  max-height: 500px;
}

.submenu li a {
  font-size: 0.75em !important;
  line-height: 1.6 !important;
  opacity: 0.85;
  letter-spacing: 1px;
}

.submenu li a:hover {
  opacity: 1;
}

/* ========== Page Hero (inner pages) ========== */
.page-hero-content {
  padding: 60px 0 80px;
}

.page-hero-content h1 {
  margin-bottom: 20px;
}

.page-hero-content h2 {
  font-weight: 500;
  font-size: 22px;
}

/* ========== Content Images ========== */

/* ========== Floating Emergency Button ========== */
.floating-emergency {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  background: #0a863a;
  color: #fff;
  font-family: Poppins;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}
.floating-emergency:hover {
  background: #0b9b44;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10, 134, 58, 0.5);
  color: #fff;
}
.floating-emergency i {
  font-size: 18px;
}

/* ========== About Page ========== */
.about-values .value-card {
  padding: 30px;
  border-radius: 20px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  height: 100%;
}

.about-values .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-values .value-card .fa {
  font-size: 40px;
  color: #0a863a;
  margin-bottom: 15px;
}

/* ========== Gallery Page ========== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #e9ecef;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  padding: 20px 15px 15px;
  font-family: Poppins;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 16px 16px;
}

/* ========== Contact Page ========== */
.contact-info-card {
  padding: 30px;
  border-radius: 20px;
  background: #1a3e28;
  color: #fff;
  height: 100%;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(26, 62, 40, 0.3);
}

.contact-info-card .fa {
  font-size: 30px;
  color: #a0dd43;
  margin-bottom: 15px;
}

.contact-info-card h4 {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-info-card p {
  color: rgba(255, 255, 255, 0.8);
  font-family: Poppins;
  font-size: 16px;
  margin: 0;
}

.contact-form-section {
  background: #f8f9fa;
  border-radius: 30px;
  padding: 50px 40px;
}

.contact-form-section label {
  color: #1e1e1e;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-form-section input,
.contact-form-section textarea,
.contact-form-section select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px 15px;
  font-family: Poppins;
  font-size: 14px;
  width: 100%;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
  background: #fff;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus,
.contact-form-section select:focus {
  outline: none;
  border-color: #0a863a;
}

/* ========== Service Detail Sections ========== */
.service-list li {
  color: #1e1e1e;
  font-family: Poppins;
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
  list-style: none;
  padding-left: 30px;
  position: relative;
}

.service-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro";
  font-weight: 900;
  color: #0a863a;
  position: absolute;
  left: 0;
  top: 0;
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: #0a863a;
  border-radius: 30px;
  padding: 50px;
  text-align: center;
  transition: all 0.3s ease;
}

.cta-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(10, 134, 58, 0.3);
}

.cta-banner h3 {
  color: #fff;
}

.cta-banner h4 {
  color: rgba(255, 255, 255, 0.9);
}

/* ========== Responsive adjustments ========== */
@media (max-width: 1600px) {
  .main-nav > a,
  .main-nav .dropdown-toggle-nav {
    font-size: 12px;
    padding: 8px 10px;
  }

  .nav-dropdown-menu a {
    font-size: 12px;
  }

  .service-list li {
    font-size: 15px;
  }

  .contact-info-card h4 {
    font-size: 17px;
  }

  .contact-info-card p {
    font-size: 14px;
  }
}

@media (max-width: 1600px) {
  .rightMenu ul li a {
    font-size: 24px !important;
  }
}

@media (max-width: 1200px) {
  .main-nav > a,
  .main-nav .dropdown-toggle-nav {
    font-size: 11px;
    padding: 8px 8px;
  }

  .service-list li {
    font-size: 14px;
  }
  .rightMenu ul li a {
    font-size: 22px !important;
  }

  /* Header adjustments */
  .hero .phone {
    font-size: 12px;
  }
  .hero .phone span {
    font-size: 15px;
  }
  .hero .phone .fa {
    height: 44px;
    width: 44px;
    font-size: 20px;
  }
  .hero .burger {
    height: 44px;
    width: 44px;
  }
  .hero .burger-label {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .rightMenu ul li a {
    font-size: 20px !important;
    display: inline-block;
    padding: 8px 0;
  }
  .rightMenu {
    padding: 100px 40px !important;
  }
  .submenu {
    padding-left: 20px;
  }

  /* Header adjustments */
  .hero .phone {
    font-size: 11px;
  }
  .hero .phone span {
    font-size: 13px;
  }
  .hero .phone .fa {
    height: 44px;
    width: 44px;
    font-size: 18px;
  }
  .hero .burger {
    height: 48px;
    width: 48px;
  }
  .hero .burger-label {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .rightMenu ul li a {
    font-size: 18px !important;
    display: inline-block;
    padding: 10px 0;
  }
  .rightMenu {
    padding: 80px 25px !important;
  }
  .cross {
    top: 25px !important;
    right: 25px !important;
  }

  /* Header adjustments */
  .hero .navbar {
    padding: 12px 20px !important;
    min-height: 84px;
  }
  .hero { position: relative; }
  .logo {
    position: absolute !important;
    top: 50% !important;
    left: 20px !important;
    transform: translateY(-50%) !important;
    height: 72px !important;
    width: auto !important;
    margin-left: 0 !important;
    z-index: 10;
  }
  .hero .navbar { position: relative; }
  .hero .burger {
    height: 54px;
    width: 54px;
  }
  .hero .burgericon {
    font-size: 14px;
    margin-right: 6px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Floating emergency button */
  .floating-emergency {
    bottom: 20px;
    right: 20px;
    padding: 12px 18px;
    font-size: 13px;
  }
}
