/* fonts */
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

/* base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

body {
  font-family: "Lato", sans-serif;
  background: #e4dfd9;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  padding: 0 1.5rem;
}

/* global hierarchy font */
h1,
h2 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  line-height: 1;
  color: #000000;
}

h1 i,
h1 em,
h2 i,
h2 em {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 700;
}

h2 {
  font-size: 34px;
  margin-bottom: 1.5rem;
}

h3 {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  color: #000000;
}

h3 i,
h3 em {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 400;
}

/* navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(244, 95, 47, 0.2);
  box-shadow: 0 2px 12px rgba(0, 55, 130, 0.08);
}

.navbar .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
}

.nav-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.hamburger {
  font-size: 1.8rem;
  color: #003782;
  cursor: pointer;
  transition: color 0.2s;
}

.hamburger:hover {
  color: #f45f2f;
}

.nav-menu {
  display: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #808080;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: black;
}
.nav-menu a.active {
  color: black;
}

/* mobile menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: #e4dfd9;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.menu-overlay.active {
  transform: translateX(0);
}
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
}
.menu-header img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.close-btn {
  font-size: 1.3rem;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    color 0.3s;
}
.close-btn:hover {
  background: #000000;
  color: #ffffff;
}
.menu-links {
  display: flex;
  flex-direction: column;
}
.menu-links a {
  font-size: 2.5rem;
  font-weight: 700;
  padding: 1.2rem 1.5rem;
  text-decoration: none;
  color: black;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
}
.menu-links a:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.menu-links a:hover,
.menu-links a.active {
  background: #001f3e;
  color: #ffde59;
}
.menu-links a i,
.menu-links a em {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 700;
}
.menu-links a:hover i,
.menu-links a.active i,
.menu-links a:hover em,
.menu-links a.active em {
  color: #ffffff;
}
.menu-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #001f3e;
}
.menu-footer i {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: italic;
}
.menu-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #001f3e;
}
.menu-footer i {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: italic;
}

/* biodata hero */
.biodata-hero {
  position: relative;
  background-image: url("../assets/profile/profile-hero.png");
  background-size: cover;
  background-position: center;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding: 5rem 0;
}

.biodata-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 31, 62, 0.8) 100%
  );
}

.biodata-content {
  position: relative;
  z-index: 2;
  color: white;
}

.biodata-content h1 {
  font-size: clamp(3.2rem, 7vw, 4.5rem);
  color: #ffde59;
  margin-bottom: 0.2rem;
}

.biodata-content h1 i {
  color: white;
}

.biodata-content h3 {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: white;
}

.biodata-content h3 i {
  color: white;
}

/* bio details */
.bio-details {
  background-color: #e4dfd9;
  padding: 5rem 0;
}

.bio-details .content-wrapper {
  max-width: 1280px;
}

.bio-details h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
}

.bio-details p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Quote section */
.quote-section {
  position: relative;
  background-image: url("../assets/our-activity-1.png");
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  text-align: center;
}

.quote-overlay {
  background: rgba(0, 31, 62, 0.7);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.quote-section h4 {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 25.5px;
  font-weight: 700;
  line-height: 1.3;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.quote-section h4 i {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 700;
}

/* Stars Slider */
.stars-slider-section {
  background-color: #001f3e;
  padding: 5rem 0;
  overflow: hidden;
}

.stars-slider-section .grid-header h2 {
  color: white;
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  margin-bottom: 3rem;
}

.starSwiper {
  width: 100%;
  overflow: visible;
}
.swiper-slide {
  width: 220px;
}

.star-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
}

.star-image {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  background-color: #1a2635;
  position: relative;
}

.star-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.star-text .star-name {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
}

.star-text .star-title {
  display: block;
  font-size: 0.9rem;
  opacity: 0.7;
}

.star-text {
  margin-right: 1rem;
  display: flex;
  flex-direction: column;
}

.star-arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.star-arrow:hover {
  background: white;
  color: #001f3e;
}

.star-arrow i {
  font-size: 1.2rem;
  transform: rotate(-45deg);
}

.founder-badge {
  position: absolute;
  top: 10px;
  left: -12px;
  background-color: #f45f2f;
  color: #000000;
  font-weight: 900;
  padding: 8px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  z-index: 10;
}

.footer {
  background: #e4dfd9;
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  max-width: 160px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .swiper-slide {
    width: 167px;
  }
}

@media (min-width: 768px) {
  h2 {
    font-size: 54px;
  }

  .hamburger {
    display: none;
  }
  .nav-menu {
    display: flex;
  }

  .navbar .content-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-logo {
    grid-column: 1;
  }
  .nav-menu {
    grid-column: 3;
    justify-self: end;
  }

  .biodata-hero {
    min-height: 800px;
  }

  .biodata-content h1 {
    font-size: 81px;
  }

  .swiper-slide {
    width: 260px;
  }
}
