
:root {
  --bg1: #070b1a;
  --bg2: #0f1530;
  --bg3: #1e2450;
  --bg-gradient: radial-gradient(circle at top right, #1e2450 0%, #0f1530 60%, #070b1a 100%);
  --card-bg: rgba(255,255,255,0.08);
  --accent: #f6b142;
  --text-light: #ffffff;
  --text-dark: #d4d4d4;
  --shadow: 0 12px 28px rgba(0,0,0,0.4);
}

/* ================== IMAGE PROTECTION ================== */
img {
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* =========================================
   BACKGROUND ANIMATED LAYERS
   ========================================= */
.bg-animated {
  position: relative;
  min-height: 100vh;
  z-index: 0;
  background: linear-gradient(180deg, #0a0d1f 0%, #111c3d 50%, #1f1a46 100%);
  overflow-x: hidden;
}

.bg-animated::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(255,200,100,0.25) 0%,
    rgba(255,140,40,0.12) 30%,
    rgba(40,30,80,0) 70%
  );
  animation: dawnGlow 40s ease-in-out infinite;
  opacity: 0.6;
  z-index: -2;
  filter: blur(120px);
}

.bg-animated::after {
  content: "";
  position: fixed;
  top: -10vh;
  right: -10vw;
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle at center,
    rgba(255,220,120,0.4) 0%,
    rgba(255,180,60,0.2) 25%,
    rgba(0,0,0,0) 80%
  );
  animation: sunrisePulse 30s ease-in-out infinite;
  mix-blend-mode: screen;
  opacity: 0.3;
  z-index: -1;
  filter: blur(150px);
}

@keyframes dawnGlow {
  0%,100% { transform: translateY(0) scale(1); opacity: 0.55; }
  50% { transform: translateY(-4vh) scale(1.1); opacity: 0.75; }
}

@keyframes sunrisePulse {
  0%,100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.1); opacity: 0.45; }
}

/* ================== BASE ================== */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: #070b1a; 
  color: var(--text-light);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ================== NAV ================== */
.navbar {
  background: rgba(5,8,20,0.8);
  backdrop-filter: blur(12px);
  padding: 0;
  position: relative; 
 
  z-index: 1000;
  box-shadow: var(--shadow);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 3%; 
}
.nav-header-img {
  width: 100%;
  height: 250px;      /* Locks the height */
  object-fit:fill;
  display:flex
}
.nav-toggle {
  background: transparent;
  border: 1px solid rgba(241,177,74,.4);
  border-radius: .5rem;
  padding: .4rem .5rem;
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle .bar { width: 22px; height: 2px; background: #f1b14a; }
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a,
.drop-trigger {
  color: var(--text-light);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}
.nav-links a:hover,
.drop-trigger:hover {
  color: var(--accent);
}
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  background: #111a2e;
  border-radius: .5rem;
  top: 120%; left: 0;
  min-width: 180px;
  box-shadow: 0 6px 12px rgba(0,0,0,.3);
  list-style: none;
  padding: .5rem 0;
}
.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
}
.dropdown:hover .dropdown-menu { display: block; }

/* ================== LAYOUT ================== */
.founder-leader-layout {
  display: grid;
  grid-template-columns: 430px 1fr 450px;
  gap: 2rem;
  max-width: 1700px;
  margin: 2rem auto;
  padding: 0 2rem;
  align-items: stretch; 
}

/* ================== LEFT COLUMN ================== */
.left-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.impact-card img {
  width: 100%;
  height: auto; 
  box-shadow: var(--shadow);
  border-radius: 4px;
}

.promise-card {
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
  color: var(--text-light);
  font-size: 1rem;
  box-shadow: var(--shadow);
  height: 100%; 
}
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.promise-verse-ref {
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.4rem;
}
.promise-verse-text {
  margin-top: 0.5rem;
  font-weight: 400;
  color: var(--text-dark);
}
.promise-image {
  width: 100%;
  margin-top: 0.8rem;
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow);
}

/* ================== CENTER (FOUNDER) ================== */
.founder-center {
  text-align: center;
  background: rgba(255,255,255,0.08);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.founder-photo-large {
  width: 260px;
  height: 260px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.2rem;
  box-shadow: 0 0 20px rgba(246,177,66,0.4);
  border-radius: 4px;
}
.founder-center h3 {
  color: var(--accent);
  font-size: 1.4rem;
  margin: 0.5rem 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bio-text {
  text-align: justify; 
  text-align-last: center; 
  font-size: 1rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.bio-text p {
  margin-bottom: 1.2rem;
}

.bio-text .quote {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2rem;
  border-top: 1px solid rgba(246,177,66,0.3);
  padding-top: 1rem;
}

/* ================== RIGHT COLUMN ================== */
.right-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.leader-slider {
  background: rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}
.leader-slider h4 {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.leader-frame {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}
.leader-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.leader-card.active {
  opacity: 1;
  transform: scale(1);
}
.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  transition: filter 0.8s ease;
}
.leader-card.active .leader-photo {
  filter: grayscale(0);
}
.leader-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(2px);
}
.leader-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}
.leader-controls button {
  background: var(--accent);
  color: #000;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.leader-controls button:hover {
  background: #ffd27e;
  transform: scale(1.08);
}

/* ================== EVENTS ================== */
.events-card {
  background: rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  margin-top: auto; 
}
.events-card h4 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.event-item {
  border-left: 3px solid var(--accent);
  padding-left: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
/* ================== TESTIMONIALS ================== */
.testimonials-section {
  max-width: 1700px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.testimonials-container {
  /* Using your existing card variables for consistency */
  background: rgba(255,255,255,0.05); /* Slightly more transparent than others */
  backdrop-filter: blur(8px);
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
  border-radius: 8px;
  text-align: center;
}

.testimonials-container h2 {
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.05em;
  font-size: 1.8rem;
}

.section-sub {
  color: var(--text-dark);
  margin-bottom: 3rem;
  font-style: italic;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.test-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 4px;
  position: relative;
  border-top: 3px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.test-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.quote-icon {
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: serif;
}

.test-text {
  position: relative;
  z-index: 1;
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-info h4 {
  color: var(--text-light);
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.author-info span {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive adjustment for testimonials */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
/* ================== FOOTER ================== */
.site-footer {
  text-align: center;
  color: var(--text-dark);
  font-size: 0.8rem;
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1200px) {
  .founder-leader-layout {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }
  .left-col, .right-col {
    width: 100%;
    align-items: center;
  }
  .impact-card img { height: auto; }
  .leader-slider, .events-card, .promise-card { width: 90%; margin: 0 auto; }
  
  .bio-text {
    text-align: left;
    text-align-last: left;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; flex-direction: column; background: #0b1220; position: absolute; top: 100%; left: 0; width: 100%; padding: 1rem; }
  .nav-links.open { display: flex; }
  body { font-size: 0.9rem; }
  

  .impact-card img { height: auto; }
  .founder-photo-large { width: 180px; height: 180px; }
  .leader-frame { height: 420px; }
  .leader-name { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  body { font-size: 0.85rem; }
  .founder-leader-layout { padding: 0 1rem; }
  .leader-frame { height: 360px; }
  .promise-card, .events-card { padding: 1rem; }
  .leader-controls button { width: 36px; height: 36px; }
}

/* =========================================
   NEW: DIVINE POETRY SECTION
   ========================================= */
.poetry-section {
  max-width: 1700px;
  margin: 4rem auto 2rem;
  padding: 0 2rem;
}

.poetry-container {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}

.poetry-container h2 {
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: 0.05em;
}

.poetry-sub {
  text-align: center;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Horizontal Carousel Wrapper */
.poetry-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.poetry-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  width: 100%;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: var(--accent) #111;
}

.poetry-track::-webkit-scrollbar {
  height: 8px;
}
.poetry-track::-webkit-scrollbar-track {
  background: #111;
}
.poetry-track::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

/* Individual Poem Thumbnail */
.poetry-thumb {
  flex: 0 0 auto;
  width: 200px; /* Thumbnail width */
  height: 280px; /* Thumbnail height */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
}

.poetry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poetry-thumb:hover {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  z-index: 2;
}

/* Scroll Buttons */
.scroll-btn {
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 50%;
  width: 40px; height: 40px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
  flex-shrink: 0;
}
.scroll-btn:hover {
  background: var(--accent);
  color: #000;
}

/* =========================================
   FULL SCREEN LIGHTBOX
   ========================================= */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
  border: 2px solid #333;
  animation: zoomIn 0.3s ease-out;
}

/* ================== LIGHTBOX COUNTER ================== */
.lightbox-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  
  /* CHANGED COLORS HERE */
  color: #f6b142;                
  border: 1px solid #f6b142;    
  background: rgba(0, 0, 0, 0.8); 
  
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 10001;
  pointer-events: none;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .lightbox-counter {
    top: 15px;
    left: 15px;
    font-size: 0.9rem;
    padding: 5px 12px;
  }
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Lightbox Controls */
.close-btn {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.close-btn:hover { color: var(--accent); }

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #888;
  font-size: 3rem;
  border: none;
  cursor: pointer;
  padding: 0 20px;
  transition: 0.3s;
}
.nav-btn:hover { color: var(--accent); }
.prev { left: 10px; }
.next { right: 10px; }

/* Mobile Adjustment */
@media (max-width: 768px) {
  .nav-btn { font-size: 2rem; padding: 0 10px; }
  .poetry-thumb { width: 160px; height: 220px; }
}