/* CSS Variables */
:root {
  --primary-green: #2ecc71;
  --dark-green: #27ae60;
  --light-green: #e9f7ef;
  --primary-blue: #3498db;
  --dark-blue: #2980b9;
  --light-blue: #ebf5fb;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--dark-blue);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-green);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
  background-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-secondary:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

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

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--primary-green);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s;
  padding: 10px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-green);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(41, 128, 185, 0.9) 0%, rgba(39, 174, 96, 0.9) 100%), url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?w=1600&q=80') center/cover;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeUp 1s ease;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  opacity: 0.9;
  animation: fadeUp 1s ease 0.2s both;
}

.hero-buttons {
  animation: fadeUp 1s ease 0.4s both;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* About Section */
.about {
  background-color: var(--white);
}

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

.about-text h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Key Highlights Grid */
.highlights {
  background-color: var(--bg-light);
}

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

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--light-green);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-green);
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-blue);
}

.feature-card p {
  color: var(--text-light);
}

/* Timeline */
.timeline-section {
  background-color: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--light-blue);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--primary-blue);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -10px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: var(--bg-light);
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  color: var(--dark-blue);
  margin-bottom: 5px;
}

.timeline-content .date {
  display: inline-block;
  color: var(--primary-green);
  background: var(--light-green);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* Page Headers */
.page-header {
  background: linear-gradient(135deg, rgba(41, 128, 185, 0.9) 0%, rgba(39, 174, 96, 0.9) 100%), url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?w=1600&q=80') center/cover;
  padding: 100px 0;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* Sections - General Grid */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-block {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-blue);
}

.info-block h3 {
  color: var(--dark-blue);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.info-block.green {
  border-left-color: var(--primary-green);
}

/* Lists */
.check-list {
  margin-top: 15px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-green);
}

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

.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

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

.card-img {
  height: 200px;
  background-color: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-blue);
}

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

.card-content {
  padding: 30px;
}

.card-content h3 {
  color: var(--dark-blue);
  margin-bottom: 15px;
}

.card-content ul {
  margin-bottom: 20px;
}

.card-content li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.card-content li::before {
  content: '•';
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Sponsor Tiers */
.sponsor-tier {
  text-align: center;
  padding: 50px 30px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

.sponsor-tier.gold {
  border: 2px solid #f1c40f;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(241, 196, 15, 0.15);
}

.sponsor-tier.title {
  border: 2px solid var(--primary-blue);
}

.sponsor-tier.silver {
  border: 2px solid #bdc3c7;
}

.sponsor-tier h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.gold h3 {
  color: #f1c40f;
}

.title h3 {
  color: var(--primary-blue);
}

.silver h3 {
  color: #7f8c8d;
}

.price-placeholder {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 20px 0;
}

/* Call to Action */
.cta-section {
  background: linear-gradient(to right, var(--dark-blue), var(--dark-green));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-flex {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo i {
  color: var(--primary-green);
}

.footer-text {
  color: #bdc3c7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--primary-green);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bdc3c7;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-green);
}

.sponsor-logos {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.sponsor-logo-placeholder {
  width: 80px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #bdc3c7;
}

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

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }

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

  .about-image {
    order: -1;
    text-align: center;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 21px;
  }

  .right {
    left: 0;
  }

  .sponsor-tier.gold {
    transform: scale(1);
  }

  /* Ensure grids stack sooner without squishing */
  .grid-4,
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }

  .page-header {
    padding: 60px 0;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    gap: 15px;
    text-align: center;
  }

  .nav-links.active {
    left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .cta-flex {
    flex-direction: column;
  }

  .info-block {
    padding: 25px;
  }

  /* Force grids to 1 column on tablet/mobile */
  .grid-4,
  .cards-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  /* Reset spans on mobile */
  .grid-span-2 {
    grid-column: span 1 !important;
  }
}

@media screen and (max-width: 480px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

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

  h3 {
    font-size: 1.25rem;
  }

  .info-block h3 {
    font-size: 1.35rem;
  }

  .feature-card {
    padding: 25px 20px;
  }

  .timeline-content {
    padding: 15px 20px;
  }

  .timeline-item {
    padding-left: 55px;
    padding-right: 15px;
  }

  .timeline::after {
    left: 25px;
  }

  .timeline-item::after {
    left: 15px;
    width: 16px;
    height: 16px;
    top: 18px;
  }
}