@import url('./variables.css');

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--dark-green) 0%,
    var(--secondary-green) 50%,
    var(--primary-green) 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 2rem 0;
}

.hero-section::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Hero Image Area */
.hero-image {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  color: var(--white);
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.floating-card i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.floating-card h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* Button Styles */
.btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-right: 1rem;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent-gold), #d4a017);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(191, 145, 59, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 145, 59, 0.4);
  color: var(--white);
  text-decoration: none;
}

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

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark-green);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-outline-primary {
  background: transparent;
  color: var(--dark-green);
  border: 2px solid var(--dark-green);
}

.btn-outline-primary:hover {
  background: var(--dark-green);
  color: var(--white);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Section Base Styles */
section {
  padding: 5rem 0;
  position: relative;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 1rem;
  position: relative;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-green));
  border-radius: 2px;
}

.section-title.text-white {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  text-align: center;
}

/* Features Section */
.features-section {
  background: var(--light-gray);
}

.feature-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(141, 242, 156, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(141, 242, 156, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.feature-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(100, 140, 81, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--white);
}

.feature-card h4 {
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

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

.about-content {
  padding-right: 2rem;
}

.about-content .lead {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.mission-point {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.mission-point i {
  color: var(--primary-green);
  font-size: 1.2rem;
  margin-right: 1rem;
}

.mission-point span {
  color: var(--text-dark);
  font-weight: 500;
}

/* Stats Cards */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: linear-gradient(
    135deg,
    var(--dark-green),
    var(--secondary-green)
  );
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.stat-card:hover::before {
  transform: scale(3);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Target Audience Section */
.target-section {
  background: var(--white);
}

.target-card {
  background: var(--light-gray);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.target-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-green);
  box-shadow: 0 15px 35px rgba(100, 140, 81, 0.15);
}

.target-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.target-icon i {
  font-size: 2.5rem;
  color: var(--white);
}

/* Programs Section */
.programs-section {
  background: var(--white);
}

.program-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(191, 145, 59, 0.1),
    transparent
  );
  transition: all 0.6s ease;
}

.program-card:hover::before {
  right: 100%;
}

.program-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(191, 145, 59, 0.15);
}

.program-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.program-title {
  color: var(--dark-green);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.program-age {
  background: var(--primary-green);
  color: var(--dark-green);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
}

.program-details {
  position: relative;
  z-index: 2;
}

.program-feature {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.program-feature i {
  color: var(--primary-green);
  margin-left: 1rem;
  width: 20px;
}

/* Why Choose Section */
.why-choose-section {
  background: linear-gradient(
    135deg,
    var(--dark-green) 0%,
    var(--secondary-green) 100%
  );
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-choose-section::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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.why-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-10px);
}

/* Registration Form Section */
.registration-section {
  background: var(--light-gray);
}

.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-control {
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(141, 242, 156, 0.1);
}

/* Contact Section */
.contact-section {
  background: var(--white);
}

.contact-item {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: var(--light-gray);
  transform: translateY(-5px);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-icon i {
  font-size: 2rem;
  color: var(--white);
}

/* Vision Section */
.vision-section {
  background: linear-gradient(
    135deg,
    var(--dark-green) 0%,
    var(--secondary-green) 100%
  );
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.vision-section::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 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.vision-text {
  font-size: 1.3rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Video Section */
.video-section {
  background: var(--light-gray);
}

.video-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
  background: linear-gradient(
    135deg,
    var(--secondary-green),
    var(--dark-green)
  );
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

.video-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--primary-green);
}

.video-placeholder h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.video-placeholder p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Achievements Section */
.achievements-section {
  background: var(--white);
}

.achievement-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid var(--light-gray);
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(191, 145, 59, 0.1),
    transparent
  );
  transition: all 0.6s ease;
}

.achievement-card:hover::before {
  left: 100%;
}

.achievement-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(191, 145, 59, 0.15);
}

.achievement-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-gold), #d4a017);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

.achievement-icon i {
  font-size: 2rem;
  color: var(--white);
}

.achievement-card h4 {
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.achievement-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.achievement-year {
  display: inline-block;
  background: var(--primary-green);
  color: var(--dark-green);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--secondary-green) 50%,
    var(--dark-green) 100%
  );
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  animation: move 20s linear infinite;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.cta-buttons {
  position: relative;
  z-index: 2;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

@keyframes move {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Animation Classes */
.animate-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

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

  .about-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

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

  .hero-buttons .btn,
  .cta-buttons .btn {
    display: block;
    margin-bottom: 1rem;
    margin-right: 0;
    text-align: center;
  }

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

  .benefit-item {
    flex-direction: column;
    text-align: center;
  }

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

  .benefit-icon {
    margin-left: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .feature-card,
  .achievement-card,
  .program-card {
    padding: 2rem 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .floating-card {
    padding: 1.5rem;
  }

  .floating-card i {
    font-size: 2rem;
  }

  .form-card {
    padding: 2rem;
  }
}
