/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Custom Colors (CSS Variables) */
:root {
  --ibom-green: #004d25;
  --ibom-green-light: #e6f2ed;
  --ibom-orange: #ff8c00;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* Global Utility Classes */
.container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.text-center {
  text-align: center;
}

.bg-gray-light {
  background-color: var(--gray-50);
}

.bg-ibom-green {
  background-color: var(--ibom-green);
}

.text-white {
  color: #fff;
}

.text-ibom-green-light {
  color: var(--ibom-green-light);
}

.link-orange {
  color: var(--ibom-orange);
  text-decoration: none;
}

.link-orange:hover {
  text-decoration: underline;
}

.text-orange-medium {
  color: var(--ibom-orange);
  font-weight: 500;
}

.section-header {
  margin-bottom: 3rem; /* mb-12 */
}

.section-title {
  font-size: 1.5rem; /* text-3xl */
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--gray-900);
  /* margin-bottom: 1rem; */
}

.section-description {
  font-size: 1.05rem; /* text-lg */
  color: var(--gray-600);
  max-width: 900px; /* max-w-2xl */
  margin-left: auto;
  margin-right: auto;
}
.hidden {
  display: none;
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease-in-out;
  text-decoration: none; /* Ensure buttons don't have default link underline */
}

.btn--primary {
  background-color: var(--ibom-orange);
  color: #fff;
}

.btn--primary:hover {
  background-color: rgba(255, 140, 0, 0.9); /* ibomOrange-DEFAULT/90 */
}

.btn--green {
  background-color: var(--ibom-green);
  color: #fff;
  font-size: 1rem;
  padding: 0.5rem 4rem;
  margin-right: 1rem;
  border-radius: 0.5rem;
}

.btn--green:hover {
  background-color: rgba(0, 77, 37, 0.9); /* ibomGreen-DEFAULT/90 */
}

/* Icons */
.icon-chevron-down,
.icon-briefcase,
.icon-value,
.icon-map-pin,
.icon-mail {
  height: 1.25rem; /* h-5 */
  width: 1.25rem; /* w-5 */
  flex-shrink: 0;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 1rem;
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: relative; /* For mobile menu positioning */
  z-index: 20; /* Ensure header is above other content */
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  width: 200px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ibom-green);
}

.main-nav {
  display: none; /* Hidden by default, shown on larger screens */
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  background: none;
  border: none;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s ease-in-out;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--ibom-orange);
}

.nav-link--active {
  color: var(--ibom-orange);
}

.btn--internet-banking {
  display: none; /* Hidden by default, shown on larger screens */
  padding: 0.8rem 1.6rem;
  border-radius: 0.375rem;
  color: #000;
}

.btn--internet-banking .icon-briefcase {
  margin-right: 0.5rem;
  height: 1rem;
  width: 1rem;
}

.btn--internet-banking .icon-chevron-down {
  margin-left: 0.5rem;
  height: 1rem;
  width: 1rem;
}

.hamburger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: block; /* Shown by default, hidden on larger screens */
}

.hamburger-menu svg {
  height: 1.5rem;
  width: 1.5rem;
  color: var(--gray-700);
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 10;
  border-radius: 0.375rem;
  overflow: hidden;
  top: calc(100% + 0.5rem); /* Position below trigger */
  left: 0;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--gray-100);
}

/* Hero Section */
.hero-section {
  background-color: #fff;
}

.hero-content {
  max-width: 100%; /* max-w-3xl */
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-content-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--gray-900);
}

.hero-description {
  font-size: 1.125rem; /* text-lg */
  color: var(--gray-600);
}

.hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
}

.hero-logo {
  height: 3rem; /* h-12 */
  width: 3rem; /* w-12 */
}

/* Timeline Section */
.timeline-section {
  background-color: #fff;
}

.timeline-wrapper {
  max-width: 1300px; /* max-w-4xl */
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 1rem; /* left-4 */
  top: 0;
  height: 100%;
  width: 2px; /* w-0.5 */
  background-color: var(--gray-200);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  margin-bottom: 3rem; /* gap-12 */
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 1rem; /* left-4 */
  top: 0;
  transform: translate(-50%, -50%);
  width: 1rem; /* w-4 */
  height: 1rem; /* h-4 */
  border-radius: 9999px;
  background-color: var(--ibom-orange);
  z-index: 10;
}

.timeline-content {
  padding-left: 2.5rem; /* Offset for dot and line */
  text-align: left;
  margin-top: 1rem; /* mt-4 */
}

.timeline-title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 600;
  color: var(--ibom-green);
  margin-bottom: 0.5rem;
}

.timeline-text {
  color: var(--gray-600);
}

/* Vision, Mission, Values Section */
.vmv-section {
  background-color: var(--gray-50);
}

.vmv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr; /* Default for mobile */
  /* grid-template-columns: repeat(1, minmax(0, 1fr)); Default for mobile */
  gap: 1rem; /* gap-12 */
}

.vmv-card {
  border-radius: 0.5rem;
  box-shadow: none;
  /* padding: 1.5rem; */
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

/* .vmv-card--vision {
  grid-column: span 1;
}

.vmv-card--mission {
  grid-column: span 1;
}

.vmv-card--values {
  grid-column: span 2;
} */

.vmv-card--vision,
.vmv-card--mission {
  background-color: rgba(255, 140, 0, 0.1); /* ibomOrange-DEFAULT/10 */
  border: none;
}

.vmv-card--values {
  background-color: rgba(249, 244, 240, 1);
  border: none;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
}

/* .vmv-card-header {
  padding-bottom: 1rem;
} */

.vmv-card-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: start;
  margin-bottom: 1rem;
}

.vmv-card--vision .vmv-card-title,
.vmv-card--mission .vmv-card-title {
  color: var(--ibom-orange);
}

.vmv-card--values .vmv-card-title {
  color: var(--ibom-green);
}

.vmv-card-subtitle {
  color: var(--gray-700);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  text-align: start;
}

.vmv-card-content {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.vmv-card-text {
  color: var(--gray-700);
  font-size: 1rem;
  /* text-align: left; */
}
.vnv-img--wrapper {
  display: flex;
  justify-content: flex-end;
  /* z-index: -1; */
  border-radius: 0.5rem;
}
.vmv-card-title-wrapper {
  padding: 1rem;
}
.vnv-img--container {
  display: flex;
  /* justify-self: end; */
  width: 200px;
  border-radius: 0.5rem;
}

.vmv-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background-color: rgba(0, 168, 88, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.value-item .icon-value {
  height: 1.5rem;
  width: 1.5rem;

  color: var(--ibom-green);
}

.value-text {
  font-weight: 500;
  color: var(--gray-800);
}

/* Projects Section */
.projects-section {
  background-color: var(--ibom-green);
  color: #fff;
  margin-bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto;
}
.project-header {
  color: rgba(255, 255, 255, 1) !important;
}

.projects-carousel-wrapper {
  overflow-x: auto;
  width: 100%;
  padding-bottom: 1rem;
}

.projects-carousel {
  display: flex;
  gap: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: auto;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.projects-carousel::-webkit-scrollbar,
.vmv-card-content::-webkit-scrollbar {
  display: none;
}

.project-card {
  position: relative;
  flex-shrink: 0;
  width: 320px; /* w-80 */
  height: 240px; /* h-60 */
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
    animation: slider 10s linear infinite;
}

@keyframes slider {
  to {
    translate: calc(-5 *16rem);
  }
}

.project-card-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.project-card-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* Leadership Section */
.leadership-section {
  background-color: #fff;
}
.leadership-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.p-leader {
  background-color: rgba(241, 247, 237, 1);
  color: rgba(1, 81, 43, 1);
  width: fit-content;
  padding: 0.2em;
  border-radius: 20px;
  padding-inline: 20px;
}

.tabs-container {
  width: 100%;
  max-width: 896px; /* max-w-5xl */
  margin-left: auto;
  margin-right: auto;
}

.tabs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: fit-content;
  align-content: center;
  justify-self: center;
  height: auto;
  padding: 0.05rem;
  background-color: rgba(255, 245, 216, 1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* background-color: var(--gray-100); */
  border-radius: 0.5rem;
}

.tab-trigger {
  background: none;
  border: none;
  padding: 0.5rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  border-radius: 0.375rem; /* For active state */
  color: var(--gray-700);
}
/* .tab-trigger.executives {
  background-color: rgba(255, 245, 216, 1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); 
}*/

.tab-trigger.active {
  background-color: var(--ibom-orange);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tabs-content {
  margin-top: 2rem; /* mt-8 */
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr)); /* Default for mobile */
  column-gap: 5rem; /* gap-8 */
  row-gap: 2rem; /* gap-8 */
}

.leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 2.5px 3.65px -0.65px rgba(0, 0, 0, 0.1),
    0 1px 1.5px -0.5px rgba(0, 0, 0, 0.05);
}

.leader-card:first-child {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.leader-img-frame {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}

.leader-grid img {
  /* width: 20rem; w-48 */
  height: 25rem; /* h-48 */
  /* object-fit: scale-down;
  width: 100%;
  height: 100%; */
}

.leader-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.leader-title {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.leader-org {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Latest News & Updates Section */
.news-section {
  background-color: var(--gray-50);
}

.news-describe {
  max-width: 500px !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
}

.section-news {
  font-size: 1px;
  font-weight: 600;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr)); /* Default for mobile */
  gap: 1rem; /* gap-8 */
  margin-bottom: 2rem;
}

.news-card {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card-header {
  padding: 1.5rem;
  padding-bottom: 0;
}

.news-category {
  display: inline-block;
  background-color: var(--ibom-green-light);
  color: var(--ibom-green);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

.news-description-short {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
  display: block;
}

.news-card-img-wrapper {
  padding-top: 1rem;
  height: 12rem;
}

.news-card-img {
  width: 100%;
  height: 100%; /* h-48 */
  object-fit: cover;
}

/* Footer Section */
.site-footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr)); /* Default for mobile */
  gap: 2rem; /* gap-8 */
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.footer-link {
  color: rgba(212, 212, 212, 1);
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-contact-info .logo-link {
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(212, 212, 212, 1);
  font-size: 0.875rem;
}

.contact-item .icon-map-pin,
.contact-item .icon-mail {
  margin-top: 0.25rem; /* For map-pin to align with text */
}

.footer-bottom {
  margin-top: 3rem; /* mt-12 */
  padding-top: 2rem; /* pt-8 */
  text-align: start;
  font-size: 0.75rem;
  color: rgba(212, 212, 212, 1);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Responsive Adjustments (Media Queries) */
@media (min-width: 768px) {
  .md\:hidden {
    display: none;
  }
  /* md breakpoint */
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .site-header {
    padding: 0 1.5rem; /* px-6 */
  }
  .main-nav {
    display: flex;
    gap: 2rem; /* lg:gap-8 */
  }
  .btn--internet-banking {
    display: flex;
  }
  .hamburger-menu {
    display: none;
  }

  .hero-title {
    font-size: 3rem; /* text-5xl */
  }
  .hero-description {
    font-size: 1.25rem; /* text-xl */
  }

  .timeline-line {
    right: 50%; /* md:left-1/2 */
  }
  .timeline-dot {
    right: 50%; /* md:left-1/2 */
  }
  .timeline-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .timeline-item--right .timeline-content {
    width: 60%;
    padding-right: 2rem; /* md:pr-8 */
    text-align: left;
    align-self: first baseline;
    order: 2;
    margin-top: 0;
  }
  .timeline-item--right > div:last-child {
    /* Empty div for spacing */
    width: 60%;
    /* padding-left: 2rem; md:pl-8 */
    order: 1;
  }
  .timeline-item--left .timeline-content {
    width: 60%;
    padding-left: 2rem; /* md:pl-8 */
    text-align: left;
    order: 2;
    margin-top: 0;
  }
  .timeline-item--left > div:first-child {
    /* Empty div for spacing */
    /* width: 60%; */
    /* padding-right: 2rem; md:pr-8 */
    order: 1;
  }

  /* .vmv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  } */

  .section-title {
    font-size: 2rem; /* text-4xl */
  }
  .section-description {
    font-size: 1.25rem; /* text-xl */
  }
  .projects-carousel {
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
  }

  .leader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* sm:grid-cols-2 */
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* md:grid-cols-2 */
  }

  .site-footer {
    /* padding-top: 4rem;
    padding-bottom: 4rem; */
    border-top: 6px var(--ibom-orange) solid;
    background-color: #013000;
    color: rgba(212, 212, 212, 1);
    background-image: url(ibom-img/Group\ 2.png);
    background-repeat: no-repeat;
    background-position: right bottom;
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* md:grid-cols-3 */
  }
}

@media (min-width: 1024px) {
  /* lg breakpoint */
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 8rem;
  }

  .site-header {
    padding: 0 2.5rem; /* px-10 */
  }
  .main-nav {
    gap: 2rem; /* lg:gap-8 */
  }

  .hero-title {
    font-size: 3.75rem; /* text-6xl */
  }

  .section-title {
    font-size: 3.2rem; /* text-5xl */
  }
  .projects-carousel {
    padding-left: 2.5rem; /* px-10 */
    padding-right: 2.5rem; /* px-10 */
  }

  .leader-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* lg:grid-cols-3 */
  }

  .news-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* lg:grid-cols-4 */
  }

  /* .site-footer {
    padding-top: 5rem;
    padding-bottom: 5rem;
  } */
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr); /* lg:grid-cols-5, first col wider */
  }
}

@media (max-width: 900px) {
  .vmv-grid {
    grid-template-columns: 1fr;
  }
  .vmv-card-content {
    overflow-x: auto;
  }
}
