/* style.css */


body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f9ff;
  color: #333;
  margin: 0;
  padding: 0;
}

.dev-font {
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.object-fit-cover {
  object-fit: cover;
}

/* Header Styles */
.header-container {
  background: linear-gradient(135deg, #002244 0%, #006400 100%);
  color: white;
  border-bottom: 3px solid #D4AF37;

}

.header-title {
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  margin: 0;
}

/* Navbar Styles */
.navbar-main {
  background: linear-gradient(to right, #002244, #003366);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 0.5rem 1rem;
}

.navbar-main .nav-link {
  color: white !important;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}

.navbar-main .nav-link:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.navbar-main .nav-item:last-child .nav-link {
  border-right: none;
}

.btn-govt {
  background-color: #D4AF37;
  color: #002244;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}
.navbar-main .btn-govt {
  background-color: #D4AF37 !important;
  /* other properties... */
}

.btn-govt:hover {
  background-color: #c9a227;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Carousel Styles */
.main-carousel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 2px solid #002244;
  margin: 1rem 0;
}

.carousel-control-prev, 
.carousel-control-next {
  width: 5%;
  background-color: rgba(0,0,0,0.2);
}

/* Form Styles */
.search-form {
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-top: 4px solid #002244;
  padding: 1.5rem;
  margin: 1rem 0;
}

.form-label {
  font-weight: 500;
  color: #002244;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control, 
.form-select {
  border: 1px solid #ced4da;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 1rem;
}

.form-control:focus, 
.form-select:focus {
  border-color: #002244;
  box-shadow: 0 0 0 0.25rem rgba(0, 34, 68, 0.25);
  outline: none;
}

/* News Ticker */
.news-container {
  background: linear-gradient(to right, #002244, #003366);
  color: white;
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0;
}

.news-label {
  background: #D4AF37;
  color: #002244;
  font-weight: 600;
  padding: 0.5rem 1rem;
  text-align: center;
}

.news-content {
  background: #ffffff;
  padding: 0.75rem;
  color: #333;
}

/* Process Cards */
.process-card {
  transition: all 0.3s ease;
  border-top: 2px solid;
  height: 100%;
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-a { border-color: #0d6efd; }
.step-b { border-color: #198754; }
.step-c { border-color: #ffc107; }
.step-d { border-color: #dc3545; }

/* Footer */
.footer {
  background: linear-gradient(to right, #002244, #003366);
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Search Option Cards */
.search-option-card {
  border-left: 4px solid #002244;
  transition: all 0.3s ease;
  background: white;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.search-option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-banner {
  background: linear-gradient(to right, rgba(0,34,68,0.1), rgba(0,100,0,0.1));
  border-left: 4px solid #006400;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
}
/* Selected Panchayat Card Styles */
.card {
  background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #002244 0%, #006400 100%);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 34, 68, 0.15);
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #002244;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #D4AF37;
  border-radius: 3px;
}

.d-flex.justify-content-center {
  gap: 2rem;
}

.d-flex.justify-content-center > div {
  background: rgba(255, 255, 255, 0.8);
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-width: 140px;
}

.d-flex.justify-content-center > div:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.d-flex.justify-content-center h6 {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #006400;
  margin-bottom: 0.5rem;
}

.d-flex.justify-content-center p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #002244;
  margin: 0;
  background: linear-gradient(90deg, #002244, #003366);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .d-flex.justify-content-center {
    flex-direction: column;
    gap: 1rem;
  }
  
  .d-flex.justify-content-center > div {
    width: 100%;
    min-width: auto;
  }
  
  .card-title {
    font-size: 1.5rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .navbar-main .nav-link {
    padding: 0.5rem 1rem;
    border-right: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);;
  }
  
  .header-container {
    padding: 0.5rem 0;
  }
  
  .process-card {
    margin-bottom: 0.5rem;
  }
}