body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow-x: hidden;
  min-height: 100vh;
}

/* LOADING */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a, #2563eb, #f97316);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 2s ease-in-out 3s forwards;
}

.loading-content {
  text-align: center;
  color: white;
}

.logo-animation {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 30px;
  animation: logoPulse 2s ease-in-out infinite;
}

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

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
  margin: 20px auto;
}

.loading-progress {
  height: 100%;
  background: #f97316;
  width: 0%;
  animation: loadProgress 3s ease-in-out forwards;
}

@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

.loading-text {
  font-size: 1.2rem;
  opacity: 0.8;
  animation: textFade 1.5s ease-in-out infinite alternate;
}

@keyframes textFade {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.hero {
  background: linear-gradient(135deg, #0f172a, #2563eb, #f97316);
  color: white;
  padding: 60px 20px 80px;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #f97316;
}

.nav-logo {
  height: 60px;
  width: auto;
}

.loading-logo {
  height: 80px;
  width: auto;
  margin-bottom: 30px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f97316;
}

.hero-content {
  display: grid;
  gap: 40px;
  margin-top: 0;
  transform-style: preserve-3d;
  animation: gentleFloat 8s ease-in-out infinite;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  50% { transform: translateY(-5px) rotateX(1deg); }
}

.hero-text h2 {
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 10px;
  transform: translateZ(20px);
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  transform: translateZ(30px);
  text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  transform: translateZ(10px);
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  transform: translateZ(15px);
  flex-direction: column;
  align-items: center;
}

.stat {
  text-align: center;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px) scale(1.05);
}

.stat i {
  font-size: 2rem;
  color: #f97316;
  margin-bottom: 10px;
  display: block;
}

.stat .number {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.stat .label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  transform: translateZ(20px);
  flex-direction: column;
  align-items: center;
}

.btn {
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-block;
  margin-top: 20px;
  border: none;
  transform: translateY(0);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.primary {
  background: #f97316;
  color: white;
}

.secondary {
  background: white;
  color: #0f172a;
}

.hero-image {
  position: relative;
  transform: translateZ(25px) rotateY(-5deg);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: translateZ(25px) rotateY(0deg) scale(1.02);
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: box-shadow 0.3s ease;
}

.hero-image img:hover {
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(249, 115, 22, 0.3);
  border-radius: 50%;
  animation: floatElement 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
  width: 15px;
  height: 15px;
}

.floating-element:nth-child(3) {
  bottom: 30%;
  left: 70%;
  animation-delay: 4s;
  width: 25px;
  height: 25px;
}

.impact-visual {
  margin: 50px 0;
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.impact-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 30px;
  max-width: 1000px;
  width: 100%;
  padding: 0 20px;
}

.chart-item {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px 20px;
  transform: translateZ(20px) rotateX(5deg);
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.chart-item:hover {
  transform: translateZ(40px) rotateX(0deg) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.chart-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(250, 204, 21, 0.1));
  border-radius: 20px;
  z-index: -1;
}

.chart-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f97316;
  margin-bottom: 15px;
  display: block;
}

.chart-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  display: block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.impact-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(250, 204, 21, 0.1));
  border: 1px solid rgba(249, 115, 22, 0.2);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-10px) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
}

.impact-card i {
  font-size: 3rem;
  color: #f97316;
  margin-bottom: 15px;
}

.impact-card h3 {
  font-size: 2.5rem;
  color: #f97316;
  margin-bottom: 10px;
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 20px
  );
  animation: slide 30s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(50px); }
}

.gradient {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(250, 204, 21, 0.1));
  color: #0f172a;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark {
  background: rgba(15, 23, 42, 0.8);
  color: white;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transform: translateY(0) rotateX(0deg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #0f172a;
}

.card::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 ease;
}

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

.card:hover {
  transform: translateY(-10px) rotateX(5deg) scale(1.05);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.card i {
  font-size: 3rem;
  color: #f97316;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.card:hover i {
  transform: scale(1.2) rotate(10deg);
}

/* SLIDER */
.slider {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  gap: 16px;
}

.slides img {
  width: 100%;
  border-radius: 12px;
  filter: brightness(0.9) contrast(1.1) saturate(1.2);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.slides img:hover {
  filter: brightness(1.1) contrast(1.2) saturate(1.3);
  transform: scale(1.05);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  transition: background 0.3s ease;
}

.arrow:hover {
  background: rgba(0,0,0,0.9);
}

.left { left: 10px; z-index: 999; }
.right { right: 10px; }

/* GALLERY */
#gallery {
  padding-left: 0;
  padding-right: 0;
}

/* TESTIMONIALS */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

.testimonial i {
  font-size: 24px;
  color: #f97316;
  margin-bottom: 10px;
}

.testimonial cite {
  font-style: italic;
  color: #64748b;
}

/* FOOTER */
footer {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  text-align: center;
  padding: 30px;
  margin: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  color: white;
  margin: 0 10px;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #f97316;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 25px;
  border-radius: 20px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-box h3 {
  margin-top: 0;
  margin-bottom: 5px;
  color: #0f172a;
  font-size: 1.8rem;
}

.modal-box {
  position: relative;
}

.modal-box #closeModal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  background: none;
  border: none;
  transition: color 0.3s ease;
}

.modal-box #closeModal:hover {
  color: #f97316;
}

.modal-subtitle {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: Inter, sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.modal-box input:focus,
.modal-box select:focus,
.modal-box textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.modal-box select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f97316' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.modal-box textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-message {
  display: none;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  text-align: center;
  animation: slideIn 0.3s ease;
}

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

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* RESPONSIVE */
@media(min-width:768px){
  .hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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

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

  .slides img {
    width: calc(100% / 3);
  }

  .hero-stats {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .impact-chart {
    flex-direction: row;
    gap: 30px;
  }

  .chart-item {
    flex: 1;
  }
}

@media(max-width:767px){
  .nav {
    padding: 15px;
  }

  .hero {
    padding: 20px 10px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .impact-chart {
    padding: 0 20px;
  }

  .chart-item {
    height: 50px;
  }

  .chart-bar {
    padding: 0 15px;
  }

  .chart-value {
    font-size: 1rem;
  }
}

/* DONATION PAGE STYLES */
.donate-hero {
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 50%, #f97316 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.option-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.option-card i {
  font-size: 2.5rem;
  color: #f97316;
  margin-bottom: 15px;
}

.option-card h3 {
  color: white;
  margin-bottom: 10px;
}

.option-card p {
  color: rgba(255, 255, 255, 0.8);
}

.payment-section {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
}

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

.payment-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header {
  text-align: center;
  margin-bottom: 25px;
}

.card-header i {
  font-size: 2rem;
  color: #f97316;
  margin-bottom: 10px;
}

.card-header h3 {
  color: #0f172a;
  margin: 0;
}

.qr-container {
  text-align: center;
}

.qr-placeholder {
  width: 200px;
  height: 200px;
  background: #f8f9fa;
  border: 2px dashed #ddd;
  border-radius: 10px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #666;
}

.qr-placeholder i {
  font-size: 3rem;
  margin-bottom: 10px;
}

.qr-placeholder p {
  margin: 0;
  font-size: 0.9rem;
}

.qr-text {
  color: #666;
  margin-bottom: 15px;
}

.upi-id {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  color: #0f172a;
}

.bank-details {
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.detail-row:last-child {
  border-bottom: none;
}

.label {
  font-weight: 600;
  color: #0f172a;
}

.value {
  color: #666;
  font-family: 'Courier New', monospace;
}

.note {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #2196f3;
}

.note i {
  color: #2196f3;
  margin-right: 10px;
}

.note p {
  margin: 0;
  color: #0f172a;
}

.upi-apps-section {
  background: rgba(15, 23, 42, 0.95);
  color: white;
}

.upi-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.upi-app {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.upi-app:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.upi-app i {
  font-size: 2.5rem;
  color: #f97316;
  margin-bottom: 10px;
  display: block;
}

.app-name {
  color: white;
  font-weight: 600;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.impact-item {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
}

.impact-number {
  font-size: 2rem;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 10px;
}

.impact-desc {
  color: #0f172a;
  font-size: 0.9rem;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content i {
  font-size: 3rem;
  color: #f97316;
  margin-bottom: 20px;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 10px;
}

.logo-link {
  text-decoration: none;
}

/* =========================================
   MOBILE RESPONSIVE STYLES (Max Width: 768px)
   ========================================= */

   @media screen and (min-width: 769px) {
  .menu-toggle {
    display: none !important; /* Laptop me navbar gayab rahega */
  }
}

@media screen and (max-width: 768px) {
  
  /* Navigation */
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    
    /* Top par fix karne ka code */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Halka sa shadow effect */
    z-index: 1000; /* Page ke sabhi elements se upar rakhne ke liye */
    box-sizing: border-box;
  }

  /* Hamburger icon ko mobile par dikhayein */
  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
  }
  
  .nav-links {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%; /* Fixed navbar ke theek niche se shuru hoga */
    left: 0;
    width: 100%;
    background-color: #233d77;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding: 10px 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

.nav-links a {
    padding: 15px 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    font-weight: 500;
    margin: 0;
  }
  
  /* Hero Section */
  .hero {
    padding-top: 90px; 
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text h2 {
    font-size: 1.2rem;
  }

  .hero-stats {
    flex-direction: column; /* Stats upar niche dikhenge */
    gap: 15px;
    margin: 30px 0;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero-image {
    margin-top: 40px;
    width: 100%;
  }


  /* Grids - Convert 3 & 4 columns to 1 column on mobile */
  .grid-3, .grid-4 {
    display: grid;
    grid-template-columns: 1fr !important; 
    gap: 20px;
    padding: 10px;
  }

  /* Impact Section Chart */
  .impact-chart {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* Modal & Forms */
  .modal-box {
    width: 90%;
    margin: 10% auto;
    padding: 20px;
  }

  form input, form select, form textarea {
    width: 100%;
    box-sizing: border-box;
  }

  /* Typography */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  p { font-size: 1rem; }

  /* Gallery Slider */
  .slider {
    width: 100%;
  }
  
  .slides img {
    width: 100%;
    height: auto;
  }
}

/* Chhote Mobiles Ke Liye (Max Width: 480px) */
@media screen and (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  .nav-links { flex-direction: column; gap: 10px; }
}
/* =========================================
   RESPONSIVE GRID SYSTEM (Bootstrap Style)
   ========================================= */

/* 1. Default (Laptop / Desktop) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 barabar columns */
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 barabar columns */
  gap: 30px;
}

/* Testimonials ke liye 2 columns laptop par sabse sahi lagte hain */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
}

/* 2. Tablet (Screens smaller than 992px) */
@media screen and (max-width: 992px) {
  .grid-3, 
  .grid-4,
  .testimonials {
    grid-template-columns: repeat(2, 1fr); /* Sab kuch 2 columns mein aa jayega */
  }
}

/* 3. Mobile (Screens smaller than 768px) */
@media screen and (max-width: 768px) {
  .grid-3, 
  .grid-4, 
  .testimonials {
    grid-template-columns: 1fr !important; /* Mobile par sab ek ke niche ek (1 column) dikhega */
    gap: 20px; /* Mobile par thoda gap kam kar diya hai */
  }
}

/* =========================================
   GALLERY PAGE STYLES
   ========================================= */

/* Hero Section for Inner Pages */
.inner-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 125px; /* Fixed header gap */
}

.center-text {
  text-align: center;
  width: 100%;
}

/* Gallery Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  background: #f5f5f5;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #555;
}

.filter-btn.active, .filter-btn:hover {
  background: #e63946; /* Apna primary color daalein */
  color: #fff;
}

/* Responsive Gallery Grid */
.gallery-page-grid {
  column-count: 3;
  column-gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  /* Ye 2 lines box ko bich me tutne se rokengi aur niche gap dengi */
  break-inside: avoid;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Image Hover Overlay */
.image-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.image-overlay i {
  color: #fff;
  font-size: 2rem;
}

/* Lightbox (Zoomed Image) Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 60px;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 5px;
  animation: zoomIn 0.3s;
}

.close-lightbox {
  position: absolute;
  top: 15px; right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes zoomIn {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* Mobile Responsiveness for Gallery */
@media screen and (max-width: 992px) {
  .gallery-page-grid { column-count: 2; }
}

@media screen and (max-width: 768px) {
  .gallery-page-grid { column-count: 1; }
  .inner-hero { min-height: 30vh; }
  .close-lightbox { top: 10px; right: 20px; }
}