/* 
 * Pure Village Cooking Website Stylesheet
 * Custom Design System: Green, Terracotta Orange, Warm Cream Background
 * Optimized animations, premium interactions, and scroll reveals
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --primary-color: #2d6a4f;      /* Forest Green */
  --primary-dark: #1b4332;       /* Deep Forest Green */
  --primary-light: #52b788;      /* Mint Green */
  --secondary-color: #e65c00;    /* Warm Terracotta Orange */
  --secondary-hover: #cc5200;    /* Darker Orange */
  --accent-color: #d4af37;       /* Soft Gold */
  --accent-light: #fbe69c;       /* Light Warm Gold */
  --bg-warm: #faf6f0;            /* Warm Cream Background */
  --text-dark: #2d261f;          /* Warm Earthy Charcoal */
  --text-light: #fafafa;         /* Off-white */
  --text-muted: #6e655a;         /* Subdued Earthy Tone */
  --white: #ffffff;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 6px rgba(45, 38, 31, 0.03);
  --shadow-md: 0 10px 20px rgba(45, 38, 31, 0.06);
  --shadow-lg: 0 20px 40px rgba(45, 38, 31, 0.1);
  --shadow-glow: 0 10px 30px rgba(45, 106, 79, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(45, 38, 31, 0.08);
  
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;
  
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container-width: 1200px;
  --header-height: 80px;
}

/* --- Base & Resets --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-warm);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

ul {
  list-style: none;
}

/* --- Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-warm);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
}
#first-line{
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-color);
  font-size: 55px;
}
#second-line{
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-color);
  font-size: 55px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(45, 106, 79, 0.15);
  border-left-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transition: all 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* --- Layout Utility --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 65px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* --- Section Header --- */
.section-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.section-header .tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(45, 106, 79, 0.1);
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 30px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .section-header h2 { font-size: 2rem; }
}

/* --- Buttons (Premium Shine Effect & Micro-Scale) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(45, 106, 79, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(45, 106, 79, 0.25);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(230, 92, 0, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(230, 92, 0, 0.25);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-white:hover {
  background-color: var(--bg-warm);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* --- Header & Navigation (SOLID BACKGROUND - NOT TRANSPARENT) --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(45, 38, 31, 0.05);
}

header.sticky {
  height: 70px;
}

.nav-container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 20px;
    transition: right var(--transition-normal);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }
  
  .nav-menu .nav-btn {
    width: 100%;
    margin-top: 20px;
  }
  
  /* Hamburger animations when menu is active */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* --- Hero Banner & Slider (NEW 2-COLUMN PREMIUM LAYOUT) --- */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  background-color: #123023; /* Dark green base */
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.95) 0%, rgba(21, 58, 42, 0.93) 50%, rgba(58, 26, 5, 0.88) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-content {
  max-width: 580px;
}

/* Entry Animations for Hero elements */
.hero-content .hero-tag {
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero h1 {
  font-size: 3.6rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
}

.hero h1 span {
  color: #ffffff;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;
}

.hero-slider-card {
  z-index: 2;
  position: relative;
  border-radius: var(--radius-lg);
  border: 4px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--primary-dark);
  transition: transform var(--transition-normal);
}

.hero-slider-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(45, 106, 79, 0.2);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1; /* Renders full color brightness in 2 column card */
  transform: scale(1);
  transition: opacity 1.2s ease-in-out, transform 4.5s ease;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 120px 0 80px 0;
  }
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1.1rem; }
  .hero-slider-card { margin-top: 40px; width: 100%; max-width: 500px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
}

/* --- Page Hero / Breadcrumb Header --- */
.page-hero {
  position: relative;
  padding: 120px 0 60px 0;
  background-color: var(--primary-dark);
  color: var(--white);
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(27, 67, 50, 0.95), rgba(230, 92, 0, 0.3));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 10px;
  animation: slideInUp 0.6s ease forwards;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  animation: slideInUp 0.6s ease 0.15s forwards;
  opacity: 0;
}

.breadcrumbs a:hover {
  color: var(--accent-color);
}

.breadcrumbs span.current {
  color: var(--accent-light);
}

@media (max-width: 768px) {
  .page-hero h1 { font-size: 2.2rem; }
}

/* --- Stats Counter Section --- */
.stats {
  background-color: var(--white);
  position: relative;
  z-index: 5;
  margin-top: -60px;
  padding: 40px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  border-right: 1px solid rgba(45, 38, 31, 0.1);
  padding: 10px 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(45, 38, 31, 0.1); }
}

@media (max-width: 576px) {
  .stats { margin-top: -30px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(45, 38, 31, 0.1); padding-bottom: 20px; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
}

/* --- Glass Cards & Modern Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(45, 38, 31, 0.03);
  padding: 22px;
}
.card-new {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(45, 38, 31, 0.03);
  padding: 10px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

.card-body {
  padding: 25px;
}

.card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.card-footer {
  border-top: 1px solid rgba(45, 38, 31, 0.05);
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-link {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-link:hover {
  color: var(--secondary-color);
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-glass);
}

/* --- Featured Video / Activities Home Page --- */
.activity-card .progress-container {
  margin-bottom: 15px;
}

.activity-card .progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.activity-card .progress-bar {
  height: 8px;
  background-color: rgba(45, 38, 31, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.activity-card .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 5px;
  width: 0;
  transition: width var(--transition-slow) ease-out;
}

/* --- Testimonials Section (REMOVED BACKGROUND COLOR - GRID AND SLIDER UPDATES) --- */
.testimonials-section {
  background-color: var(--bg-warm);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.testimonials-section .section-header h2 {
  color: var(--text-dark);
}

.testimonials-section .section-header p {
  color: var(--text-muted);
}

.slider-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  padding: 10px 20px;
}

.slide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 992px) {
  .slide-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 38, 31, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
  color: var(--text-dark);
  line-height: 1.6;
}

.testimonial-quote::before {
  content: '“';
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  left: -15px;
  top: -15px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(45, 38, 31, 0.05);
  padding-top: 15px;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.slider-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(45, 38, 31, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-arrow:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(45, 38, 31, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--primary-color);
  width: 25px;
  border-radius: 10px;
}

/* --- FAQ Accordion --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 38, 31, 0.02);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(45, 106, 79, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: max-height var(--transition-normal) cubic-bezier(0, 1, 0, 1), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 25px 25px 25px;
  transition: max-height var(--transition-normal) cubic-bezier(1, 0, 1, 0), padding var(--transition-normal);
}

/* --- Gallery & Lightbox Grid --- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid rgba(45, 38, 31, 0.1);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 106, 79, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition-normal);
  padding: 20px;
  text-align: center;
}

.gallery-overlay i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  transform: translateY(15px);
  transition: transform var(--transition-normal);
}

.gallery-overlay h4 {
  font-size: 1.2rem;
  color: var(--white);
  transform: translateY(15px);
  transition: transform var(--transition-normal) 0.05s;
}

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

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

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

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 38, 31, 0.95);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  color: var(--white);
  margin-top: 15px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--secondary-color);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 10px;
  user-select: none;
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

.lightbox-prev:hover, .lightbox-next:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { right: 10px; top: 10px; }
}

/* --- Forms (Donation, Contact, Volunteer) --- */
.form-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45, 38, 31, 0.02);
  transition: box-shadow var(--transition-fast);
}

.form-card:hover {
  box-shadow: var(--shadow-lg), 0 0 25px rgba(45, 106, 79, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-warm);
  border: 1.5px solid rgba(45, 38, 31, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.12);
  transform: translateY(-2px);
}

.form-group:focus-within label {
  color: var(--primary-color);
}

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

/* Custom Checkbox/Radio */
.checkbox-group, .radio-group {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}

.checkbox-group input, .radio-group input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

/* --- UPI Payment Scanner & Bank Details Card --- */
.thankyou-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--primary-color);
  animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scanner-container {
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  background-color: var(--bg-warm);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(45, 38, 31, 0.15);
  transition: border-color var(--transition-fast);
}

.scanner-container:hover {
  border-color: var(--primary-color);
}

.scanner-img {
  width: 220px;
  height: 220px;
  margin: 0 auto 15px auto;
  background-color: var(--white);
  padding: 10px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.scanner-container:hover .scanner-img {
  transform: scale(1.03) rotate(1deg);
}

.bank-details-list {
  background-color: var(--bg-warm);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 25px;
  text-align: left;
}

.bank-details-list li {
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(45, 38, 31, 0.05);
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.bank-details-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.bank-details-list strong {
  color: var(--text-dark);
}

.bank-details-list span {
  color: var(--primary-color);
  font-weight: 600;
}

/* --- Toast Feedback --- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--white);
  border-left: 5px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10001;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.toast-message {
  font-size: 0.95rem;
  font-weight: 600;
}

/* --- Cookie Consent --- */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 400px;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 20px;
  z-index: 9998;
  border: 1px solid rgba(45, 38, 31, 0.05);
  transform: translateY(150px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.cookie-consent.active {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cookie-consent p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.cookie-btns {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-fast);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* --- Modern Footer --- */
footer {
  background-color: #241e19;
  color: #dbd7d2;
  padding: 80px 0 20px 0;
  border-top: 4px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--primary-light);
}

.footer-logo img {
  height: 50px;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '›';
  font-size: 1.2rem;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--primary-light);
  margin-top: 4px;
}

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: #a8a29e;
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* --- Timeline Component (Activities) --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--secondary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left-item { left: 0; text-align: right; }
.right-item { left: 50%; }

.right-item::after { left: -10px; }

.timeline-content {
  padding: 20px 30px;
  background-color: var(--white);
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

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

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
  .timeline-item::after { left: 21px; right: auto; }
  .left-item { left: 0; }
  .right-item { left: 0; }
}

/* --- YouTube Channel Section --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.video-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* --- Map Embed --- */
.map-container {
  height: 450px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45, 38, 31, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Responsive Detailed Page Styles --- */
.grid-detail {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.campaign-sidebar-wrapper {
  position: sticky;
  top: 100px;
  z-index: 10;
}

.feast-menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* --- Site-Wide Mobile Responsiveness Enhancements --- */
@media (max-width: 992px) {
  .grid-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .campaign-sidebar-wrapper {
    position: static;
    margin-top: 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  #first-line, #second-line {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .feast-menu-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #first-line, #second-line {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .form-card {
    padding: 20px;
  }
  
  .campaign-story-wrapper h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }

  #first-line, #second-line {
    font-size: 22px;
  }
}

/* --- Team Slider Component --- */
.team-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.team-slider-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-slide {
  min-width: 100%;
  padding: 10px 15px;
}

.team-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.team-slider-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(45, 38, 31, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.team-slider-arrow:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.team-slider-dots {
  display: flex;
  gap: 8px;
}

.team-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(45, 38, 31, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.team-slider-dot.active {
  background-color: var(--primary-color);
  width: 25px;
  border-radius: 10px;
}



