/* ================================================================= */
/* FINAL FOOTER: With H1 Centered at the Top */
/* ================================================================= */
*{
  -webkit-tap-highlight-color: transparent;
}
.footer {
  background: linear-gradient(135deg, #1e3c58 0%, #20425d 100%);
  color: #a0aec0;
  /* H1 को जगह देने के लिए टॉप पैडिंग बढ़ाई गई है */
  padding: 120px 20px 25px 20px;
  margin-top: 80px;
  position: relative; /* यह H1 की पोजिशनिंग के लिए ज़रूरी है */
  border-top-left-radius: 50% 20px;
  border-top-right-radius: 50% 20px;
}

/* STEP 1: H1 को सबसे ऊपर और केंद्र में लाना */
.footer h1 {
  position: absolute; /* इसे बाकी कंटेंट के फ्लो से बाहर निकालें */
  top: 40px;          /* फूटर के ऊपर से 40px नीचे रखें */
  left: 50%;          /* इसे बीच में लाने के लिए बाईं ओर से 50% खिसकाएँ */
  transform: translateX(-50%); /* परफेक्ट सेंटरिंग के लिए */
  width: 100%;        /* पूरी चौड़ाई दें ताकि सेंटरिंग सही हो */
  margin: 0;          /* डिफ़ॉल्ट मार्जिन हटा दें */
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  text-align: center;
}

/* STEP 2: बाकी फूटर कंटेंट को स्टाइल करना */
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main > div {
  flex: 1;
  min-width: 250px;
}

.footer h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid #61dafb;
  display: inline-block;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 15px;
}

.footer a {
  color: #cbd5e0;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #61dafb;
  transform: translateX(5px);
}

.footer-contact a i {
  color: #61dafb;
  margin-right: 15px;
  width: 20px;
  text-align: center;
}

.footer-icons ul {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-icons a {
  transform: none;
}

.footer-icons a i {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  width: 45px;
  height: 45px;
  background: transparent;
  border: 2px solid #a0aec0;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-icons a:hover i {
  background-color: #61dafb;
  color: var(--blue);
  border-color: #61dafb;
  transform: rotate(360deg) scale(1.1);
}

.footer-copy {
  text-align: center;
  padding-top: 50px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
  color: #a0aec0;
}

.li_number{
    margin-left: 37px;
}

/* Responsive Styles for Tablet & Mobile */
@media (max-width: 768px) {
  .footer {
    padding-top: 100px; /* मोबाइल पर पैडिंग एडजस्ट करें */
    border-top-left-radius: 30% 15px;
    border-top-right-radius: 30% 15px;
  }

  .footer h1 {
    font-size: 1.8rem;
    top: 30px;
  }
  
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer h2 {
    display: block;
  }

  .footer a {
    justify-content: center;
  }

  .footer a:hover {
    transform: none;
  }
  
  .footer-icons ul {
    justify-content: center;
  }
}
