/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0b3b5e;
  --primary-light: #1a5a8a;
  --accent: #f7b32b;
  --accent-hover: #e09e22;
  --light-bg: #f4f7fc;
  --white: #ffffff;
  --text: #1e2a3a;
  --text-light: #5a6c7d;
  --border: #dce3ea;
  --shadow: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.1);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}
a:hover {
  color: var(--primary-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}
.section-light {
  background: var(--light-bg);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}
h1 {
  font-size: 3rem;
  color: var(--primary);
}
h2 {
  font-size: 2.4rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 3rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #1e2a3a;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #1e2a3a;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(247,179,43,0.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

/* Pulse animation for primary CTA */
.btn-pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(247,179,43,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(247,179,43,0); }
  100% { box-shadow: 0 0 0 0 rgba(247,179,43,0); }
}

/* ===== Header ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: background 0.3s;
}
/* Logo flush left – remove left padding from header container */
.site-header .container {
  padding-left: 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-icon {
  font-size: 1.8rem;
}
.logo span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border 0.3s, color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--accent);
  color: var(--primary);
}
.nav-cta {
  background: var(--accent);
  color: #1e2a3a !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px;
  font-weight: 600;
  border-bottom: none !important;
}
.nav-cta:hover {
  background: var(--accent-hover);
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}

/* ===== Reduced Footer ===== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 1.5rem 0 0.6rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.footer-grid h4 {
  color: var(--white);
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
}
.footer-grid p,
.footer-grid ul li {
  font-size: 0.75rem;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
}
.footer-grid a {
  color: rgba(255,255,255,0.7);
}
.footer-grid a:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 0.5rem;
  text-align: center;
  font-size: 0.7rem;
}

/* ===== Hero Slideshow ===== */
.hero-slideshow {
  position: relative;
  padding: 0;
  background: none;
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}
.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero-content h1 span {
  color: var(--accent);
}
.hero-content p {
  color: rgba(255,255,255,0.95);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-content .btn-outline-dark {
  border-color: #fff;
  color: #fff;
}
.hero-content .btn-outline-dark:hover {
  background: #fff;
  color: var(--primary);
}
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 12px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}
.dot.active,
.dot:hover {
  background: var(--accent);
}

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-children.visible > *:nth-child(7) { transition-delay: 0.7s; }
.reveal-children.visible > *:nth-child(8) { transition-delay: 0.8s; }
.reveal-children.visible > *:nth-child(9) { transition-delay: 0.9s; }
.reveal-children.visible > *:nth-child(10) { transition-delay: 1.0s; }
.reveal-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Hover lifts */
.card, .feature-highlight img, .timeline-content, .contact-form {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover, .feature-highlight img:hover, .timeline-content:hover, .contact-form:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ===== Stats Bar ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}
.card-body {
  padding: 1.8rem;
}
.card-body h3 {
  margin-bottom: 0.7rem;
  color: var(--primary);
}
.card-body p {
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

/* ===== Feature Highlight ===== */
.feature-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-highlight img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.feature-highlight h2 {
  text-align: left;
}
.feature-highlight h2::after {
  display: none;
}

/* ===== Timeline (Our Journey) ===== */
.timeline {
  position: relative;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 35px);
  position: relative;
  margin-bottom: 3rem;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-left: calc(50% + 35px);
  padding-right: 0;
}
.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 460px;
  position: relative;
}
.timeline-dot {
  position: absolute;
  top: 28px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent);
  z-index: 2;
}
.timeline-item:nth-child(odd) .timeline-dot {
  right: -44px;
}
.timeline-item:nth-child(even) .timeline-dot {
  left: -44px;
}
.timeline-year {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}
.timeline-photo {
  border-radius: 8px;
  margin: 1rem 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}
.timeline-photo:hover {
  transform: scale(1.03);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 92%;
  max-height: 85vh;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 2.8rem;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 650px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(247,179,43,0.15);
}
.btn-full {
  width: 100%;
}

/* ===== In the News ===== */
.news-badge {
  display: inline-block;
  background: #e8f0f8;
  color: var(--primary);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .feature-highlight {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline::before {
    left: 22px;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 55px;
    padding-right: 0;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 13px;
    right: auto;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-slideshow {
    height: 80vh;
    min-height: 500px;
  }
}
/* ===== Logo Image ===== */
.logo-img {
  height: 60px;          /* adjust to your logo aspect ratio */
  width: 60px;
  display: block;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .logo-img {
    height: 38px;
  }
}

/* ===== Board Members ===== */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.board-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.board-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--accent);
}

.board-name {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.board-title {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.board-bio {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}
/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.float-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}

.float-whatsapp {
  background-color: #25D366;
}

.float-whatsapp:hover {
  background-color: #1ebe57;
}

.float-email {
  background-color: #0b3b5e;  /* matches your --primary */
}

.float-email:hover {
  background-color: #1a5a8a;  /* --primary-light */
}
/* Mobile safety & sizing */
@media (max-width: 480px) {
  .floating-buttons {
    right: 15px;          /* slightly tighter on small screens */
    bottom: max(25px, env(safe-area-inset-bottom));
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn svg {
    width: 24px;
    height: 24px;
  }
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.social-links a {
  color: inherit; /* or use a color that fits your footer theme */
  transition: opacity 0.2s;
}
.social-links a:hover {
  opacity: 0.8;
}