:root {
  --bg: #f4f8fc;
  --surface: #ffffff;
  --surface-soft: #eef8f1;
  --text: #1f2937;
  --muted: #5b6470;
  --primary: #009052ec;
  --primary-dark: #006b3d;
  --primary-light: #28a745;
  --primary-soft: #6cffc9;
  --border: rgba(0, 144, 82, 0.14);
  --shadow: 0 20px 60px rgba(0, 144, 82, 0.12);
  --radius: 28px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

html,
body {
  min-height: 100%;
  font-family: "IBM Plex Sans Arabic", sans-serif !important;
  background: linear-gradient(180deg, #f4f8fc, #edf7ef);
  color: var(--text);
}

body {
  padding-top: 75px;
  font-size: 16px;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  background: rgba(0, 143, 76, 0.7);
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  z-index: 1030;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .nav-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 17px;
  padding: 10px 18px;
  margin: 0 8px;
  border-radius: 50px;
  position: relative;
  transition: 0.3s ease;
}

.navbar .nav-link::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: 0;
  left: 0;
  background: #28a745;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navbar .nav-link:hover::before {
  width: 100%;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: #009052ec;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.logo-small {
  width: 80px;
  height: 50px;
  background: #009052ec;
  color: #ffffff;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

.navbar .btn-hotline,
.btn-hotline,
.btn-curved {
  background: linear-gradient(90deg, #28a745, #3cd26e);
  color: #ffffff;
  font-weight: bold;
  border-radius: 50px;
  padding: 16px 45px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.5);
  transition: 0.3s ease;
}

.navbar .btn-hotline:hover,
.btn-hotline:hover,
.btn-curved:hover {
  background: linear-gradient(90deg, #1e7e34, #28a745);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 14px 28px rgba(40, 167, 69, 0.7);
}

header {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
  padding: 70px 20px;
  overflow: hidden;
  background: #000000;
}

.slider-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.slide.active {
  opacity: 0.35;
}

.header-content {
  position: relative;
  z-index: 2;
  width: min(1000px, 100%);
  padding: 42px;
  border-radius: 36px;
  background: rgba(0, 144, 82, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

header h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

header .lead {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.9;
  color: #effff5;
  margin-bottom: 34px;
}

section {
  max-width: 1180px;
  margin: 40px auto;
  padding: 0 18px;
}

#about-container {
  max-width: 1180px;
  margin: 50px auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 24px;
  direction: rtl;
}

#about {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
  text-align: right;
}

#about-sidebar {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  text-align: right;
}

#about h2,
#about-sidebar h2,
#about-sidebar h3 {
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 18px;
}

#about h2 {
  font-size: 2.4rem;
}

#about-sidebar h2 {
  font-size: 2rem;
}

#about-sidebar h3 {
  font-size: 1.4rem;
}

#about p,
#about-sidebar p,
#about-sidebar .small {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 14px;
}

#about-sidebar .hotline {
  text-align: right;
}

#about-sidebar .hotline span.fw-bold {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 900;
}

.map-container {
  width: 100%;
  max-width: 650px;
  height: 280px;
  margin: 24px auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 144, 82, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.values-section {
  max-width: none;
  margin: 0;
  padding: 70px 18px;
  background: linear-gradient(180deg, #f8fffa, #eef8f1);
}

.values-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.value-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.value-box::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  border-radius: 50%;
  bottom: -70px;
  left: -50px;
  opacity: 0.18;
  transition: 0.3s ease;
}

.value-box:hover {
  transform: translateY(-8px);
}

.value-box:hover::before {
  transform: scale(1.4);
}

.value-box h1 {
  font-size: 34px;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 12px;
}

.value-box p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

#services {
  max-width: none;
  margin: 0;
  padding: 75px 18px;
  background: linear-gradient(180deg, #eef8f1, #f8fffa);
  display: grid;
  gap: 28px;
}

#services h1 {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto 10px;
  color: var(--primary);
  font-size: 2.6rem;
  font-weight: 900;
  text-align: right;
}

#services .service-item {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 30px;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

#services .service-item:nth-child(even) {
  grid-template-columns: 1fr 260px;
}

#services .service-item:nth-child(even) img {
  order: 2;
}

#services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(0, 144, 82, 0.18);
}

#services .service-item img {
  width: 260px;
  height: 215px;
  object-fit: cover;
  border-radius: 26px;
  border: 4px solid var(--primary);
  box-shadow: 0 10px 28px rgba(0, 144, 82, 0.25);
  transition: 0.3s ease;
}

#services .service-item:hover img {
  transform: scale(1.04);
}

#services .service-text {
  text-align: right;
  direction: rtl;
}

#services .service-item h3 {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 14px;
}

#services .service-item p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

#testimonials {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 60px 24px;
  box-shadow: var(--shadow);
}

#testimonials h1 {
  text-align: center;
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 40px;
}

#testimonials h1::after {
  content: "";
  display: block;
  width: 85px;
  height: 4px;
  background: var(--primary);
  margin: 14px auto 0;
  border-radius: 10px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(0, 144, 82, 0.1);
  transition: 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 144, 82, 0.16);
}

.testimonial-img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 24px;
  border: 3px solid var(--primary);
  margin-bottom: 12px;
}

.testimonial-card h5 {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.stars {
  color: #ffd700 !important;
  font-size: 1.4rem;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.testimonial-card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
}

#faq {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 55px 24px;
  box-shadow: var(--shadow);
}

#faq h2 {
  color: var(--primary);
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 35px;
}

#faq h2::after {
  content: "";
  display: block;
  width: 85px;
  height: 4px;
  background: var(--primary);
  margin: 14px auto 0;
  border-radius: 10px;
}

.faq-item {
  background: #f8fffa;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 15px;
}

.faq-item h3 {
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 900;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
}

.faq-item h3::after {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 1.5rem;
}

.faq-item.active h3::after {
  content: "-";
}

.faq-item p {
  display: none;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 12px;
}

.faq-item.active p {
  display: block;
}

.accordion-button {
  background: linear-gradient(90deg, #009052ec, #6cffc9);
  color: #006400 !important;
  font-weight: bold;
  border-radius: 14px !important;
  margin-bottom: 6px;
  transition: 0.3s ease;
}

.accordion-button:hover {
  transform: translateY(-2px);
  color: #006400 !important;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #006400 !important;
}

.accordion-body {
  background-color: #f1f7fb;
  color: #000000;
  border-radius: 0 0 14px 14px;
  padding: 15px 20px;
  line-height: 1.7;
}

#contact {
  max-width: 1180px;
  margin: 55px auto;
  padding: 65px 30px;
  background: linear-gradient(135deg, #ffffff, #eef8f1);
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: 0 25px 70px rgba(0, 144, 82, 0.15);
  display: grid;
  gap: 30px;
  text-align: center;
}

#contact h2 {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 10px;
}

#contact h2::after {
  content: "";
  display: block;
  width: 85px;
  height: 4px;
  background: var(--primary);
  margin: 14px auto 0;
  border-radius: 10px;
}

#contact .contact-image {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 32px;
  display: block;
  box-shadow: 0 18px 45px rgba(0, 144, 82, 0.22);
  transition: 0.3s ease;
}

#contact .contact-image:hover {
  transform: scale(1.03);
}

#contact .phone-list,
#contact .landline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

#contact .phone-list li,
#contact .landline-list li {
  min-width: 220px;
  padding: 16px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 2px solid rgba(0, 144, 82, 0.15);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(0, 144, 82, 0.08);
  cursor: pointer;
  transition: 0.3s ease;
}

#contact .phone-list li:hover,
#contact .landline-list li:hover {
  background: linear-gradient(90deg, var(--primary), var(--primary-soft));
  color: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 144, 82, 0.22);
}

.hotline {
  font-size: 16px;
  margin: 8px 0;
  font-weight: bold;
  text-align: center;
}

.floating-btn {
  position: fixed;
  bottom: 25px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 32px;
  z-index: 9999;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.35);
  transition: 0.3s ease;
  cursor: pointer;
  text-decoration-line: none;
}

.floating-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
}

.call-btn {
  left: 20px;
  background: linear-gradient(90deg, #009052ec, #6cffc9);
}

.whatsapp-btn {
  right: 20px;
  background: linear-gradient(90deg, #25d366, #4ce37b);
}

footer {
  background: #009052ec;
  color: #ffffff;
  text-align: center;
  padding: 14px 8px;
  font-size: 14px;
}

.fade {
  opacity: 0;
  transform: translateY(15px);
  transition: 0.6s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  section {
    padding: 0 14px;
  }

  #about-container {
    grid-template-columns: 1fr;
  }

  #services .service-item,
  #services .service-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  #services .service-item:nth-child(even) img {
    order: 0;
  }

  #services .service-item img {
    width: 100%;
    height: 260px;
  }

  header h1 {
    font-size: 2.6rem;
  }

  header .lead {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 75px;
  }

  .navbar {
    padding: 10px 20px;
  }

  .navbar .nav-link {
    font-size: 15px;
    padding: 8px 12px;
    margin: 0 4px;
  }

  .navbar .btn-hotline,
  .btn-hotline,
  .btn-curved {
    padding: 14px 35px;
    font-size: 1rem;
  }

  .header-content {
    padding: 28px 18px;
    border-radius: 28px;
  }

  header h1 {
    font-size: 2rem;
  }

  header .lead {
    font-size: 1rem;
  }

  #about,
  #about-sidebar,
  #testimonials,
  #faq,
  #contact {
    padding: 35px 18px;
  }

  #about h2,
  #services h1,
  #testimonials h1,
  #faq h2,
  #contact h2 {
    font-size: 1.8rem;
  }

  #services .service-item {
    padding: 18px;
    border-radius: 24px;
  }

  #services .service-item img {
    height: 220px;
    border-radius: 20px;
  }

  #services .service-text {
    text-align: center;
  }

  #services .service-item h3 {
    font-size: 1.5rem;
  }

  #services .service-item p {
    font-size: 0.98rem;
  }

  #contact .phone-list li,
  #contact .landline-list li {
    min-width: 180px;
  }

  .floating-btn {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  header {
    padding: 50px 12px;
  }

  header h1 {
    font-size: 1.65rem;
  }

  header .lead {
    font-size: 0.92rem;
  }

  section {
    margin: 25px auto;
    padding: 0 10px;
  }

  #about-container {
    padding: 0 10px;
  }

  #about,
  #about-sidebar,
  #testimonials,
  #faq,
  #contact {
    border-radius: 22px;
    padding: 28px 14px;
  }

  #services,
  .values-section {
    padding: 45px 10px;
  }

  #services .service-item img {
    height: 190px;
  }

  #contact .phone-list li,
  #contact .landline-list li {
    width: 100%;
  }

  .floating-btn {
    width: 56px;
    height: 56px;
    font-size: 25px;
  }
}