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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #495057;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #6c757d;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #6c757d;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Main Content */
main {
  margin-top: 80px;
}

/* Section Styles */
.section {
  padding: 4rem 0;
  position: relative;
  scroll-margin-top: 100px; /* Add space above each section for fixed header */
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 1rem;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #6c757d, #adb5bd);
  margin: 0 auto;
  border-radius: 2px;
}

/* About Section */
.about-section {
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
}

.about-content {
  max-width: 600px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.1rem;
  color: #6c757d;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Team Section */
.team-section {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.avatar-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #e9ecef;
  transition: transform 0.3s ease;
}

.avatar-image:hover {
  transform: scale(1.1);
}

.member-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #495057;
  margin: 0;
}

/* Project Section */
.project-section {
  background: #ffffff;
}

.project-content {
  max-width: 600px;
  margin: 0 auto;
}

.project-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.project-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 1rem;
  text-align: center;
}

.project-description {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  text-align: center;
}

/* Footer */
.footer {
  background: #495057;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.footer p {
  opacity: 0.8;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    gap: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 2rem 0;
  }

  .project-info {
    padding: 2rem;
  }

  .team-member {
    padding: 1.5rem;
  }
}
