/* सामान्य रंग आणि कंटेनर सेटिंग्ज */
:root {
  --primary-color: #004d99; /* गडद निळा */
  --accent-color: #ff9800; /* केशरी */
  --text-color: #333;
  --light-bg: #f5f7fa;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: var(--light-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- TEAM & VIKAS SECTION STYLES ---------------- */
.team-grid {
  position: relative; /* Watermark च्या वर येण्यासाठी */
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.member-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-top: 5px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
}

.member-card h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 1.4rem;
}

.member-card p.designation {
  color: var(--accent-color);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 10px;
}

.member-card p.contact-info {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 5px;
  line-height: 1.4;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-size: 1.05em;
  transition: color 0.3s ease;
  padding: 5px 0;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--accent-color);
}

/* ड्रॉपडाउन स्टाईलिंग */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn i {
  margin-left: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #003366;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 101;
  border-radius: 5px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  margin: 0;
}

.dropdown-content a:hover {
  background-color: var(--primary-color);
}

/* मेन कंटेंट स्टाईलिंग */
h3 {
  text-align: center;
}
main {
  margin-top: 50px; /* Fixed Header Space */
  padding: 20px 0;
}

.page-content {
  padding: 40px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* ---------------- TEAM SECTION STYLES ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-left: 20px;
  margin-right: 20px;
}

.member-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-top: 5px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
}

.member-card h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 1.4rem;
}

.member-card p.designation {
  color: var(--accent-color);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 10px;
}

.member-card p.contact-info {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 5px;
}

.head-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.head-section .member-card {
  width: 100%;
  max-width: 350px;
  margin-bottom: 20px;
  border-top-color: var(--accent-color);
}

/* फुटर स्टाईलिंग */
footer {
  background-color: #222;
  color: white;
  padding: 30px 0 10px;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid #444;
}

.footer-info,
.footer-links {
  margin-bottom: 20px;
}

.footer-info h4,
.footer-links h4 {
  margin-bottom: 10px;
}

.footer-info p {
  margin: 5px 0;
}

.footer-info i {
  margin-right: 8px;
}

.footer-links a {
  color: #ccc;
  display: block;
  margin-bottom: 5px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 10px;
  font-size: 0.8em;
  color: #aaa;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    background-color: #004d99;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a,
  .nav-menu .dropdown {
    margin: 0;
    width: 100%;
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dropdown-content {
    position: static;
    width: 100%;
    background-color: #003366;
    transform: none;
    left: 0;
  }

  main {
    margin-top: 85px;
  }
}
.member-img {
  width: 150px; /* गोलाकार फोटोसाठी रुंदी */
  height: 150px; /* गोलाकार फोटोसाठी उंची */
  border-radius: 50%; /* फोटो गोलाकार करण्यासाठी */
  object-fit: cover; /* फोटोला कंटेनरमध्ये व्यवस्थित बसवण्यासाठी */
  margin-bottom: 15px; /* नावापासून फोटो वेगळा ठेवण्यासाठी */
  border: 4px solid #fff; /* फोटोला आकर्षक बॉर्डर */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* आकर्षक सावली */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* हळूवार बदलासाठी */
}

.member-img:hover {
  transform: scale(1.05); /* फोटो मोठा करण्यासाठी */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* सावली गडद करण्यासाठी */
}
