:root {
  --primary-color: #6a11cb;
  --secondary-color: #2575fc;
  --text-color: #ffffff;
  --gradient-start: #8a2be2;
  --gradient-end: #388ae9;
  --radius: 14px;
  --main-gradient: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #0e0e12;
  color: white;
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  background: linear-gradient(120deg, #1b0033, #000428, #3f0071);
  overflow: hidden;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Show overlay */
.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Ensure menu is above overlay */
.nav-links {
  z-index: 1001;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;

  ul {
    list-style: none;
    display: flex;
    flex-direction: row;
  }
}

.logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.logo-image {
  border-radius: 50%;
  height: 4rem;
  width: 4rem;
  background-image: url("logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.logo-text {
  line-height: 1.2;
  font-size: 1.5rem;
  font-weight: 800;
}

.logo-text span {
  background: var(--main-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
.nav-links a:hover {
  font-weight: 700;
  color: #2575fc;
}
@media all and (max-width: 768px) {
  .nav-links {
    position: absolute;
    display: flex;
    margin: 0;
    height: 50vh;
    padding: 5px;
    right: 0;
    top: 85px;
    gap: 1rem;
    background: #000;
    flex-direction: column;
  }
  .nav-links a {
    width: 100%;
    color: white;
    text-decoration: none;
    opacity: 0.85;
    padding: 0.5rem;
  }
}

.register-btn {
  padding: 10px 20px;
  background: var(--main-gradient);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: 0.3s;
}
.register-btn:hover {
  transform: translateY(-4px);
}

.menu-btn{
  display: none;
  text-align: center;
  padding: 10px 20px;
  background: var(--main-gradient);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: 0.3s;
  
}

/* Hamburger button */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-btn{
    display: block;
    border-bottom: 1px solid ;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 260px;
    background: linear-gradient(120deg, #1b0033, #000428, #3f0071);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 80px;
    z-index: 1000;
  }

  .nav-links ul {
    flex-direction: column;
  }

  .nav-links li {
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
  }

  .register-btn {
    display: none;
  }

  /* When menu is active */
  .nav-links.show {
    transform: translateX(0);
  }
}

.hero-content {
  height: 85%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;

  padding: 0 10%;
  animation: fadeUp 1.3s ease;

  padding-top: 150px;
}

.tagline {
  letter-spacing: 2px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
}

.hero-content h1 span {
  background: var(--main-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  max-width: 650px;
  margin: 25px 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* COUNTDOWN */
.countdown {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.countdown div {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  min-width: 90px;
  animation: pulse 2s infinite;
}

.countdown span {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: 0.3s;
}

.primary {
  background: var(--main-gradient);
  color: white;
}

.ghost {
  border: 1px solid white;
  color: white;
}

.btn:hover {
  transform: translateY(-4px);
}

/* IMPACT */
.impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 80px 10%;
  background: #111;
}

.impact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  transition: 0.4s;
}

.impact-card:hover {
  transform: translateY(-10px);
}

/* DONATE */
.donate h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.donate p {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ccc;
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  margin-top: 50px;
  width: 100vw;
}

.donation-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 5px;
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(14px);
  transition: 0.3s;
  margin-bottom: 20px;
}

.donation-card h3 {
  font-size: 2.2rem;
  background: var(--main-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.donation-card h2 p {
  text-align: center;
  color: #dcbbf7;
  padding-left: 200px;
  font-size: 1.8rem;
}

.donation-card a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: var(--radius);
  background: var(--main-gradient);
  color: white;
  text-decoration: none;
}

.donation-card a:hover {
  background: transparent;
  border: 1px solid #2575fc;
  transition: 0.4s;
}

.donation-card:hover {
  transform: translateY(-5px) scale(1.01);
}

.donate-note a {
  color: var(--secondary-color);
  text-decoration: none;
}

.donate-note a:hover {
  text-decoration: underline;
}

.featured {
  border: 2px solid rgba(255, 105, 180, 0.6);
}

/* Partners Section */
.logo-carousel {
  overflow: hidden;
  width: 100%;
  background: #000;
  padding: 30px 0;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.carousel-track img {
  height: 60px;
  margin: 0 40px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.carousel-track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* keyframes for continuous scroll */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.logo-carousel:hover .carousel-track {
  animation-play-state: paused;
}


footer {
  padding: 40px;
  text-align: center;
  background: #000;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.socials a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
  text-decoration: none;
}

.socials a:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
  transition: all ease 0.5s;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 500px) {
  .countdown{
    gap: 5px;
  }
}
