/* Official Color Scheme: Royal Maroon (#800000) & Gold (#D4AF37) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Noto Sans Devanagari", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fffaf0; /* Light Cream background */
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background: #800000; /* Royal Maroon */
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
}

.logo span {
  color: #ffd700; /* Gold */
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: 0.3s;
}

.nav-links a.active {
  color: #ffd700;
  font-weight: 600;
}

.nav-links a:hover {
  color: #ffd700;
}

.btn-primary {
  background: #ffd700;
  color: #800000 !important;
  padding: 7px 15px;
  border-radius: 4px;
  font-weight: 600 !important;
}

/* Hero Section */
.hero-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1589923188900-85dae523342b?q=80&w=2070")
      no-repeat center center/cover;
  height: 65vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-content {
  width: 100%;
}
.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn-main {
  background: #800000;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  border: 2px solid #800000;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 10px 30px;
  text-decoration: none;
  border-radius: 30px;
  margin-left: 10px;
}

/* Content Sections */
.content-section,
.services-grid {
  padding: 70px 0;
  text-align: center;
}
.section-header h3 {
  font-size: 2.2rem;
  color: #800000;
  text-align: center;
}
.underline {
  width: 60px;
  height: 3px;
  background: #ffd700;
  margin: 10px auto 35px;
}

/* Cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  border-top: 5px solid #800000;
}

.card:hover {
  transform: translateY(-10px);
}
.icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Footer */
.main-footer {
  background: #222;
  color: #ccc;
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: #ffd700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-section .holiday-note {
  font-size: 0.8rem;
  font-style: italic;
}

.footer-links {
  list-style: none;
}

.footer-links li a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
  transition: color 0.3s;
}

.footer-links li a:hover {
  color: #fff;
}

.footer-bottom-text {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 0.9rem;
}
/* Schemes Page Styles */
.schemes-page {
  padding: 70px 0;
}

.schemes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.scheme-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  padding: 30px;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-top: 4px solid #800000;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.scheme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.scheme-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background-color: #fffaf0;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.scheme-title {
  font-size: 1.2rem;
  color: #800000;
  margin-bottom: 10px;
}

.scheme-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.scheme-link {
  color: #800000;
  font-weight: 600;
  text-decoration: none;
}

/* Services Page Styles */
.services-page {
  padding: 70px 0;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  padding: 30px;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-top: 4px solid #800000;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background-color: #fffaf0;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.service-title {
  font-size: 1.2rem;
  color: #800000;
  margin-bottom: 10px;
}

.service-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  color: #800000;
  font-weight: 600;
  text-decoration: none;
}

/* Contact Page Styles */
.contact-page {
  padding: 70px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 5px solid #800000;
}

.contact-info h4 {
  color: #800000;
  font-size: 1.2rem;
  margin-bottom: 15px;
  margin-top: 25px;
  border-bottom: 2px solid #ffd700;
  display: inline-block;
  padding-bottom: 5px;
}

.contact-info h4:first-child {
  margin-top: 0;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #555;
}

.contact-info strong {
  color: #333;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* About Page Styles */
.about-intro {
  padding: 70px 0;
  background-color: #fff;
  text-align: center;
}

.about-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
}

.team-section {
  padding: 70px 0;
  background-color: #fffaf0;
}

.team-category {
  margin-bottom: 50px;
}

.team-category h4 {
  text-align: center;
  color: #800000;
  font-size: 1.8rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.team-category h4::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #ffd700;
  margin: 10px auto 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
}

.team-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-bottom: 4px solid #800000;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card h5 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 5px;
}

.team-card p {
  color: #666;
  font-size: 0.95rem;
}

.development-section {
  padding: 70px 0;
  background-color: #fff;
  text-align: center;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.dev-item {
  padding: 20px;
}

.dev-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
  display: block;
}

.dev-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

/* Gallery Section */
.gallery-section {
  padding: 70px 0;
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item p {
  text-align: center;
  padding: 10px;
  font-weight: 600;
  color: #333;
}

/* Responsive */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
  .hero-section {
    height: 50vh;
  }
  .hero-content h2 {
    font-size: 2.2rem;
  }
  .cards-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .schemes-container,
  .services-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
  }
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }
  .dev-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
  }
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .navbar .container {
    padding: 0 15px;
  }
  .logo {
    font-size: 1.4rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #800000;
    flex-direction: column;
    padding: 20px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    margin: 10px 0;
  }
  .hamburger {
    display: block;
  }
  .hero-section {
    height: 40vh;
  }
  .hero-content h2 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn-main,
  .btn-outline {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  .section-header h3 {
    font-size: 2rem;
  }
  .cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .schemes-container,
  .services-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .scheme-card,
  .service-card {
    text-align: center;
    align-items: center;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  .gallery-item img {
    height: 200px;
  }
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
  }
  .dev-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .map-container {
    min-height: 300px;
  }
  .population-section .stats-container {
    flex-direction: column;
    align-items: center;
  }
  .stat-box {
    width: 100%;
    max-width: 300px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }
  .navbar .container {
    padding: 0 10px;
  }
  .logo {
    font-size: 1.2rem;
  }
  .hero-section {
    height: 35vh;
  }
  .hero-content h2 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .btn-main,
  .btn-outline {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
  .section-header h3 {
    font-size: 1.8rem;
  }
  .section-header p {
    font-size: 0.95rem;
  }
  .cards-container {
    gap: 15px;
  }
  .schemes-container,
  .services-container {
    gap: 20px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
  }
  .gallery-item img {
    height: 180px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dev-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .dev-item {
    padding: 15px;
  }
  .dev-icon {
    font-size: 2.5rem;
  }
  .contact-wrapper {
    padding: 15px;
  }
  .contact-info h4 {
    font-size: 1.1rem;
  }
  .contact-info p {
    font-size: 0.9rem;
  }
  .footer-section h4 {
    font-size: 1rem;
  }
  .footer-section p {
    font-size: 0.85rem;
  }
  .stat-box {
    padding: 15px;
  }
  .stat-icon {
    font-size: 1.8rem;
  }
  .stat-box h4 {
    font-size: 1.5rem;
  }
  .stat-box p {
    font-size: 0.9rem;
  }
}
/* Carousel Styles */
* {
  box-sizing: border-box;
}

.carousel-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  overflow: hidden;
  border: 2px solid #ddd; /* Optional: halka border */
}

.mySlides {
  display: none; /* Default me hidden rahegi */
}

/* Caption styling */
.text-block {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 25px;
  text-align: center;
  width: 70%;
  border-radius: 5px;
}

/* Responsive adjustment */
@media screen and (max-width: 600px) {
  .text-block {
    width: 90%;
    bottom: 10%;
    padding: 10px;
  }
  .text-block h2 {
    font-size: 1.2rem;
  }
  .text-block p {
    font-size: 0.9rem;
  }
}
