*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal: #2d7a85;
  --red: #8b0c00;
  --dark-navy: #1a2233;
  --light-bg: #eef1f4;
  --card-bg: #dce4ec;
  --text: #1a1a1a;
  --muted: #555;
  --white: #ffffff;
  --radius: 12px;
  --yellow: #bd9d00;
}

body {
  font-family:
    Noto Sans Arabic,
    "DM Sans";

  color: var(--text);
  overflow-x: hidden;
  padding: 100px 0 0 0;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 5px 50px 0px 50px;
  transition:
    all 0.45s ease,
    background-color 0.45s ease,
    backdrop-filter 0.45s ease;

  background: rgba(253, 249, 245, 1);

  border-bottom: 1px solid transparent;
}

/* LOGO */
.logo {
  width: 100px;
  height: 100px;
  transition:
    all 0.45s ease,
    opacity 0.35s ease,
    transform 0.45s ease;
}
.nav-container a.logo-link {
  display: block;
  padding: 0;
  margin: 0;
  line-height: 1;
}
.logo-link {
  display: block;
  line-height: 1;
}

.logo-link:focus {
  outline: none;
}

/* ─────────────────────────
   SCROLLED STATE
───────────────────────── */

.nav-scrolled .nav-container {
  padding: 10px 40px;
  background: rgba(253, 249, 245, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
/* LOGO HIDES */
.nav-scrolled .logo {
  width: 55px;
  height: 55px;
  opacity: 0;
  transform: translateY(-10px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

/* BUTTONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-actions a {
  text-decoration: none;
  font-size: 0.7rem;
  transition: all 0.3s ease;
}
.nav-actions .btn-red {
  color: var(--white);
  padding: 0px 10px;
}

.btn-ghost-donate {
  background: none;
  border: 1px solid rgb(123, 0, 0, 0.3);
  color: var(--red);
  padding: 0px 10px;
  border-radius: 20px;
  cursor: pointer;
}
.btn-ghost-donate:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-ghost {
  border-radius: 20px;
  cursor: pointer;
  color: var(--text);
  padding: 0 10px;
  display: inline-block;
}
.btn-ghost:hover {
  border: none;
  border-radius: 20px;
  background-color: rgb(173, 131, 14);
  color: var(--white);
}
.nav-links a:hover {
  color: var(--red);
}

/* DROPDOWN */

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fdf9f5;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.has-dropdown .dropdown a {
  font-size: 1.15rem;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown li {
  width: 100%;
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.dropdown a:hover {
  background: #f5f5f5;
}

.mobile-service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-service-link {
  flex: 1;
  font-size: 1.3rem;
  text-decoration: none;
  padding: 12px 0;
}

.mobile-dropdown-toggle {
  background: none;
  border: none;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 12px 0px;
}

.mobile-dropdown {
  display: none;
  list-style: none;
  padding-left: 20px;
  margin-top: 4px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 8px;
}

.mobile-dropdown li a {
  font-size: 1.2rem;
  padding: 10px 0;
  display: block;
}

.mobile-has-dropdown.active .mobile-dropdown {
  display: block;
}

.mobile-dropdown-toggle .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 1.8rem;
}

.mobile-has-dropdown.active .arrow {
  transform: rotate(90deg);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 20px;
  padding: 5px 22px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.btn-red:hover {
  opacity: 0.5;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(253, 249, 245, 0.98);
  backdrop-filter: blur(12px);
  padding: 0px 20px 0px 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-links {
  list-style: none;
}

.mobile-nav-links li {
  margin-bottom: 16px;
}

.mobile-nav-links a {
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
  padding: 8px 20px;
  display: block;
}

.mobile-actions {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.mobile-actions .btn-ghost-donate {
  background: rgb(250, 230, 230);
}
.mobile-actions .btn-red {
  color: var(--white);
}
/* ── HERO ── */
.hero {
  position: relative;
  background-image: url("./images/pic-01.jpg");
  /* background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("./images/pic-01.jpg") center/cover fixed; */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 89vh;
  max-height: 75vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
/* GRADIENT OVERLAY */
.overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(to bottom right, rgba(0, 0, 0, 0.9), transparent 70%),
    linear-gradient(to top left, rgba(0, 0, 0), transparent 50%);

  z-index: 1;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  padding: 100px 250px 60px;
  width: 100%;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  color: var(--white);
  max-width: 750px;
  margin-bottom: 500px;
  line-height: 5.5rem;
}
.italic {
  font-style: italic;
  color: var(--yellow);
}

.hero h4 {
  font-family: "Estedad", sans-serif;
  font-weight: 200;
  display: inline-flex;
  align-items: center;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--white);
  line-height: 1.1;
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 7px 10px 4px 10px;
  background-color: #cccccc47;
}
.bi-globe,
.bi-globe-americas {
  padding-right: 8px;
  font-size: 1.5rem;
  font-weight: 100;
  color: var(--yellow);
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 430px;
  margin-left: auto;
  margin-right: 80px;
}
.hero-bottom p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 12px;
}
.btn-outline-white {
  background: var(--yellow);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 10px 24px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn-white {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 20px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
}

/* ─────────────────────────
   HERO ANIMATIONS
───────────────────────── */

/* Initial State */
.hero h4,
.hero h1,
.hero-bottom p,
.hero-ctas {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(10px);
}
.hero-ctas a {
  text-decoration: none;
  color: var(--white);
}

/* TOP LABEL */
.hero h4 {
  animation: fadeReveal 0.9s ease forwards;
  animation-delay: 0.2s;
}

/* MAIN TITLE */
.hero h1 {
  animation: fadeReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;

  animation-delay: 0.5s;
}

/* PARAGRAPH */
.hero-bottom p {
  animation: fadeReveal 1s ease forwards;
  animation-delay: 0.9s;
}

/* BUTTONS */
.hero-ctas {
  animation: fadeReveal 1s ease forwards;
  animation-delay: 1.2s;
}

/* KEYFRAMES */
@keyframes fadeReveal {
  from {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
/* BUTTON HOVER MOTION */
.btn-outline-white,
.btn-white {
  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.btn-outline-white:hover,
.btn-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ── CONTAINER ── */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HERITAGE / CARDS ROW ── */

.heritage {
  background: var(--light-bg);
  text-align: center;
  padding: 60px 20px;
}
.heritage h2 {
  text-align: center;
  max-width: 50%;
  font-size: 2rem;
  line-height: 1.2;
  margin: 20px auto 32px;
}
.heritage .section-sub {
  margin: auto 100px 48px;
  line-height: 1.5;
}
.cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
  max-width: 95%;
  margin: 0 auto;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #b0bec5;
}
.card-img-placeholder {
  width: 100%;
  height: 200px;
  background: #b0bec5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-body {
  padding: 20px;
}
.card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}
.card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-wide {
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-wide .card-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.card-wide h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 12px;
}
.card-wide a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

/* ─────────────────────────
   SCROLL REVEAL CARDS
───────────────────────── */

.card,
.card-wide {
  opacity: 0;
  transform: translateY(80px) scale(0.96);
  filter: blur(10px);
}

/* ACTIVE STATE */
.card.show,
.card-wide.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);

  transition: all 0.7s ease;
}

/* STAGGER EFFECT */
.card:nth-child(1) {
  transition-delay: 0.1s;
}

.card:nth-child(2) {
  transition-delay: 0.25s;
}

.card:nth-child(3) {
  transition-delay: 0.4s;
}

.card-wide {
  transition-delay: 0s;
}

/* CARD HOVER EFFECT */

/* .card,
.card-wide {
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    opacity 0.5s ease,
    filter 0.5s ease;
} */

.card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* IMAGE ZOOM */
.card img {
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.06);
}

/* ── NUMBERS ── */
.numbers {
  background: #f8f8f8;
  padding: 60px 20px;
}
.numbers-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
}
.numbers-img img {
  background: #cfd8dc;
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  display: block;
}
.numbers-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 10px;
}
.stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}
.stat {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.stat-num {
  max-width: 100%;
  display: flex;
  flex-direction: row;
  gap: 4px;
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease;
  padding-bottom: 8px;
  min-width: 110px;
  justify-content: center;
}
.stats.show .stat-num {
  opacity: 1;
  transform: translateY(0);
}
.stat-num .count {
  display: inline-block;
  line-height: 1;
}
.stat-num .plus {
  line-height: 1;
  font-size: 2.2rem;
  font-family: "Playfair Display", serif;
  position: static;
  transform: translateY(-0.05em);
}
.stat-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}
.cta-row {
  display: flex;
  gap: 12px;
}
.btn-outline-sm {
  background: none;
  border: 1.5px solid #ccc;
  padding: 9px 20px;
  border-radius: 20px;
  font-family: "Estedad", sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}
.btn-link {
  background: none;
  border: none;
  font-family: "Estedad", sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: var(--text);
}

/* ── UPCOMING EVENTS ── */
.upcoming {
  background: var(--light-bg);
  padding: 60px 20px;
}
.upcoming-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  margin-left: 0;
}
.upcoming-header .left .label {
  margin-bottom: 6px;
}
.upcoming-header .left h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-bottom: 6px;
}
.upcoming-header .left p {
  color: var(--muted);
  font-size: 0.9rem;
}
.event-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e8e8e8;
  position: relative;
}
.event-img {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-date {
  position: absolute;
  top: 10px;
  right: 16px;
  background: var(--white);
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.event-date .day-label {
  font-size: 1rem;
  color: var(--muted);
}
.event-date .day-num {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1;
}
.event-date .month {
  font-size: 0.7rem;
  color: var(--muted);
}
.event-info {
  padding: 20px;
}
.event-tag {
  display: inline-block;
  background: var(--light-bg);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 10px;
  margin-top: 15px;
}
.event-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.event-city {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.event-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.event-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── GATHERINGS CAROUSEL ── */
.gatherings {
  background: #f5f5f5;
  text-align: center;
  padding: 60px 20px;
}
.gatherings h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.gatherings p {
  color: var(--muted);
  margin-bottom: 40px;
}
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 0;
  transition: transform 0.4s ease;
}
.carousel-slide {
  min-width: 100%;
  padding: 0 20px;
}
.carousel-slide img {
  width: 100%;
  max-width: 900px;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
}
.carousel-slide .slide-placeholder {
  width: 100%;
  max-width: 900px;
  height: 480px;
  background: #b0bec5;
  border-radius: var(--radius);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 5;
}
.carousel-btn.prev {
  left: 20px;
}
.carousel-btn.next {
  right: 20px;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}
.dot.active {
  background: var(--text);
}

/* ── LEADERSHIP ── */
.leadership {
  background: var(--white);
  max-width: 100%;
  padding: 60px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.leadership .section-title {
  font-size: 2.8rem;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px 40px;
  margin-bottom: 48px;
}
.team-member {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.7);
  filter: blur(10px);
  transition: all 0.9s ease;
}
/* animating the avatar image */
.avatar.show {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.member-info h3 {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.member-role {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.member-bio {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.social-icons {
  display: flex;
  gap: 10px;
}
.social-icons a {
  width: 28px;
  height: 28px;
  background: var(--light-bg);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
}
.join-team h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 8px;
}
.join-team p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.btn-outline {
  background: none;
  border: 1.5px solid #ccc;
  padding: 5px 22px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--white);
  padding: 20px;
}
.cta-box {
  background: var(--light-bg);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: 1440px;
  margin: 0 auto;
}
.cta-box-text {
  padding: 56px 48px;
}
.cta-box-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-box-text p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
}
.cta-box-text .cta-btns {
  display: flex;
  gap: 12px;
}
.cta-box-img {
  background: #c9a880;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cta-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── NEWSLETTER ── */
.newsletter {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(rgba(30, 40, 55, 0.2), rgba(30, 40, 55, 0.2)),
    url("./images/pic-05-2.jpg") center/cover;

  background-attachment: fixed;
  background-position: center;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 40, 55, 0.75);
  z-index: 1;
}

.newsletter-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  width: 100%;
}

.newsletter h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 10px;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto 12px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text);
}

.newsletter-form button {
  background: var(--white);
  border: none;
  padding: 14px 20px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.newsletter small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

/* ── FOOTER ── */
footer {
  background: var(--dark-navy);
  padding: 60px 20px 30px;
}
.footer-top .logo {
  padding-top: 5px;
  width: 100px;
  height: 100px;
  background-color: #c6c7d3;
  border-radius: 20px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  max-width: 1440px;
  padding-bottom: 10px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  max-width: 500px;
}
.footer-brand a:hover {
  color: var(--white);
  transform: translateY(3px);

  transition: all 0.2s ease;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.5;
}
.footer-address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.8;
}
.footer-address strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  font-size: 20px;
}
.footer-socials a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
  width: 32px;
  height: 32px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-socials a:hover {
  color: var(--white);
  transform: translateY(-4px);
  transition: all 0.4s ease;
}
.footer-links {
  display: flex;
  flex-direction: column;
}
.footer-links strong {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--white);
  transform: translateX(6px);
  transition: all 0.4s ease;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-decoration: none;
}
.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-decoration: none;
}
.footer-legal #language-switch:hover {
  color: var(--white);
}

/* placeholder icon */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================
   EVENTS PAGE STYLES
===================================== */

.events-hero {
  position: relative;
  background-image: url("./images/pic-05-2.jpg");
  background-size: cover;
  background-position: center;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.events-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.65));
  z-index: 1;
}

.events-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.events-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: white;
  margin-bottom: 20px;
}

.events-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto;
}

/* Event Rows */
.events-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.event-row.reverse {
  direction: rtl;
}

.event-row.reverse > * {
  direction: ltr;
}

.event-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.event-info h3 {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.event-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.event-info p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.event-city {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-style: italic;
}
.why-section {
  background: var(--light-bg);
  padding: 80px 10px;
  text-align: center;
  border-radius: var(--radius);
  margin: 10px auto 30px;
  max-width: 1440px;
}

.why-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.why-section p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =====================================
   EVENTS PAGE ANIMATIONS
===================================== */

.event-row {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.event-row.show {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation */
.event-row:nth-child(1) {
  transition-delay: 0.1s;
}
.event-row:nth-child(2) {
  transition-delay: 0.3s;
}
.event-row:nth-child(3) {
  transition-delay: 0.5s;
}

/* Image zoom on reveal */
.event-image img {
  transition: transform 0.6s ease;
}

.event-row.show .event-image img {
  transform: scale(1.03);
}
/* =====================================
   CONTACT PAGE STYLES
===================================== */

/* Hero - Reuse existing events-hero */
.contact-hero {
  position: relative;
  background-image: url("./images/pic-01.jpg");
  background-size: cover;
  background-position: center;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Reuse existing overlay and content styles */
.contact-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.65));
  z-index: 1;
}

.contact-hero .events-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

/* Contact Layout - Reuse event-row system */
.contact-section {
  padding: 80px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Contact Info - Reuse event-info */
.contact-info {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.contact-info.show {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   Contact Form Styles
========================= */

.contact-form {
  max-width: 100%;
  margin: 0 auto 80px;
  background: var(--light-bg);
  padding: 50px 40px;
  border-radius: 16px;

  /* Animation */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.contact-form.show {
  opacity: 1;
  transform: translateY(0);
}

/* Heading */
.contact-form h2 {
  font-family: "Playfair Display", serif;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

/* Form Layout */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Two-column row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

/* Inputs & Textarea */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

/* Textarea */
.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

/* Button */
.contact-form button {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* -------------------------------------------------------------------------- */
/* ------------------------------- Donation Page ---------------------------- */
/* -------------------------------------------------------------------------- */
.donation-btn {
  padding: 16px 28px;
  font-size: 1.3rem;
  font-weight: 600;
  border: 2px solid #ddd;
  background: white;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.donation-btn.active,
.donation-btn:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
/* 
/* Responsive styles for contact page */
/*
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-map {
    height: 320px;
  }
} */



/* =====================================
   MAINTENANCE MODE POPUP
===================================== */
.maintenance-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 35px 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: popupFade 0.3s ease;
}

.popup-content i {
  font-size: 50px;
  color: #c62828;
  margin-bottom: 15px;
}

.popup-content h3 {
  margin-bottom: 10px;
}

.popup-content p {
  margin-bottom: 25px;
  color: #555;
}

.popup-content button {
  background: #c62828;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}

.popup-content button:hover {
  opacity: 0.9;
}

@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* -- translation for contact page -- */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-te-gadget {
  font-size: 0 !important;
}

.goog-te-gadget span {
  display: none !important;
}





@media (max-width: 768px) {
  .contact-form {
    padding: 40px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Responsive styles for events page */
@media (max-width: 768px) {
  .event-row,
  .event-row.reverse {
    grid-template-columns: 1fr;
    gap: 0px;
    margin-bottom: 70px;
  }
  .event-info {
    padding-top: 0;
  }

  .event-image img {
    height: 300px;
  }

  .events-hero {
    min-height: 45vh;
  }
  .events-hero h1 {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
    padding-top: 40px;
    line-height: 1.15;
  }
  .events-hero p {
    font-size: clamp(0.8rem, 4vw, 1.15rem);
    line-height: 1.5;
  }
}

/* =====================================
   RESPONSIVE STYLES LANDING PAGE
===================================== */
@media (max-width: 2180px) {
  .hero-content {
    padding: 100px 150px 90px;
  }
  .hero h1 {
    font-size: clamp(3.8rem, 5vw, 4.4rem);
    line-height: 1.15;
    padding-bottom: 20px;
    margin-bottom: 10rem;
  }

  .hero-bottom {
    margin-right: 100px;
  }
}
@media (max-width: 1440px) {
  .hero-content {
    padding: 60px 50px 80px;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 6vw, 4.2rem);
    line-height: 1.15;
    padding-bottom: 20px;
    margin-bottom: 12rem;
  }

  .hero-bottom {
    margin-right: 80px;
  }
}

@media (max-width: 1200px) {
  .hero-content {
    padding: 50px 40px 60px;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 7vw, 4rem);
    line-height: 1.15;
    padding-bottom: 20px;
    margin-bottom: 12rem;
  }
  .hero-bottom p {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }

  .hero-bottom {
    margin-right: 60px;
  }
}
@media (max-width: 1024px) {
  body {
    padding-top: 80px;
  }
  .nav-container {
    padding: 5px 30px;
  }
  .logo {
    width: 70px;
    height: 70px;
  }
  .nav-container .nav-links a {
    font-size: 0.9rem;
  }

  .hero-content {
    padding: 40px 60px 60px;
  }
  .hero h1 {
    font-size: clamp(3.2rem, 8vw, 3.8rem);
    line-height: 1.15;
    padding-bottom: 20px;
    margin-bottom: 12rem;
  }

  .hero-bottom {
    margin-right: 40px;
  }
  .hero-bottom p {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }

  .cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    gap: 60px 40px;
  }
  .why-section {
    margin: 60px 20px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 90px;
  }
  .newsletter h2 {
    font-size: 2.5rem;
  }
  .why-section {
    margin: 60px 20px;
  }

  .nav-container {
    padding: 8px 20px 8px 20px;
    min-height: 70px;
    align-items: center;
  }
  .nav-container > * {
    margin: 0;
  }

  .logo {
    width: 80px;
    height: 80px;
  }

  .hamburger {
    padding: 10px;
    margin-left: auto;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 50px 25px 40px;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    margin-bottom: 180px;
    font-size: clamp(3.1rem, 9vw, 3.5rem);
    line-height: 1.15;
  }
  .hero h4 {
    margin-top: 30px;
  }

  .hero-bottom {
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .heritage h2 {
    max-width: 100%;
  }

  .heritage .section-sub {
    margin: 0 auto 48px;
    max-width: 100%;
  }

  .cards-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .numbers-grid {
    flex-direction: column;
    gap: 40px;
  }

  .numbers-img img {
    max-width: 100%;
  }

  .event-cards {
    grid-template-columns: 1fr;
  }

  .upcoming-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-box-text {
    padding: 40px 30px;
  }

  .carousel-slide img,
  .carousel-slide .slide-placeholder {
    height: 320px;
  }

  .carousel-btn.prev {
    left: 10px;
  }
  .carousel-btn.next {
    right: 10px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 40px 20px 30px;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 9vw, 3.9rem);
    line-height: 1.15;
    margin-bottom: 100px;
  }
  .hero h4 {
    font-size: 0.8rem;
    margin-top: 10px;
    padding: 5px 8px 1px 8px;
  }
  .hero-bottom p {
    font-size: clamp(0.9rem, 4vw, 1.05rem);
    padding: 0px 20px;
    text-align: center;
    align-items: center;
  }
  .why-section {
    margin: 60px 20px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .numbers .section-title {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .stats {
    gap:2px;
  }
  .stats .stat-num {
    font-size: 2.4rem;
    min-width: 90px;
  }

  .leadership .section-title {
    font-size: 2.2rem;
  }
}
