/* Color Variables - Arya Samaj Theme */
:root {
  --saffron-dark: #ff6b35;
  --saffron-medium: #ff4500;
  --saffron-light: #ff8c42;
  --gold-dark: #ffc145;
  --gold-medium: #ffb347;
  --gold-light: #ffd166;
  --cream: #fff0e0;
  --light-cream: #fff8f0;
  --sand: #e8d9c5;
  --warm-white: #fff8f0;
  --text-dark: #3c2a1e;
  --text-medium: #5c4735;
  --footer-text-color: #5c4735;
  /* Added footer text color variable */
  --error-red: #d32f2f;
  --blue-accent: #1976d2;
  --purple-accent: #7b1fa2;
  --border-color: #ffb07c;
  --green-accent: #4caf50;
  --purple-light: #9c27b0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans Devanagari", "Baloo Bhai 2", sans-serif;
  background: linear-gradient(135deg, var(--cream) 0%, #ffe8d6 100%);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* Improved Professional Header */
.main-header {
  /*background: linear-gradient(135deg, var(--saffron-dark) 0%, var(--saffron-medium) 100%); */
  background: linear-gradient(135deg, #fff7e6, #ffe8cc);
  color: white;
  padding: 0.8rem 0;
  box-shadow: 0 4px 25px rgba(255, 107, 53, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid var(--gold-dark);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.logo-circle {
  width: 80px;
  height: 80px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  overflow: visible;
  position: relative;
}

.logo-circle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 0;
  z-index: 0;
  opacity: 0.7;
  filter: blur(10px);
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    opacity: 0.5;
    filter: blur(8px);
  }

  100% {
    opacity: 0.9;
    filter: blur(12px);
  }
}

.logo-circle:hover::before {
  animation: logoGlowHover 1.5s ease-in-out infinite alternate;
}

@keyframes logoGlowHover {
  0% {
    opacity: 0.8;
    filter: blur(10px);
    width: 110%;
    height: 110%;
  }

  100% {
    opacity: 1;
    filter: blur(15px);
    width: 120%;
    height: 120%;
  }
}

.logo-circle:hover {
  transform: scale(1.05);
}

.logo-circle img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.logo-circle:hover img {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

/* UPDATED: Header text color changed to match footer */
.main-title {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: "Baloo Bhai 2", cursive;
  color: var(--footer-text-color) !important;
  /* Changed to footer color */
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8);
  line-height: 1.2;
}

.sub-title {
  font-size: 0.95rem;
  opacity: 0.95;
  font-weight: 500;
  color: var(--footer-text-color) !important;
  /* Changed to footer color */
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
  margin-top: 0.2rem;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

/* UPDATED: Navigation links color changed to match footer */
.nav-links a {
  color: var(--footer-text-color) !important;
  /* Changed to footer color */
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-links a:hover {
  background: rgba(255, 107, 53, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.1);
}

.nav-links a.active {
  background: rgba(255, 107, 53, 0.15);
  border: 2px solid var(--saffron-medium);
  color: var(--saffron-dark) !important;
}

.nav-links a i {
  font-size: 1.1rem;
  color: var(--saffron-medium);
}

/* Call to Action Button */
.cta-button {
  background: var(--gold-dark);
  color: var(--text-dark);
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 193, 69, 0.3);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-button:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 193, 69, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--footer-text-color);
  /* Changed to footer color */
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Floating Buttons Container */
.floating-buttons-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

/* Floating Button Base Styles */
.floating-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--saffron-medium) 0%,
    var(--saffron-dark) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  border: 3px solid var(--gold-light);
  transition: all 0.3s ease;
  text-decoration: none;
  /* Removed animation */
}

.floating-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
  background: linear-gradient(
    135deg,
    var(--saffron-dark) 0%,
    var(--saffron-medium) 100%
  );
}

/* Audio Control Button (TOP) */
#audioControlBtn:hover {
  background: linear-gradient(
    135deg,
    var(--purple-accent) 0%,
    var(--purple-light) 100%
  );
}

/* Info Modal */
.info-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.info-modal-content {
  background: var(--warm-white);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  border: 3px solid var(--saffron-medium);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.5s ease-out;
}

.info-modal-content h3 {
  color: var(--saffron-dark);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  text-align: center;
  font-family: "Baloo Bhai 2", cursive;
}

.info-modal-content ul {
  list-style: none;
  padding-left: 0;
}

.info-modal-content li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-modal-content li i {
  color: var(--saffron-medium);
  font-size: 1.2rem;
  width: 24px;
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--saffron-medium);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.close-modal-btn:hover {
  background: var(--saffron-dark);
  transform: rotate(90deg);
}

/* Main container for content */
.page-wrapper {
  flex: 1;
  padding: 2rem 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* Mandala Background Pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23FF6B35' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

/* Main Container */
.container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2.5rem;
  position: relative;
  margin-top: 1.5rem;
}

@media (max-width: 992px) {
  .container {
    grid-template-columns: 1fr;
  }
}

/* Form Styling */
.form-container {
  background: var(--warm-white);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(255, 107, 53, 0.1);
  border: 3px solid var(--border-color);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: fit-content;
}

.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--saffron-dark),
    var(--gold-dark),
    var(--saffron-dark)
  );
  z-index: 2;
}

.form-header {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.95) 0%,
    rgba(255, 140, 53, 0.95) 100%
  );
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

.form-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='50' height='50'%3E%3Ctext x='50%25' y='50%25' font-size='40' text-anchor='middle' dy='.3em' fill='rgba(255,255,255,0.1)'%3Eओ३म्%3C/text%3E%3C/svg%3E");
  opacity: 0.2;
  pointer-events: none;
}

/* UPDATED: Form header text color changed to match footer */
.form-header h2 {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  color: white;
  /* Keep white for better contrast on colored background */
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3), 4px 4px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  font-family: "Baloo Bhai 2", cursive;
  font-weight: 700;
}

.form-header p {
  font-size: 1.3rem;
  opacity: 0.95;
  font-weight: 500;
  position: relative;
  z-index: 1;
  color: white;
  /* Keep white for better contrast */
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.form-content {
  padding: 2.5rem;
  background: var(--light-cream);
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
}

.form-group:nth-child(1) {
  animation-delay: 0.1s;
}

.form-group:nth-child(2) {
  animation-delay: 0.2s;
}

.form-group:nth-child(3) {
  animation-delay: 0.3s;
}

.form-group:nth-child(4) {
  animation-delay: 0.4s;
}

.form-group:nth-child(5) {
  animation-delay: 0.5s;
}

.form-group:nth-child(6) {
  animation-delay: 0.6s;
}

.form-group:nth-child(7) {
  animation-delay: 0.7s;
}

.form-group:nth-child(8) {
  animation-delay: 0.8s;
}

.form-group:nth-child(9) {
  animation-delay: 0.9s;
}

.form-group:nth-child(10) {
  animation-delay: 1s;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.form-group label i {
  color: var(--saffron-medium);
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.form-group label.required::after {
  content: " *";
  color: var(--error-red);
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 1.1rem;
  border: 2px solid var(--sand);
  border-radius: 12px;
  font-size: 1.05rem;
  font-family: "Noto Sans Devanagari", sans-serif;
  transition: all 0.3s ease;
  background: white;
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.form-control:hover {
  border-color: var(--saffron-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--saffron-medium);
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
  background: white;
  transform: translateY(-2px);
}

.form-control.error {
  border-color: var(--error-red);
  background: #ffebee;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.error-message {
  color: var(--error-red);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
  padding-left: 0.8rem;
  font-weight: 500;
  animation: shake 0.5s ease;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.radio-group,
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  border: 2px solid var(--sand);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.radio-option:hover,
.checkbox-option:hover {
  border-color: var(--saffron-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 107, 53, 0.15);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
  accent-color: var(--saffron-medium);
  transform: scale(1.3);
}

.radio-option label,
.checkbox-option label {
  margin: 0;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1rem;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

/* Additional Members Section */
.additional-members-section {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid var(--sand);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* UPDATED: Section header color changed to match footer */
.section-header h4 {
  color: var(--footer-text-color) !important;
  /* Changed to footer color */
  font-size: 1.2rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.add-member-btn {
  background: var(--saffron-medium);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-family: "Noto Sans Devanagari", sans-serif;
}

.add-member-btn:hover {
  background: var(--saffron-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Member Row */
.member-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 2px solid var(--sand);
  transition: all 0.3s ease;
}

.member-row:hover {
  border-color: var(--saffron-light);
  transform: translateX(5px);
}

.member-number {
  background: var(--saffron-medium);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.member-gender {
  flex: 1;
}

.gender-selection {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mini-radio {
  padding: 0.6rem 1rem;
  margin: 0;
  min-width: 100px;
}

/* Child option specific style */
.child-option {
  border-color: var(--purple-light);
}

.child-option:hover {
  border-color: var(--purple-accent);
}

.child-option input[type="radio"] {
  accent-color: var(--purple-light);
}

.remove-member-btn {
  background: var(--error-red);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.remove-member-btn:hover {
  background: #b71c1c;
  transform: rotate(90deg);
}

/* Members Count Display */
.members-count-display {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--sand);
}

.count-box {
  flex: 1;
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  border: 2px solid var(--sand);
  transition: all 0.3s ease;
}

.count-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.15);
}

.count-box.total-box {
  border-color: var(--saffron-medium);
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(255, 193, 69, 0.1) 100%
  );
}

/* Child count box specific style */
.count-box.child-box {
  border-color: var(--purple-light);
  background: linear-gradient(
    135deg,
    rgba(156, 39, 176, 0.1) 0%,
    rgba(233, 30, 99, 0.1) 100%
  );
}

.count-label {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.count-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--saffron-dark);
}

/* Child count value specific style */
.child-box .count-value {
  color: var(--purple-light);
}

.total-box .count-value {
  color: var(--saffron-medium);
  font-size: 2.2rem;
}

/* Empty state for additional members */
.empty-members {
  text-align: center;
  padding: 2rem;
  color: var(--text-medium);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  border: 2px dashed var(--sand);
}

.empty-members i {
  font-size: 2rem;
  color: var(--saffron-light);
  margin-bottom: 1rem;
}

/* Main Member (User Themselves) */
.members-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-top: 1rem;
}

.member-single-group {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid var(--sand);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.member-single-group:hover {
  border-color: var(--saffron-dark);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.15);
}

.member-single-group label {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

/* Hidden total members field */
.hidden-field {
  display: none;
}

/* Submit Button */
.submit-btn {
  background: linear-gradient(
    135deg,
    var(--saffron-medium) 0%,
    var(--saffron-dark) 100%
  );
  color: white;
  border: none;
  padding: 1.4rem 3rem;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 15px;
  cursor: pointer;
  width: 100%;
  transition: all 0.4s ease;
  font-family: "Baloo Bhai 2", sans-serif;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--text-dark), 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.7s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
  background: linear-gradient(
    135deg,
    var(--saffron-dark) 0%,
    var(--saffron-medium) 100%
  );
}

.submit-btn:active {
  transform: translateY(-2px);
}

/* UPDATED: SVG styling for submit button */
.submit-btn .om-svg {
  width: 1.4rem;
  height: 1.4rem;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
  filter: invert(1) brightness(2);
  animation: pulse 2s infinite;
}

/* Extra Mini Card */
.extra-mini-card {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 69, 0.1) 0%,
    rgba(255, 107, 53, 0.1) 100%
  );
  border: 2px solid var(--gold-medium);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.1);
  transition: all 0.3s ease;
}

.extra-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

/* UPDATED: Extra mini card header color changed */
.extra-mini-card h4 {
  color: var(--footer-text-color) !important;
  /* Changed to footer color */
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.extra-mini-card h4 i {
  color: var(--saffron-dark);
  font-size: 1.3rem;
}

.extra-mini-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.important-note {
  background: rgba(255, 107, 53, 0.1);
  padding: 0.8rem;
  border-radius: 8px;
  border-left: 4px solid var(--saffron-dark);
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Information Panel */
.info-panel {
  background: var(--warm-white);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 15px 50px rgba(255, 107, 53, 0.1);
  border: 3px solid var(--border-color);
  backdrop-filter: blur(10px);
  height: fit-content;
  position: sticky;
  top: 2rem;
  overflow: hidden;
}

.info-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--gold-dark),
    var(--saffron-dark),
    var(--gold-dark)
  );
  z-index: 2;
}

/* UPDATED: Info panel header color changed */
.info-panel h3 {
  color: var(--footer-text-color) !important;
  /* Changed to footer color */
  font-size: 1.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 3px solid var(--saffron-dark);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-shadow: 1px 1px 0 white, 2px 2px 0 rgba(255, 107, 53, 0.5);
}

.info-panel h3 i {
  color: var(--saffron-medium);
  font-size: 2rem;
}

.info-section {
  margin-bottom: 2.8rem;
}

/* UPDATED: Info section header color changed */
.info-section h4 {
  color: var(--footer-text-color) !important;
  /* Changed to footer color */
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--gold-dark);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.info-section h4 i {
  font-size: 1.3rem;
}

.event-details {
  background: white;
  padding: 1.8rem;
  border-radius: 15px;
  border: 2px solid var(--gold-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sand);
}

.detail-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.detail-item i {
  color: var(--saffron-medium);
  font-size: 1.5rem;
  width: 32px;
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.detail-content {
  flex: 1;
}

.detail-content strong {
  color: var(--text-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.detail-content span {
  color: var(--text-medium);
  font-size: 1.05rem;
  line-height: 1.5;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

/* Google Maps Card */
.map-card {
  margin-top: 1rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gold-dark);
  transition: all 0.3s ease;
}

.map-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.map-container {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) sepia(10%) hue-rotate(-10deg);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 193, 69, 0.1), transparent);
  pointer-events: none;
}

.map-info {
  padding: 1rem;
  background: white;
  text-align: center;
}

.map-info p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--saffron-medium);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--saffron-medium);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.map-link:hover {
  background: var(--saffron-medium);
  color: white;
  transform: translateY(-2px);
}

/* Contact Section */
.contact-numbers {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-number {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  background: white;
  border-radius: 12px;
  border: 2px solid var(--gold-dark);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-number:hover {
  transform: translateX(8px);
  border-color: var(--saffron-dark);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.contact-number i {
  background: var(--saffron-medium);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.contact-info {
  flex: 1;
}

.contact-name {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.contact-phone {
  color: var(--saffron-dark);
  font-weight: 700;
  font-size: 1.2rem;
  direction: ltr;
  display: block;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 white, 2px 2px 0 rgba(0, 0, 0, 0.1);
}

/* Features Highlight */
.features-highlight {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 69, 0.15) 0%,
    rgba(255, 107, 53, 0.15) 100%
  );
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--gold-medium);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.features-highlight::before {
  content: "✨";
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 4rem;
  opacity: 0.2;
  transform: rotate(30deg);
}

/* UPDATED: Features highlight header color changed */
.features-highlight h5 {
  color: var(--footer-text-color) !important;
  /* Changed to footer color */
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
  text-shadow: 1px 1px 0 white, 2px 2px 0 rgba(255, 107, 53, 0.3);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--text-medium);
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.feature-item i {
  color: var(--saffron-medium);
  font-size: 1.1rem;
  width: 24px;
}

.schedule-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background: white;
  border-radius: 10px;
  border-left: 5px solid var(--saffron-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.schedule-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.15);
}

/* CLEAN FOOTER WITH LOGO AND SOCIAL MEDIA */
.footer {
  background: rgba(255, 255, 255, 0.95);
  color: var(--footer-text-color);
  /* Using footer text color */
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-radius: 25px 25px 0 0;
  box-shadow: 0 -10px 30px rgba(255, 107, 53, 0.1);
  border-top: 2px solid rgba(255, 107, 53, 0.2);
  backdrop-filter: blur(10px);
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.footer-logo {
  width: auto;
  height: auto;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px;
}

.footer-logo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 0;
  z-index: 0;
  opacity: 0.6;
  filter: blur(15px);
  animation: footerLogoGlow 3s ease-in-out infinite alternate;
}

@keyframes footerLogoGlow {
  0% {
    opacity: 0.5;
    filter: blur(12px);
  }

  100% {
    opacity: 0.8;
    filter: blur(18px);
  }
}

.footer-logo:hover::before {
  animation: footerLogoGlowHover 1.5s ease-in-out infinite alternate;
}

@keyframes footerLogoGlowHover {
  0% {
    opacity: 0.7;
    filter: blur(15px);
    width: 120%;
    height: 120%;
  }

  100% {
    opacity: 1;
    filter: blur(20px);
    width: 130%;
    height: 130%;
  }
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.footer-logo:hover img {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
}

.footer-logo-text {
  font-family: "Baloo Bhai 2", cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--footer-text-color);
  line-height: 1.2;
}

.footer-tagline {
  color: var(--footer-text-color);
  font-size: 1.1rem;
  font-weight: 500;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
  margin: 1rem 0;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron-medium);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid rgba(255, 107, 53, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: var(--saffron-medium);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);
}

.footer-social a.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.footer-social a.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.footer-social a.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

.footer-social a.instagram:hover {
  background: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
  border-color: transparent;
}

.footer-text {
  text-align: center;
  color: var(--footer-text-color);
  font-size: 0.9rem;
  line-height: 1.6;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 107, 53, 0.1);
  width: 100%;
  max-width: 800px;
}

.footer-copyright {
  margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.form-container,
.info-panel,
.footer {
  animation: fadeInUp 0.8s ease-out;
}

/* Loading Animation */
.loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.loader-content {
  text-align: center;
  color: var(--text-dark);
}

.loader-spinner {
  width: 70px;
  height: 70px;
  border: 5px solid rgba(255, 107, 53, 0.2);
  border-radius: 50%;
  border-top-color: var(--saffron-medium);
  animation: spin 1s linear infinite;
  margin: 0 auto 1.8rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* UPDATED: SVG styling for OM icons */
.om-svg {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  display: inline-block;
  fill: currentColor;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .main-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .main-header {
    padding: 0.5rem 0;
  }

  .header-container {
    padding: 0 1.5rem;
    flex-wrap: wrap;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #fff7e6, #ffe8cc);
    padding: 1.5rem;
    border-top: 3px solid var(--gold-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .nav-links a {
    padding: 1rem;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 107, 53, 0.1);
  }

  .mobile-menu-btn {
    display: block;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .logo-circle {
    width: 70px;
    height: 70px;
  }

  .logo-circle img {
    width: 70px;
    height: 70px;
  }

  .logo-circle::before {
    width: 115%;
    height: 115%;
  }

  .floating-buttons-container {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .main-title {
    font-size: 1.4rem;
  }

  .sub-title {
    font-size: 0.85rem;
  }

  .page-wrapper {
    padding: 1.5rem 1rem;
  }

  .container {
    gap: 1.8rem;
  }

  .form-content {
    padding: 1.8rem;
  }

  .form-header {
    padding: 2rem;
  }

  .form-header h2 {
    font-size: 1.9rem;
  }

  .form-header p {
    font-size: 1.1rem;
  }

  .info-panel {
    position: static;
    padding: 2rem;
  }

  .radio-group,
  .checkbox-group {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .members-single {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .submit-btn {
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  .map-container {
    height: 180px;
  }

  .extra-mini-card {
    padding: 1rem;
    margin-top: 1rem;
  }

  .members-count-display {
    flex-direction: column;
    gap: 0.8rem;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .add-member-btn {
    width: 100%;
    justify-content: center;
  }

  .footer {
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
    border-radius: 20px 20px 0 0;
  }

  .footer-logo img {
    width: 100px;
    height: auto;
  }

  .footer-logo::before {
    width: 115%;
    height: 115%;
  }

  .footer-logo-text {
    font-size: 1.5rem;
  }

  .footer-tagline {
    font-size: 1rem;
  }

  .footer-social {
    gap: 1rem;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .gender-selection {
    justify-content: center;
  }

  .info-modal-content {
    padding: 1.5rem;
  }

  .info-modal-content h3 {
    font-size: 1.6rem;
  }

  .om-svg {
    width: 0.9em;
    height: 0.9em;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 1rem;
  }

  .logo-circle {
    width: 60px;
    height: 60px;
  }

  .logo-circle img {
    width: 60px;
    height: 60px;
  }

  .logo-circle::before {
    width: 110%;
    height: 110%;
    filter: blur(8px);
  }

  .floating-buttons-container {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .main-title {
    font-size: 1.2rem;
  }

  .sub-title {
    font-size: 0.8rem;
  }

  .form-header h2 {
    font-size: 1.7rem;
  }

  .form-group label {
    font-size: 1rem;
  }

  .form-control {
    padding: 1rem;
  }

  .info-panel h3 {
    font-size: 1.6rem;
  }

  .info-section h4 {
    font-size: 1.2rem;
  }

  .map-container {
    height: 150px;
  }

  .extra-mini-card h4 {
    font-size: 1.1rem;
  }

  .count-value {
    font-size: 1.5rem;
  }

  .total-box .count-value {
    font-size: 1.8rem;
  }

  .member-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo img {
    width: 80px;
    height: auto;
  }

  .footer-logo::before {
    width: 110%;
    height: 110%;
    filter: blur(10px);
  }

  .footer-logo-text {
    font-size: 1.3rem;
  }

  .footer-tagline {
    font-size: 0.9rem;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .footer-text {
    font-size: 0.85rem;
  }

  .close-modal-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .om-svg {
    width: 0.8em;
    height: 0.8em;
  }
}

/* Compact Boxes with Bold Titles */
.simple-instruction {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin: 0.5rem 0 0.8rem;
  padding-left: 0.5rem;
}

/* Compact Grid */
.members-count-display.compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .members-count-display.compact {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Compact Box */
.count-box.compact-box {
  padding: 1rem;
  height: auto;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Bold Title */
.count-label-bold {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.8rem;
  font-family: "Baloo Bhai 2", cursive;
}

/* Compact Controls */
.compact-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: auto;
}

.compact-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--sand);
  background: white;
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.compact-btn:hover {
  background: var(--saffron-light);
  border-color: var(--saffron-medium);
  color: white;
}

.compact-btn.minus:hover {
  background: #ff6b6b;
  border-color: #ff5252;
}

.compact-btn.plus:hover {
  background: #4caf50;
  border-color: #2e7d32;
}

/* Compact Input */
.compact-input {
  width: 60px;
  height: 45px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  border: 2px solid var(--sand);
  border-radius: 8px;
  background: white;
  color: var(--text-dark);
  font-family: "Noto Sans Devanagari", sans-serif;
  padding: 0;
}

.compact-input:focus {
  outline: none;
  border-color: var(--saffron-medium);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

/* Compact Total Box */
.total-box.compact-box {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(255, 193, 69, 0.1) 100%
  );
  border-color: var(--saffron-medium);
}

.compact-total {
  text-align: center;
  margin-top: 0.5rem;
}

.compact-total span {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--saffron-dark);
  display: block;
  line-height: 1;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

/* Mobile Adjustments - Even more compact */
@media (max-width: 767px) {
  .members-count-display.compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .count-box.compact-box {
    padding: 0.8rem;
    min-height: 110px;
  }

  .count-label-bold {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .compact-controls {
    gap: 0.4rem;
  }

  .compact-btn {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .compact-input {
    width: 50px;
    height: 40px;
    font-size: 1.4rem;
  }

  .compact-total span {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .count-box.compact-box {
    min-height: 100px;
    padding: 0.6rem;
  }

  .compact-btn {
    width: 26px;
    height: 26px;
  }

  .compact-input {
    width: 45px;
    height: 35px;
    font-size: 1.3rem;
  }

  .compact-total span {
    font-size: 2rem;
  }
}

/* PDF Download Section Styles */
.pdf-download-card {
  background: white;
  border-radius: 15px;
  padding: 1.8rem;
  border: 2px solid var(--saffron-medium);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.pdf-download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
  border-color: var(--saffron-dark);
}

.pdf-content {
  flex: 1;
}

.pdf-content h5 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  font-family: 'Baloo Bhai 2', cursive;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.pdf-content p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--saffron-medium) 0%, var(--saffron-dark) 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.pdf-download-btn:hover {
  background: linear-gradient(135deg, var(--saffron-dark) 0%, var(--saffron-medium) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.3);
  border-color: var(--gold-light);
}

.pdf-download-btn i {
  font-size: 1.1rem;
}

/* Mobile Responsive for PDF Section */
@media (max-width: 768px) {
  .pdf-download-card {
      flex-direction: column;
      text-align: center;
      padding: 1.5rem;
  }
  
  .pdf-content h5 {
      font-size: 1.2rem;
  }
  
  .pdf-download-btn {
      padding: 0.7rem 1.2rem;
      font-size: 0.9rem;
      justify-content: center;
  }
}

@media (max-width: 480px) {
  .pdf-download-card {
      padding: 1.2rem;
  }
  
  .pdf-content h5 {
      font-size: 1.1rem;
  }
  
  .pdf-download-btn {
      width: 100%;
      padding: 0.8rem;
  }
}