* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0b1230;
  color: #fff;
  line-height: 1.6;
}

html{
  scroll-behavior: smooth;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: fixed;    /* Keep nav fixed below moving bar */
  top: 50px;          /* Height of moving text bar */
  left: 0;
  width: 100%;
  z-index: 9998;      /* Below moving text bar */
  background: rgba(11,18,48,0.95);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* .logo {
  font-weight: 700;
  font-size: 22px;
} */

/* Make the link look like plain text */
.logo-link {
  color: inherit;         /* Use the same color as parent div */
  text-decoration: none;  /* Remove underline */
  font-size: 22px;      /* Match the logo font size */
  font-weight: 700;      /* Match the original styling */
  cursor: pointer;        /* Show pointer on hover */
}

.logo-link:hover {
  color: inherit;         /* Optional: keep color same on hover */
  text-decoration: none;  /* Prevent underline on hover */
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
}

.btn-primary {
  background: #e63946;
  padding: 10px 18px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

/* HERO */
.hero {
  padding-top: 120px;
  background: linear-gradient(120deg, #0b1230, #10194a);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-image img {
  width: 100%;
  border-radius: 8px;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section.dark {
  background: #10194a;
}

/* .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
} */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: #0b1230;
  padding: 30px;
  border-radius: 6px;
  text-align: center;
  transition: 0.3s ease;
   width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.section-title p {
  color: #ccc;
}

.card img {
 width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.card p {
  font-size: 14px;
  color: #ddd;
}

.card:hover {
  transform: translateY(-10px);
}

/* Image Modal */

.img-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  z-index:9999;
  justify-content:center;
  align-items:center;
}

.modal-content{
  max-width:90%;
  max-height:90%;
  border-radius:12px;
}

.close-modal{
  position:absolute;
  top:25px;
  right:40px;
  font-size:40px;
  color:white;
  cursor:pointer;
}


/* ===========================
   VIDEO SECTION
=========================== */

.video-section {
  position: relative;
  height: 550px;
  background: url("../assets/video-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 40, 0.75);
}

.video-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.video-content h2 {
  font-size: 36px;
  margin-top: 25px;
  line-height: 1.3;
}

/* Play Button */

.play-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: white;
  color: red;
  font-size: 30px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.play-btn:hover {
  transform: scale(1.1);
}

/* ===========================
   VIDEO MODAL
=========================== */

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 3000;
  justify-content: center;
  align-items: center;
}

.video-wrapper {
  width: 80%;
  max-width: 900px;
}

.video-wrapper video {
  width: 100%;
  border-radius: 12px;
}

.video-close {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Mobile */
@media(max-width:768px){
  .video-content h2{
    font-size:24px;
  }

  .play-btn{
    width:70px;
    height:70px;
  }
}



/* CTA */
.cta {
  padding: 80px 20px;
  text-align: center;
  background: #e63946;
}

/*Contact*/
/* ================================
   CONTACT SECTION
================================ */

.contact-section {
  background: #0d0d0d;
  padding: 80px 0;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.contact-card {
  background: #161616;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  background: #1d1d1d;
}

.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #f5c842; /* same accent color */
}

.contact-card p {
  font-size: 1rem;
  margin: 12px 0;
  color: #ddd;
}

.contact-card span {
  color: #fff;
  font-weight: 500;
}

/* Social Buttons */

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-links a {
  text-decoration: none;
  color: #000;
  background: #f5c842;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}

.social-links a:hover {
  background: #fff;
  transform: scale(1.05);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  background: #05091d;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.fade-left {
  opacity: 0;
  transform: translateX(40px);
  transition: 0.8s ease;
}

.show {
  opacity: 1;
  transform: translate(0);
}

/* RESPONSIVE */
.menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }
}


/* ================================
   MOBILE (500px and below)
================================ */
@media (max-width: 500px) {

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section {
    padding: 50px 0;
  }

  .card {
    padding: 20px;
  }

  .card img {
    width: 100%;
  }

}

/* MOBILE NAV FIX */

 @media (max-width: 900px) {

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    background: #0b1230;
    width: 100%;
    flex-direction: column;
    text-align: center;
    display: none;
  }

  .nav-links.show-menu {
    display: flex;
  }

  .nav-links li {
    padding: 15px 0;
  }

} 



.container{
  width:90%;
  max-width:1100px;
  margin:auto;
}

.center{
  text-align:center;
}

section{
  padding:80px 0;
}

/* ABOUT */
.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.about-image img{
  width:100%;
  border-radius:10px;
}

.about-points{
  margin-top:15px;
}

/* VISION */
.vision-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
}

.vision-card{
  background:#0b1b3a;
  padding:30px;
  border-radius:10px;
}

/* VIDEO */
.video-box{
  max-width:800px;
  margin:auto;
}

/* GALLERY */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:15px;
}

.gallery-grid img{
  width:100%;
  border-radius:8px;
}

/* FORM */
.volunteer-form{
  max-width:400px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:15px;
}

.volunteer-form input,
.volunteer-form button{
  padding:12px;
  font-size:16px;
}

.volunteer-form button{
  background:#e63946;
  color:#fff;
  border:none;
  cursor:pointer;
}

/* MOBILE */
@media(max-width:768px){
  .about-grid{
    grid-template-columns:1fr;
  }
}


/* .moving-text-bar {
  background-color: #ffeb3b; 
  height: 50px;               
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.moving-text-content {
  display: flex;
  align-items: center;
  position: absolute;
  white-space: nowrap;
  animation: moveText 15s linear infinite;
}

.moving-text-bar p {
  font-weight: bold;
  color: #0a2e5e;
  font-size: 16px;
  margin: 0 0 0 10px; 
}

.moving-logo {
  height: 35px;  
  width: auto;
} */

/* Animation for scrolling */
/* @keyframes moveText {
  0% { left: 100%; }
  100% { left: -100%; }
} */

/* ===== Moving Text Bar ===== */
.moving-text-bar {
  background-color: #ffeb3b;
  height: 50px;
  overflow: hidden;
  position: fixed;   /* Fix at top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;     /* Above everything */
  display: flex;
  align-items: center;
  padding-left: 20px; /* optional padding */
}

/* Scrolling text inside the bar */
.moving-text-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: moveText 15s linear infinite;
}

.moving-text-bar p {
  font-weight: bold;
  color: #0a2e5e;
  font-size: 16px;
  margin: 0 10px 0 0; /* Space between logo and text */
}

.moving-logo {
  height: 35px;
  width: auto;
}

@keyframes moveText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}



/* Add top padding to page content so it doesn't hide under fixed bars */
body {
  padding-top: 100px; /* moving bar (50px) + header (~50px) */
}

