/* GOOGLE FONT */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Merriweather", sans-serif;
}

:root {
  --main-color: #359381;
  --dark-main-color: #003329;
  --grey: #333;
}

body {
  background-color: #f3f8f7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===================  NAVBAR =================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.8rem 6.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

header.sticky {
  padding: 1rem 2.2rem;
  background: #000;
}

.logo {
  color: #fff;
  font-size: 2em;
  font-weight: 700;
  pointer-events: none;
}

.navigation {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.navigation a {
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-weight: 600;
  transition: 0.3s;
  position: relative;
}

.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.navigation a:hover::after,
.navigation a.active::after {
  width: 100%;
}

.navigation a:hover,
.navigation a.active {
  background: #fff;
  color: #000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

/* ================= ABOUT ================= */

.about-hero {
  height: 80vh;

  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../Assets/About/people.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-hero h1 {
  font-size: 4em;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  text-align: center;
}

/* ================= APPROACH ================= */

.approach {
  background: #f3f8f7;
  padding: 80px 10%;
}

.approach-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.approach-title {
  font-size: 14px;
  color: var(--main-color);
  font-weight: 600;
  letter-spacing: 1px;
}

.approach-title span {
  color: var(--dark-main-color);
}

.approach-text {
  max-width: 650px;
}

.approach-text p {
  font-size: 18px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .about-hero h1 {
    font-size: 34px;
  }

  .approach {
    padding: 60px 8%;
  }

  .approach-container {
    gap: 40px;
  }

  .approach-text p {
    font-size: 17px;
  }
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  header {
    padding: 1rem 2rem;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navigation {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    width: 250px;
    padding: 2rem 1rem;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .navigation.active {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger.hide {
    display: none;
  }

  .about-hero {
    height: 60vh;
  }

  .about-hero h1 {
    font-size: 28px;
  }

  .approach-container {
    flex-direction: column;
    gap: 20px;
  }

  .approach-title {
    font-size: 13px;
  }

  .approach-text p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  header {
    display: flex;
    flex-wrap: nowrap; /* prevent wrapping */
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
  }

  .logo {
    flex: 1; /* logo takes only necessary space */
  }

  .hamburger {
    display: flex;
    cursor: pointer;
    z-index: 1001;
  }

  .navigation {
    position: fixed;
    top: 0;
    right: -100%; /* hidden by default */
    height: 100vh;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    width: 250px;
    padding: 2rem 1rem;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .navigation.active {
    right: 0; /* slide in */
  }

  .site-footer {
    font-size: 12px;
    padding: 12px 8px;
  }

  .about-hero {
    height: 55vh;
  }

  .about-hero h1 {
    font-size: 24px;
  }

  .approach {
    padding: 40px 6%;
  }

  .approach-text p {
    font-size: 15px;
  }
}

/* The team and our Values section */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 36px 80px;
}

/* ── SECTION HEADERS ── */
.section-title {
  color: var(--main-color);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 76px);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 36px;
}

.section-title.underlined {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}

/* ── TEAM SECTION ── */
.team-section {
  margin-bottom: 90px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── CARDS ── */
.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card:nth-child(1) .card-image {
  background: #1a1a2e;
  --fg: #e8d5b7;
}
.card:nth-child(2) .card-image {
  background: #2d4a3e;
  --fg: #f0c987;
}
.card:nth-child(3) .card-image {
  background: #3d1a3a;
  --fg: #e8c4d4;
}
.card:nth-child(4) .card-image {
  background: #1a2d4a;
  --fg: #c4d8e8;
}

.avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.avatar-initials {
  font-size: 22px;
  color: var(--fg, #e8d5b7);
  letter-spacing: 1px;
}

.avatar-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 70%,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.card-body {
  padding: 16px 18px 20px;
}

.card-name {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 14px;
  color: #111;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid #111;
  background: transparent;
  font-family: "Merriweather", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  cursor: pointer;
  color: #111;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.card-btn:hover {
  background: #111;
  color: #fff;
}

.btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ── VALUES SECTION ── */
.values-grid {
  background-color: #f3f8f7;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 40px;
  border-bottom: 2px solid #ddd;
}

.value-item {
  border-top: 1px solid #ddd;
  padding: 28px 28px 32px 0;
  transition: background 0.2s ease;
  border-radius: 2px;
}

.value-item:hover {
  background: #f5f3ef;
}

.value-item:not(:nth-child(3n)) {
  border-right: 1px solid #ddd;
}

.value-item:not(:nth-child(3n + 1)) {
  padding-left: 28px;
}

.value-item:nth-child(3) {
  border-bottom: 1px solid #ddd;
}

.value-num {
  font-size: 11px;
  color: #bbb;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 400;
}

.value-title {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #111;
}

.value-desc {
  font-size: 13px;
  line-height: 1.75;
  color: #5a5a5a;
  font-weight: 300;
}

/* ── RESPONSIVE: TABLET ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .team-grid {
    gap: 14px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-item {
    padding: 24px 0;
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .value-item:nth-child(odd) {
    border-right: 1px solid #ddd !important;
    padding-right: 24px !important;
  }

  .value-item:nth-child(even) {
    padding-left: 24px !important;
  }
}

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 768px) {
  .page-wrapper {
    padding: 40px 20px 60px;
  }

  .team-section {
    margin-bottom: 60px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 24px;
  }
}

/*==========Slider==========*/

@keyframes slides {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 30px 0px;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  content: "";
  width: 250px;
  height: 100%;
  z-index: 2;
}

.logos:before {
  left: 0;
}

.logos:after {
  right: 0;
}

.logo_items {
  display: inline-block;
  animation: 35s slides infinite linear;
}

.logo_items img {
  height: 100px;
}

.partners-title{
  text-align:center;
  font-size:48px;
  color:var(--main-color);
  margin-top:80px;
  margin-bottom:30px;
  text-decoration: underline;
  text-underline-offset: 8px;
}