
/* ================= ROOT ================= */

:root {
  --orange: #f26522;
  --orange-light: #ff7a2f;

  --purple: #7b2cbf;
  --purple-dark: #641ca8;

  --dark: #222222;
  --text: #444444;
  --muted: #666666;

  --white: #ffffff;
  --light: #fff8f3;
  --light-purple: #f7efff;

  --border: #eeeeee;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  --shadow-hover: 0 16px 35px rgba(123, 44, 191, 0.14);
}

/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--light);
  color: var(--text);
  font-family: inherit;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font: inherit;
}

/* ================= COMMON CONTAINER ================= */

.container,
.team-container,
.footer-container {
  width: 92%;
  max-width: 1180px;
  margin: auto;
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 10px 0;
}

.navbar .container {
  width: 90%;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
}

/* ================= BRAND ================= */

.brand-link {
  display: flex;
  align-items: center;
  position: relative;
  height: 50px;
  min-width: 300px;
}

.logo {
  width: 50px;
  height: 50px;

  object-fit: cover;

  border-radius: 6px;

  position: absolute;
  left: 0;
}

.code {
  color: #f97316;

  position: absolute;
  left: 80px;

  font-size: 1.5rem;
  font-weight: 700;
}

.sank {
  color: #6b21a8;

  position: absolute;
  left: 170px;

  font-size: 1.5rem;
  font-weight: 700;
}

/* ================= DESKTOP NAV ================= */

.nav-menu {
  display: block;
}

.nav-links {
  list-style: none;

  display: flex;
  align-items: center;

  gap: 25px;

  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;

  color: #222;

  font-weight: 500;

  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f97316;
}

/* ================= HAMBURGER ================= */

.menu-toggle {
  display: none;

  border: none;

  background: transparent;

  color: var(--purple);

  font-size: 28px;

  line-height: 1;

  cursor: pointer;

  padding: 6px;

  z-index: 1002;
}

/* =========================================================
   TEAM HERO
========================================================= */

.team-hero {
  text-align: center;

  padding: 85px 20px 70px;

  background: linear-gradient(135deg, #fff8f3, #ffffff, #f8f0ff);
}

.team-hero-content {
  max-width: 800px;
  margin: auto;
}

.section-label {
  display: inline-block;

  color: var(--orange);

  font-size: 0.82rem;

  font-weight: 700;

  letter-spacing: 2px;

  margin-bottom: 12px;
}

.team-hero h1 {
  color: var(--purple);

  font-size: clamp(2.2rem, 5vw, 3.5rem);

  margin-bottom: 18px;

  line-height: 1.2;
}

.team-hero h1 span {
  color: var(--orange);
}

.team-hero p {
  max-width: 720px;

  margin: auto;

  color: var(--muted);

  font-size: 1rem;
}

/* =========================================================
   TEAM SECTION
========================================================= */

.team-section {
  background: #ffffff;

  padding: 80px 0 100px;
}

.team-container {
  display: flex;

  flex-direction: column;

  gap: 60px;
}

/* =========================================================
   TEAM MEMBER CARD
========================================================= */

.team-member {
  position: relative;

  min-height: 285px;

  display: grid;

  grid-template-columns:
    280px
    1fr;

  align-items: center;

  gap: 55px;

  padding: 35px 55px;

  background: #ffffff;

  border: 1px solid var(--border);

  border-left: 5px solid var(--orange);

  border-radius: 25px 70px 70px 25px;

  box-shadow: var(--shadow);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow-hover);
}

/* ================= REVERSE ================= */

.team-member.reverse {
  grid-template-columns:
    1fr
    280px;

  border-left: 1px solid var(--border);

  border-right: 5px solid var(--purple);

  border-radius: 70px 25px 25px 70px;
}

.team-member.reverse .member-photo {
  order: 2;
}

.team-member.reverse .member-details {
  order: 1;
}

/* =========================================================
   MEMBER PHOTO
========================================================= */

.member-photo {
  width: 225px;
  height: 225px;

  margin: auto;

  padding: 7px;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--orange), var(--purple));

  box-shadow: 0 8px 25px rgba(123, 44, 191, 0.18);
}

.member-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 50%;

  border: 5px solid #ffffff;

  background: #f5f5f5;
}

/* =========================================================
   MEMBER DETAILS
========================================================= */

.member-details {
  min-width: 0;
}

.member-number {
  display: block;

  color: var(--orange);

  font-size: 0.82rem;

  font-weight: 700;

  letter-spacing: 2px;

  margin-bottom: 7px;
}

/* ================= NAME ================= */

.member-name {
  min-height: 42px;

  color: var(--purple);

  font-size: clamp(1.5rem, 3vw, 2.15rem);

  font-weight: 700;

  margin-bottom: 8px;

  line-height: 1.3;

  word-break: break-word;
}

/* ================= TYPING CURSOR ================= */

.member-name.typing-name::after {
  content: "";
}

.member-name.typing-name.typing-active::after {
  content: "|";
  color: var(--orange);
  margin-left: 3px;
  animation: typingCursor 0.75s infinite;
}

@keyframes typingCursor {
  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* ================= DESIGNATION ================= */

.member-details h3 {
  color: var(--orange);

  font-size: 1.12rem;

  margin-bottom: 2px;
}

.member-role {
  display: block;

  color: var(--purple);

  font-size: 0.92rem;

  font-weight: 600;

  margin-bottom: 15px;
}

.member-details p {
  max-width: 650px;

  color: var(--muted);

  font-size: 0.95rem;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  background: linear-gradient(90deg, #f97316, #6b21a8);

  color: #fff;

  padding: 60px 10% 30px;
}

/* Footer Container */

.footer-container {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 10px;

  justify-content: center;

  align-items: flex-start;
}

/* Footer Box */

.footer-box h3 {
  font-size: 1.3rem;

  margin-bottom: 15px;

  color: #fff;

  border-left: 4px solid #fff;

  padding-left: 10px;
}

.footer-box p {
  font-size: 0.95rem;

  line-height: 1.6;

  margin-bottom: 15px;

  color: #f0e6ff;
}

.footer-box ul {
  list-style: none;

  padding: 0;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  text-decoration: none;

  color: #f0e6ff;

  transition: all 0.3s ease;
}

.footer-box ul li a:hover {
  color: #ffe6d1;

  padding-left: 6px;
}

/* ================= SOCIAL ICONS ================= */

.social-icons {
  display: flex;

  gap: 10px;

  margin-top: 15px;

  flex-wrap: wrap;
}

.social-icons a img {
  width: 30px;
  height: 30px;

  border-radius: 50%;

  background: #fff;

  padding: 6px;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.15);

  background: #f97316;
}

/* ================= FOOTER BOTTOM ================= */

.footer-bottom {
  text-align: center;

  border-top: 1px solid rgba(255, 255, 255, 0.3);

  margin-top: 40px;

  padding-top: 15px;
}

.footer-bottom p {
  font-size: 0.9rem;

  color: #f0e6ff;

  letter-spacing: 0.3px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {
  /* ================= NAVBAR ================= */

  .navbar .container {
    height: 55px;
  }

  .brand-link {
    min-width: 0;
  }

  .logo {
    left: 0;

    width: 45px;
    height: 45px;
  }

  .code {
    left: 58px;

    font-size: 1.3rem;
  }

  .sank {
    left: 136px;

    font-size: 1.3rem;
  }

  /* ================= HAMBURGER ================= */

  .menu-toggle {
    display: block;

    margin-left: auto;
  }

  /* ================= MOBILE NAV ================= */

  .nav-menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    display: none;

    background: #ffffff;

    border-top: 1px solid #eeeeee;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

    z-index: 1001;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-links {
    position: static;

    width: 100%;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    margin: 0;

    padding: 10px 0;
  }

  .nav-links li {
    width: 100%;

    text-align: center;
  }

  .nav-links a {
    display: block;

    width: 100%;

    padding: 13px 20px;

    font-size: 1rem;
  }

  .nav-links a:hover {
    background: #fff8f3;

    color: #f26522;
  }

  /* ================= TEAM ================= */

  .team-member {
    grid-template-columns:
      210px
      1fr;

    gap: 35px;

    padding: 30px 35px;
  }

  .team-member.reverse {
    grid-template-columns:
      1fr
      210px;
  }

  .member-photo {
    width: 185px;
    height: 185px;
  }

  /* ================= FOOTER ================= */

  .footer {
    padding: 50px 8% 20px;
  }

  .footer-container {
    gap: 25px;

    grid-template-columns: 1fr 1fr;
  }

  .footer-box h3 {
    font-size: 1.2rem;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .container,
  .team-container,
  .footer-container {
    width: 90%;
  }

  /* ================= NAVBAR ================= */

  .navbar {
    padding: 8px 0;
  }

  .navbar .container {
    min-height: 54px;

    height: 54px;
  }

  .brand-link {
    height: 45px;
  }

  .logo {
    width: 42px;
    height: 42px;

    left: 0;
  }

  .code {
    left: 52px;

    font-size: 1.2rem;
  }

  .sank {
    left: 126px;

    font-size: 1.2rem;
  }

  .menu-toggle {
    font-size: 27px;

    padding: 5px;
  }

  .nav-menu {
    top: 100%;
  }

  /* ================= HERO ================= */

  .team-hero {
    padding: 65px 15px 55px;
  }

  .team-hero h1 {
    font-size: 2.15rem;
  }

  .team-hero p {
    font-size: 0.92rem;
  }

  /* ================= TEAM ================= */

  .team-section {
    padding: 60px 0 70px;
  }

  .team-container {
    gap: 40px;
  }

  .team-member,
  .team-member.reverse {
    display: flex;

    flex-direction: column;

    text-align: center;

    gap: 25px;

    padding: 32px 20px;

    border: 1px solid var(--border);

    border-top: 5px solid var(--orange);

    border-radius: 25px;
  }

  .team-member.reverse {
    border-top-color: var(--purple);

    border-right: 1px solid var(--border);
  }

  .team-member .member-photo,
  .team-member.reverse .member-photo {
    order: 1;

    width: 165px;
    height: 165px;
  }

  .team-member .member-details,
  .team-member.reverse .member-details {
    order: 2;
  }

  .member-name {
    font-size: 1.5rem;

    min-height: 38px;
  }

  .member-details h3 {
    font-size: 1rem;
  }

  .member-role {
    font-size: 0.86rem;
  }

  .member-details p {
    font-size: 0.9rem;
  }

  /* ================= FOOTER ================= */

  .footer {
    padding-top: 50px;
  }

  .footer-container {
    grid-template-columns: 1fr;

    text-align: center;

    gap: 35px;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-box h3 {
    display: inline-block;
  }

  .footer-box ul {
    align-items: center;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {
  .container,
  .team-container,
  .footer-container {
    width: 92%;
  }

  .brand-link {
    gap: 3px;
  }

  .logo {
    width: 38px;
    height: 38px;
  }

  .code {
    left: 48px;

    font-size: 1.1rem;
  }

  .sank {
    left: 115px;

    font-size: 1.1rem;
  }

  .team-hero h1 {
    font-size: 1.9rem;
  }

  .member-photo {
    width: 145px !important;
    height: 145px !important;
  }

  .member-name {
    font-size: 1.35rem;
  }

  .social-icons {
    gap: 8px;
  }
}
