/* ================================
   ROOT VARIABLES
================================ */
:root {
  --primary-color: #006d77; /* Deep Teal - Trust & Stability */
  --secondary-color: #e29578; /* Muted Orange - Warmth & Energy */
  --light-bg: #edf6f9;
  --dark-text: #2d3436;
  --white: #ffffff;
}

/* ================================
   BASE / GLOBAL STYLES
================================ */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--white);
}

section {
  padding: 80px 20px;
  max-width: 900px;
  margin: auto;
}

h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 28px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  margin-top: 5px;
}

/* ================================
   HEADER & NAVIGATION
================================ */
header {
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
}

nav div {
  display: flex;
  gap: 20px;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo img {
  height: 42px;
  width: auto;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================================
   HERO SECTION
================================ */
.hero {
  text-align: center;
  background: linear-gradient(135deg, var(--light-bg) 0%, #8cc0de 100%);
  padding: 100px 20px;
  max-width: 100%;
}

.hero-logo {
  width: 350px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background: #3194ba;
  padding: 1px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 20px;
}

.hero-logo {
  max-width: 130px;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: #0f4c5c;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  color: #444;
}

.cta-button {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
  display: inline-block;
}

.cta-button:hover {
  background-color: #004d55;
  transform: translateY(-2px);
}

/* ================================
   MISSION & OBJECTIVES
================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: var(--light-bg);
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid var(--secondary-color);
}

.card h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.objectives ul {
  list-style: none;
  padding: 0;
}

.objectives li {
  background: #f9f9f9;
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 5px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ================================
   SLIDESHOW / GALLERY
================================ */
.slideshow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slide {
  text-align: center;
  max-width: 600px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  border-radius: 8px;
}

.slide p {
  margin-top: 10px;
  font-weight: 500;
  color: #555;
}

.slide-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.slide-btn:hover {
  background: #004d55;
}

/* --- GALLERY SLIDESHOW POLISH --- */

#gallery .slideshow {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 40px auto;
}

/* Image container */
#gallery .slide img {
  width: 100%;
  height: 480px;
  object-fit: contain;
  border-radius: 12px;
  background: #f2f2f2;
}

/* Caption styling */
#gallery .slide p {
  margin-top: 8px;
  padding: 8px 12px;
  background: #edf6f9;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

/* Buttons */
#gallery .slide-btn {
  width: 44px;
  height: 44px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- MOBILE REFINEMENT --- */
@media (max-width: 768px) {
  #gallery .slideshow {
    padding: 14px;
    margin: 20px 10px;
  }

  #gallery .slide img {
    height: 320px;
  }

  #gallery .slide-btn {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  #gallery .slide p {
    font-size: 0.9rem;
    text-align: center;
  }
}

/* ================================
   EVENTS
================================ */
.events-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.events-section h2 {
  margin-bottom: 40px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.event-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.event-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-caption {
  padding: 14px 12px;
}

.event-caption h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.event-caption p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.event-caption span {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: #666;
}

/* ================================
   LEADERSHIP
================================ */
.leadership {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.leadership h2 {
  margin-bottom: 40px;
  color: #0b5f5a;
}

.leaders {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.leader-card {
  max-width: 250px;
}

.leader-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
}

.leader-card h3 {
  margin-top: 15px;
  font-size: 1.1rem;
}

.leader-card p {
  color: #555;
  font-size: 0.95rem;
}

/* =========================
   VIDEO PLAYER (MAIN)
========================= */

.video-player-wrapper {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  max-width: 800px;
  margin: 0 auto;
}

.video-player-wrapper video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

.video-controls-bar {
  background: #1a1a1a;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #333;
}

#videoTitle {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #fff;
  text-align: center;
  margin: 0 10px;
}

.vid-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease;
}

.vid-btn:hover {
  background: var(--secondary-color);
}

/* Mobile layout */
@media (max-width: 600px) {
  .video-controls-bar {
    padding: 10px;
  }

  .vid-btn {
    padding: 6px 12px;     
    font-size: 12px;
    white-space: nowrap; 
  }

  #videoTitle {
    font-size: 12px;
    text-align: center;
    flex: 1;               
    margin: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}



/* ================================
   FOOTER & CONTACT
================================ */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 50px;
}

.footer-content h3 {
  margin-top: 0;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Container for the round icons */
.socials.buttons {
  margin-top: 20px; 
  display: flex; 
  justify-content: center; 
  gap: 15px; 
  flex-wrap: wrap;
}

/* Styling the round icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  color: #fff; /* Keeps icon white on hover */
}

.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.facebook  { background: #1877f2; }
.tiktok    { background: #000000; border: 1px solid #333; }
.whatsapp  { background: #25d366; }
.linkedin  { background: #0077b5; }


.contact-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-buttons .cta-button {
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, background 0.2s;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-buttons .cta-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ================================
   MEDIA QUERIES
================================ */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 32px;
  }

  .slide img {
    height: 300px;
  }

  .leader-card img {
    height: 300px;
  }

  .gallery-container {
    max-width: 100%;
    padding: 0 10px;
  }

  .gallery-image img {
    object-fit: contain;
  }

  .gallery-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .gallery-btn.prev {
    left: 10px;
  }

  .gallery-btn.next {
    right: 10px;
  }

  .gallery-caption {
    font-size: 0.95rem;
    padding: 10px 8px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .video-nav.left {
    left: 10px;
  }

  .video-nav.right {
    right: 10px;
  }
}

/* --- GALLERY DOT INDICATORS --- */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.gallery-dots span {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}

.gallery-dots span.active {
  background: var(--primary-color);
  transform: scale(1.2);
}
