  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', sans-serif;
    }

    body {
      background: #f1f1f1;
      color: #333;
      line-height: 1.6;
    }

    header.hero {
      height: 100vh;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .overlay {
      background-color: rgba(0, 0, 0, 0.6);
      color: white;
      padding: 2rem;
      text-align: center;
      animation: fadeIn 2s ease-in-out;
    }

    @keyframes fadeIn {
      0% {
        opacity: 0;
        transform: scale(0.9);
      }
      100% {
        opacity: 1;
        transform: scale(1);
      }
    }

    section {
      padding: 4rem 2rem;
      max-width: 1000px;
      margin: auto;
    }

    /* ==============================
   About Goradka Village Section
   ============================== */

/* =========================================
   Modern About Page Styles
========================================= */

.about-modern-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  overflow: hidden;
}

.modern-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-h2 {
  font-size: 3rem;
  color: #1b3d2b;
  font-family: 'Playfair Display', serif;
  margin-bottom: 30px;
  text-align: center;
}

.modern-h3 {
  font-size: 2rem;
  color: #2e5d46;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.intro-p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 500;
}

.highlight-bg {
  background: #f8fff9;
  padding: 60px 40px;
  border-radius: 30px;
  margin: 40px 0;
  border: 1px solid #e1f5e6;
}

/* Location Grid */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.location-card {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.location-card:hover {
  transform: translateY(-5px);
  border-color: #4caf50;
  box-shadow: 0 15px 30px rgba(76, 175, 80, 0.1);
}

.location-card i {
  font-size: 2rem;
  color: #4caf50;
  background: #f1ffee;
  padding: 15px;
  border-radius: 12px;
}

.location-card h4 {
  font-size: 0.9rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.location-card p {
  font-size: 1.1rem;
  color: #2e5d46;
  font-weight: 700;
  margin: 0;
}

/* Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.community-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.chip {
  background: #e1f5e6;
  color: #2e5d46;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #c8e6c9;
  transition: 0.3s;
}

.chip:hover {
  background: #4caf50;
  color: white;
  transform: scale(1.05);
}

/* River Feature */
.river-feature {
  background: linear-gradient(135deg, #1f3d2b 0%, #2e5d46 100%);
  color: white;
  padding: 80px 40px;
  border-radius: 40px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.river-feature .modern-h3 {
  color: white;
}

.river-feature i {
  font-size: 4rem;
  color: #4caf50;
  margin-bottom: 20px;
  display: block;
}

.river-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Services Grid */
.services-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.service-card {
  background: #fff;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
  transition: 0.4s;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #4caf50;
}

.service-card i {
  font-size: 3rem;
  color: #4caf50;
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 1.8rem;
  color: #1b3d2b;
  margin-bottom: 20px;
}

/* Culture Grid */
.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-top: 30px;
}

.temple-list, .festival-content {
  background: white;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.temple-list h4, .festival-content h4 {
  font-size: 1.5rem;
  color: #2e5d46;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.temple-list ul {
  list-style: none;
  padding: 0 !important;
}

.temple-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.temple-list li::before {
  content: '•';
  color: #4caf50;
  font-weight: bold;
}

/* Bottom Info Cards */
.bottom-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 60px 0;
}

.info-box {
  background: #f1ffee;
  padding: 40px;
  border-radius: 30px;
  border-left: 6px solid #4caf50;
}

/* Special Highlight */
.special-highlight {
  background: #1b3d2b;
  color: white;
  padding: 60px 40px;
  border-radius: 30px;
  text-align: center;
  margin-top: 40px;
}

.special-highlight h3 {
  color: #4caf50;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .split-section, .culture-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .modern-h2 { font-size: 2.2rem; }
  .modern-h3 { font-size: 1.7rem; }
  .highlight-bg, .river-feature, .service-card, .info-box, .special-highlight {
    padding: 40px 20px;
  }
  .services-modern-grid {
    grid-template-columns: 1fr;
  }
  .bottom-info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
  .location-card {
    padding: 15px;
  }
}



    h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
      text-align: center;
      color: #68d388;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1rem;
    }

    .grid img {
      width: 100%;
      border-radius: 10px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .grid img:hover {
      transform: scale(1.05);
    }

/* =========================================
   Premium Stats Grid (People, Houses, Area)
========================================= */

.premium-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(76, 175, 80, 0.12);
  border-color: rgba(76, 175, 80, 0.2);
}

.stat-img-box {
  width: 120px;
  height: 120px;
  background: #f1ffee;
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-img-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.stat-header h3 {
  font-size: 1.5rem;
  color: #1b3d2b;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.stat-main {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 5px !important;
}

.stat-sub {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

.more-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  text-align: left;
  margin-top: 0;
}

.stat-card.active .more-content {
  max-height: 500px; /* Large enough to fit content */
  opacity: 1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f1f1f1;
}

.expand-btn {
  background: #f1ffee;
  color: #2e5d46;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-card.active .expand-btn {
  background: #4caf50;
  color: white;
}

.stat-card.active .expand-btn i {
  transform: rotate(180deg);
}

.expand-btn:hover {
  background: #4caf50;
  color: white;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

    .cards {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      padding: 2rem 1rem;
    }

    .card {
      background: white;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      border-radius: 10px;
      overflow: hidden;
      max-width: 250px;
      text-align: center;
      transition: transform 0.3s ease;
    }

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

    .card img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    form input,
    form textarea {
      padding: 1rem;
      border-radius: 5px;
      border: 1px solid #ccc;
      width: 100%;
    }

    form button {
      background: #68d388;
      color: white;
      padding: 0.75rem;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    form button:hover {
      background: #004d40;
    }

footer {
  background: linear-gradient(
    270deg,
    rgba(44, 89, 44, 1),
    rgba(59, 209, 91, 0.98),
    rgba(60, 117, 65, 1)
  );
  background-size: 600% 600%;
  animation: gradientShift 15s ease infinite;
  color: white;
  padding: 2rem 1rem;
  font-size: 1rem;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h2,
.footer-section h3 {
  margin-bottom: 1rem;
}

.footer-section p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 0.5rem 0;
}

.footer-section a {
  color: #ffeb3b;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section a:hover {
  color: #cddc39;
  transform: scale(1.05);
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.3) rotate(10deg);
}

/* Created by text styling */
.created-by {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .social-icons a {
    margin: 0 0.5rem;
  }
}


/* Navbar (same as before for PC) */
.navbar {
  background: linear-gradient(
    90deg,
    rgba(44, 89, 44, 1) 0%,
    rgba(59, 209, 91, 0.98) 50%,
    rgba(60, 117, 65, 1) 100%
  );
  padding: 0.3rem 1.5rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* 🔥 Hamburger (hidden in desktop) */
.hamburgers {
  display: none;
  justify-content: center;
  align-items: center;
}

.hamburger {
  cursor: pointer;
  position: relative;
}

.hamburger input {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}

.bar {
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px auto;
  border-radius: 40px;
  transition: all 0.3s cubic-bezier(0.37, -1.11, 0.79, 2.02);
  background-color: white;
}

.hamburger input:checked ~ .bar:nth-child(2) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger input:checked ~ .bar:nth-child(3) {
  opacity: 0;
}

.hamburger input:checked ~ .bar:nth-child(4) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #1f1f1f;
}

/* 🔹 Mobile */
@media (max-width: 768px) {
  .hamburgers {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    background: #f1ffee;
    width: 90%;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    transform-origin: top center;
    z-index: 999;
  }

  .nav-links.show {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    color: #379e1e;
    font-size: 1.1rem;
  }
}

@keyframes zoom {
  0% {
    background-size: 100%;
  }
  100% {
    background-size: 110%;
  }
}

.overlay {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* dark overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.hero-content {
  z-index: 2;
  color: rgb(255, 255, 255);
  padding: 20px;
}

.top-text {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  color: #ffffff;
  animation: fadeIn 2s ease;
}

.main-title {
  font-size: 4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin: 10px 0;
  animation: fadeInDown 2.5s ease;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 20px;
  animation: fadeInUp 3s ease;
}

.hero-btn {
  background: white;
  color: black;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Wavy bottom shape */
.bottom-wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffffff" fill-opacity="1" d="M0,160L80,165.3C160,171,320,181,480,197.3C640,213,800,235,960,229.3C1120,224,1280,192,1360,176L1440,160L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>') no-repeat;
  background-size: cover;
  z-index: 1;
}


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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 768px) {
  .main-title {
    font-size: 2.2rem;
  }

  .top-text {
    font-size: 1.3rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .hero {
    height: 100vh;
    background-size: cover; /* Fit image properly */
    background-position: center center;
  }

  .hero-btn {
    display: none; /* Remove button on mobile */
  }

  .bottom-wave {
    height: 80px;
  }

  .overlay {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.8rem;
  }

  .top-text {
    font-size: 1.1rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }
}


/* =========================================
   Premium Stats Grid (People, Houses, Area)
========================================= */

.premium-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(76, 175, 80, 0.12);
  border-color: rgba(76, 175, 80, 0.2);
}

.stat-img-box {
  width: 120px;
  height: 120px;
  background: #f1ffee;
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-img-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.stat-header h3 {
  font-size: 1.5rem;
  color: #1b3d2b;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.stat-main {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 5px !important;
}

.stat-sub {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

.more-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  text-align: left;
  margin-top: 0;
}

.stat-card.active .more-content {
  max-height: 500px; /* Large enough to fit content */
  opacity: 1;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f1f1f1;
}

.expand-btn {
  background: #f1ffee;
  color: #2e5d46;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-card.active .expand-btn {
  background: #4caf50;
  color: white;
}

.stat-card.active .expand-btn i {
  transform: rotate(180deg);
}

.expand-btn:hover {
  background: #4caf50;
  color: white;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* =========================================
   Location Section
========================================= */
.modern-location-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.map-frame-wrapper {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  margin: 40px auto 0;
  border: 4px solid #fff;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.map-overlay-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  font-weight: 700;
  color: #2e5d46;
  z-index: 2;
}

.map-overlay-badge i {
  color: #4caf50;
  font-size: 1.2rem;
}

/* =========================================
   Testimonials (Reference Image Style)
========================================= */
.premium-testimonials {
  padding: 80px 20px;
  background: #f8fff9;
}

.feedback-list-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 800px;
  margin: 40px auto 0;
}

.feedback-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #eef0f2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 25px;
  transition: 0.3s;
}

.feedback-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.feedback-avatar {
  flex: 0 0 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f8f9fa;
}

.feedback-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feedback-content {
  flex: 1;
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.author-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: #1a1a1a;
}

.author-stars {
  color: #ffc107;
  font-size: 0.9rem;
}

.quote-text-modern {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .feedback-card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  
  .feedback-header {
    flex-direction: column;
    gap: 10px;
  }

  .feedback-avatar {
    flex: 0 0 80px;
    height: 80px;
  }
}

/* =========================================
   Compact Vertical Timeline
========================================= */
.compact-timeline-section {
  padding: 60px 20px;
  background: #fff;
  max-width: 600px; /* Kept small and centered */
  margin: 0 auto;
}

.timeline-container {
  position: relative;
  padding: 20px 0;
  margin-left: 20px;
}

/* Background Grey Line */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 2px;
  background: #e0e0e0;
}

/* Animated Green Line */
.timeline-progress-line {
  position: absolute;
  top: 0;
  left: 5px;
  width: 2px;
  background: #4caf50;
  height: 0; /* Updated via JS */
  transition: height 0.2s ease-out;
  z-index: 1;
}

.timeline-item {
  position: relative;
  padding-left: 35px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Color dot when its range is reached */
.timeline-item.reached .timeline-dot {
  background: #4caf50;
  border-color: #4caf50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
  transform: scale(1.2);
}

.info-year {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #4caf50;
  background: #f1ffee;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.timeline-info h4 {
  font-size: 1rem;
  color: #1b3d2b;
  margin-bottom: 5px;
}

.timeline-info p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 480px) {
  .compact-timeline-section { padding: 40px 15px; }
  .timeline-item { margin-bottom: 30px; }
  .timeline-info h4 { font-size: 0.95rem; }
  .timeline-info p { font-size: 0.85rem; }
}

/* =========================================
   Visual Masonry
========================================= */
/* =========================================
   Compact Snap Gallery (Explore)
========================================= */
.explore-snap-gallery {
  padding: 60px 0;
  background: #f8fff9;
  overflow: hidden;
}

.snap-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 40px;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
}

.snap-wrapper::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.snap-card {
  flex: 0 0 calc(33.333% - 14px); /* Desktop: 3 cards visible */
  scroll-snap-align: center;
  cursor: pointer;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 250px; /* Small height as requested */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.snap-card:hover .card-inner {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(76, 175, 80, 0.15);
}

.card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.6) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  pointer-events: none;
}

.modern-label {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.swipe-hint {
  text-align: center;
  margin-top: 15px;
  color: #2e5d46;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.7;
  display: none; /* Only show on small screens */
}

@media (max-width: 992px) {
  .snap-card { flex: 0 0 60%; } /* Tablet: 1.5 cards visible */
  .snap-wrapper { padding: 20px 20px; }
}

@media (max-width: 480px) {
  .snap-card { flex: 0 0 85%; } /* Mobile: 1 card nearly filling width */
  .card-inner { height: 200px; }
  .swipe-hint { display: block; animation: pulseHint 2s infinite; }
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(5px); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .map-frame-wrapper iframe { height: 350px; }
  .map-overlay-badge { top: 15px; right: 15px; padding: 10px 15px; font-size: 0.8rem; }
  
  .testimonial-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 30px; }

  .road-timeline::before { left: 30px; }
  .timeline-step, .timeline-step.step-reverse {
    justify-content: flex-start;
    padding-left: 80px;
    padding-right: 0;
  }
  .step-year { left: 30px; width: 60px; height: 60px; font-size: 1rem; }
  .step-content, .step-reverse .step-content { width: 100%; margin: 0; }
}

/* =========================================
   Custom Testimonial Animations & Mobile Refinements
========================================= */
[data-aos="bounce-in"] {
  opacity: 0;
  transform: scale(0.3);
  transition-property: transform, opacity;
}

[data-aos="bounce-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feedback-card .author-stars i {
  color: #ffc107;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
}

/* Mobile Specific Writing Animation */
@media (max-width: 600px) {
  .feedback-card.aos-animate .quote-text-modern {
    animation: typingReveal 1.2s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
  }
}

@keyframes typingReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}


