/* Global and Font Styles */
body {
  font-family: "Mukta", sans-serif;
  margin: 0;
  background-color: #f4f7f6;
  color: #333;
  font-weight: 400; /* Regular weight */
}

/* Header Styling */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
}

.state-logo {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.title {
  text-align: left;
}

.gp-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #006e51;
}

.gp-sub {
  font-size: 1rem;
  color: #555;
}

.lang-toggle button {
  border: 1px solid #006e51;
  background: transparent;
  color: #006e51;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-toggle button.active,
.lang-toggle button:hover {
  background: #006e51;
  color: #fff;
}

/* Main Navigation */
.main-nav {
  background-color: #006e51;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* For responsive nav */
}

.main-nav li a {
  display: block;
  padding: 1rem 1.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.main-nav li a:hover {
  background-color: #004d40;
}

/* Main Content Area */
main {
  padding: 2rem;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: 8px;
}

.hero-text {
  font-size: 2.5rem;
  color: #004d40;
}

.hero-sub {
  font-size: 1.2rem;
  color: #333;
}

.btn {
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color: #00796b;
  color: #fff;
}

.btn.primary:hover {
  background-color: #004d40;
}

.btn.outline {
  border: 2px solid #00796b;
  color: #00796b;
}

.btn.outline:hover {
  background-color: #00796b;
  color: #fff;
}

/* Card and Grid Styles */
.services-grid,
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* एका लाईनमध्ये 4 इमेजेस */
  gap: 1.5rem;
  margin-top: 2rem;
}

.service,
.leader-card,
.photo {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover,
.leader-card:hover,
.photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Team/Karbhari Mandal Page Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.member-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.member-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid #e0e0e0;
}

.member-card h4 {
  margin: 0.5rem 0;
  color: #004d40;
}

.designation {
  color: #555;
  font-weight: 600;
}

/* Gallery Image Styles */
.photo img {
  width: 100%;
  height: 220px; /* Fixed height for uniformity */
  object-fit: cover; /* Ensures image covers the box without distortion */
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

/* Home Gallery Section */
.home-gallery-section {
  margin-top: 4rem;
  margin-bottom: 3rem;
}

/* Carousel Styles */
* {
  box-sizing: border-box;
}

.carousel-container {
  /* max-width: 1200px; */
  position: relative;
  margin: auto;
  overflow: hidden;
  border: 2px solid #ddd; /* Optional: halka border */
}

.mySlides {
  display: none; /* Default me hidden rahegi */
}

.mySlides img {
  width: 100%;
  height: 800px; /* Desktop sathi fixed height */
  object-fit: cover; /* Image stretch na hota vyavasthit disel */
  vertical-align: middle;
}

/* Caption styling */
.text-block {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.587);
  color: #2fcec7;
  /* padding: 10px 15px; */
  text-align: center;
  width: 48%;
  border-radius: 5px;
}

/* Responsive adjustment */
@media screen and (max-width: 600px) {
  .mySlides img {
    height: 250px; /* Mobile sathi choti height */
  }
  .text-block {
    width: 90%;
    bottom: 5%;
    /* padding: 10px; */
  }
  .text-block h2 {
    font-size: 1.2rem;
  }
  .text-block p {
    font-size: 0.9rem;
  }
}

/* Footer Styling */
.site-footer {
  background-color: #004d40; /* Darker green */
  color: #fff;
  padding-top: 3rem;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 220px;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid #00796b;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  background-color: #00382e;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    padding: 1rem;
  }

  .brand {
    margin-bottom: 1rem;
  }

  .main-nav ul {
    justify-content: space-around;
  }

  .main-nav li a {
    padding: 0.8rem 1rem;
  }

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

@media (max-width: 480px) {
  .gp-name {
    font-size: 1.2rem;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    min-width: 100%;
  }
}

/* Responsive Gallery adjustments */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* टॅब्लेटवर 2 इमेजेस */
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* मोबाईलवर 1 इमेज */
  }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 15px;
    flex-direction: row;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
    width: 100%;
    /* background-color: #fff; */
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .main-nav.active {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }
  .main-nav li {
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }
  .site-header {
    position: relative;
  }
  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Small Team Grid for Employees */
.small-team-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
  justify-content: center;
}

.small-team-grid .member-card {
  padding: 1rem;
}

.small-team-grid .member-img {
  width: 100px;
  height: 100px;
}
