:root {
  --primary: #3180d4;
  --dark: #0f172a;
  --text: #1f2937;
  --soft: #f4f8fc;
  --radius: 18px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.65;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 10;
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

/* Nav links with underline animation */
nav a {
  position: relative;
  margin-left: 22px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  border-radius: 10px;
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  background: linear-gradient(
    120deg,
    #ffffff 40%,
    #eef5ff 100%
  );
  padding: 120px 20px;
}

.hero-content {
  max-width: 900px;
  margin: auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  color: #4b5563;
}

/* Sections */
.section {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: var(--dark);
}

.section p {
  max-width: 750px;
  color: #4b5563;
}

.soft {
  background: var(--soft);
}

/* Cards (cozy + curved) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.card {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(49, 128, 212, 0.12);
}

/* Links (global underline animation) */
a {
  position: relative;
  color: var(--primary);
  text-decoration: none;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
  border-radius: 10px;
}

a:hover::after {
  transform: scaleX(1);
}

/* Footer */
footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  padding: 34px 20px;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  nav a {
    margin-left: 14px;
  }
}
.brand img {
  height: 102px;        /* increase size */
  width: auto;
  display: block;
}

.brand a::after {
  display: none !important;
}

.form-page {
  max-width: 640px;
  margin: 100px auto;
  padding: 0 20px;
  animation: fadeUp 0.6s ease;
}

.form-page h1 {
  font-size: 2.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.subtitle {
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.sib-form {
  background: #fff;
  border-radius: 22px;
  padding: 42px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.07);
}

.field {
  position: relative;
  margin-bottom: 30px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 15px 16px;
  border: 1.5px solid #e1e1e1;
  border-radius: 14px;
  font-size: 0.95rem;
  background: white;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.field textarea {
  resize: vertical;
}

.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  padding: 0 6px;
  font-size: 0.85rem;
  color: #777;
  pointer-events: none;
  transition: 0.25s ease;
}

.field textarea + label {
  top: 18px;
  transform: none;
}

.field select + label {
  top: -9px;
  font-size: 0.7rem;
  color: #3180d4;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #3180d4;
  box-shadow: 0 0 0 3px rgba(49, 128, 212, 0.12);
}

.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field input:focus + label,
.field textarea:focus + label {
  top: -9px;
  font-size: 0.7rem;
  color: #3180d4;
}

.group {
  margin-bottom: 28px;
}

.group p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #444;
}

.group label {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 6px;
  cursor: pointer;
}

.group input {
  margin-right: 8px;
}

button {
  width: 100%;
  background: #3180d4;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(49, 128, 212, 0.35);
}

.footer-text {
  text-align: center;
  margin-top: 26px;
  font-size: 0.8rem;
  color: #888;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-page {
  max-width: 1200px;
  margin: 90px auto;
  padding: 0 20px;
  text-align: center;
  animation: fadeUp 0.6s ease;
}

.team-page h1 {
  font-size: 2.4rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.team-page .subtitle {
  color: #555;
  margin-bottom: 36px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.team-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.1);
}

.team-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: block;
  border: 4px solid rgba(49, 128, 212, 0.15);
}


.team-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #3180d4;
  margin: 10px 0 4px;
}

.team-role {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 12px;
}

.team-quote {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 14px;
}

.team-link {
  font-size: 0.9rem;
  color: #3180d4;
  text-decoration: none;
  position: relative;
}

.team-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #3180d4;
  transition: width 0.3s ease;
}

.team-link:hover::after {
  width: 100%;
}
