/* ===== Base ===== */
:root{
  --notch: 22%;            /* triangle depth as % of hero height */
  --gold: #d4af37;
  --green: #093411;
}
html, body { margin: 0; padding: 0; }
body {
  font-family: sans-serif;        /* global font */
  direction: rtl;
  background: #fff; color: #000;
}
img { max-width: 100%; height: auto; display: block; }

/* ===== Green Triangle Header (Hero) ===== */
.green-triangle-section {
  width: 100%;
  min-height: clamp(360px, 62vh, 720px);
  background-image: url('imj/5.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--notch)),
    50% 100%,
    0 calc(100% - var(--notch))
  );
}

/* Navbar */
.navbar { margin-top: 20px; }
.navbar ul {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.navbar ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}
.navbar ul li a:hover,
.navbar ul li a.active { color: var(--gold); }
.navbar ul li a.active::after {
  content: "";
  display: block;
  margin-top: 4px;
  height: 3px;
  background-color: var(--gold);
  width: 100%;
  border-radius: 2px;
}

/* Logo */
.logo-container { margin-top: 30px; }
.logo-container img { width: 140px; height: auto; }

/* ===== Vision Section ===== */
.vision-section { padding: 40px 20px; background-color: #fff; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 10px; }
.section-line {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-bottom: 40px;
}
.section-line .dot { width: 10px; height: 10px; background-color: currentColor; border-radius: 50%; }
.section-line .line { width: 60px; height: 4px; background-color: currentColor; border-radius: 2px; }
.gold { color: var(--gold); }

/* Default grid: image | text */
.vision-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Image block (no border) */
.vision-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  border: none;
  box-shadow: none;
  background: transparent;
}
.vision-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none; background: none; padding: 0;
}

/* Text */
.vision-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #222;
  text-align: right;
}

/* ===== Mission Section ===== */
.mission-section {
  background-color: var(--green);
  padding: 20px 20px;
  text-align: center;
}
.mission-section .gold { color: var(--gold); }
.mission-text {
  max-width: 800px;
  margin: 30px auto 0;
  font-size: 1.2rem;
  line-height: 2;
  color: #fff;
  text-align: center;
}

/* ===== Goals Section ===== */
.goals-section { padding: 60px 20px; background-color: #fff; text-align: center; }
.goals-container {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 40px;
}
.goal { max-width: 230px; flex: 1 1 200px; }
.goal img {
  width: 150px; height: 150px; object-fit: contain; background-color: var(--gold);
  border-radius: 50%; padding: 7px; display: block; margin: 0 auto 20px;
}
.goal p { font-size: 1rem; line-height: 1.8; color: #000; }

/* ===== Services Grid ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px; max-width: 1100px; margin: 30px auto 40px;
}
.service-item {
  background: white; border: 1px solid #e2e2e2; padding: 30px 20px; text-align: center;
  border-top: 6px solid var(--gold); transition: transform 0.3s ease;
}
.service-item:hover { transform: translateY(-5px); }
.service-item img { width: 150px; height: 150px; object-fit: contain; margin-bottom: 10px; }
.service-item p { font-size: 16px; margin: 0; font-weight: 500; }

/* ===== Partners ===== */
.partners-section { padding: 70px 20px; background-color: #fff; text-align: center; }
.partners-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 50px; margin-top: 30px;
}
.partner-logo img {
  width: 250px; max-width: 100%; height: auto;
  filter: grayscale(0%); transition: transform 0.3s ease, filter 0.3s ease;
}
.partner-logo img:hover { transform: scale(1.05); filter: grayscale(0%); }




/* ===== Latest News Section ===== */
.news-section {
  background-color: #fbf7ec;
  padding: 70px 20px;
  overflow-x: hidden;
}

.news-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* image wrapper */
.news-image {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

/* green background */
.news-bg {
  position: absolute;
  inset: 12px;
  background-color: var(--green);
  z-index: 1;
}

/* image */
.news-image img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
}

/* text */
.news-text {
  font-size: 1.2rem;
  line-height: 2;
  color: #222;
  text-align: right;
}

/* more link */
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 25px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0b3d2e;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-more:hover {
  color: var(--gold);
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .news-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .news-text {
    text-align: center;
    font-size: 1rem;
  }
}



/* ===== Footer ===== */
.site-footer {
  background-color: var(--green);
  color: var(--gold);
  text-align: center;
  padding: 20px 0;
  font-family: inherit;
}
.footer-icons { margin-bottom: 10px; }
.footer-icons a {
  color: var(--gold); font-size: 11px; margin: 0 3px;
  border: 2px solid var(--gold); padding: 8px; border-radius: 80%;
  display: inline-block; transition: background-color 0.3s ease, color 0.3s ease;
}
.footer-icons a:hover { background-color: var(--gold); color: var(--green); }
.site-footer p { margin: 0; font-size: 16px; }

/* ===== Contact ===== */
.section-title { text-align: center; font-size: 28px; margin-top: 40px; }
.divider { text-align: center; margin: 10px 0 30px; }
.divider span {
  display: inline-block; width: 30px; height: 4px; background-color: var(--gold);
  margin: 0 5px; border-radius: 2px;
}
.divider i { color: var(--gold); }
.contact-info {
  display: flex; justify-content: center; gap: 70px; margin-bottom: 40px; margin-top: 40px;
  flex-wrap: wrap; text-align: center;
}
.contact-info .icon { font-size: 50px; color: var(--gold); margin-bottom: 10px; }
.contact-info h4 { margin: 15px 0 5px; }
.contact-info p {
  margin: 0; font-size: 14px; word-wrap: break-word; white-space: normal; max-width: 300px;
  margin-left: auto; margin-right: auto;
}
.contact-body {
  display: flex; justify-content: center; gap: 90px; flex-wrap: wrap; padding: 0 20px 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 12px; width: 450px; }
.contact-form input, .contact-form textarea {
  padding: 10px; border-radius: 20px; border: none; background-color: #f1f1f1; text-align: right;
}
.contact-form textarea { resize: none; }
.contact-form button {
  background-color: var(--green); color: white; border: none; padding: 10px 0; border-radius: 20px;
  font-weight: bold; cursor: pointer;
}
.contact-form button:hover { background-color: #0c4720; }
.map-container { width: 100%; max-width: 400px; }

/* ===== Google Translate ===== */
#google_translate_element { font-size: 14px; direction: ltr; }
.goog-te-gadget { color: white; font-weight: bold; }
.goog-te-gadget .goog-te-combo {
  padding: 5px 10px; border-radius: 5px; border: none; font-family: inherit; font-size: 14px;
}

/* ===== Language Dropdown ===== */
.language-dropdown { position: relative; }
.language-dropdown .lang-toggle {
  color: white; text-decoration: none; font-size: 18px; font-weight: bold;
  display: flex; align-items: center; gap: 5px;
}
.language-dropdown .lang-menu {
  position: absolute; top: 100%; right: 0; background-color: var(--green);
  border: 1px solid var(--gold); list-style: none; padding: 0; margin: 10px 0 0; display: none; z-index: 999;
}
.language-dropdown .lang-menu li a {
  display: block; padding: 10px 20px; color: white; text-decoration: none; font-size: 16px;
  transition: background 0.3s ease;
}
.language-dropdown .lang-menu li a:hover { background-color: #0c4720; color: var(--gold); }
.language-dropdown:hover .lang-menu { display: block; }

/* ===== Responsive Tweaks ===== */
@media (max-width: 800px) {
  .vision-content { grid-template-columns: 1fr; } /* image above text */
  .vision-image { margin-bottom: 18px; }
}

/* smaller image on desktop */
@media (min-width: 900px){
  .vision-content{
    grid-template-columns: minmax(240px, 32vw) 1fr; /* image | text */
    column-gap: 28px;
  }
  .vision-image{
    max-inline-size: clamp(260px, 32vw, 420px);
    justify-self: center;
  }
}

@media (max-width: 600px) {
  :root { --notch: 16%; }
  .green-triangle-section { min-height: 56vh; }
  .navbar ul { gap: 18px; }
  .logo-container img { width: 110px; }
  .contact-body { gap: 40px; }
}
@media (min-width: 1200px) {
  :root { --notch: 24%; }
  .green-triangle-section { min-height: 72vh; }
}
