* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-gray-50: #f9fafb;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-border-1: #facc15; /* yellow-400 */
  --color-border-2: #22d3ee; /* cyan-400 */
  --color-border-3: #fb7185; /* rose-400 */
  --color-border-4: #a78bfa; /* violet-400 */
}

body {
  font-family: "Nunito Sans", sans-serif;
  margin: 0;
  color: #1F271B;
}

nav {
  gap: 1rem;
  margin-top: 0rem;
}
nav .nav-brand {
  display: flex;
  margin-top: 0rem;
  padding: 2rem;
}
nav .nav-brand p {
  text-align: center;
  padding-right: 1rem;
  font-size: 23.58px;
  margin-top: 0.1rem;
  font-weight: 600;
  letter-spacing: -0.099rem;
}
nav .nav-brand img {
  width: 34.24px;
  height: 32px;
  margin-right: 0.4rem;
}
nav .nav-content {
  margin-top: 1.4rem;
  margin-left: -2rem;
}
nav .nav-content a {
  text-decoration: none;
  color: #1f271b;
  padding: 0 0.5rem;
}

/* Utility Class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Page Structure */
.team-section {
  padding-bottom: 4rem;
}

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.625rem;
  line-height: 1.3;
  letter-spacing: -0.06rem;
  font-weight: 600;
  margin: 0;
}

.section-header p {
  font-size: 1rem;
  margin-top: 0.5rem;
  max-width: 42rem; /* 672px */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  font-weight: 400;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 3rem 2rem;
}

/* Team Member Card */
.team-member {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-member img {
  background-color: black;
}

.team-member-photo {
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  border-width: 4px;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.photo-1 {
  border-color: var(--color-border-1);
}

.photo-2 {
  border-color: var(--color-border-2);
}

.photo-3 {
  border-color: var(--color-border-3);
}

.photo-4 {
  border-color: var(--color-border-4);
}

.team-member-info {
  margin-top: 1rem;
}

.team-member-name {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.team-member-role {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.team-member-bio {
  margin-top: 0.5rem;
  color: var(--color-gray-600);
  font-size: 0.875rem; /* 14px */
  max-width: 20rem; /* 320px */
  margin-left: auto;
  margin-right: auto;
}

/* Social Links */
.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.social-links a {
  color: var(--color-gray-400);
  transition: color 0.2s ease-in-out;
  margin: 0 0.5rem;
}

.social-links a:hover {
  color: var(--color-gray-600);
}

.social-links svg {
  width: 1.5rem; /* 24px */
  height: 1.5rem; /* 24px */
}

.main-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 0rem;
  background-color: #ffffff;
}

.footer-section {
  width: 90%;
}

.top-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 23.58px;
  font-weight: 600;
  letter-spacing: -0.099rem;
}
.footer-nav .nav-links-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-nav .nav-link {
  color: #1f2937;
  text-decoration: none;
  font-size: 1rem;
}

.newsletter-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.newsletter-form-wrapper .form-title {
  font-size: 1.125rem;
  font-weight: 600;
}
.newsletter-form-wrapper .form-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.newsletter-form-wrapper .input-field {
  flex-grow: 1;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.newsletter-form-wrapper .subscribe-btn {
  background-color: #ff5722;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 3.75rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  width: 120px;
  height: 48px;
  font-size: 1rem;
}
.newsletter-form-wrapper .privacy-text {
  font-size: 0.875rem;
  color: #6b7280;
}

.bottom-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.bottom-section .copyright {
  font-size: 0.875rem;
  color: #1f271b;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bottom-section .social-icons {
  display: flex;
  gap: 1rem;
}
.bottom-section .social-icon {
  color: #1f2937;
  font-size: 1.25rem;
}
.bottom-section .copyright-links {
  display: flex;
  justify-content: space-around;
}
.bottom-section .copyright-links a {
  text-decoration: none;
  color: #ff4b00;
}

/* Responsive Design */
@media (min-width: 640px) {
  .team-section {
    padding-bottom: 6rem;
  }
  .section-header h2 {
    font-size: 3rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bottom-section {
    border-top: none;
    padding: 0px;
  }
  .footer-section {
    width: 90%;
  }
}
@media (min-width: 768px) {
  .main-container {
    padding: 2rem 0rem;
  }
  .top-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .bottom-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
@media (min-width: 1020px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  nav {
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    margin-top: 0;
  }
  nav .nav-brand {
    padding: 0;
    display: flex;
    align-items: center;
  }
  nav .nav-brand p {
    font-size: 1.658rem;
    font-weight: 600;
    letter-spacing: -0.099rem;
  }
  nav .nav-content {
    margin-top: 1.4rem;
    margin-left: -2rem;
  }
  section {
    padding: 1rem 4rem;
  }
  .footer-nav .logo {
    font-size: 1.658rem;
  }
}