/* =========================================================
   1) Custom Font: JAWAD Mada
   ========================================================= */

@font-face {
  font-family: "Mada";
  src: url("fonts/jAWAD Mada.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Mada";
  src: url("fonts/jAWAD Mada Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Mada";
  src: url("fonts/jAWAD Mada Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Mada";
  src: url("fonts/jAWAD Mada Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* =========================================================
   2) Base / Global Styles
   ========================================================= */

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

:root {
  --bg: #ffffff;          /* overall page background */
  --bg-alt: #f7f5ef;      /* soft off-white sections */
  --text: #111827;        /* main text color */
  --muted: #6b7280;       /* subtitles / secondary text */
  --accent: #0e213e;      /* main brand color – dark navy */
  --accent-soft: #e6dfcf; /* lighter accent (for hover, background) */
  --border: #e0e0e0;
  --radius-lg: 1rem;
  --radius-md: 0.5rem;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Mada", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Basic grid */

.grid {
  display: grid;
  gap: 2rem;
}

.grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s ease,
              box-shadow 0.1s ease,
              background 0.1s ease,
              color 0.1s ease;
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.btn.ghost {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn.small {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* =========================================================
   3) Header / Navigation (Desktop)
   ========================================================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  padding: 1.4rem 0;
}

/* Full-width row inside the header */
.site-header-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  direction: ltr;  /* physical order: logo left, nav/right group on the right */
}

/* LEFT: logo */
.logo img {
  height: 170px;
  width: auto;
  display: block;
}

/* RIGHT: nav + استكشف + burger */
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  direction: rtl;
}

/* extra spacing between nav and استكشف */
.header-cta {
  margin-left: 2rem !important;
}

/* Desktop nav (inline) */
.main-nav {
  display: flex;
  gap: 1.4rem;
}

/* Desktop nav links */
.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Simple fade-in highlight on hover */
.main-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* CTA button (استكشف) – visible on desktop */
.header-cta .btn {
  background: var(--accent);
  color: #ffffff;
  padding: 0.65rem 2.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

/* Burger icon – hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
}

/* =========================================================
   4) Hero Section
   ========================================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background-image: url("Images/photos/Homebackground.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
}

/* container inside hero */
.hero-inner {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;    /* quote box toward bottom */
  justify-content: flex-start;
  padding-top: 6rem;        /* space under header on desktop */
  padding-bottom: 4rem;
}

/* dark quote box */
.hero-card.hero-quote {
  background: rgba(30, 28, 24, 0.78);
  border-radius: 0;
  padding: 2.5rem 3rem;
  max-width: 36rem;
  direction: rtl;
  text-align: right;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* quote text */
.hero-card.hero-quote h1 {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1.4;
  margin: 0 0 2.5rem 0;
  font-weight: 500;
}

/* FADE IN QUOTE BOX*/
.hero-card.hero-quote {
  opacity: 0;
  transform: translateY(15px);
  animation: heroFadeIn 0.7s ease-out forwards 0.2s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* button under the quote */
.hero-actions {
  display: flex;
  justify-content: flex-start;
}

.hero-cta {
  min-width: 220px;
  justify-content: center;
}

/* =========================================================
   5) Generic Cards / Timeline / Gallery / FAQ / Contact / Footer
   ========================================================= */

/* (Other sections keep their default light backgrounds) */

.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.card .tagline {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.25rem 0 0.75rem;
}

/* Checklist */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.35rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* Timeline */

.timeline {
  border-left: 2px solid var(--border);
  margin-left: 1rem;
  padding-left: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-date {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.timeline-content h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

/* Gallery */

.gallery-grid img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.gallery-item {
  background: #6d583e;
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.gallery-item figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* FAQ */

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-list details {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

/* Contact */

.contact-grid {
  align-items: flex-start;
}

.contact-form {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.4rem;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */
/* ================== FOOTER – BASE STYLES (SHARED) ================== */

.site-footer {
  background: #6d583e;
  color: #f1f5f9;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
  opacity: 1;
}

.footer-inner {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
  direction: rtl;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-logo {
  max-height: 70px;
  margin-bottom: 0.75rem;
}

.footer-divider {
  width: 120px;
  height: 1px;
  margin: 1.5rem auto;
  background: linear-gradient(
    to left,
    transparent,
    rgba(252, 211, 77, 0.8),
    transparent
  );
}

/* small bottom line */
.footer-bottom {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #d1d5db;
}

/* simple inline links row */
.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0.75rem 0;
}

.footer-links-row a {
  opacity: 0.9;
}

.footer-links-row a:hover {
  opacity: 1;
}

/* social icons placeholder text style */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}
/* ========== FOOTER STYLE 2 – Islamic Motif ========== */

.footer-style-2 {
  position: relative;
  overflow: hidden;
}

/* very soft geometric pattern overlay */
.footer-style-2::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 0 0, #1f2937 0, #0c304c 40%, transparent 60%),
    radial-gradient(circle at 100% 0, #1f2937 0, #0c304c 45%, transparent 65%);
}

/* subtle top arch hint */
.footer-style-2::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(248, 250, 252, 0.18);
  opacity: 0.7;
}



/* =========================================================
   6) Partners Section (شــركـاء النـجاح) + Logo Slider
   ========================================================= */

#partners {
  background-color: #6d583e;
  color: #ffffff;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

#partners .section-header p {
  color: #e9e9e9;
}

#partners .section-header h1 {
  font-size: 2.4rem;   /* Bigger title */
  font-weight: 500;
}

/* Full-width logo slider strip */
.logo-slider {
  width: 100vw;
  margin-inline: calc(50% - 50vw); /* break out of container */
  overflow: hidden;
  padding: 3rem 0;
  position: relative;
  background: transparent;
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 100px;
  width: max-content;
  animation: scrollLogos 35s linear infinite;
}

.logos-track img {
  height: 130px;
  flex-shrink: 0;
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Make all partner logos white */
#partners .logos-track img {
  filter: brightness(0) invert(1);
}

/* Glow on hover */
#partners .logos-track img:hover {
  transform: scale(1.08);
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

/* Infinite horizontal scroll */
@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   7) Mobile Nav Animation (fade-in for overlay)
   ========================================================= */

@keyframes mobileNavFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   8) Responsive / Mobile Styles (Header + Hero)
   ========================================================= */
@media (max-width: 900px) {
  /* Header layout tweaks */
  .site-header {
    padding: 0.6rem 0;
  }

  .site-header-inner {
    padding: 0 1.5rem;
  }

  .logo img {
    height: 120px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(14, 33, 62, 0.97);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem 1rem;
    z-index: 90;
    animation: mobileNavFade 0.25s ease-out forwards;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 1.5rem;
    font-weight: 600;
  }

  /* 🔺 X Button Styling */
  .nav-close {
    display: none;
  }

  body.nav-open .nav-close {
    display: block;
    position: fixed;
    top: 1.2rem;
    left: 1.5rem;
    font-size: 2.2rem;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    z-index: 101;
  }

  .hero-inner {
    padding-top: 8rem;
  }
}

/* ===================== EXHIBITIONS – DEEP GLOW + CURSOR TILT ===================== */

#exhibitions {
  background: radial-gradient(circle at top, #020617, #020617 45%, #000 100%);
  padding: 4rem 0 4.5rem;
  color: #f9fafb;
}

/* Heading */
#exhibitions .section-header {
  direction: rtl;
  text-align: center;
}

#exhibitions .section-header h2 {
  color: #f9fafb;
  font-size: 2.5rem;   /* Bigger title */
  font-weight: 500;
}

#exhibitions .section-header p {
  color: #9ca3af;
}

/* === GRID (3 per row, RTL) === */
.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  direction: rtl;
}

/* === Card base === */
.exhibition-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;

  background: #020617;
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.95);
  cursor: pointer;

  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition:
    transform 0.15s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

  /* space for the bottom bar */
  padding-bottom: 3.4rem;
  z-index: 0;
}

/* Moving glow – position comes from JS (CSS variables) */
.exhibition-item::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(
      circle at var(--glow-x, 50%) var(--glow-y, 0%),
      rgba(248, 250, 252, 0.26),
      transparent 60%
    );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* Glow appears on hover */
.exhibition-item:hover::before {
  opacity: 1;
}

/* Image */
.exhibition-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border-radius: 1.1rem 1.1rem 0.6rem 0.6rem;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Text */
.exhibition-item h3,
.exhibition-item p {
  direction: rtl;
  text-align: right;
  padding-inline: 1.4rem;
}

.exhibition-item h3 {
  margin: 0.9rem 0 0.3rem;
  font-size: 1.15rem;
  color: #f9fafb;
}

.exhibition-item p {
  margin: 0 0 0.9rem;
  font-size: 0.93rem;
  color: #d1d5db;
}

/* ===================== BUTTON AS FILLING BAR ===================== */

/* Bottom bar background that fills from right to left */
.exhibition-item::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3.1rem;
  background: #f9fafb;

  transform-origin: 100% 50%;   /* start from the right */
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);

  z-index: 0;
  pointer-events: none;
}

.exhibition-item:hover::after {
  transform: scaleX(1);         /* fill smoothly */
}

/* Clickable area = full bar */
.exhibition-item .btn.small {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3.1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: none;
  padding: 0;
  margin: 0;

  font-size: 0.9rem;
  font-weight: 600;
  color: #f9fafb;
  text-decoration: none;
  white-space: nowrap;

  z-index: 1;
  cursor: pointer;
  transition: color 0.25s ease;
}

/* When bar is filled, flip text color */
.exhibition-item:hover .btn.small {
  color: #020617;
}

/* Hover image lift */
.exhibition-item:hover .exhibition-image {
  transform: scale(1.03);
  filter: brightness(1.08);
}

/* Responsive */
@media (max-width: 992px) {
  .exhibitions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .exhibitions-grid {
    grid-template-columns: 1fr;
  }

  .exhibition-image {
    height: 210px;
  }
}

/* ================== IMPACT SECTION (STATS NEAR FOOTER) ================== */

.impact-section {
  background: #020617;          /* blends nicely into navy + footer */
  padding: 3.5rem 0 4rem;
}

/* Main glowing “card” */
.impact-shell {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  padding: 2.6rem 2.4rem 2.4rem;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 60%),
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.12), transparent 60%),
    linear-gradient(135deg, #0b1120, #020617);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.9);
  direction: rtl;
  color: #e5e7eb;
}

/* =========================================================
   IMPACT / STATS SECTION – GLOW + TILT VIBE
   ========================================================= */

.impact-section {
  position: relative;
  overflow: hidden;
  background: #0e213e;
  padding: 4rem 2rem;
  color: white;
}

.impact-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.impact-video-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.impact-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) brightness(0.5);
  opacity: 0;
  transition: opacity 1.2s ease;
}


.impact-inner {
  position: relative;
  z-index: 1;
  direction: rtl;
  text-align: center;
}

.impact-header h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
  color: #f9fafb;
}

.impact-header p {
  margin: 0.2rem auto 2.4rem;
  max-width: 520px;
  color: #9ca3af;
  font-size: 0.95rem;
}

/* GRID */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

/* CARD BASE */
.impact-card {
  position: relative;
  padding: 1.8rem 1.4rem;
  border-radius: 1.4rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.95);
  overflow: hidden;
  cursor: pointer;

  transform-style: preserve-3d;
  transform: perspective(1000px) translateZ(0);
  transition:
    transform 0.18s ease,
    box-shadow 0.35s ease,
    border-color 0.30s ease,
    background 0.25s ease;
}

/* soft glow overlay */
.impact-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(248, 250, 252, 0.24), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* tiny top highlight line */
.impact-card::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 25%;
  height: 2px;
  background: linear-gradient(
    to left,
    transparent,
    rgba(252, 211, 77, 0.9),
    rgba(248, 250, 252, 0.95),
    transparent
  );
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* HOVER */
.impact-card:hover {
  transform: perspective(1000px) translateZ(12px) translateY(-6px);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 1);
  border-color: #e5e7eb;
  background: rgba(15, 23, 42, 0.95);
}

.impact-card:hover::before {
  opacity: 1;
}

.impact-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* NUMBERS */
.impact-number {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;

  background: linear-gradient(to left, #fef9c3, #e5e7eb, #fde68a);
 -webkit-background-clip: text;
  color: transparent;

  animation: impactPulse 2.8s ease-in-out infinite;
}

@keyframes impactPulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.95;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

/* TEXT LABELS */
.impact-label {
  font-size: 0.98rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.25rem;
}

.impact-sub {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-card {
    padding: 1.6rem 1.3rem;
  }

  .impact-number {
    font-size: 2rem;
  }
}
.impact-box {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  filter: blur(4px);
  transition: all 0.8s ease;
}
.impact-box.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.nav-close {
  display: none;
}

@media (max-width: 900px) {
  .nav-close {
    display: none;
  }

  .main-nav.open + .nav-close {
    display: block;
    position: fixed;
    top: 1.2rem;
    left: 1.5rem;
    font-size: 2.2rem;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    z-index: 101;
  }
}
