:root {
  --brand: #8F5DE4;
  --text: #0f1020;
  --muted: #5b5e6a;
  --bg: #ffffff;
  --card: #f7f7fb;
  --border: #e6e6f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: var(--text);
  background: var(--bg);
  font-size: 18px; 
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: saturate(160%) blur(6px);
  background: color-mix(in oklab, var(--bg), transparent 15%);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}


.hero {
  background: url("images/background.jpg") no-repeat center center;
  background-position: 40% 30%;
  height: 450px; /* adjust as needed */
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
}
.brand span { color: var(--brand); }

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-color: var(--brand); }

.nav-toggle { display: none; }

/* Sections */
.section { padding: 2rem 0; scroll-margin-top: 72px; }

.hero {
  padding: 6.5rem 0 5rem;
  text-align: left;
}
.hero h1 {
  margin: 0 0 0.6rem 0;
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  line-height: 1.15;
}
.subtitle { color: #fff; margin: 0.2rem 0 1.4rem; }

.cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.button {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--brand);
}
.button.primary { background: var(--brand); color: #fff; }
.button.ghost { color: var(--brand); background: transparent; }

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Make the About page card slightly wider */
.about-cols {
  grid-template-columns: 1fr 1fr;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
}

.bullets { padding-left: 1.1rem; }
.bullets li { margin: 0.2rem 0; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  text-align: center;
}

.member .avatar {
  width: 300px;       /* bigger size */
  height: 300px;      /* keep it square */
  object-fit: contain; /* show whole image, no cropping */
  background: transparent;
  border-radius: 50%; /* makes it circular */
  margin: 0 auto 1rem;
  display: block;
}

.member h3 {
  margin-bottom: 0.25rem; /* tighten gap below name */
}

.member .role {
  margin: 0;              /* remove extra spacing */
  font-size: 1rem;
  color: var(--muted);
}

.member .experience {
  margin: 0.1rem 0 0;     /* very small gap above experience */
  font-size: 0.9rem;
  color: #666;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 50px;
  height: 50px;
  margin-right: 0.2rem;
}

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

.how-item {
  text-align: center;
}
.how-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.how-item p {
  font-size: 0.95rem;
  color: #555;
}

.how-item .how-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 1rem;
}



/* Contact */
.contact-form { display: grid; gap: 0.8rem; }
.contact-form label { display: grid; gap: 0.35rem; font-size: 0.95rem; }
input, textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font: inherit; color: inherit; background: #fff;
}
input:focus, textarea:focus { outline: 2px solid color-mix(in oklab, var(--brand), white 60%); }


.link { color: var(--brand); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 1.2rem 0; color: var(--muted); }

/* Responsive */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-toggle { display: inline-block; background: transparent; border: none; font-size: 1.2rem; }
  .nav-links { position: absolute; right: 4%; top: 56px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 0.5rem 0.8rem; flex-direction: column; gap: 0.4rem; display: none; }
  .nav-links.open { display: flex; }
  .team-grid { grid-template-columns: 1fr; }
}
