/* ============================================================
   CHAPEL OF GLORY — Global Stylesheet
   Designer: Olorunshola Olamide Isaiah
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --Logo-color: #002681;
  --logo-color-2: #dd1a1a;
  --Logo-color-3: #fff;

  /* Derived utility tokens — still only the 3 palette colors */
  --navy: var(--Logo-color);
  --red: var(--logo-color-2);
  --white: var(--Logo-color-3);

  --nav-h: 76px;
  --radius: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 32px rgba(0, 38, 129, 0.18);
  --shadow-lift: 0 20px 50px rgba(0, 38, 129, 0.28);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Bricolage Grotesque", sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  scrollbar-color: var(--Logo-color);
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--white);
}
::-webkit-scrollbar-thumb {
  background: var(--Logo-color);
  border-radius: 10px;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
}

/* ── Fade-in on load ── */
body {
  opacity: 0;
  animation: bodyFadeIn 0.6s ease 0.1s forwards;
}
@keyframes bodyFadeIn {
  to {
    opacity: 1;
  }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--Logo-color-3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0, 38, 129, 0.3);
  padding: 0 5%;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}
.navbar.scrolled {
  background: transparent;
  box-shadow: none;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-logo {
  width: 75px;
  height: 75px;
  animation: flip 3s linear infinite;
  transform-style: preserve-3d;
}

@keyframes flip {
  0% {
    transform: perspective(800px) rotateY(0deg);
  }
  100% {
    transform: perspective(800px) rotateY(360deg);
  }
}
.nav-title {
  font-family: "Bricolage Grotesque", serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--Logo-color);
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  margin-top: 0;
}
.nav-title span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--logo-color-2);
  font-weight: 400;
  font-family: "Bricolage Grotesque", sans-serif;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  color: var(--Logo-color);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  transition:
    color var(--transition),
    background var(--transition);
  overflow: hidden;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--Logo-color);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
  transition: background var(--transition);
}
.hamburger:hover {
  background: rgba(255, 255, 255, 0.85);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--Logo-color);
  border-radius: 2px;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 999;
  background: rgba(0, 10, 50, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;

  /* Glowing border top */
  border-top: 1px solid rgba(0, 38, 129, 0.4);

  /* Tech grid background pattern */
  background-image:
    rgba(0, 10, 50, 0.75),
    linear-gradient(rgba(0, 38, 129, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 38, 129, 0.08) 1px, transparent 1px);
  background-size:
    cover,
    40px 40px,
    40px 40px;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-nav a {
  color: var(--white);
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 10px;
  width: 80%;
  text-align: center;
  position: relative;
  transition:
    background var(--transition),
    box-shadow var(--transition);

  /* Glowing underline on each link */
  border-bottom: 1px solid rgba(0, 38, 129, 0.2);
}

.mobile-nav a:hover {
  background: rgba(0, 38, 129, 0.2);
  box-shadow:
    0 0 18px rgba(0, 38, 129, 0.4),
    inset 0 0 12px rgba(0, 38, 129, 0.1);
  color: var(--white);
}

.mobile-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--Logo-color);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 10px var(--Logo-color);
  transition: transform var(--transition);
}

.mobile-nav a:hover::before {
  transform: translateY(-50%) scaleY(1);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1; /* full video — no blue tint */
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Dark-only overlay so the video shows naturally */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}
/* geometric accent rings */
.hero-ring {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: ringPulse 6s ease-in-out infinite;
}
.hero-ring-1 {
  width: 420px;
  height: 420px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}
.hero-ring-2 {
  width: 280px;
  height: 280px;
  top: 40px;
  right: 60px;
  animation-delay: 1.5s;
  border-color: rgba(221, 26, 26, 0.12);
}
.hero-ring-3 {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -200px;
  animation-delay: 3s;
}
@keyframes ringPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(221, 26, 26, 0.15);
  border: 1px solid rgba(221, 26, 26, 0.4);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  opacity: 0;
  animation: slideDown 0.7s ease 0.4s forwards;
}
.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero-title {
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.6s forwards;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
  position: relative;
}
.hero-title em::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  animation: underlineGrow 0.8s ease 1.2s forwards;
}
@keyframes underlineGrow {
  to {
    transform: scaleX(1);
  }
}

.hero-verse {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 44px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.9s forwards;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.8s ease 1.1s forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease infinite;
}
.hero-scroll::before {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after {
  opacity: 1;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(221, 26, 26, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(221, 26, 26, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 38, 129, 0.35);
}
.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(221, 26, 26, 0.3);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: 100px 5%;
}
.section-alt {
  background: #f4f6fb;
}
.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  position: relative;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--red);
  transform: translateY(-50%);
}
.section-eyebrow::before {
  right: calc(100% + 10px);
}
.section-eyebrow::after {
  left: calc(100% + 10px);
}

.section-title {
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy);
}
.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  margin-top: 16px;
  font-size: 1.05rem;
  color: rgba(0, 38, 129, 0.6);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

/* Divider */
.section-divider {
  width: 64px;
  height: 4px;
  background: var(--red);
  border-radius: 4px;
  margin: 20px auto 0;
}

/* ============================================================
   CARDS — universal
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 38, 129, 0.09);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.card-img-wrap {
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-img-wrap img {
  transform: scale(1.07);
}

.card-body {
  padding: 24px;
}
.card-title {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.card-text {
  font-size: 0.9rem;
  color: rgba(0, 38, 129, 0.6);
  line-height: 1.7;
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================================
   OVERVIEW / MISSION (index)
   ============================================================ */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.overview-text h2 {
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.overview-text p {
  font-size: 0.95rem;
  color: rgba(0, 38, 129, 0.68);
  line-height: 1.85;
  margin-bottom: 16px;
}
.overview-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.overview-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.overview-img-wrap:hover img {
  transform: scale(1.04);
}
.overview-img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0, 38, 129, 0.5), transparent);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 48px 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.stat-number {
  font-family: "Bricolage Grotesque", serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span {
  color: var(--red);
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.vision-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0, 38, 129, 0.09);
  border-top: 4px solid var(--navy);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.vision-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  border-color: var(--red);
}
.vision-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 38, 129, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.vision-card h3 {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.vision-card p {
  font-size: 0.9rem;
  color: rgba(0, 38, 129, 0.6);
  line-height: 1.8;
}
.vision-card ul {
  padding-left: 0;
}
.vision-card ul li {
  font-size: 0.9rem;
  color: rgba(0, 38, 129, 0.6);
  line-height: 1.9;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vision-card ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* Leadership */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.leader-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 38, 129, 0.09);
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}
.leader-img-wrap {
  position: relative;
  overflow: hidden;
}
.leader-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.leader-card:hover .leader-img-wrap img {
  transform: scale(1.06);
}
.leader-img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 38, 129, 0.45), transparent);
}
.leader-info {
  padding: 22px;
}
.leader-name {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.leader-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

/* Worker heads */
.worker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.worker-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 38, 129, 0.09);
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.worker-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.worker-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.worker-card:hover .worker-img {
  transform: scale(1.06);
}
.worker-info {
  padding: 16px;
}
.worker-name {
  font-family: "Bricolage Grotesque", serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.worker-pos {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 3px;
}

/* Units grid */
.units-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.unit-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 38, 129, 0.12);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.unit-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lift);
}
.unit-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.unit-card:hover img {
  transform: scale(1.1);
}
.unit-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 38, 129, 0.88) 0%,
    transparent 55%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}
.unit-name {
  font-family: "Bricolage Grotesque", serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0, 38, 129, 0.09);
  border-left: 4px solid transparent;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: rgba(0, 38, 129, 0.04);
  border-radius: 0 var(--radius) 0 80px;
  transition: background var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  border-color: var(--red);
}
.service-card:hover::before {
  background: rgba(221, 26, 26, 0.06);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-5deg);
}
.service-card h3 {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: rgba(0, 38, 129, 0.6);
  line-height: 1.8;
}
.service-meta {
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
}

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.schedule-table thead {
  background: var(--navy);
}
.schedule-table thead th {
  padding: 18px 24px;
  text-align: left;
  font-family: "Bricolage Grotesque", serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}
.schedule-table tbody tr {
  border-bottom: 1px solid rgba(0, 38, 129, 0.06);
  transition: background var(--transition);
}
.schedule-table tbody tr:hover {
  background: rgba(0, 38, 129, 0.04);
}
.schedule-table tbody td {
  padding: 18px 24px;
  font-size: 0.9rem;
  color: rgba(0, 38, 129, 0.75);
}
.schedule-table tbody td:first-child {
  font-weight: 700;
  color: var(--navy);
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-navy {
  background: rgba(0, 38, 129, 0.1);
  color: var(--navy);
}
.badge-red {
  background: rgba(221, 26, 26, 0.1);
  color: var(--red);
}

/* ============================================================
   EVENTS PAGE
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 38, 129, 0.09);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}
.event-card-top {
  background: var(--navy);
  padding: 28px 24px 20px;
  position: relative;
  overflow: hidden;
}
.event-card-top::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}
.event-date-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}
.event-day {
  font-family: "Bricolage Grotesque", serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.event-month-year {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.event-month {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.event-year {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}
.event-card-body {
  padding: 24px;
}
.event-title {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.event-meta span {
  font-size: 0.8rem;
  color: rgba(0, 38, 129, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}
.event-meta span::before {
  content: attr(data-icon);
  font-size: 0.9rem;
}
.event-desc {
  font-size: 0.88rem;
  color: rgba(0, 38, 129, 0.65);
  line-height: 1.75;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 52px;
  align-items: start;
}
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(0, 38, 129, 0.09);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.contact-info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lift);
}
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(0, 38, 129, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-family: "Bricolage Grotesque", serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-info-card p,
.contact-info-card a {
  font-size: 0.88rem;
  color: rgba(0, 38, 129, 0.6);
  line-height: 1.6;
}
.contact-info-card a:hover {
  color: var(--red);
}

/* Form */
.contact-form-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 42px 40px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
}
.contact-form-panel h3 {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-form-panel p {
  font-size: 0.88rem;
  color: rgba(0, 38, 129, 0.55);
  margin-bottom: 32px;
  line-height: 1.7;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-group label span {
  color: var(--red);
  margin-left: 2px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1.5px solid rgba(0, 38, 129, 0.15);
  background: #f8f9ff;
  font-size: 0.9rem;
  color: var(--navy);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 38, 129, 0.1);
}
select.form-control {
  appearance: none;
  cursor: pointer;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 5% 80px;
  background:
    linear-gradient(rgba(0, 38, 129, 0.85), rgba(0, 38, 129, 0.75)),
    url("Image/bg wallpaper.jpeg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.page-hero-ring-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: 10%;
}
.page-hero-ring-2 {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: 8%;
  border-color: rgba(221, 26, 26, 0.1);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, 0.68);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
:root {
  --navy: #002681;
  --red: #dd1a1a;
  --nav-h: 72px;
}

/* ── SECTION ── */
.gallery-section {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 5% 110px;
  background: #f5f7fc;
  overflow: hidden;
  isolation: isolate;
}
.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(0, 38, 129, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.gallery-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
}

/* ── ORIGINAL CENTERED HEADER ── */
.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}
.gallery-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.gallery-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.6s ease infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.gallery-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.gallery-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: rgba(0, 38, 129, 0.5);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto 28px;
}
.gallery-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--navy);
  opacity: 0.15;
}
.gallery-divider span:not(.gallery-divider__cross) {
  height: 1px;
  width: 72px;
  background: currentColor;
}
.gallery-divider__cross {
  font-size: 0.8rem;
}

/* ── 3-COL GRID ── */
.album-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* ── CARD ── */
.album-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 38, 129, 0.06),
    0 10px 36px rgba(0, 38, 129, 0.09);
  border: 1px solid rgba(0, 38, 129, 0.06);
  transition:
    transform 0.4s cubic-bezier(0.22, 0.84, 0.44, 1),
    box-shadow 0.4s ease;
  animation: cardReveal 0.55s ease both;
  animation-delay: calc(var(--i, 0) * 0.1s);
}
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.album-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 4px 16px rgba(0, 38, 129, 0.08),
    0 28px 60px rgba(0, 38, 129, 0.16);
}

/* ── PHOTO PREVIEW — big left + 2 stacked right ── */
.album-preview {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3px;
  height: 320px;
  overflow: hidden;
  background: #0a0f2e;
}
.album-preview .big-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 0.84, 0.44, 1);
}
.album-card:hover .big-img {
  transform: scale(1.05);
}

.small-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}
.small-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 0.84, 0.44, 1);
}
.album-card:hover .small-images img {
  transform: scale(1.08);
}

/* overlay — always on for text legibility */
.album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 10, 50, 0.82) 0%,
    rgba(0, 10, 50, 0.35) 50%,
    transparent 100%
  );
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

/* badge */
.album-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}
.album-badge::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* red line + album index above title */
.album-index {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}
.album-index::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── CARD TEXT — overlaid on photo bottom ── */
.album-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}
.album-content h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.album-content p {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ── CTA BUTTON — pill style ── */
.album-content a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 14px;
  margin-bottom: 20px;
  padding: 11px 22px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    gap 0.25s ease;
  position: relative;
  z-index: 2;
}
.album-content a svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.album-content a:hover {
  background: var(--red);
  border-color: var(--red);
  gap: 14px;
}
.album-content a:hover svg {
  transform: translateX(4px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .album-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .album-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .album-preview {
    height: 240px;
  }
}
@media (max-width: 480px) {
  .gallery-section {
    padding-left: 4%;
    padding-right: 4%;
  }
}
/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 5% 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 56px;
  height: 56px;
}
.footer-brand-name {
  font-family: "Bricolage Grotesque", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}
.footer-brand-name small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  margin-top: 2px;
}
.footer-tagline {
  font-size: 0.88rem;
  color: var(--Logo-color-3);
  line-height: 1.75;
  font-style: italic;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-socials i {
  font-size: 40px;
  color: var(--Logo-color-3);
}

.footer-socials i {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  transition:
    background var(--transition),
    transform var(--transition),
    border-color var(--transition);
  text-decoration: none;
}
.footer-socials i:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
  color: var(--white);
}

.footer-col h4 {
  font-family: "Cinzel", serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    color var(--transition),
    transform var(--transition);
}
.footer-links a::before {
  content: "›";
  color: var(--red);
  font-size: 1.1rem;
  line-height: 1;
}
.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-item .icon {
  font-size: 1.1rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.footer-contact-item span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom strong {
  color: rgba(255, 255, 255, 0.65);
}
.footer-credit {
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  transform: translateX(-36px);
}
.reveal-right {
  transform: translateX(36px);
}
.reveal-left.visible,
.reveal-right.visible {
  transform: translateX(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .grid-4,
  .worker-grid,
  .units-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .overview-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .overview-img-wrap {
    order: -1;
  }
  .grid-2,
  .grid-3,
  .leadership-grid,
  .vision-grid,
  .services-grid,
  .events-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .section {
    padding: 72px 5%;
  }
  .grid-2,
  .grid-3,
  .leadership-grid,
  .vision-grid,
  .services-grid,
  .events-grid,
  .worker-grid,
  .units-grid {
    grid-template-columns: 1fr;
  }
  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item::after {
    display: none !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-panel {
    padding: 28px 22px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   QUICK LINKS GRID
   ============================================================ */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.grid-4 .card {
  border: 2.5px solid rgba(0, 38, 129, 0.15);
  border-radius: 20px;
  padding: 10px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    border var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.grid-4 .card:hover {
  border: 2.5px solid var(--Logo-color);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.grid-4 .card-body {
  padding: 32px 26px;
  text-align: center;
  width: 100%;
}

.grid-4 .card-title {
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.grid-4 .card-text {
  font-size: 0.88rem;
  color: rgba(0, 38, 129, 0.6);
  line-height: 1.7;
}

/* Desktop — keep 2x2 layout */
@media (min-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile — stack to 1 column on very small screens */
@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.mobile-nav::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(
    ellipse,
    rgba(0, 38, 129, 0.35) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: navGlow 4s ease-in-out infinite;
}

.mobile-nav::after {
  content: "";
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(
    ellipse,
    rgba(221, 26, 26, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: navGlow 4s ease-in-out infinite reverse;
}

@keyframes navGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
}
