
/*=============== HERO SECTION ===============*/
.slider {
    width: 100%;
    max-width: 100vw; 
    height: calc(100vh - var(--header-height));
    margin: auto;
    margin-top: 56px;
    position: relative;
    overflow: hidden;
}

.slider .list {
    position: absolute;
    margin-top: 0px;
    left: 0;
    width: max-content; /* Total width of all items */
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    transition: left 0.5s ease; /* Ensure transition applies */
}

.slider .list .item {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider .buttons {
    position: absolute;
    top: 52%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    z-index: 3
}

.slider .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3); /* Adjusted for clarity */
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
    cursor: pointer; /* Indicate clickable */
}

.slider .dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    z-index: 3
}

.slider .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: width 0.5s, background-color 0.5s; /* Animate width and color */
}

.slider .dots li.active {
    width: 30px;
}

.green-slider .slider .dots li.active {
    background-color: var(--primary-green);
}

/* Add this for the darkening overlay */
.slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Black with 20% opacity; adjust opacity (e.g., 0.6) for darker effect */
    z-index: 1; /* Place above images but below content */
}

/* Add this for the centered content */
.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Content above overlay */
    text-align: center;
    color: #fff;
    width: 50%; /* Reduced width to avoid overlapping buttons */
    max-width: 700px; /* Proportional max-width */
}

.slider-content h1 {
    font-family: "Poppins", sans-serif;
    font-size: 48px; /* Smaller, proportional */
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 30px;
    white-space: nowrap; /* No wrapping, straight horizontal */

    margin-left: -60px;
}

.slider-content .highlight {
    background-color: var(--primary-green);
    padding: 1px 8px; /* Adjust padding for rectangle size */
    display: inline; /* Ensure it wraps with text */
}

.slider-content p {
    font-family: "Poppins", sans-serif;
    font-size: 24px; /* Smaller, proportional */
    font-weight: 500;
    margin-bottom: 50px;
}

.slider-content .button-style {
    background-color: var(--primary-green);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 16px; /* Smaller */
    font-weight: 500;
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-content .button-style:hover {
    background-color: #00544f; /* Darker green; adjust if you have a var for it */
}

@media screen and (max-width: 1024px) {
    .slider {
        height: 60vh;
    }
    .slider .buttons button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .slider .dots li {
        width: 8px;
        height: 8px;
        margin: 8px;
    }
    .slider .dots li.active {
        width: 24px;
    }
    .slider-content {
        width: 80%; /* Adjust for tablets */
    }
    .slider-content h1 {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .slider-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .slider-content .button-style {
        font-size: 14px;
        padding: 10px 16px;
    }
}

@media screen and (max-width: 768px) {
    .slider {
        height: calc(95vh -  var(--header-height));
    }
    .slider .buttons button {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .slider .dots li {
        width: 6px;
        height: 6px;
        margin: 6px;
    }
    .slider .dots li.active {
        width: 18px;
    }
    .slider-content {
        width: 75%; /* Fuller width on mobile */
         transform: translate(-50%, -55%); /* Higher position on mobile*/
         height: 65%;
         display: flex;
         align-items: center;
         flex-direction: column;
         justify-content: space-around;
    }
    .slider-content h1 {
        font-size: 40px;
        white-space: normal; /* Allow wrapping on mobile */
        margin: 0;
    }
    .slider-content p {
        max-width: 85%;
        font-size: 20px;
        margin-bottom: 15px;

    }
    .slider-content .button-style {
        font-size: 15px;
        padding: 8px 10px;
    }
    
}

/*=============== ABOUT US ===============*/
.about-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;

  width: 90%;
  margin: auto;
  align-items: center;

  height: auto;
  min-height: calc(97vh - var(--header-height));

  font-family: 'DM Sans', sans-serif;
  color: #2d3748;
  background-color: #fff;
  scroll-behavior: smooth;
  overflow-x: hidden;

  width: 100%;
  max-width: 100vw;
  margin: auto;
  position: relative;
  overflow: hidden;
}

/* When the screen is smaller (like phones or tablets), stack vertically */
@media (max-width: 768px) {
  .about-section {
    grid-template-columns: 1fr;
    margin-top: 3.5rem
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  padding-left: clamp(16px, 5vw, 87px);
}

.about-content h1 {
  color: var(--primary-green);
  font-family: "Poppins", sans-serif;
  font-size: 54px; /* Smaller, proportional */
  font-weight: 600;
  opacity: 0;
}

.about-content h1.animate {
  animation: fadeIn 0.8s ease forwards 0.2s;
}

.about-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: 28px; /* Smaller, proportional */
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 25px;
  opacity: 0;
  /*white-space: nowrap; /* No wrapping, straight horizontal */
}

.about-content h2.animate {
  animation: fadeIn 0.8s ease forwards 0.2s;
}

.about-content p {
  font-family: "Poppins", sans-serif;
  text-align: justify;
  max-width: 450px;
  line-height: 38px;  
  opacity: 0;   
}

.about-content p.animate {
  animation: fadeIn 0.8s ease forwards 0.2s;
}

.about-content span {
  color: var(--primary-green);
}

.bg-elipse {
  position: absolute;
  z-index: 0;
  content: '';

  background-image: linear-gradient(to bottom, var(--primary-green), #A2FFE8);

  top: 50%;
  right: 12%; 
  transform: translateY(-50%);
  width: 456px;
  height: 456px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
  opacity: .26;
}

.about-carousel {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  
  top: -7vh;
  left: 12vh;
}

.carousel {
  z-index: 1;
}

.carousel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 2;

  width: 441px;
  height: 95px;

  padding: 0;
  opacity: 0;
  will-change: transform, opacity;
}

.carousel-item-body {
  display: grid;
  grid-template-columns: 1fr auto; /* text on the left, icon on the right */
  justify-content: center;
  align-items: center;
  
  /*padding: 16px 20px;*/
  z-index: 2;
}

.carousel-title {
  display: flex;
  font-family: "Poppins", sans-serif;
  font-size: 20px; 
  font-weight: 600;
  color: #00796B;

  text-align: center;
  justify-content: center;
  align-items: center;
  
  width: 360px;
  height: 130px;

  line-height: 38px; 
  background-color: #fff;
  
  border-radius: 34px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));

  padding: 0 40px;
}

.carousel-icon {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 400;
  color: #00796B;
  background: none;

  padding-left: 40px;
}

@keyframes carousel-animate-vertical {
0% {
  translate: 40% 150%;
  scale: 0.5;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}
5.55%, 16.66% {
  translate: 20% 150%;
  scale: 0.8;
  opacity: 0.4;
  visibility: visible;
  z-index: 3;
}
22.22%, 33.33% {
  translate: 0 0;
  scale: 1;
  opacity: 1;
  visibility: visible;
  z-index: 4;
}
38.88%, 50% {
  translate: 20% -150%;
  scale: 0.8;
  opacity: 0.4;
  visibility: visible;
  z-index: 3;
}
55.55%, 100% {
  translate: 40% -150%;
  scale: 0.5;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}
}

.carousel-item {
  animation: carousel-animate-vertical 18s ease-in-out infinite;
  animation-delay: calc(-3s * var(--index));
}

/* Good defaults for smoothness and performance */
.carousel-item {
  will-change: transform, opacity;
  animation-play-state: running; /* explicit default */
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    animation: none;
  }
}

.carousel-item:nth-child(n+7) {
display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile and tablet adjustments */
/* Tablet adjustments (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
.about-section {
  width: 100%;
  height: auto;
  min-height: calc(100vh - var(--header-height));
  padding: 40px 0;
  margin: 0;
}

.about-content {
  padding-left: 40px;
  padding-right: 20px;
}

.about-content h1 {
  font-size: 48px;
}

.about-content h2 {
  font-size: 26px;
}

.about-content p {
  max-width: 400px;
  line-height: 36px;
  font-size: 15px;
}

.bg-elipse {
  width: 280px;
  height: 280px;
  right: 8%;
  filter: blur(50px);
}

.about-carousel {
  top: -3vh;
  left: 3vh;
}

.carousel-item {
  width: 380px;
}

.carousel-item-body {
  width: 420px;
  height: 130px;
  border-radius: 30px;
}

.carousel-title {
  font-size: 15px;
  line-height: 36px;
  max-width: 380px;
}

@keyframes carousel-animate-vertical {
  0% {
    translate: 30% 140%;
    scale: 0.6;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
  }
  5.55%, 16.66% {
    translate: 15% 140%;
    scale: 0.85;
    opacity: 0.45;
    visibility: visible;
    z-index: 2;
  }
  22.22%, 33.33% {
    translate: 0 0;
    scale: 1;
    opacity: 1;
    visibility: visible;
    z-index: 3;
  }
  38.88%, 50% {
    translate: 15% -140%;
    scale: 0.85;
    opacity: 0.45;
    visibility: visible;
    z-index: 2;
  }
  55.55%, 100% {
    translate: 30% -140%;
    scale: 0.6;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
  }
}
}

/* Mobile adjustments (up to 768px) */
@media (max-width: 768px) {
.about-section {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  height: auto;
  min-height: calc(80vh - var(--header-height));
  padding: 20px 0;
}

.about-content {
  padding-left: 20px;
  padding-right: 20px;

  text-align: center;
  align-items: center;
}

.about-content h1 {
  font-size: clamp(32px, 8vw, 54px);
}

.about-content h2 {
  font-size: clamp(20px, 5vw, 28px);
  margin-top: 25px;
  margin-bottom: 25px;
}

.about-content p {
  max-width: 100%;
  line-height: 1.6;
  font-size: 16px;
}

.bg-elipse {
  position: absolute;
  width: 200px;
  height: 200px;
  
  left: 50%;
  top: 75%;
  transform: translate(-50%, -50%);

  filter: blur(60px);
}

.about-carousel {
  top: 0;
  left: 0;
  padding: 20px;
  min-height: 400px;
  justify-content: center;
}

.carousel {
  position: relative;
  bottom: 70px;
}

.carousel-item {
  width: 60%;
  max-width: 100px;
  height: auto;
  left: 50%;
  transform: translateX(-60%);
}

.carousel-item-body {
  width: 80%;
  height: auto;
  max-height: 110px;
  padding: 20px 16px;
  border-radius: 20px;
}

.carousel-title {
  font-size: 20px;
  line-height: 1.5;
  max-width: 90%;
  padding: 0 20px;
}

.carousel-icon {
  padding-left: 0;
}

@keyframes carousel-animate-vertical {
  0% {
    translate: 0% 120%;
    scale: 0.5;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
  }
  5.55%, 16.66% {
    translate: 0% 100%;
    scale: 0.65;
    opacity: 0.5;
    visibility: visible;
    z-index: 2;
  }
  22.22%, 33.33% {
    translate: 0% 0%;
    scale: 0.8  ;
    opacity: 1;
    visibility: visible;
    z-index: 3;
  }
  38.88%, 50% {
    translate: 0% -100%;
    scale: 0.65;
    opacity: 0.5;
    visibility: visible;
    z-index: 2;
  }
  55.55%, 100% {
    translate: 0% -120%;
    scale: 0.5;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
  }
}
}

/*=============== GRANTS & PROJECTS ===============*/
.grants-projects {
  width: 100%;
  height: auto;
  background: var(--white-color);
  position: relative;
  overflow: hidden;
  min-height: calc(97vh - var(--header-height));
  /*padding: 40px 0;*/
}

.title_header {
  color: var(--black-color);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 600;
  padding: 2.5rem 0;
  text-align: center;
  opacity: 0;
  transform: translateY(1rem);
}

.title_header.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.highlight-header {
  background-color: var(--primary-green);
  width: clamp(150px, 20vw, 250px);
  height: 8px;
  border-radius: 5px;
  margin: -2rem auto 2.5rem;
  opacity: 0;
}

.grants-bg-elipse-left {
  position: absolute;
  z-index: 0;
  content: '';

  background-image: linear-gradient(to bottom, var(--primary-green), #A2FFE8);

  top: 53%;
  left: -17%; 
  transform: translateY(-50%);
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
  opacity: .15;
}

.grants-bg-elipse-right {
  position: absolute;
  z-index: 0;
  content: '';

  background-image: linear-gradient(to bottom, var(--primary-green), #A2FFE8);

  top: 53%;
  right: -17%; 
  transform: translateY(-50%);
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
  opacity: .2;
}

.highlight-header.animate {
  animation: fadeIn 0.8s ease forwards 0.2s;
}

.grants_card_container {
  padding: 0 0 2rem;
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  grid-gap: clamp(4rem, 2vw, 1.5rem);
}

.grants_card_light,
.grants_card_dark {
  position: relative;
  padding: 2rem 1rem 4rem;
  min-height: clamp(300px, 50vw, 400px);
  border-radius: 2rem;
  color: var(--black-color);
  z-index: 1;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(1.5rem);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.35);
}

.grants_card_light.animate,
.grants_card_dark.animate {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(0.1s * var(--card-index));
}

@media (hover: hover) {
  .grants_card_light:hover,
  .grants_card_dark:hover {
    transform: translateY(-0.5rem) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  }
}

.grants_card_light {
  background-image: linear-gradient(to top, #DEFFFB, #FAFFFE);
}

.grants_card_dark {
  background-image: linear-gradient(to bottom, #00796B, #03A693);
}

.grants_card_light h2,
.grants_card_dark h2 {
  font-size: clamp(1.1rem, 4vw, 1.25rem);
  font-weight: 600;
  margin: 0.5rem 0 1.5rem;
  text-align: center;
}

.grants_card_light h2 {
  color: var(--primary-green);
}

.grants_card_dark h2 {
  color: var(--white-color);
}

.grants_card_light h3,
.grants_card_dark h3 {
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 600;
}

.grants_card_light h3 {
  color: var(--primary-green);
}

.grants_card_dark h3 {
  color: var(--white-color);
}

.grants_card_light p,
.grants_card_dark p {
  font-size: clamp(0.8rem, 2.5vw, 0.875rem);
  margin-bottom: 1.5rem;
}

.grants_card_light p {
  color: var(--primary-green);
}

.grants_card_dark p {
  color: var(--white-color);
}

.grants_card_light button,
.grants_card_dark button {
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.8rem, 2vw, 1rem);
  width: clamp(120px, 25vw, 160px);
  border-radius: 3rem;
  border: none;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s ease, background-image 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

@media (hover: hover) {
  .grants_card_light button:hover,
  .grants_card_dark button:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  }
}

.grants_card_light button {
  background-image: linear-gradient(to top, #00796B, #03A693);
  color: var(--white-color);
}

.grants_card_dark button {
  background-image: linear-gradient(to top, #DEFFFB, #FAFFFE);
  color: var(--primary-green);
}

.button_see_all_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 5rem;
  margin-bottom: 2rem;

  padding-top: clamp(0, )
}

.button_see_all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(100px, 15vw, 120px);
  height: clamp(2rem, 5vw, 2.5rem);
  border: 2px solid var(--primary-green);
  border-radius: 5px;
  background-color: transparent;
  color: var(--primary-green);
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}

.button_see_all.animate {
  animation: fadeIn 0.6s ease forwards 0.4s;
}

@media (hover: hover) {
  .button_see_all:hover {
    background-color: var(--primary-green);
    color: var(--white-color);
    transform: scale(1.05);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Media Queries for Additional Responsiveness */
@media screen and (max-width: 600px) {
  .grants-projects {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .title_header {
    margin-top: 1rem;
    padding: 1.5rem 0;
  }
  
  .title_header h1 {
    font-size: 35px;
  }

  .highlight-header {
    width: clamp(100px, 25vw, 150px);
    margin: -1.5rem auto 5rem;
  }

  .grants_card_container {
    width: 90%;
    display: flex;
    flex-basis: 40%;
    flex-grow: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .grants_card_light,
  .grants_card_dark {
    width: 45%;
    padding: 1.5rem 0.75rem 3rem;
    min-height: clamp(250px, 60vw, 320px);
    border-radius: 1.5rem;
  }

  .grants_card_light button,
  .grants_card_dark button {
    bottom: -0.5rem;
    padding: clamp(0.7rem, 2.5vw, 0.9rem) clamp(0.6rem, 1.5vw, 0.8rem);
    width: clamp(100px, 30vw, 140px);
    border-radius: 2.5rem;
  }

  .button_see_all_container {
    min-height: 4rem;
  }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
  .grants_card_container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .grants_card_light,
  .grants_card_dark {
    padding: 1.75rem 1rem 3.5rem;
    min-height: clamp(280px, 45vw, 360px);
  }

  .grants_card_light button,
  .grants_card_dark button {
    padding: clamp(0.75rem, 2.5vw, 0.9rem) clamp(0.7rem, 2vw, 1rem);
    width: clamp(110px, 25vw, 150px);
  }
}

/*=============== PUBLICATIONS ===============*/
.publications {
  width: 100%;  
  background: var(--white-color);
  position: relative;
  overflow: hidden;
  padding: 40px 0
}

.content_publications {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 35px;
}

.publications_wrapper {
  max-width: 1100px;
  width: 100%;
  position: relative;
}

.publications_wrapper > i.ri-arrow-left-s-line,
.publications_wrapper > i.ri-arrow-right-s-line {
  height: 50px;
  width: 50px;
  background: var(--white-color);
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 1.25rem;
  transform: translateY(-50%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  opacity: 0;
}

.publications_wrapper > i.ri-arrow-left-s-line.animate,
.publications_wrapper > i.ri-arrow-right-s-line.animate {
  animation: fadeIn 0.6s ease forwards 0.4s;
}

@media (hover: hover) {
  .publications_wrapper > i.ri-arrow-left-s-line:hover,
  .publications_wrapper > i.ri-arrow-right-s-line:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: var(--primary-green);
    color: var(--white-color);
  }
}

.publications_wrapper > i.ri-arrow-left-s-line { left: -80px; }
.publications_wrapper > i.ri-arrow-right-s-line { right: -80px; }

.publications_card_container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 4 ));
  
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-behavior: smooth; /* Smooth scrolling */
  scrollbar-width: none; /* Hide scrollbar (Firefox) */
  -ms-overflow-style: none; /* Hide scrollbar (IE/Edge) */
  place-items: center;

  padding-bottom: 20px;
  min-width: 400px;
  overflow-y: hidden;
}

.publications_card_container::-webkit-scrollbar {
  display: none; /* Hide scrollbar (Chrome/Safari) */
}

.publications_card {
  list-style: none;
  height: 400px;
  width: 244px;
  border-radius: 10px;
  display: flex;
  padding: 15px;
  justify-content: center;
  flex-direction: column;
  background: var(--white-color);
  cursor: pointer;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publications_card.animate {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(0.1s * var(--card-index));
}

@media (hover: hover) {
  .publications_card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  }
}

.publications_card img {
  aspect-ratio: 210/297;
  max-width: 150px;
  object-fit: cover;
  object-position: center;
  margin-left: auto;
  margin-right: auto;
}

.publications_card h2 {
  font-weight: 500;
  font-size: 16px;
  color: var(--primary-green);
  margin: 10px 0 5px;
  text-align: left;

  display: -webkit-box;
  -webkit-line-clamp: 2;        
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publications_card h3 {
  font-weight: 400;
  font-size: 14px;
  color: var(--black-color);
  margin: 5px 0 5px;
  text-align: justify;

  display: -webkit-box;
  -webkit-line-clamp: 3;        
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publications_metrics {
  font-weight: 400;
  font-size: 16px;
  color: var(--gray);
  text-align: justify;
}

.publications_metrics i {
  margin-right: 5px;
}

/* Reuse styles from grants and projects for consistency */
/*.title_header {
  color: var(--black-color);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 600;
  padding: 2.5rem 0;
  text-align: center;
  opacity: 0;
  transform: translateY(1rem);
}


.title_header.animate {
  animation: fadeInUp 0.6s ease forwards;
}
*/

.highlight-header {
  background-color: var(--primary-green);
  width: clamp(150px, 20vw, 250px);
  height: 8px;
  border-radius: 5px;
  margin: -2rem auto 2.5rem;
  opacity: 0;
}

.highlight-header.animate {
  animation: fadeIn 0.8s ease forwards 0.2s;
}

/*
.button_see_all_container {
  padding-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 5rem;
  margin-bottom: 1rem;
}

.button_see_all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(100px, 15vw, 120px);
  height: clamp(2rem, 5vw, 2.5rem);
  border: 2px solid var(--primary-green);
  border-radius: 5px;
  background-color: transparent;
  color: var(--primary-green);
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}

.button_see_all.animate {
  animation: fadeIn 0.6s ease forwards 0.4s;
}

@media (hover: hover) {
  .button_see_all:hover {
    background-color: var(--primary-green);
    color: var(--white-color);
    transform: scale(1.05);
  }
}
*/

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 600px) {
  .publications {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .content_publications {
    padding: 0 20px;
  }
.publications_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

  .publications_wrapper > i.ri-arrow-left-s-line { left: -20px; }
  .publications_wrapper > i.ri-arrow-right-s-line { right: -20px; }

  .publications_wrapper > i.ri-arrow-left-s-line,
  .publications_wrapper > i.ri-arrow-right-s-line {
    height: 40px;
    width: 40px;
    z-index: 3;
    line-height: 40px;
    font-size: 1rem;
  }

  .publications_card_container {
    width: 100%;
    grid-auto-columns: calc((100% / 2) + 4px); /* 2 cards visible on mobile */
    gap: 10px;
  }

  .publications_card {
    width: 200px;
    height: 300px;
  }

  .publications_card img {
    width: 120px;
    height: 200px;
  }

  .title_header {
    padding: 1.5rem 0;
  }
  .see_all {
    padding-inline: 20px;
  }

  .highlight-header {
    width: clamp(100px, 25vw, 150px);
    margin: -1.5rem auto 1.5rem;
  }

  .button_see_all_container {
    min-height: 4rem;
  }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
  .publications_card_container {
    grid-auto-columns: calc((100% / 3) - 10px); /* 3 cards visible on tablet */
    gap: 12px;
  }

  .publications_card {
    width: 220px;
    height: 320px;
  }

  .publications_card img {
    width: 130px;
    height: 220px;
  }
}

/*=============== NEWS ===============*/
.news {
  width: 100%;
  min-height: calc(97vh - var(--header-height));
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.41) 41%,
    rgba(178, 255, 246, 0.20) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 40px 0
}

/*.title_header {
  color: var(--black-color);
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.5rem, 5vw, 1.5rem);
  font-weight: 600;
  padding: 2.5rem 0;
  text-align: center;
  opacity: 0;
  transform: translateY(1rem);
}

.title_header.animate {
  animation: fadeInUp 0.6s ease forwards;
}*/

.highlight-header {
  background-color: var(--primary-green);
  width: clamp(150px, 20vw, 250px);
  height: 8px;
  border-radius: 5px;
  margin: -2rem auto 2.5rem;
  opacity: 0;
}

.highlight-header.animate {
  animation: fadeIn 0.8s ease forwards 0.2s;
}

.see_all {
  width: 90%;
  max-width: 1100px;
  margin: 10px auto 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-green);
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
}

.see_all.animate {
  animation: fadeIn 0.6s ease forwards 0.4s;
}

.see_all i {
  font-size: 1rem;
  margin-left: 5px;
}

@media (hover: hover) {
  .see_all:hover {
    color: var(--darker-green);
  }
}

.content_news {
  height: auto;
  padding: 20px;
}

.news_card_container {
  width: 90%;
  max-width: 1100px;
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  place-items: center;
}

.news_card {
  width: 90%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  background: #FAFFFE;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  opacity: 0;
  transform: translateY(1.5rem);
}

.news_card.animate {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(0.1s * var(--card-index));
}

@media (hover: hover) {
  .news_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  }
}

.news_card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.news_card h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-green);
  margin: 10px;
  flex-shrink: 0;

  display: -webkit-box;
  -webkit-line-clamp: 2;   
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news_card p {
  font-size: 1rem;
  color: var(--gray);
  margin: 0 10px 10px;
  line-height: 1.5;
  text-align: justify;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.news_card span {
  font-size: 1rem;
  color: var(--gray);
  margin: 0 10px 10px;
  line-height: 1.5;
}


/* Animations (reused from previous sections) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .news {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .title_header {
    margin-top: 1rem;
    padding: 1.5rem 0;
  }

  .highlight-header {
    width: clamp(100px, 25vw, 150px);
    margin: -1.5rem auto 1.5rem;
  }

  .see_all {
    width: 95%;
    margin: 5px auto 10px;
    font-size: 0.8rem;
  }

  .news_card_container {
    grid-template-columns: 1fr;
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .news_card {
    height: 36vh;
  }

  .news_card img {
    height: 120px;
  }

  .news_card h2 {
    font-size: 0.9rem;
  }

  .news_card p {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
  }
}

/*=============== PARTNERS & COLLABORATORS ===============*/
.partners_and_collaborators {
  width: 100%;
  background: var(--white-color);
  padding: 40px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.partners_and_collaborators .title_header {
  margin-top: 3rem;
  color: var(--black-color);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 600;
  padding: 2.5rem 0;
  text-align: center;
  opacity: 0;
  transform: translateY(1rem);
}

.partners_and_collaborators .title_header.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.partners_and_collaborators .highlight-header {
  background-color: var(--primary-green);
  width: clamp(150px, 20vw, 250px);
  height: 8px;
  border-radius: 5px;
  margin: -2rem auto 2.5rem;
  opacity: 0;
}

.partners_and_collaborators .highlight-header.animate {
  animation: fadeIn 0.8s ease forwards 0.2s;
}

.logo-slider {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0px 0px 80px;
}

.logo-track {
  display: flex;
  animation: none; /* Animation starts only when visible */
}

.logo-track.animate {
  animation: scroll 15s linear infinite;
}

.logo-track img {
  aspect-ratio: 1/1;
  height: 150px;
  width: 150px;
  margin: 0 20px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(1rem);
  cursor: pointer;
}

.logo-track img.animate {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(0.1s * var(--logo-index));
}

@media (hover: hover) {
  .logo-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/*=============== CONTACT US ===============*/
.contact_us {
  width: 100%;
  background: linear-gradient(to bottom, #00796B, #05897A);
  color: var(--white-color);
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact_content {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.contact_content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(1rem);
}

.contact_content h1.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.contact_content h2 {
  font-size: 1.2rem;
  margin: 30px 50px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(1rem);
}

.contact_content h2.animate {
  animation: fadeInUp 0.6s ease forwards 0.2s;
}

.contact_content h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  font-weight: 300;
  opacity: 0;
  transform: translateY(1rem);
}

.contact_content h3.animate {
  animation: fadeInUp 0.6s ease forwards 0.3s;
}

.contact_content h3 strong {
  font-weight: 700;
}

.divider {
  width: 1000px;
  height: 1px;
  background: var(--white-color);
  border: none;
  margin: 40px auto;
  opacity: 0;
}

.divider.animate {
  animation: fadeIn 0.8s ease forwards 0.4s;
}

.social_icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  opacity: 0;
}

.social_icons.animate {
  animation: fadeIn 0.8s ease forwards 0.5s;
}

.social_icons a {
  color: var(--white-color);
  font-size: 2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
  .social_icons a:hover {
    color: var(--gray);
    transform: scale(1.1);
  }
}

.footer_nav {
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0;
}

.footer_nav.animate {
  animation: fadeIn 0.8s ease forwards 0.6s;
}

.footer_nav a {
  color: var(--white-color);
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

@media (hover: hover) {
  .footer_nav a:hover {
    color: var(--gray);
  }
}

.copyright {
  font-size: 0.8rem;
  opacity: 0;
}

.copyright.animate {
  animation: fadeIn 0.8s ease forwards 0.7s;
}

/* Animations (reused from previous sections) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .partners_and_collaborators {
    padding-top: 0;
    padding-bottom: 20px;
    margin-bottom: 50px;
  }

  .partners_and_collaborators .title_header {
    margin: 0;
    padding: 1.5rem 0;
  }

  .partners_and_collaborators .highlight-header {
    width: clamp(100px, 25vw, 150px);
    margin: -1rem auto 3rem;
  }

  .logo-track img {
    height: 60px;
    margin: 0 10px;
  }

  .logo-track.animate {
    animation: scroll 15s linear infinite;

  }
  .contact_us {
    padding: 40px 0;
    height: clamp(550px, 90vh, 600px);
  }

  .contact_content h1 {
    font-size: 1.5rem;
  }

  .contact_content h2 {
    font-size: 1rem;
    margin: 20px 30px;
  }

  .contact_content h3 {
    font-size: 1rem;
  }

  .divider {
    width: 100%;
  }

  .social_icons {
    gap: 20px;
  }

  .social_icons a {
    font-size: 1.3rem;
  }

  .footer_nav {
    font-size: 0.8rem;
  }

  .copyright {
    font-size: 0.7rem;
  }
}


grants_card_light p,
.grants_card_dark p {
  font-size: clamp(0.8rem, 2.5vw, 0.875rem);
  margin-bottom: 1.5rem;
}

.grants_card_light p {
  color: var(--primary-green);
}

.grants_card_dark p {
  color: var(--white-color);
}

.grants_card_light button,
.grants_card_dark button {
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.8rem, 2vw, 1rem);
  width: clamp(120px, 25vw, 160px);
  border-radius: 3rem;
  border: none;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s ease, background-image 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

@media (hover: hover) {
  .grants_card_light button:hover,
  .grants_card_dark button:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  }
}

.grants_card_light button {
  background-image: linear-gradient(to top, #00796B, #03A693);
  color: var(--white-color);
}

.grants_card_dark button {
  background-image: linear-gradient(to top, #DEFFFB, #FAFFFE);
  color: var(--primary-green);
}

.button_see_all_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 5rem;
  margin-bottom: 2rem;

  padding-top: clamp(0, )
}

.button_see_all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(100px, 15vw, 120px);
  height: clamp(2rem, 5vw, 2.5rem);
  border: 2px solid var(--primary-green);
  border-radius: 5px;
  background-color: transparent;
  color: var(--primary-green);
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}

.button_see_all.animate {
  animation: fadeIn 0.6s ease forwards 0.4s;
}

@media (hover: hover) {
  .button_see_all:hover {
    background-color: var(--primary-green);
    color: var(--white-color);
    transform: scale(1.05);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Media Queries for Additional Responsiveness */
@media screen and (max-width: 600px) {
  .grants-projects {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .title_header {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }

  .highlight-header {
    width: clamp(100px, 25vw, 150px);
    margin: -1.5rem auto 1.5rem;
  }

  .grants_card_container {
    width: 95%;
    grid-gap: 1rem;
  }

  .grants_card_light,
  .grants_card_dark {
    padding: 1.5rem 0.75rem 3rem;
    min-height: clamp(250px, 60vw, 320px);
    border-radius: 1.5rem;
  }

  .grants_card_light button,
  .grants_card_dark button {
    bottom: -0.5rem;
    padding: clamp(0.7rem, 2.5vw, 0.9rem) clamp(0.6rem, 1.5vw, 0.8rem);
    width: clamp(100px, 30vw, 140px);
    border-radius: 2.5rem;
  }

  .button_see_all_container {
    min-height: 4rem;
  }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
  .grants_card_container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .grants_card_light,
  .grants_card_dark {
    padding: 1.75rem 1rem 3.5rem;
    min-height: clamp(280px, 45vw, 360px);
  }

  .grants_card_light button,
  .grants_card_dark button {
    padding: clamp(0.75rem, 2.5vw, 0.9rem) clamp(0.7rem, 2vw, 1rem);
    width: clamp(110px, 25vw, 150px);
  }
}

/*=============== PUBLICATIONS ===============*/
.publications {
  width: 100%;  
  background: var(--white-color);
  position: relative;
  overflow: hidden;
  padding: 40px 0
}

.content_publications {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 35px;
}

.publications_wrapper {
  max-width: 1100px;
  width: 100%;
  position: relative;
}

.publications_wrapper > i.ri-arrow-left-s-line,
.publications_wrapper > i.ri-arrow-right-s-line {
  height: 50px;
  width: 50px;
  background: var(--white-color);
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 1.25rem;
  transform: translateY(-50%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  opacity: 0;
}

.publications_wrapper > i.ri-arrow-left-s-line.animate,
.publications_wrapper > i.ri-arrow-right-s-line.animate {
  animation: fadeIn 0.6s ease forwards 0.4s;
}

@media (hover: hover) {
  .publications_wrapper > i.ri-arrow-left-s-line:hover,
  .publications_wrapper > i.ri-arrow-right-s-line:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: var(--primary-green);
    color: var(--white-color);
  }
}

.publications_wrapper > i.ri-arrow-left-s-line { left: -80px; }
.publications_wrapper > i.ri-arrow-right-s-line { right: -80px; }

.publications_card_container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 4 ));
  
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-behavior: smooth; /* Smooth scrolling */
  scrollbar-width: none; /* Hide scrollbar (Firefox) */
  -ms-overflow-style: none; /* Hide scrollbar (IE/Edge) */
  place-items: center;

  padding-bottom: 20px;
  min-width: 400px;
  overflow-y: hidden;
}

.publications_card_container::-webkit-scrollbar {
  display: none; /* Hide scrollbar (Chrome/Safari) */
}

.publications_card {
  list-style: none;
  height: 400px;
  width: 244px;
  border-radius: 10px;
  display: flex;
  padding: 15px;
  justify-content: center;
  flex-direction: column;
  background: var(--white-color);
  cursor: pointer;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publications_card.animate {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(0.1s * var(--card-index));
}

@media (hover: hover) {
  .publications_card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  }
}

.publications_card img {
  aspect-ratio: 210/297;
  max-width: 150px;
  object-fit: cover;
  object-position: center;
  margin-left: auto;
  margin-right: auto;
}

.publications_card h2 {
  font-weight: 500;
  font-size: 16px;
  color: var(--primary-green);
  margin: 10px 0 5px;
  text-align: left;

  display: -webkit-box;
  -webkit-line-clamp: 2;        
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publications_card h3 {
  font-weight: 400;
  font-size: 14px;
  color: var(--black-color);
  margin: 5px 0 5px;
  text-align: justify;

  display: -webkit-box;
  -webkit-line-clamp: 3;        
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publications_metrics {
  font-weight: 400;
  font-size: 16px;
  color: var(--gray);
  text-align: justify;
}

.publications_metrics i {
  margin-right: 5px;
}

/* Reuse styles from grants and projects for consistency */
/*.title_header {
  color: var(--black-color);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 600;
  padding: 2.5rem 0;
  text-align: center;
  opacity: 0;
  transform: translateY(1rem);
}


.title_header.animate {
  animation: fadeInUp 0.6s ease forwards;
}
*/

.highlight-header {
  background-color: var(--primary-green);
  width: clamp(150px, 20vw, 250px);
  height: 8px;
  border-radius: 5px;
  margin: -2rem auto 2.5rem;
  opacity: 0;
}

.highlight-header.animate {
  animation: fadeIn 0.8s ease forwards 0.2s;
}

/*
.button_see_all_container {
  padding-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 5rem;
  margin-bottom: 1rem;
}

.button_see_all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(100px, 15vw, 120px);
  height: clamp(2rem, 5vw, 2.5rem);
  border: 2px solid var(--primary-green);
  border-radius: 5px;
  background-color: transparent;
  color: var(--primary-green);
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}

.button_see_all.animate {
  animation: fadeIn 0.6s ease forwards 0.4s;
}

@media (hover: hover) {
  .button_see_all:hover {
    background-color: var(--primary-green);
    color: var(--white-color);
    transform: scale(1.05);
  }
}
*/

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 600px) {
  .publications {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .content_publications {
    padding: 0 20px;
  }

  .publications_wrapper > i.ri-arrow-left-s-line { left: -20px; }
  .publications_wrapper > i.ri-arrow-right-s-line { right: -20px; }

  .publications_wrapper > i.ri-arrow-left-s-line,
  .publications_wrapper > i.ri-arrow-right-s-line {
    height: 40px;
    width: 40px;
    line-height: 40px;
    font-size: 1rem;
  }

  .publications_card_container {
    grid-auto-columns: calc((100% / 2) - 8px); /* 2 cards visible on mobile */
    gap: 12px;
  }

  .publications_card {
    width: 200px;
    height: 300px;
  }

  .publications_card img {
    width: 120px;
    height: 200px;
  }

  .title_header {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }

  .highlight-header {
    width: clamp(100px, 25vw, 150px);
    margin: -1.5rem auto 1.5rem;
  }

  .button_see_all_container {
    min-height: 4rem;
  }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
  .publications_card_container {
    grid-auto-columns: calc((100% / 3) - 10px); /* 3 cards visible on tablet */
    gap: 12px;
  }

  .publications_card {
    width: 220px;
    height: 320px;
  }

  .publications_card img {
    width: 130px;
    height: 220px;
  }
}

/*=============== NEWS ===============*/
.news {
  width: 100%;
  min-height: calc(97vh - var(--header-height));
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.41) 41%,
    rgba(178, 255, 246, 0.20) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 40px 0
}

/*.title_header {
  color: var(--black-color);
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.5rem, 5vw, 1.5rem);
  font-weight: 600;
  padding: 2.5rem 0;
  text-align: center;
  opacity: 0;
  transform: translateY(1rem);
}

.title_header.animate {
  animation: fadeInUp 0.6s ease forwards;
}*/

.highlight-header {
  background-color: var(--primary-green);
  width: clamp(150px, 20vw, 250px);
  height: 8px;
  border-radius: 5px;
  margin: -2rem auto 2.5rem;
  opacity: 0;
}

.highlight-header.animate {
  animation: fadeIn 0.8s ease forwards 0.2s;
}

.see_all {
  width: 90%;
  max-width: 1100px;
  margin: 10px auto 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-green);
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
}

.see_all.animate {
  animation: fadeIn 0.6s ease forwards 0.4s;
}

.see_all i {
  font-size: 1rem;
  margin-left: 5px;
}

@media (hover: hover) {
  .see_all:hover {
    color: var(--darker-green);
  }
}

.content_news {
  height: 400;
  padding: 20px;
}

.news_card_container {
  width: 90%;
  max-width: 1100px;
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

  place-items: center;
}

.news_card {
  width: 90%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  background: #FAFFFE;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  opacity: 0;
  transform: translateY(1.5rem);
}

.news_card.animate {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(0.1s * var(--card-index));
}

@media (hover: hover) {
  .news_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  }
}

.news_card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.news_card h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-green);
  margin: 10px;
  flex-shrink: 0;

  display: -webkit-box;
  -webkit-line-clamp: 2;   
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news_card p {
  font-size: 1rem;
  color: var(--gray);
  margin: 0 10px 10px;
  line-height: 1.5;
  text-align: justify;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.news_card span {
  font-size: 1rem;
  color: var(--gray);
  margin: 0 10px 10px;
  line-height: 1.5;
}


/* Animations (reused from previous sections) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .news {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .title_header {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }

  .highlight-header {
    width: clamp(100px, 25vw, 150px);
    margin: -1.5rem auto 1.5rem;
  }

  .see_all {
    width: 95%;
    margin: 5px auto 10px;
    font-size: 0.8rem;
  }

  .news_card_container {
    grid-template-columns: 1fr;
    width: 95%;
  }

  .news_card {
    height: 280px;
  }

  .news_card img {
    height: 120px;
  }

  .news_card h2 {
    font-size: 0.9rem;
  }

  .news_card p {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
  }
}

/*=============== PARTNERS & COLLABORATORS ===============*/
.partners_and_collaborators {
  width: 100%;
  background: var(--white-color);
  padding: 40px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.partners_and_collaborators .title_header {
  margin-top: 3rem;
  color: var(--black-color);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 600;
  padding: 2.5rem 0;
  text-align: center;
  opacity: 0;
  transform: translateY(1rem);
}

.partners_and_collaborators .title_header.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.partners_and_collaborators .highlight-header {
  background-color: var(--primary-green);
  width: clamp(150px, 20vw, 250px);
  height: 8px;
  border-radius: 5px;
  margin: -2rem auto 2.5rem;
  opacity: 0;
}

.partners_and_collaborators .highlight-header.animate {
  animation: fadeIn 0.8s ease forwards 0.2s;
}

.logo-slider {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0px 0px 80px;
}

.logo-track {
  display: flex;
  animation: none; /* Animation starts only when visible */
}

.logo-track.animate {
  animation: scroll 15s linear infinite;
}

.logo-track img {
  aspect-ratio: 1/1;
  height: 150px;
  width: 150px;
  margin: 0 20px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(1rem);
  cursor: pointer;
}

.logo-track img.animate {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(0.1s * var(--logo-index));
}

@media (hover: hover) {
  .logo-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/*=============== CONTACT US ===============*/
.contact_us {
  width: 100%;
  background: linear-gradient(to bottom, #00796B, #05897A);
  color: var(--white-color);
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact_content {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.contact_content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(1rem);
}

.contact_content h1.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.contact_content h2 {
  font-size: 1.2rem;
  margin: 30px 50px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(1rem);
}

.contact_content h2.animate {
  animation: fadeInUp 0.6s ease forwards 0.2s;
}

.contact_content h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  font-weight: 300;
  opacity: 0;
  transform: translateY(1rem);
}

.contact_content h3.animate {
  animation: fadeInUp 0.6s ease forwards 0.3s;
}

.contact_content h3 strong {
  font-weight: 700;
}

.divider {
  width: 1000px;
  height: 1px;
  background: var(--white-color);
  border: none;
  margin: 40px auto;
  opacity: 0;
}

.divider.animate {
  animation: fadeIn 0.8s ease forwards 0.4s;
}

.social_icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  opacity: 0;
}

.social_icons.animate {
  animation: fadeIn 0.8s ease forwards 0.5s;
}

.social_icons a {
  color: var(--white-color);
  font-size: 2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
  .social_icons a:hover {
    color: var(--gray);
    transform: scale(1.1);
  }
}

.footer_nav {
  font-size: 0.9rem;
  margin-bottom: 10px;
  opacity: 0;
}

.footer_nav.animate {
  animation: fadeIn 0.8s ease forwards 0.6s;
}

.footer_nav a {
  color: var(--white-color);
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

@media (hover: hover) {
  .footer_nav a:hover {
    color: var(--gray);
  }
}

.copyright {
  font-size: 0.8rem;
  opacity: 0;
}

.copyright.animate {
  animation: fadeIn 0.8s ease forwards 0.7s;
}

/* Animations (reused from previous sections) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .partners_and_collaborators {
    padding: 20px 0;
    margin-bottom: 80px;
  }

  .partners_and_collaborators .title_header {
    margin-top: 2rem;
    padding: 1.5rem 0;
  }

  .partners_and_collaborators .highlight-header {
    width: clamp(100px, 25vw, 150px);
    margin: -1.5rem auto 1.5rem;
  }

  .logo-track img {
    height: 180px;
    margin: 0 10px;
  }

  .logo-track.animate {
    animation: scroll 15s linear infinite;
  }

  .contact_us {
    padding: 40px 0;
    height: clamp(550px, 90vh, 600px);
  }

  .contact_content h1 {
    font-size: 1.5rem;
  }

  .contact_content h2 {
    font-size: 1rem;
    margin: 20px 30px;
  }

  .contact_content h3 {
    font-size: 1rem;
  }

  .divider {
    width: 100%;
  }

  .social_icons {
    gap: 20px;
  }

  .social_icons a {
    font-size: 1.3rem;
  }

  .footer_nav {
    font-size: 0.8rem;
  }

  .copyright {
    font-size: 0.7rem;
  }
}