/* ROOT COLORS */
:root {
  --primary: hsl(142, 71%, 45%);
  --secondary: hsl(45, 93%, 54%);
  --muted: hsl(220, 9%, 46%);
  --light-bg: hsl(140, 25%, 96%);
  --gradient: linear-gradient(135deg, hsl(142, 71%, 45%), hsl(45, 93%, 54%));
  --card-bg: #ffffff;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  --radius: 26px;
  --transition: 0.35s ease;
  --container-width: 1200px;
}

/* BASIC */
* { box-sizing: border-box; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin: 0;
  background: #ffffff;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  z-index: 120;
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { height: 56px; display: block; }

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-buttons a {
  color: #606060;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 15px;
}

.nav-buttons a:hover { color: var(--primary); background: rgba(14,120,82,0.03); }
.nav-buttons a.active { color: var(--primary); }

/* PAGE LAYOUT */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* TEAM SECTION */
.team-section {
  padding: 140px 0 100px; /* header offset */
  background: linear-gradient(180deg, #ffffff 0%, var(--light-bg) 100%);
}

/* HEADINGS */
.section-title {
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  margin: 0;
  margin-bottom: 12px;
  color: #0f1720;
}

.section-subtitle {
  text-align: center;
  max-width: 760px;
  margin: 8px auto 48px auto;
  color: var(--muted);
  font-size: 17px;
}

/* TEAM GRID */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* TEAM CARD */
.team-card {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 40px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
}

/* hover lift */
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

.team-card.reverse { flex-direction: row-reverse; }

/* IMAGE AREA */
.team-media {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 18px; /* slight rounded rectangle for modern look */
  border: 6px solid var(--light-bg);
  box-shadow: 0 20px 50px rgba(12, 34, 42, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover .team-img {
  transform: scale(1.02);
}

/* CONTENT */
.team-content {
  flex: 1;
  text-align: center; /* center the text as requested */
  padding: 6px 8px;
}

.team-content h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: var(--primary);
}

.role {
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.bio {
  margin-bottom: 16px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  text-align: left; /* make long paragraphs easier to read on wide screens */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.quote {
  font-style: italic;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--secondary);
  font-size: 16px;
}

/* LINKEDIN ICON (square flat icon style) */
.linkedin {
  display: inline-block;
  margin-top: 6px;
  transition: transform var(--transition);
}

.linkedin img {
  width: 70px;
  height: 70px;
  display: block;
  border-radius: 6px; /* slight rounding for square flat icon */
  box-shadow: 0 6px 18px rgba(3, 24, 45, 0.08);
}

.linkedin:hover { transform: translateY(-4px); }

/* EXPERTISE GRID */
.expertise-wrapper {
  margin-top: 64px;
}

.expertise-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 26px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* expertise item */
.expertise-item {
  background: var(--card-bg);
  padding: 26px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.expertise-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

.expertise-item p {
  margin: 0;
  color: #222;
  font-size: 15px;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .team-img { width: 300px; height: 300px; }
  .team-media { flex-basis: 300px; }
}

@media (max-width: 900px) {
  .team-section { padding-top: 120px; }
  .team-card, .team-card.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px;
  }

  .team-img { width: 240px; height: 240px; border-radius: 20px; }
  .bio { text-align: center; }
  .team-content { padding-top: 14px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 30px; }
  .section-subtitle { font-size: 15px; padding: 0 10px; }
  .team-img { width: 200px; height: 200px; }
  .team-content h2 { font-size: 22px; }
  .role { font-size: 14px; }
  .bio { font-size: 14px; }
}
/* Footer Section */
.footer {
  background: hsl(220, 14%, 95%);
  padding: 40px 20px 30px; /* reduced top/bottom padding */
  color: hsl(220, 14%, 28%);
  font-size: 16px;
}

.footer-container {
  max-width: 900px; /* reduced container width */
  margin: auto;
}

.footer h3 {
  font-size: 22px; /* smaller heading */
  font-weight: 700;
  margin-bottom: 25px; /* reduced space below heading */
}

/* Logo + Title Layout */
.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 12px; /* smaller gap */
  margin-bottom: 30px; /* reduced space below */
}

.footer-logo {
  width: 40px; /* smaller logo */
  height: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px; /* slightly smaller gap between columns */
  margin-bottom: 30px; /* reduced bottom margin */
}

.footer-column h4 {
  font-size: 18px; /* slightly smaller */
  font-weight: 600;
  margin-bottom: 12px;
}

/* Links styling */
.footer-column a {
  display: block;
  text-decoration: none;
  color: hsl(220, 14%, 28%);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

/* Plain text styling */
.footer-column p {
  display: block;
  font-size: 16px; /* match link size */
  color: hsl(220, 14%, 28%);
  margin-bottom: 10px;
}

/* Footer copyright */
.footer-copy {
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

/* Social icons in one line */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  display: block;
}
