:root {
  --dark-brown: #3e2b05;
  --forest-green: #2a4c09;
  --light-cream: #fcfec2;
  --coral-pink: #dc6874;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-text: #2d3748;
  --medium-text: #4a5568;
  --light-text: #718096;
  --shadow-light: 0 2px 10px rgba(62, 43, 5, 0.1);
  --shadow-medium: 0 8px 25px rgba(62, 43, 5, 0.15);
  --shadow-heavy: 0 15px 35px rgba(62, 43, 5, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--dark-brown), var(--forest-green));
  --gradient-accent: linear-gradient(135deg, var(--coral-pink), #e88595);
  --gradient-light: linear-gradient(135deg, var(--light-cream), #fffef0);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  overflow-x: hidden;
  background: var(--white);
}

/* Navbar Override */
.navbar-custom {
  background: rgba(62, 43, 5, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(252, 254, 194, 0.1);
  transition: all 0.3s ease;
}

.navbar-custom:hover {
  background: rgba(62, 43, 5, 0.98) !important;
}

/* Hero Section */
.hero-section {
  height: 60vh;
  min-height: 500px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(252, 254, 194, 0.1) 0%, 
    transparent 25%, 
    transparent 75%, 
    rgba(220, 104, 116, 0.1) 100%);
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-content {
  max-width: 900px;
  padding: 3rem;
  animation: fadeInUp 1.2s ease-out;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, var(--white), var(--light-cream));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
  color: var(--light-cream);
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.content-section {
  padding: 8rem 0;
  position: relative;
}

.content-section:nth-child(even) {
  background: linear-gradient(135deg, var(--light-gray), rgba(252, 254, 194, 0.3));
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark-brown);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background: var(--gradient-accent);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--medium-text);
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: var(--gradient-accent);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(220, 104, 116, 0.3);
}

.timeline-item {
  padding: 2rem 3rem;
  position: relative;
  background: inherit;
  width: 50%;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background: var(--white);
  border: 4px solid var(--coral-pink);
  top: 50%;
  border-radius: 50%;
  z-index: 2;
  transform: translateY(-50%);
  box-shadow: 0 0 15px rgba(220, 104, 116, 0.4);
}

.timeline-item:nth-child(even)::after {
  left: -12px;
}

.timeline-content {
  padding: 2.5rem;
  background: var(--white);
  position: relative;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid rgba(252, 254, 194, 0.3);
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-accent);
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--coral-pink);
}

.timeline-date {
  font-weight: 700;
  color: var(--coral-pink);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

/* Info Cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.info-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(252, 254, 194, 0.2);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.info-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(252, 254, 194, 0.4), 
    transparent);
  transition: left 0.5s ease;
}

.info-card:hover::after {
  left: 100%;
}

.info-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--forest-green);
}

.info-icon {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  color: var(--forest-green);
  filter: drop-shadow(2px 2px 4px rgba(42, 76, 9, 0.2));
}

.info-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

.info-text {
  color: var(--medium-text);
  line-height: 1.8;
  font-size: 1rem;
}

/* Feature Section */
.feature-section {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.feature-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(252, 254, 194, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(220, 104, 116, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(252, 254, 194, 0.05) 0%, transparent 50%);
}

.feature-section .section-title,
.feature-section .section-subtitle {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.feature-section .section-title::after {
  background: var(--light-cream);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
  position: relative;
  z-index: 2;
}

.feature-item {
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  border: 1px solid rgba(252, 254, 194, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(252, 254, 194, 0.1), 
    rgba(220, 104, 116, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--light-cream);
}

.feature-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--light-cream);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Interactive Map */
.interactive-map {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  margin: 3rem 0;
  border: 3px solid var(--light-cream);
  transition: all 0.3s ease;
}

.interactive-map:hover {
  box-shadow: var(--shadow-heavy);
  transform: scale(1.02);
}

/* Stats Counter */
.stats-counter {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--light-cream);
  display: block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-accent);
  color: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
  opacity: 1;
}

.back-to-top:hover {
  background: var(--gradient-primary);
  transform: translateY(-8px) scale(1.1);
  box-shadow: var(--shadow-heavy);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Loading Animation */
body.loaded .timeline-item {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-content {
    padding: 2rem;
  }

  .content-section {
    padding: 5rem 0;
  }

  .timeline::after {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 5rem;
    padding-right: 2rem;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item::after {
    left: 20px;
  }

  .timeline-item:nth-child(even)::after {
    left: 20px;
  }

  .container {
    padding: 0 1.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-card,
  .timeline-content,
  .feature-item {
    padding: 2rem;
  }

  .interactive-map {
    height: 300px;
    margin: 2rem 0;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .timeline-content,
  .info-card,
  .feature-item {
    padding: 1.5rem;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
}