* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #eaeaea;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 100px;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background-color: #F5A952;
  color: whitesmoke;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: whitesmoke;
  min-width: 160px;
  z-index: 1;
}

.dropdown-content a {
  padding: 10px;
  text-align: left;
  color: black;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #F5A952;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media (max-width: 768px) {
  .hamburger {
      display: block;
  }

  nav {
      display: none;
      position: absolute;
      top: 110px;
      left: 0;
      width: 100%;
      background-color: whitesmoke;
  }

  nav ul {
      flex-direction: column;
  }

  nav ul li {
      text-align: center;
  }

  nav ul li a {
      padding: 15px;
  }

  .dropdown-content {
      position: static;
  }

  .dropdown:hover .dropdown-content {
      display: none;
  }

  .dropdown.active .dropdown-content {
      display: block;
  }

  /* Mobile optimization for slider content */
  .item h1 {
      font-size: 0.6rem;
  }

  .item h2 {
      font-size: 0.8rem;
      margin-bottom: 8px;
  }

  .item p {
      font-size: 0.5rem;
      margin-bottom: 8px;
  }

  .item .our-story-strategy,
  .item .our-purpose-values {
      max-width: 80%;
      padding: 15px;
  }
}


@media (max-width: 480px) {
  .hamburger {
      display: block;
  }

  nav {
      display: none;
      position: absolute;
      top: 90px;
      left: 0;
      width: 100%;
      background-color: whitesmoke;
  }

  nav ul {
      flex-direction: column;
  }

  nav ul li {
      text-align: center;
  }

  nav ul li a {
      padding: 10px;
  }

  .dropdown-content {
      position: static;
  }

  .dropdown:hover .dropdown-content {
      display: none;
  }

  .dropdown.active .dropdown-content {
      display: block;
  }

  /* Mobile optimization for slider content */
  .item h1 {
      font-size: 0.4rem;
  }

  .item h2 {
      font-size: 0.6rem;
      margin-bottom: 6px;
  }

  .item p {
      font-size: 0.4rem;
      margin-bottom: 6px;
  }

  .item .our-story-strategy,
  .item .our-purpose-values {
      max-width: 80%;
      padding: 13px;
  }
}

/* Slider Section */
.slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slide {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.item {
  flex: 1;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: black;
}

.item h1{
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: normal;
  font-size: 1rem;
  color: #333;
}

.item h2{
  font-family: "Poppins", serif;
  font-weight: 800;
  font-style: normal;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.item p{
  text-align: justify;
  margin-bottom: 15px;
  font-size: auto;
}

.item img {
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
}

.item .main-slide {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 80%;
  overflow-y: auto;
  max-height: 80%;
  opacity: 80%;
}

.item .our-story-strategy {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 50%;
  overflow-y: auto;
  max-height: 80%;
  opacity: 90%;
}

.item .our-purpose-values {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 50%;
  overflow-y: auto;
  max-height: 80%;
  opacity: 90%;
}

.button {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.button button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  margin: 0 10px;
  border-radius: 50%;
}

.button button:hover {
  background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .item .main-slide {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
    overflow-y: auto;
    max-height: 80%;
    opacity: 80%;
  }
  
  .item .our-story-strategy {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 70%;
    overflow-y: auto;
    max-height: 80%;
    opacity: 90%;
  }
  
  .item .our-purpose-values {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 70%;
    overflow-y: auto;
    max-height: 80%;
    opacity: 90%;
  }
}
@media (max-width: 480px) {
  .item .main-slide {
    background: white;
    padding: 17px;
    border-radius: 7px;
    max-width: 80%;
    overflow-y: auto;
    max-height: 80%;
    opacity: 80%;
  }
  
  .item .our-story-strategy {
    background: white;
    padding: 17px;
    border-radius: 7px;
    max-width: 70%;
    overflow-y: auto;
    max-height: 80%;
    opacity: 90%;
  }
  
  .item .our-purpose-values {
    background: white;
    padding: 17px;
    border-radius: 7px;
    max-width: 70%;
    overflow-y: auto;
    max-height: 80%;
    opacity: 90%;
  }
}

/* Interactive Heading */
.interactive-heading {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
  text-align: center;
  width: 100%;
}

.interactive-heading::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #F5A952;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.interactive-heading:hover {
  color: #F5A952;
}

.interactive-heading:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;}

/* Floating logo only on the first slide */
.item:first-child .logoo {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  animation: float 3s infinite ease-in-out;
}

/* Hide logo on other slides */
.item:not(:first-child) .logoo {
  display: none;
}

@keyframes float {
  0%, 100% {
      transform: translateX(-50%) translateY(0);
  }
  50% {
      transform: translateX(-50%) translateY(-10px);
  }
}

/*-------------- Leaders Section -----------*/
.leaders-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.leaders-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.leader-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.leader-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F5A952;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.leader-card h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #F5A952;
}

.leader-card p {
  font-size: 0.6rem;
  color: #666;
  margin-bottom: 1rem;
  text-align: justify;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #F5A952;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: grey;
}

.popout-box {
  width: 300px;
  background-color: whitesmoke;
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  position: absolute;
  bottom: -8rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.5s ease;
  z-index: 1;
}

.leader-card:hover .popout-box {
  opacity: 1;
  transform: translateY(-7rem);
}

.leader-card:not(:hover) .popout-box {
  opacity: 0;
  transform: translateY(0);
}

@keyframes show-data {
  0% {
      opacity: 0;
      transform: translateY(0);
  }
  100% {
      opacity: 1;
      transform: translateY(-7rem);
  }
}

@keyframes remove-data {
  0% {
      opacity: 1;
      transform: translateY(-7rem);
  }
  100% {
      opacity: 0;
      transform: translateY(0);
  }
}

/* Footer Section - Partners */
.logo-gallery {
  overflow: hidden;
  padding: 40px 0;
  background: #fff;
  position: relative;
}

.logo-gallery h2 {
  text-align: center;
}

.gallery-container {
  display: flex;
  animation: scroll 20s linear infinite;
  width: max-content;
}

.gallery-container img {
  height: 80px;
  margin: 0 40px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}