/* Reset defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  
}

body {
  background-color: #f4f6fa;
}

/* Navbar */
.navbar {
  font-family: "Poppins", sans-serif;
  background-color: #007bff;
  width: 100%;
  padding: 0.8rem 1.5rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.logo-section {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.logo {
  width: 42px;
  height: 42px;
  margin-right: 10px;
  object-fit: contain;
  border-radius: 5px;
}

.site-name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Desktop Menu */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  margin-left: 2rem;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

/* Underline animation */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Join button breathing animation */
.join-btn {
  font-weight: 600;
  background: #fff;
  color: #007bff;
  padding: 6px 14px;
  border-radius: 6px;
  animation: breathing 3s ease-in-out infinite;
}

@keyframes breathing {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 4px rgba(255, 255, 255, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  }
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: #fff;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

.nav-menu {
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 90%;
    flex-direction: column;
    align-items: center;
    background-color: #007bff; /* fully opaque black */
    border-radius: 12px;
    box-shadow: 0 6px 16px  #007bff; /* fully opaque shadow */
    overflow: hidden;
    opacity: 1;
    visibility: hidden;
    transition: all 0.35s ease-in-out;
    z-index: 3;
}


  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    padding: 1rem 0.5rem;
  }

  .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 1.05rem;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.288);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .join-btn {
    margin-top: 12px;
    border: none;
    padding: 10px;
    padding-left: 100px;
    padding-right: 100px;
  }

  /* Hamburger animation */
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}


/* ---------TOP BAAR -------------------------------------------------------------------------------------------- */
/* ==== Update Bar Styles ==== */
.update-bar {
  font-family: "Poppins", sans-serif;
  width: 100%;
  height: 15px;
  background-color: #e8dcca;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 1px;
}

/* Wrapper ensures text duplication aligns properly */
.scrolling-wrapper {
  white-space: nowrap;
  display: inline-block;
  min-width: 100%;
}

/* Actual scrolling text */
.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  line-height: 15px;
  color: #000;
  animation: scrollText 40s linear infinite;
}

/* Keyframes for continuous scrolling */
@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive scaling for smaller devices */
@media (max-width: 768px) {
  .scrolling-text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .scrolling-text {
    font-size: 11px;
  }
}



/* LADING PAGE ---------------------------------------------------------------------------------------------------------- */

.main-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a1e;
  color: #e6e6e6;
  font-family: "Poppins", sans-serif;
  min-height: 80vh;
  padding: 60px;
  flex-wrap: wrap;
}

.content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  z-index: 2;

}

.big-text {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
   background: linear-gradient(90deg, #e8dcca, #e8dcca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  min-height: 60px;
  margin-bottom: 30px;
}

.description-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  border-left: 3px solid #e8dcca;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 2px 2px 15px  #ffffff; 
}

.highlight {
  color: #e8dcca;
  font-weight: 600;
}

.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-white {
  background: #ffffff;
  color: #1a1a1e;
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  animation: breathe 2s infinite ease-in-out;
  transition: transform 0.3s;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.btn-white:hover {
  transform: scale(1.08);
}

.btn-red {
  background: #ff3333;
  color: #fff;
  padding: 12px 22px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-red:hover {
  background: #cc0000;
}

.members-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.members-img {
  height: 40px;
  width: auto;
  border-radius: 5px;
  margin-left: 30px;
}

.members-text {
  line-height: 1.2;
}

.count {
  font-size: 1.5rem;
  font-weight: 700;
}

.subtext {
  font-size: 0.9rem;
  color: #e8dcca;
}

.image-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-img {
  width: 80%;
  max-width: 400px;
  border-radius: 20px;
  object-fit: cover;
  transition: transform 1s ease;
  box-shadow: 4px 4px 50px  #ffffff; 
}

.feature-img:hover {
  transform: scale(1.05);
}

/* Video Overlay */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 30, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.video-container {
  width: 80%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  padding: 0px;
  margin: 0px;
  border: 2px solid rgb(0, 0, 0);
  border-radius: 11px;
  background-color: white;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .main-container {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .image-side {
    order: 2;
    margin-top: 40px;
  }

  .feature-img {
    width: 70%;
  }

  .big-text {
    font-size: 2rem;
  }

  .quote-text {
    font-size: 1rem;
  }

  .description-box {
    font-size: 0.9rem;
  }
}


/* ----------------------------------------------------------------------------------------------------- */


.main {
  font-family: "Poppins", sans-serif;
  background-color: #1c1c24;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

/* Header */
.header {
  margin-top: 30px;
  text-align: center;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 2rem;
  font-weight: 600;
  color:rgb(255, 255, 255);
}

/* Container */
.container {
  background-color: rgb(172, 163, 141);
  border: 1px solid #ffffff;
  border-radius: 8px;
  max-width: 700px;
  width: 100%;
}

/* Video wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background: #ffefef;
}

/* Thumbnail */
.thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(255, 0, 0);
  opacity: 0.8;
  width: 4em;
  height: auto;
}

/* Video iframe (same size as thumbnail) */
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  
}

/* Description */
.description {
  margin: 15px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .header h1 {
    font-size: 1.6rem;
  }

  .description {
    font-size: 0.95rem;
  }
}


/* -----------Results Page ------------------------------------------------------------------------------------------ */





/* Page Container */
.page-one {
  background-color: #1c1c24;
  color: #fff;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 0;
}

/* Masonry Grid */
.image-grid {
  column-count: 3; /* Number of columns on desktop */
  column-gap: 0.75rem;
  width: 80%;
  max-width: 1200px;
}

/* Masonry Items */
.image-grid img {
  width: 100%;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
   border: 1px solid rgba(255, 255, 255, 0.514) ;
}

/* Hover effect */
.image-grid img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* Tablet View */
@media (max-width: 1024px) {
  .image-grid {
    width: 90%;
    column-count: 2;
  }
}

/* Mobile View */
@media (max-width: 768px) {
  .image-grid {
    width: 90%;
    column-count: 1;
  }
}





/* -------Features List ---------------------------------------------------------------------------------------------- */




.mb-main-section {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  padding: 60px 25px;
  animation: fadeIn 1.5s ease-in-out;
  background-color:#1a1a1e;
}

.mb-header {
  margin-bottom: 60px;
}

.mb-subtitle {
  color: #b0b0b0;
  letter-spacing: 1.2px;
  margin-bottom: 5px;
  font-size: 1rem;
}

.mb-title {
  font-size: 3rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

/* -------- CONTAINER WRAPPER -------- */
.mb-container-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 35px;
  flex-wrap: wrap;
}

/* -------- CONTAINER BOXES -------- */
.mb-container {
  background: linear-gradient(145deg, #1f1f24, #25252b);
  border-radius: 18px;
  padding: 35px 28px;
  width: 320px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mb-container::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 191, 255, 0.1), transparent 60%);
  transform: scale(0);
  transition: transform 0.6s ease;
}

.mb-container:hover::before {
  transform: scale(1);
}

.mb-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.15);
  border: 1px solid rgba(0, 191, 255, 0.3);
}

/* -------- CONTAINER TITLES -------- */
.mb-container-title {
  color: #00bfff;
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 191, 255, 0.2);
  padding-bottom: 10px;
}

/* -------- LIST DESIGN -------- */
.mb-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mb-list li {
  margin: 10px 0;
  font-size: 1.05rem;
  color: #d3d3d3;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Alternate 🔷🔶 icons */
.mb-list li:nth-child(odd)::before {
  content: "🔷";
  color: #00bfff;
  font-size: 1rem;
}

.mb-list li:nth-child(even)::before {
  content: "🔶";
  color: #ffaa00;
  font-size: 1rem;
}

.mb-list li:hover {
  color: #ffffff;
  transform: translateX(5px);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .mb-container-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .mb-container {
    width: 90%;
    padding: 25px 20px;
  }

  .mb-title {
    font-size: 2.2rem;
  }

  .mb-subtitle {
    font-size: 0.9rem;
  }

  .mb-container-title {
    font-size: 1.3rem;
  }

  .mb-list li {
    font-size: 0.9rem;
  }
}




/* -------Social Media  List ---------------------------------------------------------------------------------------------- */




#impact_wrapper {
  width: 100%;
  min-height: 60vh;
  background-color: #1a1a1e;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  box-sizing: border-box;
  background-image: radial-gradient(#333 1px, transparent 1px);
  background-size: 25px 25px;
  position: relative;
  overflow: hidden;
}

/* Header Styling */
#impact_header {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

#impact_header span {
  color: #00bcd4;
}

/* Main container */
#impact_container {
  position: relative;
  width: 90%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1.5rem;
  border-radius: 20px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* Snowfall canvas */
#snowfall_canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Individual boxes */
.impact_box {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  color: white;
  backdrop-filter: blur(10px);
  z-index: 1;
  transition: transform 0.3s ease, background 0.3s ease;
}

.impact_box:hover {
  transform: translateY(-5px);
  background: rgba(0, 188, 212, 0.1);
}

.impact_box h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #00bcd4;
  margin-bottom: 0.5rem;
}

.impact_box p {
  font-size: 1rem;
  color: #ccc;
}

/* Responsive layout */
@media (max-width: 768px) {
  #impact_container {
    flex-direction: column;
    align-items: center;
  }

  .impact_box {
    width: 90%;
  }

  #impact_header {
    font-size: 1.8rem;
  }

  .impact_box h2 {
    font-size: 2rem;
  }

  .impact_box p {
    font-size: 0.9rem;
  }
}



/* -------  Footer ---------------------------------------------------------------------------------------------- */
/* ===== FOOTER STYLING ===== */
.footer {
  background: #16161f;
  color: #f1f5f9;
  padding: 50px 10%;
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
  margin-top: 5px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* --- Left Side --- */
.footer-left {
  flex: 1;
  min-width: 260px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 10px;
}

.footer-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin: 10px 0 20px;
  max-width: 300px;
  line-height: 1.5;
}

.visit-btn {
  background: #22c55e;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.visit-btn:hover {
  background: #16a34a;
  transform: scale(1.05);
}

/* --- Right Side --- */
.footer-right {
  flex: 2;
  min-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  color: #38bdf8;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.footer-section a {
  display: block;
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #38bdf8;
}

.footer-section p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 5px 0;
}

.social-section .social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 0px;
}

.social-section img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-section img:hover {
  transform: scale(1.1);
}

/* --- Bottom Line --- */
.footer-line {
  border: none;
  border-top: 1px solid #334155;
  margin: 30px 0 10px;
}

.footer-bottom {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 8%;
  }

  .footer-desc {
    max-width: 100%;
  }

  .social-section img {
    width: 26px;
  }
}






