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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1a1a1a;
  background-color: #f9f9f9;
  line-height: 1.6;
}

/* Header & Navigation */
.header-container {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0057b8;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Nav Menu Grouping Fix */
.nav-menu-container {
  display: flex;
  align-items: center;
  gap: 2rem; /* this controls space between nav links and Sign Up */
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #0057b8;
}

.nav-right {
  display: flex;
  align-items: center;
}

.sign-in-button {
  background-color: #0057b8;
  color: #fff !important;
  font-weight: 700!important;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.sign-in-button:hover {
  background-color: #16162a;
  transform: translateY(-2px);
}

/* Content */

.about-section {
  background-color: #16162a;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.about-section p {
  font-size: 1.25rem;
  line-height: 1.9;
  margin: 0 auto 1.5rem;
  max-width: 700px; /* This narrows the paragraph width */
  text-align: justify;
}

/* Hero Section */
.about-hero {
  background-color: #16162a;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.about-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.intro-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Team Section */
.team-section {
  padding: 4rem 2rem;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.team-member {
  background-color: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  width: 200px;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
  height: 200px;
}

.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-member p {
  color: #555;
}

/* Footer */
.footer {
  background-color: #f1f1f1;
  padding: 2rem;
  color: #333;
}

.footer-container {
  display: flex;
  justify-content:center;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-column h4 {
  margin-bottom: 0.5rem;
  align-items: center;
}

.footer-column a {
  display: block;
  color: #555;
  text-decoration: none;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #0057b8;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .about-content h1 {
    font-size: 2rem;
  }

  .intro-text {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .team-member {
    width: 100%;
    max-width: 300px;
  }
}
