/* ============ Global Animations ============ */
.fade-in { opacity:0; transform:translateY(30px); transition:all .8s ease; }
.fade-in.show { opacity:1; transform:translateY(0); }

.slide-up { opacity:0; transform:translateY(50px); transition:all 1s ease; }
.slide-up.show { opacity:1; transform:translateY(0); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ About Section ============ */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #f9f9f9;
  font-family: "Poppins", sans-serif;
}

.about-video {
  position: relative;
  overflow: hidden;
}

.about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
}

/* Right Side Content */
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  animation: fadeInUp 1.2s ease;
}

.about-content .subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  color: #2e7d32;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.about-content .title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.about-content .description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Features */
.features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.feature-card {
  flex: 1 1 180px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-card .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #666;
}

/* Hover Effects */
.feature-card:hover {
  transform: translateY(-8px) scale(1.05);
  color: #fff;
}

.feature-card:hover .icon { transform: scale(1.2); }

/* Individual Hover Colors */
.feature-card:nth-child(1):hover {
  background: linear-gradient(135deg, #56ab2f, #a8e063);
}
.feature-card:nth-child(2):hover {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}
.feature-card:nth-child(3):hover {
  background: linear-gradient(135deg, #f7971e, #ffd200);
}


/* ======================
   TIMELINE SECTION
====================== */
.timeline-wrapper {
  padding: 4rem 2rem;
  background: #f9f9f9;
  font-family: "Poppins", sans-serif;
}

.timeline-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Main Heading */
.timeline-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 1rem;
  text-align: center;
}

/* Sub Heading */
.timeline-header h4 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #555;
  line-height: 1.6;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

/* Highlighted span */
.timeline-header h4 span {
  font-weight: 700;
  background: linear-gradient(90deg, #ff7e5f, #feb47b); /* orange-pink gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* Underline accent for span */
.timeline-header h4 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: rgba(255,126,95,0.3);
  border-radius: 2px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}


.timeline-row.reverse {
  flex-direction: row-reverse;
}

/* Image */
.timeline-img {
  flex: 1;
  min-height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  transition: transform 0.4s ease;
}
.timeline-row:hover .timeline-img {
  transform: scale(1.05);
}

/* Text Card */
.timeline-content {
  flex: 1;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
}
.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Marker animation */
.timeline-content:hover .timeline-marker {
  transform: scale(1.2) rotate(10deg);
  background: #218838;
  transition: all 0.3s ease;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Marker */
.timeline-marker {
  position: absolute;
  top: -15px;
  left: -15px;
  background: #28a745;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ===== Mobile View ===== */
@media (max-width: 768px) {
  .timeline-row,
  .timeline-row.reverse {
    flex-direction: column;
  }

  .timeline-header h2 {
    font-size: 1.8rem;
  }

  .timeline-header h4 {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .timeline-img {
    width: 100%;
    min-height: 180px;
    border-radius: 12px 12px 0 0;
    order: -1; /* Show image first */
  }

  .timeline-content {
    width: 100%;
    border-radius: 0 0 12px 12px;
    padding: 1rem;
  }

  .timeline-marker {
    top: 10px;
    left: 10px;
    font-size: 1rem;
    width: 28px;
    height: 28px;
  }
}


/* ============ Pillars Section ============ */
.pillars-section {
  background: url("../assests/16.jpg") center/cover no-repeat fixed;
  padding: 6rem 2rem;
  text-align: center;
  color: #ffffffff;
  margin-bottom: 5rem;
}

.pillars-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.pillars-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #ffffffff;
}

.pillars-glass {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.pillar-glass {
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  transition: transform 0.3s, background 0.3s;
  font-weight: 600;
}

.pillar-glass span {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.pillar-glass:hover {
  transform: translateY(-10px) scale(1.08);
  background: rgba(255, 255, 255, 0.25);
}

/* Promise Section */
.promise-section {
  background: linear-gradient(135deg, #e8f9f0, #ffffff);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
}

.promise-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 2rem;
  position: relative;
}

.promise-section h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #4caf50;
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Promise Box */
.promise-box {
  background: #fff;
  padding: 2.5rem 3rem;
  border-radius: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promise-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.promise-box p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.promise-box p strong {
  color: #2e7d32;
  font-weight: 600;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .about-section {
    grid-template-columns: 1fr;
  }
  .about-content { padding: 2rem; }
  .about-content .title { font-size: 2rem; }
  .features { justify-content: center; }
}

@media (max-width: 768px) {
  .pillars-glass { gap: 1rem; }
  .pillar-glass { width: 140px; height: 140px; }

@media (max-width: 480px) {
  .about-content .title { font-size: 1.6rem; }
  .pillar-glass { width: 120px; height: 120px; font-size: 0.9rem; }
  .promise-box { padding: 1.5rem; }
  .promise-section h1 { font-size: 1.8rem; }
}

}