@import url('https://fonts.googleapis.com/css2?family=Moon+Dance&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  /* 🌿 Primary Colors */
  --color-primary: #2f8100;
  /* Olive Green */
  --color-primary-light: #77c24c;
  /* Lighter Olive */
  --color-primary-dark: #1e4706;
  /* Darker Olive */

  /* 🤍 Neutral / Background */
  --color-bg: #fffeef;
  /* Cream Background */
  --color-bg-transparent: #f5f1e89e;
  /* Cream Background Transparent*/
  --color-bg-soft: #EAE3D2;
  /* Section Background */
  --color-white: #FFFFFF;

  /* 🌳 Earthy Accents */
  --color-brown: #7A5C3E;
  /* Wood Brown */
  --color-brown-light: #A67C52;
  /* Light Brown */

  /* 🌅 Optional Accent */
  --color-accent: #D6A85A;
  /* Warm Gold */

  /* 🖤 Text Colors */
  --color-text: #1e1e1e;
  /* Main Text */
  --color-text-light: #333333;
  /* Secondary Text */
  --color-heading: #6f2d00;
  --nav-texts: #2f8100;


  /* 🔤 Font Family */
  --font-heading: "Open Sans", sans-serif;
  --font-body: 'Poppins', sans-serif;
  --special-font: 'Moon Dance', cursive;




  /* 🔠 Font Sizes */
  --fs-h1: 48px;
  --fs-h2: 38px;
  --fs-h3: 24px;
  --fs-body: 16px;
  --fs-small: 14px;

  /* 📏 Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 44px;
  --spacing-xl: 40px;

  /* 🔲 Border Radius */
  --radius-sm: 6px;
  --radius-md: 30px;
  --radius-lg: 16px;

  /* 🌫️ Shadows */
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 6px 18px rgba(0, 0, 0, 0.12);

  /* ⏱️ Transitions */
  --transition: all 0.3s ease;
}


/* 🌍 Global Reset + Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 🌐 HTML Setup */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* 🏡 Body Styling */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: 0.2px;

  /* Smooth rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Better text rendering */
  text-rendering: optimizeLegibility;
}

/* 🖋️ Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
}

/* 📄 Paragraph */
p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-light);
}

/* 🔗 Links */
a {
  text-decoration: none;
  color: var(--color-primary);
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-light);
}

/* 🖼️ Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* 📋 Lists */
ul,
ol {
  list-style: none;
}

/* 🧾 Buttons Reset */
button {
  border: none;
  outline: none;
  font-family: inherit;
  cursor: pointer;
}

/* 📦 Container (optional but useful) */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ✨ Section Spacing */
section {
  padding: var(--spacing-xl) 0;
}


.btn {
  padding: 11px 29px;
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: var(--transition);
}





/*------------------------
|   About hero Section   |
------------------------*/

.about-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* 🌿 Background Image */
.about-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* 🌫️ Overlay */
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(30, 71, 6, 0.6),
    rgba(0, 0, 0, 0.5)
  );
}

/* 📦 Content */
.about-hero-content {
  position: relative;
  color: var(--color-white);
  max-width: 800px;
  z-index: 2;
}

/* ✨ Eyebrow */
.about-eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  color: var(--color-bg-soft);
}

/* 🏷️ Heading */
.about-hero h1 {
  font-size: 56px;
  font-family: var(--font-heading);
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.about-hero h1 .highlight {
  color: var(--color-accent);
}

/* 📝 Text */
.about-hero p {
  font-size: 18px;
  color: #f1f1f1;
  margin-bottom: var(--spacing-lg);
}

/* 🔘 Button */
.about-hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-weight: 500;
}

.about-hero-btn:hover {
  background: var(--color-primary-light);
  color: var(--color-white);
  transform: translateX(4px);
}



/* 🌿 Section */
.events {
  background: var(--color-bg);
}

/* Header */
.events-header {
  text-align: center;
  margin-bottom: 50px;
}

.events-header h2 {
  font-size: var(--fs-h2);
  font-family: var(--special-font);
  margin-bottom: 10px;
}

.events-header p {
  color: var(--color-text);
}

/* Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* 🧩 Card */
.event-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

/* Image */
.event-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: 0.5s ease;
}

/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Content */
.event-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--color-white);
  transition: 0.4s ease;
}

/* Icon */
.event-content i {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
}

/* Title */
.event-content h3 {
  font-size: var(--fs-h3);
  color: var(--color-white);
  margin-bottom: 5px;
}

/* Hidden description */
.event-content p {
  color: var(--color-white);
  font-size: var(--fs-small);
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s;
}

/* Hover Effects */
.event-card:hover img {
  transform: scale(1.1);
}

.event-card:hover .event-content p {
  opacity: 1;
  transform: translateY(0);
}


/* 📱 Mobile (≤768px) */
@media (max-width: 768px) {
  .events {
    padding: 50px 0;
  }

  .events-header {
    margin-bottom: 30px;
  }

  .events-header h2 {
    font-size: 28px;
  }

  .events-header p {
    font-size: 14px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-card img {
    height: 240px;
  }

  .event-content {
    bottom: 15px;
    left: 15px;
  }

  .event-content h3 {
    font-size: 16px;
  }

  .event-content p {
    font-size: 12px;
  }
}





.event-form-section {
  background: var(--color-primary-dark);
}

/* Layout */
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

/* Left Info */
.form-info h2 {
  font-size: var(--fs-h2);
  font-family: var(--special-font);
  color: var(--color-white);
  margin-bottom: 10px;
}

.form-info p {
  color: var(--color-white);
  margin-bottom: 20px;
}

.form-info ul {
  list-style: none;
}

.form-info li {
  display: flex;
  color: var(--color-white);
  gap: 8px;
  margin-bottom: 10px;
}

/* Form */
.event-form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Row */
.form-row {
  display: flex;
  gap: 10px;
}

/* Inputs */
.event-form input,
.event-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  width: 100%;
}

/* Select Group */
.select-group p {
  font-size: 14px;
  margin-bottom: 8px;
}

/* Card Selection */
.select-cards,
.checkbox-cards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.select-cards label,
.checkbox-cards label {
  cursor: pointer;
}

.card {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  transition: 0.3s;
}

/* Hide input */
input[type="radio"],
input[type="checkbox"] {
  display: none;
}

/* Active */
input:checked+.card {
  background: #2f8100;
  color: #fff;
  border-color: #2f8100;
}

/* Button */
.big-btn {
  padding: 14px;
  font-size: 16px;
}


/* 🌟 EVENT POPUP */
.event-popup {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.4s ease;

  z-index: 9999;
}

/* ACTIVE */
.event-popup.active {
  opacity: 1;
  visibility: visible;
}

/* 🌑 Overlay */
.popup-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.7);

  backdrop-filter: blur(6px);
}

/* 📦 Box */
.popup-box {
  position: relative;

  width: 90%;
  max-width: 900px;

  background: #fff;

  border-radius: 24px;

  padding: 20px;

  z-index: 2;

  transform: translateY(40px);

  transition: 0.4s ease;
}

/* Animation */
.event-popup.active .popup-box {
  transform: translateY(0);
}

/* ❌ Close */
.close-btn {
  z-index: 999;
  position: absolute;

  top: 15px;
  right: 15px;

  border: none;
  background: #000;
  color: #fff;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  cursor: pointer;

  font-size: 18px;
}

/* 🌟 SLIDER */
.popup-slider {
  position: relative;

  overflow: hidden;

  border-radius: 20px;
}

/* 🎞️ Track */
.popup-track {
  display: flex;

  transition: transform 0.5s ease;
}

/* 🖼️ Slide */
.popup-slide {
  min-width: 100%;
}

.popup-slide img {
  width: 100%;
  height: 550px;

  object-fit: cover;

  border-radius: 20px;
}

/* ⬅➡ Buttons */
.slide-btn {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);

  width: 50px;
  height: 50px;

  border: none;

  border-radius: 50%;

  background: rgba(0,0,0,0.6);

  color: #fff;

  cursor: pointer;

  z-index: 5;

  font-size: 24px;

  backdrop-filter: blur(5px);

  transition: 0.3s ease;
}

.slide-btn:hover {
  background: #000;
}

.slide-btn.prev {
  left: 15px;
}

.slide-btn.next {
  right: 15px;
}

/* 📱 Mobile */
@media(max-width:768px){

  .popup-slide img{
    height: 300px;
  }

  .slide-btn{
    width: 42px;
    height: 42px;
  }

}




/* ============================= */
/* 📱 Tablet (≤ 992px) */
/* ============================= */
@media (max-width: 992px) {
  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-info {
    text-align: center;
  }

  .form-info ul {
    display: inline-block;
    text-align: left;
  }
}

/* ============================= */
/* 📱 Mobile (≤ 600px) */
/* ============================= */
@media (max-width: 600px) {

  .event-form {
    padding: 20px;
  }

  /* Stack inputs */
  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  /* Cards full width */
  .select-cards,
  .checkbox-cards {
    flex-direction: column;
  }

  .card {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 15px;
  }

  /* Better tap targets */
  .select-cards label,
  .checkbox-cards label {
    width: 100%;
  }

  /* Inputs spacing */
  .event-form input,
  .event-form textarea {
    font-size: 15px;
    padding: 14px;
  }

  textarea {
    min-height: 100px;
  }

  /* Button full width */
  .big-btn {
    width: 100%;
    font-size: 16px;
  }

  /* Heading adjustment */
  .form-info h2 {
    font-size: 26px;
  }

  .form-info p {
    font-size: 14px;
  }
}

/* ============================= */
/* 📱 Small Mobile (≤ 400px) */
/* ============================= */
@media (max-width: 400px) {

  .event-form {
    padding: 16px;
  }

  .card {
    font-size: 14px;
    padding: 10px;
  }

  .big-btn {
    font-size: 15px;
    padding: 12px;
  }
}