:root{
  --bg: linear-gradient(135deg, #fdb858 0%, #e47c35 100%);
  --bg-solid: #fdb858;
  --text: #ffffff;
  --muted: #b8b5b0;
  --brand: #e47c35;
  --brand-light: #ff8c42;
  --brand-dark: #d66a1f;
  --card: rgba(24, 24, 28, 0.95);
  --card-hover: rgba(32, 32, 36, 0.98);
  --accent: #ffd39b;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.18);
  --border-radius: 16px;
  --border-radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(15, 15, 18, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  width: auto;
  height: 80px;
  max-width: 120px;
  border-radius: 12px;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.logo:hover {
  transform: scale(1.05);
}

.header-inner h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.nav a:hover::before {
  left: 100%;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin: 20px 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-top: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-hero:not(.primary) {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #ffffff;
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn-hero:not(.primary):hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: #ffffff;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: var(--border-radius);
  z-index: -1;
  opacity: 0.3;
}

.section {
  padding: 60px 0;
}

.section h2 {
  margin-top: 0;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
  position: relative;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 2px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.hero {
  width: 100%;
  border-radius: var(--border-radius);
  background: var(--card);
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  background: var(--card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.field {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

input, select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--border-radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 20, 24, 0.8);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

input:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(20, 20, 24, 0.9);
  box-shadow: 0 0 0 3px rgba(228, 124, 53, 0.1);
}

.btn {
  padding: 14px 24px;
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--brand);
  background: var(--brand);
  color: #1b110b;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

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

.btn:hover {
  background: var(--brand-light);
  border-color: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(228, 124, 53, 0.3);
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: var(--brand);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
}

.form-msg {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--accent);
  font-weight: 500;
  text-align: center;
}

/* Searchable Dropdown Styles */
.searchable-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.dropdown-option {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  transition: all 0.3s ease;
}

.dropdown-option:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option.selected {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #1b110b;
  font-weight: 600;
}

/* Table Styles */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.table th {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #1b110b;
  padding: 20px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.table tbody tr:nth-child(even):hover {
  background: rgba(255, 255, 255, 0.08);
}

.controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.controls select {
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: var(--card);
  color: var(--text);
  font-weight: 500;
  min-width: 150px;
}

/* Footer Styles */
footer {
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  text-align: center;
  background: rgba(15, 15, 18, 0.5);
  backdrop-filter: blur(10px);
  margin-top: 60px;
}

footer a {
  color: var(--brand-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* Video Container Styles */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--border-radius);
}

/* Image Styles */
.sewa.diwali {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sewa.diwali:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Action Buttons and Collapsible Forms */
.action-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.action-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border: 2px solid var(--brand);
  color: #1b110b;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 160px;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

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

.action-btn:hover {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(228, 124, 53, 0.3);
}

.action-btn.active {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  box-shadow: 0 4px 15px rgba(228, 124, 53, 0.4);
}

.collapsible-form {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-top: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  animation: slideDown 0.3s ease-out;
}

.collapsible-form h4 {
  margin: 0 0 20px 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.collapsible-form.closing {
  animation: slideUp 0.3s ease-out forwards;
}

/* Google Forms Container */
.google-form-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.google-form-container iframe {
  width: 100%;
  height: 959px;
  border: none;
  border-radius: var(--border-radius);
  background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
  
  .hero-stats {
    gap: 30px;
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .nav {
    display: none;
  }
  
  .header-inner h1 {
    font-size: 1.5rem;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .card {
    padding: 20px;
  }
  
  .table {
    font-size: 0.9rem;
  }
  
  .table th,
  .table td {
    padding: 12px 8px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 40px 0;
    gap: 30px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-hero {
    width: 100%;
    max-width: 250px;
  }
  
  .header-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .logo {
    width: auto;
    height: 60px;
    max-width: 90px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
}


