.card-section {
  display: grid;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding:4px;
}

/* Desktop */
@media (min-width: 1024px) {
  .card-section {
    grid-template-columns: repeat(4, 1fr);
  }
}

.margintop {
    padding-top: 120px;
}

@media (min-width: 320px) and (max-width: 840px) {
  .margintop {
    padding-top: 60px;
  }
        .card-bharat {
          background: #ffffff;
          border-radius: 20px;
          padding: 2rem 1.5rem !important;
          border: 1px solid #e0e0e0;
          box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
          text-align: center;
          transition: all 0.3s ease;
          cursor: pointer;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          height: 160px !important;
          width: 140px !important;
        }
    .card-section{
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }

        .card-bharat img {
          width: 40px;
          height: 40px;
          object-fit: contain;
          margin-bottom: 1rem;
          transition: transform 0.3s ease;
        }
}


/* Card Styling */
.card-bharat {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  border: 1px solid #e0e0e0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 240px;
}

.card-bharat:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  border-color: #007b8f;
  background: linear-gradient(145deg, #f9fdfd, #ffffff);
}

/* Card Image */
.card-bharat img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.card-bharat:hover img {
  transform: scale(1.1);
}

/* Card Title */
.card-bharat h3 {
  color: #003c5f;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0;
  transition: color 0.3s ease;
}

.card-bharat:hover h3 {
  color: #007b8f;
}

.relative-header {
  position: relative;
  overflow: visible;

}

.logo-absolute-top-right {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 100px;
  height: auto;
  object-fit: contain;
  padding-top: 90px;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .logo-absolute-top-right {
    right: 25px;
    width: 85px;
  padding-top: 60px;
  }
}

/* Mobile view: move logo to top-left */
@media (min-width: 320px) and (max-width: 639px) {
  .logo-absolute-top-right {
    left: 15px;
    right: auto;
    width: 65px;
  padding-top: 50px;
  }
}

@media (min-width: 320px) and (max-width: 639px) {
  .text-size {
  font-size: 20px;
    padding-top: 40px;
  }
}
.text-size {
font-size: 26px;
}

.coming-soon-section {
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.coming-soon-section h2 {
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.5px;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 50;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #e0f1ff);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  max-width: 90%;
  width: 400px;
  transform: scale(0.8);
  opacity: 0;
  animation: modalPop 0.4s forwards;
}

.modal-content img {
  width: 80%;
  height: auto;
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  color: #004485;
  font-weight: 700;
  margin-top: 1.5rem;
  font-size: 1.5rem;
  line-height: 1.4;
}

.modal-content p {
  color: #333;
  font-size: 0.95rem;
  margin: 0.5rem 0 1.5rem;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #004485;
  color: white;
  border: none;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.close-btn:hover {
  transform: rotate(90deg) scale(1.2);
  background: #0073e6;
}

/* Call-to-action button */
.modal-content .btn-action {
  background: linear-gradient(90deg, #004485, #1fa1ff);
  color: white;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.modal-content .btn-action:hover {
  background: linear-gradient(90deg, #1fa1ff, #004485);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Modal pop animation */
@keyframes modalPop {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .modal-content {
    width: 85%;
    padding: 1.5rem;
  }
}

