/* CSS Variables */
:root {
  --primary-color: #8b4513;
  --secondary-color: #f39c12;
  --accent-color: #e74c3c;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-gray: #5d4037;
  --feature-card-bg: #f8f9fa;
  --feature-card-hover: #ffffff;
  --border-color: #ecf0f1;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --container-width: 1200px;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #6d4c41 100%
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    #e67e22 100%
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.hero {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="100" fill="rgba(255,255,255,0.05)"/><circle cx="800" cy="300" r="150" fill="rgba(255,255,255,0.03)"/><circle cx="400" cy="600" r="80" fill="rgba(255,255,255,0.04)"/></svg>')
    no-repeat;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Navigation Pills */
.nav-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.nav-pill {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Main Content */
.content-section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  color: var(--accent-color);
  font-weight: 600;
}

.brand-highlight {
  color: var(--primary-color);
  font-weight: 700;
}

/* Program Cards */
.program-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 3rem 0;
}

.program-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  width: 100%;
  max-width: 550px;
  flex: 1 1 300px;
  min-width: 280px;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: var(--transition);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.program-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.program-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.program-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.program-subtitle {
  opacity: 0.9;
  font-size: 1rem;
}

.program-content {
  padding: 2rem;
}

.program-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.program-features {
  list-style: none;
}

.program-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
}

.program-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  width: 100%;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* Statistics Section */
.stats-section {
  background: var(--light-gray);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Impact Section */
.impact-section {
  background: var(--primary-color);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
}

.impact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.impact-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.impact-list {
  list-style: none;
}

.impact-list li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1.1rem;
}

.impact-list li::before {
  content: "🌟";
  position: absolute;
  left: 0;
}

/* Travel Together Section */
.travel-section {
  background: var(--light-gray);
  padding: 4rem 0;
}

.travel-content {
  text-align: center;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.travel-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.travel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: var(--transition);
}

.travel-item:hover::before {
  transform: scaleX(1);
}

.travel-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.travel-number {
  background: var(--primary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 1rem;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary:hover {
  background: #e67e22;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .container {
    max-width: 95%;
    padding: 0 15px;
  }
  
  .program-card {
    flex: 1 1 280px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .program-grid {
    gap: 1.5rem;
  }
  
  .program-card {
    flex: 1 1 250px;
    min-width: 250px;
  }

  .impact-content {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .travel-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .container {
    padding: 0 15px;
  }
  
  .content-section {
    padding: 3rem 0;
  }
  
  .image-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .program-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .activities-grid {
    grid-template-columns: 1fr !important;
  }
  
  .image-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  
  .gallery-item {
    height: 150px;
  }
  
  .intro-text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .program-header {
    padding: 1.5rem;
  }
  
  .program-content {
    padding: 1.5rem;
  }
  
  .program-title {
    font-size: 1.3rem;
  }
  
  .travel-grid {
    grid-template-columns: 1fr;
  }
}
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
  
  .content-section {
    padding: 2rem 0;
  }
  
  .program-icon {
    font-size: 2.5rem;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .image-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .gallery-item {
    height: 120px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .program-header {
    padding: 1.2rem;
  }
  
  .program-content {
    padding: 1.2rem;
  }
  
  .image-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
  }
  
  .gallery-item {
    height: 100px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeIn {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slideIn {
  animation: slideIn 0.6s ease-out;
}
