.karyasamiti-hero {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  padding-top: 160px;
}

.karyasamiti-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}

.karyasamiti-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  color: #fff;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #014AB9;
  margin-bottom: 10px;
  text-align: center;
  margin-top: 0;
}

.section-header p {
  color: #555;
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}

.karyasamiti-mission {
  background: #f9fbfd;
  padding: 60px 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}

.mission-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}

.mission-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #014AB9;
}

.mission-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.7;
}

.mission-content ul {
  list-style: none;
  padding-left: 0;
}

.mission-content ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  color: #333;
}

.mission-content ul li i {
  color: #014AB9;
  margin-right: 10px;
}

.karyasamiti-team-section {
	padding: 40px 0 60px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  align-items: start;
}

.team-member {
  background: #fff;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  cursor: pointer;
  position: relative;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-image img {
  width: 100%;
  display: block;
  height: auto;
}

.team-info {
  padding: 15px 20px 0 20px;
  text-align: center;
}

.team-info h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #014AB9;
}

.team-info .designation {
  color: #666;
  font-size: 0.9rem;
  margin-top: 5px;
}

.team-member.active .team-info .designation {
	margin-bottom: 0;
}

.team-details {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  padding: 0 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.team-member.active .team-details {
  padding: 0 20px 20px 20px;
  opacity: 1;
  pointer-events: auto;
}

.team-details p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 15px;
}

.team-socials a {
  margin: 0 10px;
  font-size: 1rem;
  color: #014AB9;
  transition: color 0.3s;
}

.team-socials a:hover {
  color: #000;
}
.karyasamiti-hero {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  padding-top: 160px;
}

.karyasamiti-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}

.karyasamiti-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  color: #fff;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #014AB9;
  margin-bottom: 10px;
  text-align: center;
  margin-top: 0;
}

.section-header p {
  color: #555;
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}

.karyasamiti-team-section {
  padding: 40px 0 60px 0;
}

/*.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  align-items: start;
}

.team-member {
  background: #fff;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  cursor: pointer;
  position: relative;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-image img {
  width: 100%;
  display: block;
  height: auto;
}

.team-info {
  padding: 15px 20px 0 20px;
  text-align: center;
}

.team-info h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #014AB9;
}

.team-info .designation {
  color: #666;
  font-size: 0.9rem;
  margin-top: 5px;
}

.team-member.active .team-info .designation {
  margin-bottom: 0;
}

.team-details {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  padding: 0 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.team-member.active .team-details {
  padding: 0 20px 20px 20px;
  opacity: 1;
  pointer-events: auto;
}

.team-details h3 {
  color: #014AB9;
}

.team-details p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 15px;
}

.team-socials a {
  margin: 0 10px;
  font-size: 1rem;
  color: #014AB9;
  transition: color 0.3s;
}

.team-socials a:hover {
  color: #000;
}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}*/

.karyasamiti-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-auto-rows: auto;
    gap: 20px;
    margin-bottom: 40px;
    align-items: stretch;
}

.main-member {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f1f1f1;
    padding: 10px;
    height: 100%;
}

.other-member {
    background: #fafafa;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-member img,
.other-member img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.sadasya-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.karyasamiti-section {
  padding: 40px 0;
}

.karyasamiti-section h2 {
  margin-bottom: 40px;
}

.karyasamiti-section h3 {
  margin-bottom: 30px;
}

@media (min-width: 993px) {
  .karyasamiti-section h2, .karyasamiti-section h3 {
    text-align: center;
  }
}

/* Tablet */
@media (max-width: 992px) {
    .karyasamiti-main-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
    }

    .main-member {
        grid-column: span 2;
    }

    .other-member {
        grid-column: span 1;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .karyasamiti-main-grid {
        display: flex;
        flex-direction: column;
    }

    .main-member,
    .other-member {
        width: 100%;
    }
}
.sadasya-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sadasya-member {
    text-align: center;
}

.sadasya-member img {
    width: 100%;
    height: auto;
}

.member-title {
    font-weight: 500;
    font-size: 16px;
}

.member-info {
  text-align: center;
}

/* Remove card styling everywhere */
.main-member,
.other-member {
    background: none;
    padding: 0;
    box-shadow: none;
    border: none;
}

.sallahakar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.sallas-member {
    text-align: center;
}

.sallas-member img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
}

.sallas-member .member-info {
    font-size: 16px;
}