:root {
  --primary-color: #2e2e2e;
  --accent-color: #f0f4f8;
  --highlight-color: #000;

  --font-serif: 'EB Garamond', serif;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-serif);
}

/* ============================= */
/*         NAVIGATION BAR       */
/* ============================= */



/* ============================= */
/*         TEAM SECTION         */
/* ============================= */
.team-section {
  padding: 5rem 2rem;
  background: #f7f7f7;
  color: #000;
   background: url('../assets/team-bg.jpg') center center / cover no-repeat;
}

.team-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.team-content h1 {
  position: relative;
  display: inline-block;
  margin: 0 auto 2.5rem;
  padding-bottom: 0.4rem;
}

.team-content h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 150px;
  height: 3px;
  background-color: #fff;
  transform: translateX(-50%);
  animation: underline-grow 1s ease-out forwards;
}
@keyframes underline-grow {
  to {
    width: 80px;
  }
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* ========== TEAM CARD BASE STYLING ========== */
.team-card {
  position: relative;
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(10px);
  padding: 2rem;
  margin: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
}

/* Hover Effect */
.team-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  border-color: #fff;
}

/* ========== CORNER SQUARES ========== */
.team-card::before,
.team-card::after,
.team-card span::before,
.team-card span::after {
  content: '';
  position: absolute;
  background: #000;
  z-index: 2;
}

/* Top-left & Bottom-right corners */
.team-card::before {
  width: 20px;
  height: 2px;
  top: 0;
  left: 0;
}
.team-card::after {
  width: 20px;
  height: 2px;
  bottom: 0;
  right: 0;
}
.team-card span::before {
  width: 2px;
  height: 20px;
  top: 0;
  left: 0;
}
.team-card span::after {
  width: 2px;
  height: 20px;
  bottom: 0;
  right: 0;
}

/* Add a hidden span element to trigger extra corners */
.team-card span.corner-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* =================== */
/*   TRIANGLE BACKGROUND */
/* =================== */
.triangle-background svg {
  position: absolute;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

.t1 { top: 5%; left: -20px; transform: rotate(-10deg) scale(1.2); fill: #e6e6e6; }
.t2 { bottom: 8%; right: 12%; transform: rotate(18deg) scale(1); fill: #f0f0f0; }
.t3 { top: 28%; left: 60%; transform: rotate(-15deg) scale(1.1); fill: #dedede; }
.t4 { top: 60%; right: 25%; transform: rotate(12deg) scale(0.9); fill: #eeeeee; }
.t5 { bottom: 10%; left: 18%; transform: rotate(24deg) scale(0.95); fill: #d3d3d3; }
.team-grid.bottom-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card:nth-last-child(2),
.team-card:last-child {
  justify-self: center;
}





footer {
  text-align: center;
  padding: 1rem;
  background-color: var(--accent-color);
  color: #000;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
}
.footer-extra {
  margin-top: 0.5rem;
  font-size: 0.85rem;
    position: relative;
  z-index: 2;
}

@media (max-width: 768px) {

  .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

}





/* Body text stays as Garamond */
body, p, li, span {
  font-family: 'EB Garamond', serif;
}

/* Headings use Playfair Display */
h1, h2, h3, .section-title {
  font-family: 'Playfair Display', serif;
}
/* ========== NAVBAR DESKTOP ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 0 2rem;
  height: 130px;
  position: relative;
  z-index: 1000;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #ccc;
  padding-right: 2rem;
  height: 100%;
  width: 230px;
}

.logo-img {
  height: 90px;
  width: auto;
  padding-left: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
  position: relative;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #000;
  line-height: 1.6;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 1rem;
  font-family: 'EB Garamond', serif;
  font-weight: 400;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  right: 0;
  background-color: var(--highlight-color);
  transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  padding: 0.5rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1100;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content li {
  padding: 0.5rem 1rem;
 
}

.dropdown-content a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  display: block;
}
@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 1.2rem;
    background: #fff;
    position: relative;
    z-index: 9999;
  }

  .navbar-left {
    display: flex;
    align-items: center;
  }

  .logo-img {
    height: 42px;
    
    padding-left: 0;
  }

  .logo-text {
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
  
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 10001;
    margin-left: auto;
  }

  .burger div {
    width: 100%;
    height: 2px;
    background: #000;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100vw;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    z-index: 9998;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #000;
    display: block;
    text-align: left;
  }

  .dropdown-content {
    display: none;
    flex-direction: column;
    background: #f9f9f9;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }

  .dropdown-content a {
    padding-left: 2rem;
    font-size: 0.95rem;
  }

  .dropdown-toggle::after {
    content: "▼";
    float: right;
    font-size: 0.7rem;
    margin-left: 0.5rem;
  }
}
/* ========== NAVBAR MOBILE ========== */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 1rem 1.2rem;
    height: auto;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 10001;
    margin-left: auto;
  }

  .burger div {
    width: 100%;
    height: 2px;
    background: #000;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100vw;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    z-index: 9998;
  }

  .nav-links.open {
    display: flex;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-left: 2px solid #eee;
  }

  .dropdown-content {
    position: relative;
    width: 100%;
    box-shadow: none;
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 0;
  }

  .dropdown-content li {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .dropdown-content a {
    padding: 1rem 1.5rem;
    display: block;
    width: 100%;
    font-size: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
  }

  .dropdown-toggle::after {
    content: "▼";
    margin-left: 0.5rem;
    font-size: 0.7rem;
    vertical-align: middle;
    color: #000;
    font-weight: bold;
  }

  .dropdown.open .dropdown-toggle::after {
    content: "▲";
  }
}
