/* Forest School Kits - Main CSS */
:root {
  /* Primary Color Palette */
  --forest-green: #2d5a2d;
  --earth-brown: #8B4513;
  --sunrise-orange: #FF8C42;
  --sky-blue: #87CEEB;
  --nature-yellow: #DAA520;
  
  /* Light Shades */
  --forest-green-light: #4a7c4a;
  --earth-brown-light: #A0522D;
  --sunrise-orange-light: #FFB366;
  --sky-blue-light: #B6E2FF;
  --nature-yellow-light: #F4D03F;
  
  /* Dark Shades */
  --forest-green-dark: #1a3a1a;
  --earth-brown-dark: #654321;
  --sunrise-orange-dark: #E6792A;
  --sky-blue-dark: #6BB6C7;
  --nature-yellow-dark: #B8860B;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --text-dark: #2c3e50;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--forest-green), var(--forest-green-light));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--nature-yellow-light) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--forest-green), var(--earth-brown));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../NEX_images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  padding-top: 100px !important;
  position: relative;
  z-index: 1;
  color: var(--white);
}

/* Section Styling */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--forest-green);
}

.section-subtitle {
  text-align: center;
  color: var(--medium-gray);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.section-desc {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--medium-gray);
}

/* About Section */
.about-section {
  background: var(--light-gray);
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card i {
  font-size: 3rem;
  color: var(--sunrise-orange);
  margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
  background: var(--white);
}

.service-card {
  background: linear-gradient(135deg, var(--white), var(--light-gray));
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--sunrise-orange);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--forest-green);
  margin: 1rem 0;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--forest-green), var(--earth-brown));
  color: var(--white);
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-control {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.form-control:focus {
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.3);
  outline: none;
}

.btn-submit {
  background: linear-gradient(135deg, var(--sunrise-orange), var(--nature-yellow));
  border: none;
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--nature-yellow-light);
  margin-bottom: 1.5rem;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--sunrise-orange);
}

/* Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.py-5 { padding: 3rem 0; }

/* Price Plan Section */
.priceplan-section {
  background: var(--light-gray);
}

.price-card {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--forest-green), var(--sunrise-orange));
}

.price-card:hover {
  transform: scale(1.05);
}

.price-card .price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--forest-green);
  margin: 1.5rem 0;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, var(--forest-green-light), var(--earth-brown-light));
  color: var(--white);
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.review-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: bold;
  color: var(--nature-yellow-light);
}

/* Case Study Section */
.casestudy-section {
  background: var(--light-gray);
}

.case-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

/* Process Section */
.process-section {
  background: var(--white);
}

.process-step {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--sunrise-orange), var(--nature-yellow));
  border-radius: 50%;
  z-index: -1;
}

.process-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: var(--forest-green);
  color: var(--white);
  border-radius: 50%;
  line-height: 60px;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

/* Timeline Section */
.timeline-section {
  background: var(--light-gray);
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--sunrise-orange);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--sunrise-orange);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--sunrise-orange);
}

.timeline-item:last-child::after {
  display: none;
}

/* Career Section */
.career-section {
  background: var(--white);
}

.career-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 5px solid var(--forest-green);
}

/* Core Info Section */
.coreinfo-section {
  background: linear-gradient(135deg, var(--sky-blue-light), var(--white));
}

.info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  text-align: center;
}

.info-card i {
  font-size: 2.5rem;
  color: var(--sunrise-orange);
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
  background: var(--white);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Blog Section */
.blog-section {
  background: var(--white);
  padding: 80px 0;
}

.blog-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  overflow-x: hidden !important;
  padding: 1.5rem;
}

.blog-link {
  color: var(--forest-green);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--sunrise-orange);
}

/* FAQ Section */
.faq-section {
  background: var(--light-gray);
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.faq-question {
  background: var(--forest-green);
  color: var(--white);
  padding: 1.5rem;
  cursor: pointer;
  margin: 0;
  font-weight: 600;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 1.5rem;
  display: none;
  border-top: 1px solid var(--light-gray);
}

.faq-answer.active {
  display: block;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}