/* =============================================================
   FONT IMPORTS
   ============================================================= */

/* Import Antonio from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100;200;300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin:0;
}
body {
  margin: 0;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  background-color: #f5f7f6;
  background-image: linear-gradient(120deg, #f5f7f6 0%, #dfe9e6 100%);
  color: #000000; /* Black body text */
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.main{
  flex: 1;
}
.contact-page {
  padding-bottom: 100px;
}

header {
  background-color: #316d2b;
  color: #fff;
  padding: 15px 40px;
  position: static;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
#logo_container{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
header h1 {
  margin: 0;
  font-size: 30px;
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
          /* <--- ADD THIS: Ensures the text uses the full width */
}
.logo {
  height: 72px;
  width: 72px;
  margin-right: 0;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.95);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  background-color: #fff;
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav li {
  display: flex;
}
nav a {
  text-decoration: none;
  font-weight: 500;
  color: inherit;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

nav a.active {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.hamburger {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  border-radius: 2px;
  background-color: #fff;
}

nav a:hover {
  text-decoration: underline;
}

/* Login modal styles */
.login-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 2000; }
.login-modal.open { display: flex; }
.login-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.login-modal-panel { position: relative; width: 100%; max-width: 420px; margin: 24px; z-index: 2; }
.login-modal-content { background: transparent; }
.login-modal-close {
  position: absolute;
  right: -8px;
  top: -8px;
  background: #dc3545;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.login-modal-close:hover {
  background: #bd2130;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(220, 53, 69, 0.45);
}
.login-modal-close:active {
  transform: scale(0.95);
}
.modal-login-container { background: #fff; padding: 20px 18px; border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,0.18); }
.modal-login-container h2 { margin: 0 0 6px 0; color: #1f5d23; font-family: 'Calibri', 'Segoe UI', Arial, sans-serif; font-weight: 700; }
.modal-login-container p { margin: 0 0 12px 0; color: #000000; font-family: 'Calibri', 'Segoe UI', Arial, sans-serif; }
.modal-login-container form { display: flex; flex-direction: column; gap: 8px; }
.modal-login-container input { padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.08); }
.modal-login-container button { padding: 10px 12px; border-radius: 8px; border: none; background: #2f7d32; color: #fff; cursor: pointer; }
.modal-login-container .message { min-height: 20px; color: #b00020; margin-top: 6px; }


/* Gallery search input */
.gallery-search {
  width: 100%;
  max-width: 820px;
  padding: 12px 16px 12px 44px; /* left padding for icon */
  border-radius: 30px;
  border: 1px solid rgba(99,142,112,0.12);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='%237a8f85' d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zM10 15a5 5 0 110-10 5 5 0 010 10z'/%3E%3C/svg%3E") no-repeat 12px center;
  box-shadow: 0 4px 14px rgba(16,67,36,0.06);
  font-size: 15px;
  outline: none;
  transition: box-shadow 160ms ease, transform 120ms ease, border-color 160ms ease;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}
.gallery-search::placeholder{ color: #9aaea3; }
.gallery-search:focus {
  box-shadow: 0 8px 28px rgba(26,97,37,0.12);
  border-color: rgba(47,125,50,0.22);
  transform: translateY(-1px);
}



.hero {
  position: relative;
  overflow: visible;
  padding: clamp(32px, 6vw, 70px) clamp(16px, 4vw, 40px);
  text-align: center;
  min-height: clamp(480px, 70vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease-in-out;
  animation: heroPan 14s ease-in-out infinite;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0, 0, 0, 0.68) 0%, rgba(49, 109, 43, 0.52) 45%, rgba(217, 119, 6, 0.34) 100%);
}

.hero-slide.active {
  opacity: 1;
}

.hero > *:not(.hero-background) {
  position: relative;
  z-index: 1;
}

#blurred{
    backdrop-filter: blur(8px);
    border-radius: 18px;
  padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 28px) clamp(26px, 4vw, 34px);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.14));
    max-width: 920px;
  width: min(920px, calc(100vw - 32px));
}
.btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: #2f7d32;
  color: #ffffff;
  text-decoration: none; /* VERY IMPORTANT */
  border-radius: 4px;
  font-size: 15px;
  margin-bottom: 30px;
  transition: background 0.3s ease, transform 0.2s ease;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.btn:hover {
  background-color: #256628;
  transform: translateY(-2px);
}


.hero h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  margin-bottom: 15px;
  color: rgb(248, 151, 5);
  text-wrap: balance;
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
}

.hero p {
  max-width: 800px;
  margin: auto;
  font-size: clamp(15px, 1.7vw, 18px);
  color: #fcf9f9;
  overflow-wrap: break-word;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}
.hero h4{
  color: rgb(247, 244, 244);
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.35;
  text-wrap: balance;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.hero .btn {
  display: inline-block;
  margin: 15px 10px 0;
  padding: 10px 20px;
  background-color: #316d2b;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: clamp(14px, 1.5vw, 15px);
  transition: background-color 0.3s ease,transform 0.25s ease;
}

@keyframes heroPan {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.16) translate3d(-2%, -1.5%, 0);
  }
  100% {
    transform: scale(1.08) translate3d(1.5%, 1%, 0);
  }
}



.section h2 {
  color: #316d2b;
}


.box {
  margin-bottom: 25px;
}
.contact-section {
  position: relative;
  padding: 80px 10%;
  background: rgba(208, 247, 208, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.14);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 16%),
              radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.08), transparent 18%),
              radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.06), transparent 22%);
  pointer-events: none;
}

.contact-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: transparent;
  border: 3px solid transparent;
  opacity: 0.95;
  animation: circleBounce 12s ease-in-out infinite;
}

.circle-1 { width: 80px; height: 80px; border-color: rgba(255, 255, 255, 0.9); top: -30px; right: 10%; --tx1: -18px; --ty1: 20px; --tx2: 25px; --ty2: -15px; --tx3: -20px; --ty3: 30px; }
.circle-2 { width: 60px; height: 60px; border-color: rgba(30, 144, 255, 0.9); top: 40px; left: -50px; --tx1: 24px; --ty1: -12px; --tx2: -30px; --ty2: 18px; --tx3: 20px; --ty3: -25px; animation-delay: 0.8s; }
.circle-3 { width: 90px; height: 90px; border-color: rgba(255, 165, 0, 0.9); bottom: 20px; right: 15%; --tx1: -24px; --ty1: 18px; --tx2: 28px; --ty2: -20px; --tx3: -15px; --ty3: 35px; animation-delay: 1.6s; }
.circle-4 { width: 70px; height: 70px; border-color: rgba(210, 105, 30, 0.9); bottom: 80px; left: 20%; --tx1: 16px; --ty1: -14px; --tx2: -22px; --ty2: 26px; --tx3: 18px; --ty3: -30px; animation-delay: 2.4s; }
.circle-5 { width: 50px; height: 50px; border-color: rgba(50, 205, 50, 0.9); top: 30%; right: -40px; --tx1: -20px; --ty1: 22px; --tx2: 32px; --ty2: -18px; --tx3: -25px; --ty3: 28px; animation-delay: 3.2s; }
.circle-6 { width: 65px; height: 65px; border-color: rgba(0, 0, 0, 0.8); top: 60%; left: 40%; --tx1: 18px; --ty1: -20px; --tx2: -26px; --ty2: 24px; --tx3: 22px; --ty3: -28px; animation-delay: 4s; }
.circle-7 { width: 75px; height: 75px; border-color: rgba(255, 255, 255, 0.95); top: 10%; left: 60%; --tx1: -15px; --ty1: 25px; --tx2: 27px; --ty2: -22px; --tx3: -18px; --ty3: 32px; animation-delay: 4.8s; }
.circle-8 { width: 55px; height: 55px; border-color: rgba(0, 191, 255, 0.9); bottom: 50%; right: 30%; --tx1: 22px; --ty1: -18px; --tx2: -28px; --ty2: 20px; --tx3: 24px; --ty3: -26px; animation-delay: 5.6s; }
.circle-9 { width: 85px; height: 85px; border-color: rgba(255, 140, 0, 0.9); top: 70%; left: 10%; --tx1: -20px; --ty1: 15px; --tx2: 30px; --ty2: -16px; --tx3: -22px; --ty3: 34px; animation-delay: 6.4s; }
.circle-10 { width: 45px; height: 45px; border-color: rgba(34, 139, 34, 0.9); bottom: 10%; right: 50%; --tx1: 18px; --ty1: -22px; --tx2: -24px; --ty2: 28px; --tx3: 20px; --ty3: -32px; animation-delay: 7.2s; }
.circle-11 { width: 95px; height: 95px; border-color: rgba(255, 20, 147, 0.85); top: 20%; right: 5%; --tx1: -25px; --ty1: 20px; --tx2: 35px; --ty2: -25px; --tx3: -30px; --ty3: 40px; animation-delay: 8s; }
.circle-12 { width: 40px; height: 40px; border-color: rgba(255, 215, 0, 0.9); bottom: 30%; left: 5%; --tx1: 20px; --ty1: -15px; --tx2: -25px; --ty2: 22px; --tx3: 28px; --ty3: -35px; animation-delay: 8.8s; }
.circle-13 { width: 100px; height: 100px; border-color: rgba(138, 43, 226, 0.85); top: 50%; right: 20%; --tx1: -22px; --ty1: 18px; --tx2: 26px; --ty2: -20px; --tx3: -28px; --ty3: 38px; animation-delay: 9.6s; }
.circle-14 { width: 35px; height: 35px; border-color: rgba(255, 69, 0, 0.9); bottom: 60%; left: 30%; --tx1: 24px; --ty1: -18px; --tx2: -30px; --ty2: 24px; --tx3: 32px; --ty3: -28px; animation-delay: 10.4s; }
.circle-15 { width: 110px; height: 110px; border-color: rgba(0, 255, 127, 0.85); top: 5%; left: 20%; --tx1: -18px; --ty1: 22px; --tx2: 32px; --ty2: -24px; --tx3: -26px; --ty3: 36px; animation-delay: 11.2s; }
.circle-16 { width: 30px; height: 30px; border-color: rgba(255, 0, 255, 0.9); bottom: 40%; right: 40%; --tx1: 26px; --ty1: -20px; --tx2: -28px; --ty2: 26px; --tx3: 30px; --ty3: -34px; animation-delay: 12s; }
.circle-17 { width: 120px; height: 120px; border-color: rgba(0, 206, 209, 0.85); top: 40%; left: 70%; --tx1: -24px; --ty1: 16px; --tx2: 28px; --ty2: -18px; --tx3: -32px; --ty3: 42px; animation-delay: 12.8s; }
.circle-18 { width: 25px; height: 25px; border-color: rgba(255, 105, 180, 0.9); bottom: 70%; left: 50%; --tx1: 22px; --ty1: -22px; --tx2: -26px; --ty2: 28px; --tx3: 34px; --ty3: -36px; animation-delay: 13.6s; }
.circle-19 { width: 130px; height: 130px; border-color: rgba(50, 205, 50, 0.85); top: 80%; right: 60%; --tx1: -20px; --ty1: 24px; --tx2: 36px; --ty2: -26px; --tx3: -34px; --ty3: 44px; animation-delay: 14.4s; }
.circle-20 { width: 20px; height: 20px; border-color: rgba(255, 255, 0, 0.9); bottom: 20%; left: 70%; --tx1: 28px; --ty1: -24px; --tx2: -32px; --ty2: 30px; --tx3: 36px; --ty3: -38px; animation-delay: 15.2s; }

@keyframes circleBounce {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(var(--tx1), var(--ty1)) rotate(90deg); }
  50% { transform: translate(var(--tx2), var(--ty2)) rotate(180deg); }
  75% { transform: translate(var(--tx3), var(--ty3)) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

.contact-section h2 {
  color: #1b7c18;
  margin-bottom: 30px;
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
}

.contact-form {
  max-width: 1100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #0e0909;
  font-size: 14px;
  margin-bottom: 8px;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  outline: none;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.btn-submit {
  margin-top: 20px;
  padding: 14px 30px;
  background: #2f7d32;
  color: #fff;
  border: none;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.btn-submit:hover {
  background: #256628;
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

}
  .program-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.program-container {
  width: 100%;
  max-width: 1000px;
  position: relative;
}

.program {
  display: none;
  background: #dab821;
  color: white;
  padding: 5px;
  border-radius: 12px;
  text-align: center;
  animation: fade 0.5s ease-in-out;
  margin-bottom: 30px;
}

.program.active {
  display: block;
}

.program-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 30%;
  display: block;
  border-radius: 0;
  margin: 0;
  transition: transform 0.45s ease;
}

/* Specific container styling for programs page images */
.program-image-wrap {
  width: 100%;
  height: 100%!important;
  overflow: hidden;
  border-radius: 10px;
  margin: 15px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.program-image-wrap img.program-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 30%;
  display: block;
}

.program-image-wrap img.program-image:hover {
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .program-image-wrap {
    height: 180px;
    max-height: 220px;
  }
}

/* Figure/Caption overlay for programs images */
.program-figure {
  margin: 0;
  height: 100%;
  display: block;
  position: relative;
}

.program-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 30%;
}

.program-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  color: #fff;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

@media (max-width: 480px) {
  .program-image-wrap {
    height: auto !important;
    max-height: none !important;
    overflow: visible;
  }

  .program-image-frame {
    position: relative;
  }

  .program-figure {
    height: auto;
  }

  .program-figure img {
    width: 100%;
    height: auto;
  }

  .program-figure figcaption {
    position: static;
    display: block;
    height: auto;
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
    padding: 12px 14px;
    background: #fff;
    color: #000;
    text-align: left;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset;
  }

  .program-figure figcaption > span {
    display: block;
  }

  .program-figure .program-credit {
    margin-top: 6px;
  }
}

.program-caption {
  font-weight: 600;
}

.program-credit {
  color: #ffd88a;
  font-size: 12px;
  opacity: 0.95;
}

.nav-btn {
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  min-width:50px;
  height: 50px;
 

  border-radius: 50%;
  border: 2px solid #ffffff;
   font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 14px;

  display: flex;
  align-items: center;
  justify-content: center;
 
  gap: 5px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  z-index: 30;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}
.nav-btn i {
  pointer-events: none;
}

.nav-left {
  left: 10px;
}

.nav-right {
  right: 10px;
}
.nav-btn:hover {
  background: #ffffff;
  color: #1b5e20;
  transform: translateY(-50%) scale(1.05);
}

.nav-btn:focus {
  outline: 3px solid #ffb703;
}
.nav-helper {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: #444;
  opacity: 0.85;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

body {
  background: #f7f7f7;
  color: #000000;
}

.stories-page {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}
.section-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #777;
  margin: 40px 0 20px;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}


.featured-story {
  display: flex;
  gap: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
}

.featured-text {
  flex: 1;
}

.featured-text h2 {
  margin-bottom: 15px;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif; /* Level 2 - Calibri Bold */
  font-weight: 700;
}

.featured-text p {
  line-height: 1.6;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  color: #000000;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  color: #007BFF;
  font-weight: bold;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.featured-image {
  flex: 1;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 30%;
  border-radius: 8px;
}

.featured-image figure,
.story-card figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f8f8;
}

.story-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.story-caption-desc {
  font-weight: 500;
}

.story-caption-credit {
  color: #666;
  font-size: 13px;
}

.story-caption-credit a {
  color: #316d2b;
  text-decoration: none;
}

.story-caption-credit a:hover {
  text-decoration: underline;
}

.story-card .story-caption {
  border-top: none;
}

.story-card figure img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center 30%;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.story-card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
}

.story-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center 30%;
  border-radius: 6px;
}

.story-card p {
  margin-top: 10px;
  font-size: 14px;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
  .featured-story {
    flex-direction: column;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-caption {
    font-size: 13px;
  }
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

/* Carousel mode for gallery page: show one image at a time */
.gallery-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
  border-radius: 12px;
  background: #f6faf5;
}
.gallery-carousel {
  position: relative;
  min-height: 420px;
}
.gallery-carousel .gallery-item {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease;
}
.gallery-carousel .gallery-item.active {
  opacity: 1;
  pointer-events: auto;
}
.gallery-carousel .gallery-image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.gallery-carousel .gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 100%;
  display: block;
}
.gallery-caption-shell {
  padding: 14px 18px;
  background: rgba(255,255,255,0.96);
  color: #163a20;
  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-caption-shell h3 { margin: 0; font-size: 20px; color: #1f5d23; }
.gallery-caption-shell p { margin: 0; font-size: 14px; opacity: 0.95; color: #25432b; }
.gallery-caption-shell .credit { font-size: 12px; color: #6b4b10; opacity: 0.95; margin-top: 6px; display: block; }

.gallery-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.gallery-controls button {
  pointer-events: auto;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 12px;
  cursor: pointer;
}

/* Dots indicators */
.gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 12px 0 0 0;
}
.gallery-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.18);
  cursor: pointer;
}
.gallery-dots button.active {
  background: #2f7d32;
  box-shadow: 0 4px 10px rgba(47,125,50,0.18);
}

@media (max-width: 720px) {
  .gallery-image-wrap { height: 300px; }
  .gallery-carousel { min-height: 300px; }
  .gallery-caption h3 { font-size: 16px; }
}

.gallery img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}


form {
  max-width: 1000px;
  width: 100%;
}

 form input, form textarea, form button {
  width: 100%;
  padding: 10px;
  
}

button {
  background-color:#316d2b;
  color: white;
  border: none;
  cursor: pointer;
  padding-bottom: 20px;
  border-radius: 10px;

}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-image-wrap {
  position: relative;
  overflow: hidden;
}

.gallery-image-wrap img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-image-wrap img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.image-overlay a {
  color: #ffdd8b;
  text-decoration: underline;
}

.gallery-description {
  padding: 18px 16px 22px;
  text-align: left;
}

.gallery-description h3 {
  margin: 0 0 10px 0;
  color: #316d2b;
  font-size: 18px;
}

.gallery-description h3 {
  margin: 10px 0 8px 0;
  color:#316d2b;
  font-size: 18px;
}

.gallery-description p {
  margin: 0;
  font-size: 14px;
  color: #000000;
  line-height: 1.5;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}
#about-us {
  padding: 60px 40px;
  background: #316d2b;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 12px;
  color: #fff;
}
#about-us h2 {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
}

/* Partner With Us section */
.partner-section {
  background: linear-gradient(180deg, #f3f7f1 0%, #edf6ea 100%);
  padding: 48px 16px;
}
.partner-shell {
  max-width: 800px;
  margin: 0 auto;
  padding: 28px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,250,240,0.9));
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(31, 66, 28, 0.08);
  border: 1px solid rgba(49,109,43,0.06);
}
.partner-container {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.partner-container > div {
  flex: 1 1 320px;
}
#partner-with-us h2 {
  color: #1f5d23;
  margin-bottom: 8px;
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
}
#partner-with-us p {
  color: #264b2b;
  line-height: 1.6;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}
#partner-with-us h5 {
  color: #316d2b;
  margin-top: 14px;
}
.partner-container ul {
  padding-left: 18px;
  margin: 12px 0 16px 0;
  color: #25432b;
}
.partner-container li {
  margin-bottom: 10px;
}
.partner-cta {
  display: inline-block;
  padding: 12px 18px;
  background: linear-gradient(90deg, #3a8a3c 0%, #2f7d32 100%);
  color: #fffcfc !important;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(47,125,50,0.18);
  text-decoration: none;
  font-weight: 700;
  margin-top: 8px;
}
.partner-cta:hover {
  transform: translateY(-2px);
}

/* Partnership gallery (simple responsive grid) */
.partnership-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.partnership-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 30%;
  border-radius: 8px;
  display: block;
}

@media (max-width: 720px) {
  .partner-shell { padding: 18px; }
  .partnership-gallery { grid-template-columns: 1fr 1fr; }
  .partner-container { gap: 12px; }
}


.about-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.about-video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.about-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.65) saturate(1.1);
}

.site-video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.site-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: brightness(0.78) saturate(1.05);
}

.about-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  z-index: -1;
  pointer-events: none;
}

#team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 34px auto 0;
}

.team-container {
  background: linear-gradient(180deg, rgba(245, 247, 246, 0.96) 0%, rgba(233, 240, 231, 0.96) 100%);
  padding: 42px 28px 48px;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.team-header {
  text-align: center;
}

.team-label {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: #d97706;
}

.team-header h2 {
  margin: 0;
  color: #111111;
  font-size: 36px;
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
}

.team-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(47, 125, 50, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.team-photo {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center 30%;
  display: block;
}

.team-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 20px 26px;
  text-align: left;
}

.team-name {
  margin: 0 0 10px;
  color: #111111;
  font-size: 20px;
  line-height: 1.3;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif; /* Level 2 - Calibri Bold */
  font-weight: 700;
}

.team-role {
  margin: 0;
  color: #2f7d32;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.team-bio {
  color: #000000;
  line-height: 1.7;
  margin: 14px 0 0;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.team-connect {
  margin-top: auto;
  padding-top: 16px;
}

.team-connect-title {
  color: #1f3d24;
  font-style: italic;
  font-weight: 700;
  margin: 0 0 10px;
}

.team-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-profile-links a {
  background: rgba(49, 109, 43, 0.1);
  border: 1px solid rgba(49, 109, 43, 0.18);
  border-radius: 999px;
  color: #24502a;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 12px;
  text-decoration: none;
}

.team-profile-links a:hover,
.team-profile-links a:focus {
  background: #316d2b;
  color: #ffffff;
}

.what-we-do {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 60px 40px;
  margin: 20px auto;
  max-width: 100%;
  background: linear-gradient(135deg, rgba(179, 157, 138, 0.3) 0%, rgba(139, 120, 105, 0.3) 100%);
  border-radius: 12px;
}

.what-we-do > div {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

.what-we-do h2 {
  color: #316d2b;
  margin-bottom: 18px;
  font-size: 32px;
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
}

#nascec-video .video-wrapper {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  margin-right: 0%;
  margin-left: 0%;
}

#nascec-video video {
  width: 100%;
  height: auto;
  display: block;
}
#nascec-video  {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  margin-left: 0%;
  margin-top:20px;
  max-height: fit-content;
  margin-right: 0%;
}
#what-we-do-NASCEC p {
  margin-bottom: 20px;
  color: #000000;
  line-height: 1.75;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  
}
#what-we-do-NASCEC {
  padding-right: 25px;
  padding-left: 25px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: rgb(228, 221, 221);
  border-radius: 10px;
  
}
#part-of-circle p,
#nascec-video p {
  margin-bottom: 20px;
  color: #000000;
  line-height: 1.75;
  padding-right: 0%;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  
}

@media (max-width: 992px) {
  .what-we-do {
    grid-template-columns: 1fr;
  }
}

.partner-section {
  width: 100%;
  padding: 60px 50px;
  background: linear-gradient(135deg, rgba(179, 157, 138, 0.3) 0%, rgba(139, 120, 105, 0.3) 100%);
  margin: 0;
}

.partner-shell {
  max-width: 1400px;
  margin: auto;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

.partner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

#partner-with-us {
  background: transparent;
  border-radius: 18px;
  padding: 18px 20px 18px 18px;
  box-shadow: none;
}

.partnership-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 0;
  background: transparent;
  min-height: auto;
  height: 100%;
  overflow: hidden;
}

.partnership-gallery img,
.slideshow-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center 30%;
  border-radius: 12px;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 4px solid rgba(179, 157, 138, 0.4);
}

.partnership-gallery img:hover,
.slideshow-image:hover {
  opacity: 1;
  transform: scale(1.02);
}

#partner-with-us h2 {
  color: #316d2b;
  margin-bottom: 18px;
  font-size: 32px;
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
}

#partner-with-us > p {
  margin-bottom: 25px;
  color: #000000;
  line-height: 1.75;
  font-size: 16px;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

#partner-with-us ul {
  margin-bottom: 25px;
}

#partner-with-us li {
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 992px) {
  .partner-section {
    padding: 40px 20px;
  }

  .partner-shell {
    padding: 20px;
  }

  .partner-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .partnership-gallery {
    min-height: 300px;
  }

  .partnership-gallery img,
  .slideshow-image {
    max-width: 100%;
    height: 250px;
  }
}

footer {
  background-color: #316d2b;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  width: 100%;
}
.programs-footer {
  position: relative;
  background-color: #316d2b;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}
.contact-footer {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #316d2b;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.social-links i {
  font-size: 18px;
}

.social-links a:hover {
  opacity: 0.85;
}



.social-links a.whatsapp i {
  color: #25d33c;
}

.social-links a.facebook i {
  color: #1877F2;
}

.social-links a.instagram i {
  color: #E1306C;
}

.social-links a.linkedin i {
  color: #0A66C2;
}

#part-of-circle{
  text-align: center;
  background-color: white;
  border-radius: 10px;
  margin-bottom: 32px;
  padding: 24px 20px 30px;
  
   
}
#what-we-do{
  padding-right: 25px;
  padding-left: 25px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: rgb(228, 221, 221);
  border-radius: 10px;
  padding-bottom: 20px;
  margin-left: 40px;
  margin-right: 700px;
}
#part-of-circle button{
    border-radius:10px;
    width: 200px;
    background-color: #316d2b;

}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  overflow-y: auto;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 80%;
  max-width: 700px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover,
.close:focus {
  color: #000;
}

.modal-content h2 {
  margin-top: 0;
  color: #316d2b;
}

.story-media {
  margin: 20px 0;
}

.story-media img,
.story-media video {
  border-radius: 8px;
  display: block;
  max-height: 70vh;
  object-fit: contain;
  width: 100%;
}

.story-subheading {
  color: #444;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 12px;
}

.modal-content p {
  line-height: 1.8;
  color: #000000;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.story-link {
  margin: 8px 0 0;
}

.story-link a {
  color: #316d2b;
  font-weight: 600;
}

.story-link a:hover,
.story-link a:focus {
  text-decoration: underline;
}

section {
  width: 100%;
}

@media (max-width: 1200px) {
  .what-we-do,
  .partner-section,
  .contact-section,
  #about-us,
  .team-container,
  .stories-page {
    padding-left: 24px;
    padding-right: 24px;
  }

  .partner-container {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 18px 20px;
  }

  .header-container {
    position: relative;
    flex-wrap: wrap;
    gap: 0;
  }

  #logo_container {
    align-items: center;
    text-align: left;
  }

  header h1 {
    font-size: 26px;
  }

  .logo {
    height: 80px;
    width: 80px;
    margin-right: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.95);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    background-color: #fff;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  nav {
    width: 100%;
    display: none;
    margin-top: 16px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  nav li {
    width: 100%;
  }

  nav a {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: clamp(28px, 8vw, 48px) clamp(14px, 4vw, 20px);
  }

  #blurred {
    width: min(100%, 920px);
    padding: clamp(20px, 4vw, 24px) clamp(14px, 4vw, 16px) clamp(22px, 5vw, 24px);
  }

  .hero h2,
  .what-we-do h2,
  #partner-with-us h2 {
    font-size: clamp(22px, 4.5vw, 28px);
  }

  .hero h4 {
    font-size: clamp(15px, 3.2vw, 18px);
  }

  .hero p,
  #what-we-do-NASCEC p,
  #part-of-circle p,
  #nascec-video p,
  #partner-with-us > p {
    font-size: clamp(15px, 2.8vw, 16px);
  }

  .hero .btn,
  .btn {
    width: 100%;
    max-width: 320px;
    margin: 12px auto 0;
    text-align: center;
  }

  .what-we-do,
  .partner-section,
  .contact-section,
  .stories-page {
    padding: 32px 16px;
  }

  #about-us,
  .team-container,
  .partner-shell,
  #part-of-circle {
    margin-left: 16px;
    margin-right: 16px;
  }

  #about-us,
  .team-container {
    padding: 28px 20px;
  }

  .partner-shell {
    padding: 18px;
  }

  .partner-container,
  .what-we-do,
  .featured-story {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .featured-story,
  .story-card {
    padding: 20px;
  }

  .stories-page {
    margin: 0;
  }

  #team {
    justify-content: center;
    gap: 24px;
  }

  .team-header h2 {
    font-size: 30px;
  }

  .team-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .team-photo {
    height: 260px;
  }

  .program-slider {
    padding: 0 12px 24px;
  }

  .program-container {
    max-width: 100%;
  }

  .program {
    padding: 16px;
    margin-bottom: 16px;
  }

  .nav-btn {
    min-width: 42px;
    height: 42px;
    font-size: 12px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 220px;
  }

  .contact-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .contact-form,
  .form-group,
  .full-width {
    width: 100%;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .modal-content {
    width: calc(100% - 32px);
    margin: 24px auto;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 16px 14px;
  }

  header h1 {
    font-size: 20px;
  }

  nav {
    gap: 8px 12px;
  }

  nav a {
    font-size: 13px;
  }

  .hero h2,
  .what-we-do h2,
  #partner-with-us h2,
  #about-us h2,
  .team-header h2,
  .contact-section h2 {
    font-size: clamp(21px, 6vw, 24px);
  }

  .hero h4 {
    font-size: clamp(14px, 4.4vw, 16px);
  }

  .hero p,
  #what-we-do-NASCEC p,
  #partner-with-us > p,
  #part-of-circle p,
  .modal-content p {
    font-size: clamp(14px, 4vw, 15px);
  }

  .what-we-do > div,
  #partner-with-us,
  #nascec-video {
    padding: 20px 16px;
  }

  #about-us,
  .team-container,
  #part-of-circle,
  .partner-shell {
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 24px;
  }

  .partner-section,
  .stories-page,
  .contact-section,
  .what-we-do {
    padding-left: 12px;
    padding-right: 12px;
  }

  #part-of-circle {
    margin-bottom: 28px;
    padding: 22px 16px 26px;
  }

  .partnership-gallery {
    min-height: 220px;
  }

  .team-container {
    padding: 28px 18px 34px;
  }

  .team-photo {
    height: 220px;
  }

  .team-card-body {
    padding: 18px 16px 22px;
  }

  .partnership-gallery img,
  .slideshow-image,
  .gallery-item img {
    height: 220px;
  }

  .program {
    padding: 14px 12px 18px;
  }

  .program-image {
    max-height: 220px;
  }

  .contact-footer,
  .programs-footer,
  footer {
    font-size: 13px;
    padding: 14px 12px;
  }
}

/* Shared immersive pages */
.immersive-page {
  position: relative;
  min-height: 100vh;
  color: #224127;
  background:
    radial-gradient(circle at top left, rgba(239, 169, 44, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(93, 175, 222, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(247, 251, 244, 0.82) 0%, rgba(237, 246, 236, 0.86) 54%, rgba(226, 239, 228, 0.88) 100%);
}

.immersive-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.08) 100%),
    radial-gradient(circle at 16% 14%, rgba(49, 109, 43, 0.1), transparent 20%),
    radial-gradient(circle at 85% 22%, rgba(182, 114, 32, 0.12), transparent 18%);
  pointer-events: none;
  z-index: -1;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 88px;
}

.home-page {
  position: relative;
}

.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(247, 251, 244, 0.24) 0%, rgba(237, 246, 236, 0.12) 100%);
  pointer-events: none;
}

.glass-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(245, 251, 244, 0.94) 100%);
  border: 1px solid rgba(49, 109, 43, 0.14);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(49, 109, 43, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-hero {
  padding: 32px;
  margin-bottom: 28px;
}

.page-kicker {
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: #b87420;
  font-weight: 700;
}

.page-hero h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  color:#b87420;
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
}

.page-hero p {
  max-width: 760px;
  color: #000802;
  font-size: 1.02rem;
  line-height: 1.7;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

.program-showcase,
.stories-page,
.gallery-page .glass-panel,
.contact-section,
.contact-connect-panel,
.partnership-form-container {
  padding: 28px;
}

.program-container {
  max-width: 100%;
}

.program {
  display: none;
  padding: 0;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(54, 148, 35, 0.96) 0%, rgba(233, 243, 231, 0.98) 100%);
  border: 1px solid rgba(49, 109, 43, 0.12);
  overflow: hidden;
}

.program.active {
  display: block;
}

.program-copy {
  padding: 26px;
}

.program-tag {
  margin-bottom: 10px;
  color: #b87420;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

.program h3,
.featured-text h2,
.gallery-description h3,
.contact-section h2,
.partnership-page h2,
.contact-connect-panel h4,
.story-card h3 {
  color: #000e02;
}

.program p,
.featured-text p,
.gallery-description p,
.contact-side-copy,
.partnership-lead,
.story-card p {
  color: #010f05;
}

.program-image,
.featured-image img,
.story-card img,
.gallery-item img {
  border-radius: 20px;
  box-shadow: 0 18px 35px rgba(247, 2, 2, 0.24);
}

.nav-btn {
  border: 1px solid rgba(49, 109, 43, 0.22);
  background:rgba(16, 87, 1, 0.92) ;
  color: #fffaf0;
}

.nav-btn:hover {
  background: #efa92c;
  color: #16321f;
}

.nav-helper,
.section-label {
  color: #6f7f71;
}

.stories-page {
  max-width: none;
  margin: 0;
}

.featured-text h2,
.story-card h3 {
  color: #17311f;
}

.featured-text p,
.story-card p {
  color: #000000;
}

.featured-text p {
  white-space: pre-line;
}

.featured-story {
  background: rgba(244, 251, 243, 0.92);
  border: 1px solid rgba(49, 109, 43, 0.12);
  border-radius: 24px;
}

.story-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.story-card,
.gallery-item {
  background: rgba(248, 252, 247, 0.96);
  border: 1px solid rgba(49, 109, 43, 0.12);
  border-radius: 22px;
  padding: 18px;
  box-shadow: none;
}

.story-card:hover,
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.read-more {
  color: #b87420;
  font-weight: 700;
}

.gallery {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-item {
  overflow: hidden;
}

.gallery-description {
  padding: 18px 6px 6px;
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.contact-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(243, 250, 242, 0.96) 100%);
  border-radius: 28px;
}

.contact-section::before {
  display: none;
}

.contact-section,
.partnership-form-container {
  overflow: hidden;
}

.contact-section > *:not(.contact-ornaments),
.partnership-form-container > *:not(.contact-ornaments) {
  position: relative;
  z-index: 1;
}

.contact-ornaments {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 0;
  opacity: 0.48;
}

.contact-ornaments .circle {
  border-width: 2px;
}

.contact-ornaments .circle-1,
.contact-ornaments .circle-7 {
  border-color: rgba(255, 255, 255, 0.9);
}

.contact-ornaments .circle-3,
.contact-ornaments .circle-9 {
  border-color: rgba(239, 169, 44, 0.6);
}

.contact-ornaments .circle-5,
.contact-ornaments .circle-10 {
  border-color: rgba(49, 109, 43, 0.45);
}


.contact-form {
  max-width: none;
}

.form-group label {
  color: #2b4f2f;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.partnership-form-container select {
  border: 1px solid rgba(49, 109, 43, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: #1d241d;
  border-radius: 16px;
}

.partnership-form-container {
  max-width: 860px;
  margin: 0 auto;
}

.partnership-form-container form,
.partnership-form-container .form-group {
  max-width: none;
}

.partnership-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.partnership-form-container {
  margin: 0;
}

.partnership-form-container form {
  text-align: left;
}

.partnership-visual {
  padding: 28px;
}

.partnership-visual h3 {
  margin: 0 0 12px;
  color: #24502a;
  font-size: 1.8rem;
}

.partnership-visual-copy {
  margin-bottom: 18px;
  color: #4d6250;
}

.partnership-visual-frame {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(49, 109, 43, 0.14);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 36px rgba(49, 109, 43, 0.14);
}

.partnership-visual-frame img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center 30%;
  transition: transform 0.45s ease;
}

.partnership-visual-frame:hover img {
  transform: scale(1.03);
}

.partnership-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.partnership-points p {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid #316d2b;
  border-radius: 14px;
  background: rgba(244, 251, 243, 0.94);
  color: #2f4f32;
}

.btn-submit {
  border-radius: 999px;
  background: linear-gradient(135deg, #316d2b 0%, #3f8b36 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #245d21 0%, #316d2b 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(49, 109, 43, 0.24);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  margin: 14px 4px 0;
  padding: 0 16px;
  min-height: 0;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease, padding 0.28s ease, min-height 0.28s ease;
  pointer-events: none;
}

.form-status.is-visible {
  min-height: 24px;
  padding: 12px 16px;
  opacity: 1;
  transform: translateY(0);
}

.form-status.success {
  background: rgba(226, 246, 223, 0.95);
  color: #1f5d28;
  border: 1px solid rgba(49, 109, 43, 0.24);
}

.form-status.error {
  background: rgba(253, 232, 232, 0.96);
  color: #a12b2b;
  border: 1px solid rgba(161, 43, 43, 0.2);
}

.contact-connect-panel {
  height: fit-content;
}

.social-links {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #24502a;
  text-decoration: none;
  background: rgba(244, 251, 243, 0.96);
  border: 1px solid rgba(49, 109, 43, 0.14);
}

.social-links a:hover {
  background: rgba(49, 109, 43, 0.1);
}

.immersive-page footer {
  background-color: #316d2b;
  color: #fff;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .featured-story {
    flex-direction: column;
  }

  .partnership-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding: 32px 0 56px;
  }

  .page-hero,
  .program-showcase,
  .stories-page,
  .contact-section,
  .contact-connect-panel,
  .partnership-form-container,
  .gallery-page .glass-panel {
    padding: 20px;
  }

  .program-copy {
    padding: 20px;
  }

  .story-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* === Non-cropping image rules + featured story container === */
/* Ensure img/video/picture scale to fit their containers without cropping */
img, picture, video {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain !important;
  display: block;
}

/* Prefer contain for elements that use background images so they don't crop */
.hero-slide,
.partnership-gallery,
.partnership-visual-frame,
.featured-image,
.gallery-item,
.story-card,
.team-photo,
.slideshow-image {
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Make figure images resize to fit their boxes (no cropping) */
.featured-image img,
.story-card figure img,
.gallery-item img,
.partnership-visual-frame img,
.program-image,
.team-photo {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}

/* A clean container for the featured/latest story text */
.story-text-container {
  background: #fffdf6; /* warm off-white like newsprint */
  padding: 32px 28px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  max-width: 720px;
  flex: 1 1 58%;
}

.story-text-container h2 {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif; /* Level 2 - Calibri Bold */
  font-weight: 700;
  font-size: clamp(20px, 2.8vw, 34px);
  line-height: 1.05;
  color: #111111;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.story-text-container p:first-of-type {
  font-style: italic;
  color: #000000;
  margin-bottom: 14px;
}

.story-text-container p {
  color: #000000;
  line-height: 1.8;
  font-size: clamp(15px, 1.8vw, 17px);
  text-align: justify;
  margin-bottom: 12px;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
}

/* Ensure featured image sits to the right at a comfortable width */
.featured-image {
  flex: 1 1 40%;
  display: flex;
  align-items: flex-start;
}

.featured-image figure img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  object-fit: contain !important;
}

/* Wrap text around the featured image on larger screens (newspaper style) */
@media (min-width: 980px) {
  .featured-story {
    display: block;
  }

  .featured-image {
    float: right;
    width: 38%;
    margin-left: 28px;
    margin-top: 6px;
  }

  .featured-text {
    max-width: calc(100% - 40%);
  }

  /* ensure the container clears floats where needed */
  .featured-story::after {
    content: "";
    display: table;
    clear: both;
  }
}

/* Ensure program images fit their program copy container without cropping */
.program-image {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px;
  margin: 12px 0;
  display: block;
}

/* Premium Magazine-Style Stories Modal */
.modal {
  background-color: rgba(26, 32, 28, 0.85); /* subtle dark-green-tinted backdrop */
  backdrop-filter: blur(8px);
}

.modal-content.article-layout {
  background-color: #fffdf9; /* warm newsprint paper color */
  border: none;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  margin: 4% auto;
  padding: 40px 48px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  color: #1a1a1a;
}

/* Close button styled elegantly */
.close-article {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 32px;
  font-weight: 300;
  color: #666;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.close-article:hover {
  color: #d32f2f;
  transform: rotate(90deg);
}

/* Article Header (Logo / Credit Section at the top) */
.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #111;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.article-publication {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.article-pub-details {
  display: flex;
  flex-direction: column;
}

.pub-name {
  font-family: 'Antonio', sans-serif; /* NASCEC JOURNAL - Antonio Bold */
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  color: #1f5d23; /* NASCEC green */
}

.pub-issue {
  font-family: 'Antonio', sans-serif; /* Tagline - Antonio Light/Normal */
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #666;
}

.article-meta {
  text-align: right;
}

.meta-label {
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #dc3545; /* elegant red kicker */
  text-transform: uppercase;
  border: 1px solid rgba(220, 53, 69, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Headline */
.article-headline {
  font-family: 'Antonio', sans-serif; /* Level 1 - Antonio Bold */
  font-weight: 700;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.15;
  color: #0b2210; /* very deep forest green/black */
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

/* Article Deck / Description */
.article-deck {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.45;
  color: #555;
  margin: 0 0 20px 0;
}

.article-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

/* Media Section styling */
.article-media-container {
  margin-bottom: 28px;
}

.article-media-container .story-media {
  margin: 0 0 8px 0;
}

.article-media-container img,
.article-media-container video {
  width: 100%;
  border-radius: 6px;
  max-height: 60vh;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.article-media-container .modal-caption {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
  padding: 8px 12px;
  border-left: 3px solid #1f5d23;
  background: rgba(31, 93, 35, 0.04);
  border-radius: 0 4px 4px 0;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.article-media-container .story-caption-desc {
  font-style: italic;
  flex-grow: 1;
}

.article-media-container .story-caption-credit a {
  color: #1f5d23;
  font-weight: 600;
  text-decoration: none;
}

.article-media-container .story-caption-credit a:hover {
  text-decoration: underline;
}

/* Article Body Content */
.article-body {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #000000;
  margin-top: 20px;
}

.article-body p {
  margin-bottom: 18px;
  text-align: justify;
}

.article-body p:first-of-type::first-letter,
.article-body-featured p:first-of-type::first-letter {
  font-size: 48px;
  font-weight: 700;
  float: left;
  line-height: 1;
  padding-right: 8px;
  color: #1f5d23;
  font-family: 'Antonio', sans-serif;
}

/* Links & Contact inside Modal */
.article-body .story-link {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 0 0;
  padding: 12px 16px;
  background: #f1f7f2;
  border-radius: 6px;
  display: inline-block;
  color: #2f7d32;
  border: 1px solid rgba(31, 93, 35, 0.08);
  margin-right: 12px;
}

.article-body .story-link a {
  color: #1f5d23;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease;
}

.article-body .story-link a:hover {
  color: #0b2210;
  text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 768px) {
  .modal-content.article-layout {
    padding: 30px 24px;
    margin: 8% auto;
    width: 92%;
  }
  
  .article-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .article-meta {
    text-align: left;
  }
  
  .article-body p {
    text-align: left;
  }
}

/* Style for Latest/Featured Story page layout */
.featured-deck {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  font-style: italic;
  color: #555 !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  margin-bottom: 20px !important;
}

.article-body-featured {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  color: #000000;
}

.article-body-featured p {
  margin-bottom: 18px;
  text-align: justify;
}

.featured-story-links {
  margin-top: 20px;
}

.featured-story-links .story-link {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 8px 12px 0 0;
  padding: 10px 14px;
  background: #f1f7f2;
  border-radius: 6px;
  display: inline-block;
  color: #2f7d32;
  border: 1px solid rgba(31, 93, 35, 0.08);
}

.featured-story-links .story-link a {
  color: #1f5d23;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease;
}

.featured-story-links .story-link a:hover {
  color: #0b2210;
  text-decoration: underline;
}

/* Custom styling for Latest Stories section to move images to the top and add carousel */

.featured-story {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  padding: 30px !important;
  background: rgba(244, 251, 243, 0.92) !important;
  border: 1px solid rgba(49, 109, 43, 0.12) !important;
  border-radius: 24px !important;
}

.featured-image {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
}

.featured-image figure {
  margin: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #f8f8f8 !important;
  width: 100% !important;
}

.featured-image figure img {
  border-radius: 12px 12px 0 0 !important;
  width: 100% !important;
  height: auto !important;
  max-height: 480px !important;
  object-fit: cover !important;
}

.featured-text {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 980px) {
  .featured-story {
    display: flex !important;
    flex-direction: column !important;
  }

  .featured-image {
    float: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .featured-text {
    max-width: 100% !important;
  }
}

/* Carousel Styles */
.stories-carousel {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 35px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(49, 109, 43, 0.15);
  background: #000;
}

@media (max-width: 768px) {
  .stories-carousel {
    height: 250px;
    margin-bottom: 20px;
  }
}

.stories-carousel .carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.stories-carousel .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  z-index: 1;
}

.stories-carousel .carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.stories-carousel .carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  z-index: 1;
}

.stories-carousel .carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  padding: 35px 28px;
  color: #ffffff;
  z-index: 2;
  box-sizing: border-box;
  text-align: left;
}

@media (max-width: 768px) {
  .stories-carousel .carousel-overlay {
    padding: 15px 15px 30px;
  }
}

.stories-carousel .carousel-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 28px);
  margin: 0 0 8px 0;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.stories-carousel .carousel-caption {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(12px, 1.5vw, 15px);
  margin: 0 0 8px 0;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  line-height: 1.45;
}

.stories-carousel .carousel-credit {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(10px, 1.2vw, 13px);
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.stories-carousel .carousel-credit a {
  color: #a3ffa3;
  text-decoration: none;
  font-weight: 600;
}

.stories-carousel .carousel-credit a:hover {
  text-decoration: underline;
}

.stories-carousel .carousel-dots {
  position: absolute;
  bottom: 20px;
  right: 25px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.stories-carousel .carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.stories-carousel .carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.stories-carousel .carousel-dot.active {
  background: #316d2b;
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* =============================================================
   NASCEC STANDALONE - Antonio Bold
   ============================================================= */

.nascec-standalone,
.cbo-name,
#logo_container h1 {
  font-family: 'Antonio', sans-serif;
  font-weight: 700;
}

/* CBO Name in text - follows text font */
.nascec-in-text,
.cbo-in-text {
  font-family: inherit;
  font-weight: inherit;
}
