:root {
  --primary: #8b1874;
  --secondary: #00bfa5;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f5f5f5;
  --white: #ffffff;
  --cricket-green: #2d5016;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", "Arial Black", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
}

.dropdown-content a:hover {
  background: var(--bg-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 600px;
  background: linear-gradient(rgba(139, 24, 116, 0.7), rgba(45, 80, 22, 0.7)),
    url("/placeholder.svg?height=600&width=1200") center / cover;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
}

.btn-primary:hover {
  background: #00a890;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 191, 165, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Section Styles */
section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Stats Section */
.stats {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.1rem;
}

/* Testimonials */
.testimonial {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 12px;
  border-left: 5px solid var(--secondary);
  margin: 2rem 0;
  font-style: italic;
}

.testimonial-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(139, 24, 116, 0.9), rgba(0, 191, 165, 0.9)),
    url("/placeholder.svg?height=400&width=1200") center / cover;
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem;
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
  margin: 3rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--secondary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* People Grid */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.person-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.person-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.person-info {
  padding: 1.5rem;
}

.person-info h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.person-info .role {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Raffle Page Specific Styles */
.raffle-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.raffle-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.raffle-ticket-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.raffle-details-box {
  background: var(--white);
  color: var(--text-dark);
  max-width: 600px;
  margin: -3rem auto 3rem;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 4px solid var(--secondary);
}

.raffle-details-box h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  text-align: center;
}

.raffle-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.raffle-detail-item strong {
  color: var(--primary);
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.prize-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 3px solid transparent;
  transition: all 0.3s;
}

.prize-card.grand-prize {
  border-color: #ffd700;
  grid-column: 1 / -1;
}

.prize-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
}

.prize-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.prize-content {
  padding: 1.5rem;
}

.prize-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--secondary);
  color: var(--white);
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.prize-badge.first {
  background: #ffd700;
  color: var(--text-dark);
}

.prize-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.ticket-purchase-box {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 12px;
  max-width: 600px;
  margin: 3rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ticket-purchase-box h3 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.ticket-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.ticket-selector button {
  width: 50px;
  height: 50px;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.ticket-selector button:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

.ticket-selector input {
  width: 100px;
  text-align: center;
  font-size: 1.5rem;
  padding: 0.5rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
}

.price-display {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  font-weight: bold;
  margin: 1rem 0;
}

.fundraising-badge {
  text-align: center;
  margin: 3rem 0;
}

.fundraising-badge img {
  max-width: 200px;
  margin-bottom: 1rem;
}

.impact-section {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.impact-icons {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.impact-item {
  flex: 1;
  min-width: 200px;
}

.impact-item-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.terms-section {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  margin: 3rem 0;
}

.terms-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.terms-content {
  display: none;
  padding-top: 1rem;
}

.terms-content.active {
  display: block;
}

.terms-content ul {
  list-style-position: inside;
  line-height: 2;
}

/* Donation Page Styles */
.donation-amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.amount-option {
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.amount-option:hover,
.amount-option.active {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.amount-option .amount {
  font-size: 2rem;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

.amount-option .impact {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item {
    flex-direction: column !important;
  }

  .timeline-content {
    width: 100%;
    margin-left: 2rem;
  }

  .raffle-hero h1 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

.bg-light {
  background: var(--bg-light);
}

.bg-white {
  background: var(--white);
}
