* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Georgia", serif;
}

body {
  background: #f7f6f2;
  color: #333;
}

/* TOP BAR */
.top-bar {
  background: #2f5d50;
  color: white;
  text-align: center;
  padding: 6px;
  font-size: 0.9rem;
}

.top-bar a {
  color: #cde6df;
  text-decoration: underline;
}

/* NAVBAR */
.navbar {
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-bottom: 1px solid #ddd;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-actions {
  display: flex;
  gap: 15px;
}

.login {
  color: #444;
}

.donate-btn {
  background: #2f5d50;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
}

/* HERO */
.hero {
  height: 80vh;
  background-image: url("Hero.jpg"); /* replace with your image */
  background-size: cover;
  background-position: top center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  color: black;
  max-width: 700px;
  padding: 120px 80px;
  background: rgba(255, 255, 255, 0.8); /* white with 80% opacity */
  border-radius: 10px; /* optional, for nicer edges */
}

.Credit {
  position: absolute;
  color: white;
  bottom: 0;
  right: 10px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.primary-btn {
  background: #e8efe9;
  color: #2f5d50;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
}

/* INFO SECTION */
.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 80px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card h2 {
  margin-bottom: 12px;
  color: #2f5d50;
}

/* FOOTER */
footer {
  background: #2f5d50;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

.event {
  background: #ffffff;
  padding: 80px;
}

.event-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.event-text h2 {
  color: #2f5d50;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.event-date {
  font-weight: bold;
  color: #b33b3b;
  margin-bottom: 20px;
}

.event-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.event-image img {
  max-height: 800px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


/* REGISTRATION FORM STYLING */
.registration-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}

.registration-form label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  color: #2f5d50;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Georgia", serif;
  transition: border 0.3s, box-shadow 0.3s;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  outline: none;
  border-color: #2f5d50;
  box-shadow: 0 0 5px rgba(47, 93, 80, 0.3);
}

.registration-form textarea {
  resize: vertical;
}

.registration-form input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

.registration-form button.primary-btn {
  align-self: flex-start;
  padding: 12px 24px;
  font-weight: bold;
  background: #2f5d50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.registration-form button.primary-btn:hover {
  background: #1f3d34;
}

/* Responsive Adjustments */
@media (max-width: 800px) {
  .registration-form {
    max-width: 100%;
  }
}

.sponsors {
  background: #f7f6f2;
  padding: 80px;
  text-align: center;
}

.sponsors h2 {
  color: #2f5d50;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.sponsor-intro {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}

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

.sponsor-card {
  background: white;
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.sponsor-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.price {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.sponsor-card ul {
  list-style: none;
  margin-bottom: 25px;
  padding: 0;
}

.sponsor-card li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.sponsor-btn {
  margin-top: auto;
  background: #2f5d50;
  color: white;
  padding: 12px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

/* COLOR ACCENTS */
.gold { border-top: 6px solid #caa44b; }
.silver { border-top: 6px solid #9da3a6; }
.bronze { border-top: 6px solid #b87333; }

/* MOBILE */
@media (max-width: 700px) {
  .sponsors {
    padding: 40px 20px;
  }
}
/* Make buttons responsive on smaller screens */
@media (max-width: 800px) {
  .primary-btn,
  .sponsor-btn,
  .registration-form button.primary-btn,
  .donate-btn {
    width: 100%;       /* take full width of parent container */
    box-sizing: border-box; /* ensure padding is included in width */
    text-align: center; /* keep text centered */
    padding: 12px 0;    /* adjust padding if needed */
    font-size: 1rem;   /* optional, adjust for smaller screens */
  }

  .hero-content {
    padding: 60px 20px; /* reduce padding for smaller screen */
  }

  .info {
    padding: 40px 20px;
  }

  .event {
    padding: 40px 20px;
  }

  .sponsors {
    padding: 40px 20px;
  }
}





/* RESPONSIVE */
@media (max-width: 800px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .hero-content {
    padding: 80px 30px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

/* Event Section Responsive Fix */
@media (max-width: 800px) {
  .event-content {
    grid-template-columns: 1fr; /* single column */
    gap: 30px; /* reduce gap for mobile */
  }

  .event-image img {
    width: 100%;  /* make image responsive */
    height: auto; /* maintain aspect ratio */
    max-height: none; /* remove max-height restriction if needed */
  }
}

