/* DESIGN SYSTEM */
:root {
  --primary: #0B2C5F;
  --secondary: #1F4E8C;
  --accent: #E6EAF0;
  --base: #FFFFFF;
  --text-primary: #111111;
  --text-secondary: #555555;
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(11, 44, 95, 0.08);
  --shadow-lg: 0 15px 30px rgba(11, 44, 95, 0.12);
  --radius: 10px;
  --transition: all 0.3s ease;
}

/* RESET & GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--base);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: 900px;
}
.section-padding {
  padding: 100px 0;
}
.bg-accent {
  background-color: var(--accent);
}
.text-center {
  text-align: center;
}
.text-white {
  color: var(--base) !important;
}
.muted-text {
  color: var(--text-secondary);
  font-size: 0.9em;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.title-underline {
  height: 4px;
  width: 60px;
  background-color: var(--primary);
  margin-bottom: 40px;
  border-radius: 2px;
}
.title-underline.center {
  margin-left: auto;
  margin-right: auto;
}
.block-shadow {
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-shadow {
  background: var(--base);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--base);
}
.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--base);
}
.btn-secondary {
  background-color: var(--base);
  color: var(--primary);
}
.btn-secondary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--base);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}
.btn-block {
  display: block;
  width: 100%;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header.scrolled {
  padding: 5px 0;
}
.header:not(.scrolled) {
  padding: 15px 0;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 45px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-list {
  display: flex;
  gap: 20px;
}
.nav-list a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
}
.nav-list a:hover {
  color: var(--secondary);
}
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--primary); /* Fallback color */
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(11,44,95,0.7), rgba(17,17,17,0.8));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--base);
  max-width: 800px;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--base);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent);
}
.hero-text {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.hero-buttons .btn-outline {
  border-color: var(--base);
  color: var(--base);
}
.hero-buttons .btn-outline:hover {
  background: var(--base);
  color: var(--primary);
}

/* ABOUT */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--base);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 4px solid var(--accent);
  text-align: center;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.service-card.highlight {
  border-top-color: var(--primary);
  background: var(--primary);
  color: var(--base);
}
.service-card.highlight h3, 
.service-card.highlight .muted-text,
.service-card.highlight .card-icon {
  color: var(--base);
}
.card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}
.service-list {
  text-align: left;
}
.service-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--accent);
}
.service-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.service-card.highlight .service-list li {
  border-bottom-color: rgba(255,255,255,0.2);
}
.service-note {
  margin-top: 20px;
  font-size: 0.9em;
  font-style: italic;
  color: var(--text-secondary);
}

/* VISION */
.vision {
  background-color: var(--primary);
  color: var(--base);
}
.vision-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.vision-text-col {
  padding-right: 20px;
}
.vision-label {
  color: var(--accent);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}
.vision-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--base);
  margin-bottom: 25px;
  line-height: 1.2;
}
.vision-text {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.8;
}
.vision-img-col img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* VALUES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--base);
  padding: 30px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--primary);
  color: var(--base);
}
.value-card:hover h4, .value-card:hover i {
  color: var(--base);
}
.value-card i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 15px;
  transition: var(--transition);
}
.value-card h4 {
  font-size: 1.1rem;
  transition: var(--transition);
}

/* GALLERY SLIDESHOW */
.slideshow-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.slideshow-container {
  position: relative;
  width: 100%;
  padding-top: 66.66%; /* 3:2 Aspect Ratio responsive box */
  background: #000;
}
.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}
.slide-img.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 44, 95, 0.7);
  color: var(--base);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-btn:hover {
  background: var(--base);
  color: var(--primary);
}
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* DONATIONS */
.donations {
  background: var(--primary);
}
.donation-card {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.donation-icon {
  font-size: 4rem;
  color: var(--base);
  margin-bottom: 20px;
}
.donation-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* MEDIA (YT/FB) */
.media-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
}
.media-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.video-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  margin-bottom: 20px;
}
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: var(--base);
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: var(--transition);
}
.video-placeholder:hover .play-icon {
  color: #ff0000;
  transform: translate(-50%, -50%) scale(1.1);
}
.youtube-thumbnails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.thumb {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.fb-embed-container {
  height: 500px;
  background: var(--base);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 44, 95, 0.1);
}
.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.info-item i {
  font-size: 1.5rem;
  color: var(--secondary);
  background: var(--accent);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.info-item h4 {
  margin-bottom: 5px;
}

/* MAPS */
.maps-section {
  width: 100%;
}
.map-container {
  display: block;
  width: 100%;
}

/* FOOTER */
.footer {
  background: var(--primary);
  color: var(--base);
  padding: 80px 0 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo {
  margin-bottom: 20px;
}
.footer-desc {
  opacity: 0.8;
}
.footer-heading {
  color: var(--base);
  margin-bottom: 25px;
  font-size: 1.2rem;
}
.footer-links li {
  margin-bottom: 15px;
}
.footer-links a {
  opacity: 0.8;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}
.social-icons {
  display: flex;
  gap: 15px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--base);
}
.social-icons a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}
.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ANIMATIONS */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}
.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { background-attachment: scroll; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--base);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-list {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .nav-list a {
    font-size: 1.5rem;
  }
  .mobile-toggle {
    display: block;
  }
  
  .about-container { grid-template-columns: 1fr; }
  .vision-container { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .media-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .hero-title { font-size: 2.5rem; }
  .section-padding { padding: 60px 0; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
}
