:root {
  --primary: #0f6d45;
  --primary-dark: #08442b;
  --accent: #f2b705;
  --bg: #f8faf9;
  --text: #1c2429;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(8, 68, 43, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.site-header {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 0.8rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.1rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.brand-text small {
  font-size: 0.8rem;
  opacity: 0.92;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #172026;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(242, 183, 5, 0.35);
}

.section {
  padding: 4.2rem 0;
}

.section-alt {
  background: #eef5f1;
}

.slider-section {
  padding-top: 2rem;
  padding-bottom: 0;
}

.slider-section .section-intro {
  width: min(1100px, 92%);
  margin: 0 auto 1.2rem;
}

.section h2 {
  text-align: center;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--primary-dark);
  margin-bottom: 0.7rem;
}

.section-intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 2rem;
  color: #3a474f;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 109, 69, 0.12);
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.card h3 {
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slider.fullwidth {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.slides {
  position: relative;
  min-height: 420px;
  background: linear-gradient(120deg, #d9e7df, #c6d9ce);
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-dark);
  font-size: 1rem;
  cursor: pointer;
}

.slider-btn.prev {
  right: 14px;
}

.slider-btn.next {
  left: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.contact-item {
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.contact-item i {
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.contact-item h3 {
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
}

.footer {
  background: #0d3b27;
  color: #d6e2dc;
  text-align: center;
  padding: 1rem 0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .site-header {
    position: static;
  }

  .header-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .slides {
    min-height: 280px;
  }
}
