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

body {
  background: hsl(0, 0%, 93%);
  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 {
  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;
}

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

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

/* 📱 Mobile: 2 images per row */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 📲 Tablets: 3 images per row */
@media (min-width: 601px) and (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid img {
  width: 100%;
  height: 190px; /* perfect image height */
  object-fit: cover; /* makes gallery clean */
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

/* 
############################################################################################### */


/* --- Village Attractions Section --- */
#attraction-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f0fff4, #f9fffb);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#attraction-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #1b5e20;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

#attraction-section h2::after {
  content: '';
  width: 50%;
  height: 4px;
  background: #2e7d32;
  position: absolute;
  bottom: -10px;
  left: 25%;
  border-radius: 5px;
}

.attraction-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.attraction-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.attraction-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(46, 125, 50, 0.15);
}

.main-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.main-image-wrapper img.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.attraction-card:hover .main-image-wrapper img.main-image {
  transform: scale(1.08);
}

.attraction-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.card-body h3 {
  font-size: 1.6rem;
  color: #2e7d32;
  margin-bottom: 15px;
  font-weight: 700;
}

.attraction-extra-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.5s ease-out, opacity 0.5s ease-out;
}

.attraction-card.expanded .attraction-extra-content {
  grid-template-rows: 1fr;
  opacity: 1;
}

.attraction-extra-content > div {
  overflow: hidden;
}

.attraction-extra-content p {
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  margin-top: 5px;
}

.extra-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.extra-images img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.extra-images img:hover {
  transform: scale(1.05);
}

.attraction-read-more {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: #ffffff;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: auto;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.attraction-read-more:hover {
  background: linear-gradient(135deg, #43a047, #1b5e20);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(46, 125, 50, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  #attraction-section {
    padding: 60px 15px;
  }
  .attraction-cards {
    gap: 30px;
  }
}

.submit-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(46, 125, 50, 0.1);
  margin: 40px auto;
  max-width: 600px;
  text-align: center;
}

.submit-section h2 {
  color: #2e7d32;
  font-size: 2.2rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.submit-section h2::after {
  content: '';
  width: 50%;
  height: 3px;
  background: #4caf50;
  position: absolute;
  bottom: -10px;
  left: 25%;
  border-radius: 5px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

form input,
form textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  width: 100%;
  font-size: 1rem;
  background: #fafafa;
  transition: all 0.3s ease;
  font-family: inherit;
  color: #333;
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form floating focus effect */
form input:focus,
form textarea:focus {
  outline: none;
  border-color: #4caf50;
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.15);
  transform: translateY(-2px);
}

form input::placeholder,
form textarea::placeholder {
  color: #999;
}

/* Submit Button Theme */
form button {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
}

form button:active {
  transform: scale(0.97);
}

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;
  }
}

.hero-section {
  height: 100vh;
  background-image: url("img/g1.webp");
  background-size: cover;
  background-position: center;
  border-bottom-left-radius: 40px;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 5vw;
  overflow: hidden;
}

/* 🎨 White → Soft Gray Gradient */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsla(1, 0%, 93%, 0.30) 0%,      /* 🔥 bottom — your color */
    hsla(0, 0%, 93%, 0.122) 45%,  /* ⭐ middle fade */
    hsla(0, 0%, 93%, 0.005) 85%,  /* ✨ upper mild fade */
    hsla(0, 0%, 99%, 0) 100%     /* 🔼 top transparent */
  );
  z-index: 1;
}

/* Content above overlay */
.hero-section * {
  position: relative;
  z-index: 2;
}

.overlay-content {
  max-width: 90%;
  color: #222;
}

.main-title {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  animation: zoomFade 6s ease-in-out infinite;
}

@keyframes zoomFade {
  0% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
}

.overlay-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-family: "Poppins", sans-serif;
}

.explore {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  color: #000;
}

.arrow {
  font-size: 1.8rem;
  animation: bounce 2s infinite;
  margin-top: 0.3rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-left: 6vw;
    justify-content: flex-start;
  }

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

  .overlay-content p {
    font-size: 1rem;
  }
}

.card .extra-content {
  display: none;
  transition: max-height 0.4s ease-in-out;
}

.card.expanded .extra-content {
  display: block;
}

.weather-container {
  background: #e0fae6;
  padding: 20px;
  border-radius: 15px;
  max-width: 800px;
  margin: 30px auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.forecast-grid div {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.forecast-grid div:hover {
  transform: scale(1.05);
}

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

#panchayat ul,
#services {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(240, 255, 240, 0.95) 100%
  );
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
  border: 2px solid rgba(76, 175, 80, 0.1);
  animation: sectionPulse 10s ease-in-out infinite;
}

@keyframes sectionPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
}

#panchayat a {
  color: #2e7d32;
  text-decoration: none;
  font-weight: 600;
}

#panchayat a:hover {
  color: #1b5e20;
  text-decoration: none;
}

#panchayat ul {
  list-style: none;
}

#panchayat li {
  padding: 1rem;
  border-bottom: 2px solid rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

#panchayat li:hover {
  background: rgba(76, 175, 80, 0.1);
  transform: translateX(10px);
  border-left: 4px solid #4caf50;
}

/* --- Premium Services Section --- */
.premium-services {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.premium-services h2 {
    font-size: 2.8rem;
    color: #1b5e20;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.12);
    border-color: rgba(76, 175, 80, 0.2);
}

.service-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon-box {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: #ffffff;
    transform: rotate(10deg);
}

.service-info h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-info p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 48px;
}

.service-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: #f1f8e9;
    color: #2e7d32;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
}

.service-item:hover .service-action-btn {
    background: #2e7d32;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 768px) {
    .premium-services {
        padding: 60px 15px;
    }

    .premium-services h2 {
        font-size: 2.2rem;
    }

    .service-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .service-item {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= EVENTS SECTION ================= */
.events-section {
  max-width: 1100px;
  margin: auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.section-title {
  font-size: 2.3rem;
  color: #1b5e20;
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 750px;
  margin: auto;
  color: #2e7d32;
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* EVENT STORY */
.event-details {
  max-width: 850px;
  margin: auto;
  background: rgba(240, 255, 240, 0.95);
  padding: 2rem;
  border-radius: 22px;
  text-align: left;
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.15);
}

.event-details h3 {
  color: #1b5e20;
  margin-bottom: 1rem;
}

.event-details p {
  color: #2e7d32;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* MEMORY IMAGES */
.event-memories {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.event-memories::-webkit-scrollbar {
  display: none;
}

.event-memories img {
  height: 180px;
  min-width: 140px;
  object-fit: cover;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.event-memories img:hover {
  transform: scale(1.06);
}

.memory-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #558b2f;
  font-style: italic;
}

/* MORE EVENTS BUTTON */
.more-events {
  margin-top: 3rem;
}

.more-events-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, #43a047, #66bb6a);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.35);
  transition: all 0.3s ease;
}

.more-events-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.45);
}

/* ================= EVENT MODAL ================= */
.event-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.event-modal-card {
  background: #f1fff1;
  width: 90%;
  max-width: 520px;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  animation: popup 0.4s ease;
  box-shadow: 0 25px 60px rgba(76, 175, 80, 0.35);
}

@keyframes popup {
  from {
    transform: scale(0.85) translateY(40px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

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

.modal-content {
  padding: 1.6rem;
  text-align: left;
}

.modal-content h3 {
  color: #1b5e20;
  margin-bottom: 0.6rem;
}

.modal-content p {
  color: #2e7d32;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  width: 36px;
  height: 36px;
  font-size: 1.6rem;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}


.map-section {
  padding: 3rem 1rem;
  background: #f4f4f4;
  text-align: center;
}
.map-section h2 {
  color: #2e7d32;
  margin-bottom: 1rem;
}
.map-container {
  max-width: 900px;
  margin: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

/* From Uiverse.io by FColombati */

#gallery a {
  text-decoration: none;
  display: inline-block;
}
.simple-button {
  background-color: #55a84d;
  color: white;
  margin-top: 25px;
  font-size: 14px;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.simple-button:hover {
  background-color: #227a1a;
  transform: scale(1.05);
}

.simple-button:active {
  transform: scale(0.95);
}

.submit-btn {
  padding: 12px;
  font-size: 18px;
  background: #1c8133;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.submit-btn:hover {
  background: #36be54;
}


/* ===== Home Gallery Slider CSS ===== */
.home-gallery-section { text-align:center; padding:40px 20px; background:#f9f9f9; }
.home-gallery-title { font-size:28px; margin-bottom:20px; color:#333; font-weight:700; }

.home-slider-container {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* Slides */
.home-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out;
}

.home-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1;
  animation: fadeIn 1s ease-in-out;
}

.home-slide img,
.home-slide video {
  width: 100%;
  height: 60%;
  border-radius: 12px;
  display: block;
}

/* Card below media */
.home-slide-card {
  padding: 15px;
  text-align: left;
  background: #fff;
  border-top: 1px solid #eee;
  border-radius: 0 0 12px 12px;
  height: auto;            /* ✅ Adjust to content */
  min-height: unset;       /* ✅ Remove any forced min height */
  max-height: none;        /* ✅ Ensure no cropping */
  overflow: visible;       /* ✅ Don’t hide content */
}
.home-slide-card h3 { font-size:18px; margin-bottom:8px; color:#2c3e50; }
.home-slide-card p { font-size:15px; margin:5px 0; color:#555; }

/* Animations */
@keyframes fadeIn { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }

/* Responsive */
@media (max-width:768px) {
  .home-slide-card h3 { font-size:16px; }
  .home-slide-card p { font-size:14px; }
}
.home-slide-card a {
  text-decoration: none;      /* Remove underline */
  color: #3eaf51;             /* Button-like color */
  font-weight: bold;
  padding: 6px 12px;          /* Make it look like a button */
  border-radius: 6px;         /* Rounded corners */
  background-color: #e0f0ff;  /* Light background */
  display: inline-block;
  transition: background 0.3s, color 0.3s;
}

.home-slide-card a:hover {
  background-color: #43914e;
  color: #fff;
  text-decoration: none;
}


/* ================= REDESIGNED ABOUT & MAP SECTION ================= */
.about-map-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-text-card {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 45px; /* Large rounded corners as per image */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    max-width: 850px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.02);
}

.about-text-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: rgba(76, 175, 80, 0.04); /* Subtle decorative circle */
    border-radius: 50%;
    z-index: 0;
}

.about-text-card * {
    position: relative;
    z-index: 1;
}

.about-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 35px;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    line-height: 1.1;
    color: #1b5e20;
    text-align: left;
    margin-bottom: 0;
}

/* Vertical line visual from image */
.title-line {
    width: 6px;
    height: 120px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    margin-top: 10px;
}

.about-description {
    font-family: 'Poppins', sans-serif;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 35px;
}

.about-more-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #1b5e20;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.about-more-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.about-more-link:hover {
    color: #2e7d32;
}

.about-more-link:hover i {
    transform: translateX(8px);
}

@media (max-width: 768px) {
    .about-title {
        font-size: 3.2rem;
    }
    .about-text-card {
        padding: 40px 25px;
        border-radius: 40px;
    }
    .title-line {
        height: 100px;
        width: 4px;
    }
    .about-more-link {
        font-size: 1.15rem;
    }
}

/* Map Styling */
.map-visual-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    height: 450px;
}

.map-visual-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.map-info-text h3 {
    font-size: 1.2rem;
    color: #1b5e20;
    margin-bottom: 4px;
}

.map-info-text p {
    font-size: 0.9rem;
    color: #666;
}

.direction-btn {
    background: #2e7d32;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.direction-btn:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

/* ================= REDESIGNED GALLERY SECTION ================= */
.premium-gallery {
    padding: 100px 20px;
    background: #ffffff;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: 3rem;
    color: #1b5e20;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.gallery-header p {
    color: #777;
    font-size: 1.1rem;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 94, 32, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay-text {
    transform: translateY(0);
}

.overlay-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.overlay-text span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Masonry variations */
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }

@media (max-width: 992px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .gallery-item:nth-child(2) { grid-column: span 1; }
    .gallery-item:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 576px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}

.show-more-wrapper {
    text-align: center;
    margin-top: 50px;
}

.premium-btn {
    background: transparent;
    color: #2e7d32;
    border: 2px solid #2e7d32;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.premium-btn:hover {
    background: #2e7d32;
    color: white;
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.2);
    transform: translateY(-3px);
}
