@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #f5ebe0;
  color: #1a1a1a;
  font-weight: 300;
  min-height: 100vh;
}
/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 1000; /* ADD THIS */
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: #1a1a1a;
}
.logo a img {
  width: 200px;
}
.logo a label {
  display: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  z-index: 1100;
}

.nav-links a {
  color: #4a4a4a;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
  font-weight: 400;
  cursor: pointer;
}

.nav-links a:hover {
  color: #1a1a1a;
}

.nav-links a.active {
  color: #1a1a1a;
}
.nav-links.active {
  right: 0;
  z-index: 9999;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1100;
}

/* Close button */
.close-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

/* Impact Section */
.impact {
  padding: 12rem 4rem 8rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6a6a6a;
  margin-bottom: 1rem;
  text-shadow: 0 0 1px #000000;
}

h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: 0px;
}

h2 strong {
  font-weight: 500;
}

.impact-intro {
  max-width: 800px;
  margin-bottom: 4rem;
}

.impact-intro p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #5a5a5a;
  font-weight: 300;
}

.impact-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.impact-card {
  background: #f5f7fa;
  padding: 3rem;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
}

.impact-card:hover {
  background: #e8eef5;
  transform: translateY(-5px);
}

.impact-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.impact-card p {
  color: #5a5a5a;
  line-height: 1.7;
  font-weight: 300;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 100vh;
  overflow: hidden;

  /* background:
    url(../img/hp-hero.png) center / cover no-repeat,
    linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%); */
}

.hero_bg {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1200px;
  padding: 0 2rem;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.hero h1 strong {
  font-weight: 500;
  display: block;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #5a5a5a;
  max-width: 650px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  font-weight: 300;
}

/* About Section */
.about {
  /* background: white; */
  padding: 8rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}
.about_body {
  width: 100%;
  height: 100%;
  background: url(../img/hp-hero.png);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.ab_cont {
  padding: 2rem;
  background: #f5ebe0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}
.about-content {
  /* display: grid; */
  display: block;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #5a5a5a;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.about-visual {
  display: none;
  height: 500px;
  background: linear-gradient(135deg, #e8eef5 0%, #d4e3f0 100%);
  border-radius: 8px;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.expansion-visual {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.9),
    rgba(200, 220, 240, 0.4)
  );
  animation: expand 3s ease-in-out infinite;
}
.expansion-visual img {
  width: 100%;
  height: 100%;
}

@keyframes expand {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.3;
  }
}

/* Capital Section */
.capital {
  padding: 12rem 4rem 8rem;
  max-width: 1400px;
  margin: 0 auto;
}
.capital_page {
  background: #1a1a1a;

  width: 100%;
  height: 100%;
  background: url(../img/impact.png);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.capital h2 {
  color: #212121;
}
.capital_page footer p,
.about_body footer p {
  color: #1a1a1a;
  text-shadow: 0 0 1px #787878;
}

.link_active {
  color: #fff !important;
}

.capital_page nav.scrolled {
  background: rgb(33, 33, 33) !important;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.philosophy-card {
  padding: 2rem;
  background: #f5ebe0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.philosophy-card:hover {
  background: rgba(255, 255, 255, 0.58);
  transform: translateY(-5px);
}

.philosophy-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.philosophy-card p {
  color: #717171;
  line-height: 1.7;
  font-weight: 300;
}

/* Team Section */
.team {
  padding: 12rem 4rem 8rem;
  max-width: 1400px;
  margin: 0 auto;
}

.team-intro {
  max-width: 800px;
  margin-bottom: 4rem;
}

.team-intro p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #5a5a5a;
  font-weight: 300;
}

.team-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.team-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
}

.team-member {
  text-align: center;
}

.team-member h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.team-member .role {
  font-size: 0.9rem;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.team-member a {
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 8px;
  padding: 5px 15px;
  transition:
    color 0.5s ease-in,
    background-color 0.5s ease-in;
}
.team-member a:hover {
  color: #f5ebe0;
  background-color: rgb(33, 33, 33);
}

/* Hero */
.hero_impact {
  width: 100%;
  height: 100vh;
}
.hri_bg {
  width: 100%;
  height: 100%;
}
.hri_bg img {
  width: 100%;
  height: 100%;
}

/* Footer */
footer {
  padding: 3rem 4rem;
  text-align: center;
  color: #6a6a6a;
  font-size: 0.9rem;
}

.mobile-sh {
  display: none;
}
/* Responsive */
/* Mobile */
@media (max-width: 768px) {
  nav {
    height: 60px;
    padding: 0 4rem;
  }
  .menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(-0%, -50%);
    width: 33px;
    height: 30px;
  }
  .logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translate(-0%, -50%);
  }
  .logo a img {
    width: 120px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 270px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
  }
  .nav-links.active {
    right: 0;
    z-index: 9999;
  }

  .close-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 33px;
    height: 30px;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .impact {
    padding: 8rem 2rem 4rem;
  }
  .nav-links a {
    font-size: 2rem;
    font-family: "Cormorant Garamond", serif;
  }

  .capital {
    padding: 8rem 2rem;
  }
  .about {
    padding: 0rem 2rem 0rem 2rem;
  }

  .about_body .team {
    padding: 2rem 1rem;
  }
  .about-content {
    display: block;
  }
  .about-visual {
    height: 300px;
  }
  .mobile-sh {
    display: block;
  }
}

@media (max-width: 767px) {
  .team-row {
    display: grid;
  }
  .about_body {
    background-size: cover;
  }
}
