.member-item {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal halves */
}

/* For odd items, we swap the order of the children */
.member-item--odd {
  direction: rtl; /* Sets "Right-to-Left" flow */
}

.member-item--odd > * {
  direction: ltr; /* Resets text back to "Left-to-Right" so it's readable */
}

.or-container {
  max-width: 1620px;
  margin: auto;
  padding: 0px 40px;
}

.member-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: start;
  padding: 0 0 0 50px;
  background-color: #003407;
  color: white;
}

.member-info .member-info__name {
  font-size: 27px;
  margin: 0 0 15px 0;
  color: white;
}

.member-info .member-info__designation {
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: none;
  font-style: normal;
  text-decoration: none;
  line-height: 1.3em;
  letter-spacing: 0px;
  word-spacing: 0em;
  color: #ffffff;
  margin: 0;
}

.tm-hero {
  height: 100vh;
  /* position: relative; */
  width: 100vw;
  background-size: cover;
  background-attachment: fixed;
  background-position: top right;
}
.tm-hero__inner {
  max-width: 1240px;
  position: relative;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  height: 100%;
}

.tm-hero::before {
  background-image: linear-gradient(273deg, #262626 18%, #f2295b00 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.tm-hero__content {
  position: absolute;
  top: 50%;
  right: 0%;
  transform: translateY(-50%);
  padding: 0px 20px;
}
.tm-hero__content .tm-hero__title {
  font-size: 40px;
  margin: 0 0 0px 0;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  line-height: 1.3em;
}
.tm-hero__content .designations {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid #34be47;
}
.tm-hero__content .designations .designation {
  font-size: 20px;
  margin: 0;
  color: white;
}

.tm-hero__content .designations {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.designations .designation {
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: none;
  font-style: normal;
  text-decoration: none;
  line-height: 1.3em;
  letter-spacing: 0px;
  word-spacing: 0em;
  margin: 0;
}

.tm-basic-info {
  color: white;
  margin-bottom: 20px;
}
.tm-basic-info p {
  color: white;
  margin: 0;
  line-height: 20px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.1px;
}
.services {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.services .separator {
  margin-bottom: 10px;
}

.services .service {
  background-color: #7ba7a200;
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  font-style: normal;
  text-decoration: none;
  line-height: 1em;
  letter-spacing: 0px;
  word-spacing: 0em;
  text-transform: uppercase;
  fill: #ffffff;
  color: #ffffff;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #ffffff;
  border-radius: 0px 0px 0px 0px;
  padding: 20px 50px 20px 50px;
}
.service.service--green {
  color: #003407;
  border: 1px solid #003407;
}
.service--green:hover {
  background-color: #003407;
  color: white;
}
.services .service:hover {
  background-color: #003407;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.socials .social-link {
  background: #003407;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.socials .social-link svg {
  width: 25px;
  height: 25px;
  fill: white;
}

/* responsive */
@media (max-width: 1300px) {
  .tm-hero__content {
    right: 3%;
  }
}

@media (max-width: 1024px) {
  .tm-hero__content .tm-hero__title {
    font-size: 32px;
  }
  .tm-hero__content .designations .designation {
    font-size: 16px;
  }
  .tm-hero__content .designations {
    margin-bottom: 12px;
  }
  .services .service {
    font-size: 14px;
    padding: 15px 30px 15px 30px;

    line-height: 1.3;
  }
}

@media (max-width: 768px) {
  .member-list .member-item {
    display: flex;
    flex-direction: column;
  }
  .member-item .member-info {
    min-height: 250px;
    padding: 0 10px 0 50px;
  }
  .tm-hero {
    background-attachment: fixed;
    background-position: center;
    height: 95vh;
  }
  .tm-hero::before {
    background-image: linear-gradient(0deg, #000000a6 18%, #f2295b00 100%);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 95vh;
  }

  .tm-hero__content {
    bottom: 10%;
    top: auto;
    transform: none;
    left: 0;
  }
  .tm-hero__content .tm-hero__title {
    font-size: 24px;
  }
  .tm-hero__content .designations .designation {
    font-size: 14px;
  }
  .tm-hero__content .designations {
    margin-bottom: 14px;
    padding-bottom: 14px;
  }
  .services .service {
    font-size: 14px;
    padding: 12px 20px 12px 20px;
  }
  .tm-basic-info p {
    font-size: 12px;
  }
  .socials .social-link {
    width: 40px;
    height: 40px;
  }
}

.details {
  display: flex;
  gap: 80px;
  margin: 44px 0px;
}

.heading .heading__title {
  font-size: 2.7142857142857144rem;
  color: #00340730;
  line-height: 1.3;
}

.separator {
  border-bottom: 1px solid #54b435;
  display: inline-flex;
  width: 72px;
}
.timeline {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  width: 100%;
}

.timeline-items {
  margin-top: 20px;
}
.timeline-item {
  display: flex;
  align-items: stretch;
  min-height: 120px;
}

/* Icon and Line Logic */
.icon-container {
  position: relative;
  /* width: 40px; */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Vertical Line */
.timeline-item:not(:last-child) .icon-container::before {
  content: "";
  position: absolute;
  top: 50%; /* Starts from the center of the first icon */
  bottom: -50%; /* Extends to the center of the next icon */
  width: 2px;
  background-color: #5b7a5e;
  z-index: 0;
}

.icon {
  width: 32px;
  height: 32px;
  background-color: #0a2e16;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* Content Box */
.content {
  background-color: #f2f2f2;
  flex-grow: 1;
  padding: 20px;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Little triangle pointing to icon */
.content::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #f2f2f2;
}

.date {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 5px 0;
  letter-spacing: 0.5px;
}

.title {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
  color: #0f172a;
  font-family: "Poppins", sans-serif;
}

.timeline-item:hover .content {
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.timeline-item:hover .content::after {
  border-right-color: transparent;
  transition: border-right-color 0.3s ease;
}

/* Base transitions for smooth effect */
.second-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
.content {
  transition: background-color 0.3s ease;
}
.content::after {
  transition: border-right-color 0.3s ease;
}
.award-content ul,
.focal-point-content ul {
  margin: 0;
}

.award-content li,
.focal-point-content li {
  list-style-type: none;
  position: relative;
}

.award-content li::before,
.focal-point-content li::before {
  content: "➔ ";
  color: #000;
  /* margin-right: px; */
}

.award-content,
.focal-point-content {
  margin-top: 10px;
}
.award-content li,
.focal-point-content li {
  list-style-type: none;
  position: relative;
  font-size: 14px;
  font-family: "Poppins";
  line-height: 22px;
  font-weight: 400;
}

.colum-gap-10 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-content {
  font-family: "Poppins";
  font-weight: 400;
  line-height: 24px;
}

/* publications */
/* Container & Section Setup */
.publications-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../../assets/images/bg-scroll.webp");
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  color: #ffffff;
  background-attachment: fixed;
  font-family: "Arial", sans-serif;
  position: relative;
  min-height: 400px;
}

.pub-section {
  margin: 0 auto;
  padding: 160px 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../images/bg-scroll.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.or-pub-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

/* Header Row Styling */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid white;
  padding-bottom: 20px;
}

.header-row .title {
  color: white;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  width: 100%;
  margin: 0;
}
.header-row .title:hover {
  color: #66b032;
}

.arrow-up {
  color: #2d5a1e; /* Darker green arrow */
  font-size: 12px;
}

/* Publication Accordion Smooth Roll Up/Down */
.publication-accordion summary {
  cursor: pointer;
  list-style: none;
}

.publication-accordion summary::-webkit-details-marker {
  display: none;
}

.publication-accordion .content-wrapper {
  transition: height 0.4s ease-in-out;
  overflow: hidden;
}

.publication-accordion summary .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-in-out;
  margin-left: 10px;
  color: white;
}

.publication-accordion[open] summary .arrow {
  transform: rotate(90deg);
}

.publications-list {
  color: white;
  padding: 20px;
  /* font-family: 'emoji'; */
}
@media (max-width: 768px) {
  .details {
    flex-direction: column;
    gap: 40px;
  }
  .or-container {
    padding: 0 20px;
  }
  .heading .heading__title {
    font-size: 22px;
  }
  .separator {
    width: 50px;
  }
  .or-pub-container {
    padding: 0 20px;
  }
}

.mentions-section {
  margin-top: 80px;
}

.header-row .title:hover + .arrow svg {
  fill: #66b032;
}
