:root {
  --gold: #1f8db8;
  --gold-dark: #166b8c;
  --bg: #f4f9ff;
  --card: #ffffff;
  --text: #163247;
  --muted: #5f7588;
  --glass: rgba(255, 255, 255, 0.82);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Cairo", "Tahoma", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #dff1ff 0%, #eef7ff 45%, #f8fbff 100%);
  line-height: 1.8;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 80vh;
  background-image: url("22.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(31, 141, 184, 0.22);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 55, 82, 0.2) 0%,
    rgba(12, 55, 82, 0.35) 65%,
    rgba(12, 55, 82, 0.45) 100%
  );
}

.navbar,
.hero-content {
  position: relative;
  z-index: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  margin-top: 1rem;
  border-radius: 18px;
  backdrop-filter: blur(6px);
  background: var(--glass);
  border: 1px solid rgba(31, 141, 184, 0.24);
  gap: 1rem;
  box-shadow: 0 10px 24px rgba(19, 67, 96, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.35rem;
  border: 1px solid rgba(31, 141, 184, 0.4);
  box-shadow: 0 8px 20px rgba(22, 71, 101, 0.16);
}

.brand h1 {
  color: var(--gold);
  font-size: 1.75rem;
  font-weight: 800;
}

.brand p {
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #2ca6d4, #1f8db8);
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(24, 131, 168, 0.28);
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 26px rgba(24, 131, 168, 0.36);
}

.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  font-size: 1.45rem;
  color: #174766;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(31, 141, 184, 0.35);
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: #194761;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  margin-right: 0.4rem;
}

.hero-content {
  padding: 4.5rem 1.4rem 3.2rem;
  max-width: 700px;
  margin-top: 2.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(31, 141, 184, 0.22);
  backdrop-filter: blur(7px);
  box-shadow: 0 16px 30px rgba(25, 71, 97, 0.16);
}

.hero-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  margin-bottom: 0.9rem;
  line-height: 1.55;
}

.hero-content p {
  color: #33566f;
}

.section {
  padding: 3rem 0;
}

.section h3 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.7rem;
  font-weight: 800;
  position: relative;
  width: fit-content;
}

.section h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 65%;
  height: 3px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(31, 141, 184, 0), rgba(31, 141, 184, 0.95));
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(31, 141, 184, 0.2);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 10px 24px rgba(19, 67, 96, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 141, 184, 0.52);
}

.card h4 {
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(31, 141, 184, 0.27);
  box-shadow: 0 10px 24px rgba(19, 67, 96, 0.14);
  transition: transform 0.3s ease;
}

.slideshow {
  position: relative;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(31, 141, 184, 0.28);
  box-shadow: 0 12px 26px rgba(19, 67, 96, 0.16);
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.gallery img:hover {
  transform: scale(1.02);
}

.footer {
  margin-top: 2rem;
  background: linear-gradient(180deg, #f0f8ff, #e8f2fd);
  border-top: 1px solid rgba(31, 141, 184, 0.24);
  padding-top: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.footer h4 {
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-size: 1.08rem;
}

.footer p,
.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  color: #628196;
  border-top: 1px solid rgba(31, 141, 184, 0.18);
  padding: 0.8rem 0 1rem;
}

@media (max-width: 850px) {
  .vision-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 240px;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(31, 141, 184, 0.2);
  }

  .nav-links a {
    display: block;
    padding: 0.65rem 0.6rem;
    border-radius: 10px;
    background: rgba(224, 240, 253, 0.9);
  }

  .menu-toggle:checked + .menu-btn + .nav-links {
    display: flex;
  }

  .nav-cta {
    margin-right: 0;
    text-align: center;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    margin-top: 1rem;
    padding: 2rem 1rem;
  }

  .slideshow {
    height: 250px;
  }
}
