* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', Times, serif;
  background-color: brown;
  color: saddlebrown;
  scroll-behavior: smooth;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background-color:brown;
  padding: 30px 0 10px;
  border-bottom: 3px solid #ffb26b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 2.5rem;
  text-align: center;
  color: #0e0b0b;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
}

nav ul li a {
  text-decoration: none;
  font-weight: 600;
  color: #d4e091;
  padding: 8px 15px;
  border-radius: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background-color: #d1b2c4;
  color: white;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(to bottom right, #fff6f0, #ffe0cc);
  padding: 60px 20px;
  text-align: center;
  animation: fadeIn 1.2s ease-in-out;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #ff884b;
  animation: slideIn 1s ease forwards;
}

.hero-text p {
  font-size: 1.8rem;
  color: #ffab76;
  font-weight: bold;
  animation: slideIn 1s ease forwards;
}

.avatar {
  margin-top: 25px;
}

.avatar img {
  width: 300px;
  height: px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.avatar img:hover {
  transform: scale(1.05);
}
.welcome-text {
  font-size: 4rem;
  font-weight: bold;
  color: #ff884b;
}
.hello-text {
  margin-top: 30px; /* Move it lower */
  font-size: 2.5rem;
  color: #ecf0f5;
}

.name-text {
  font-size: 2rem;
  margin-top: 5px;
}


/* About Section */
.about-section {
  padding: 60px 20px;
  background: transparent;
  color: #eee7e7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.about-text h2, .about-extra h3 {
  margin-bottom: 15px;
  color: #e8ebee;
}

.about-text p, .about-extra li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: white;
}

.about-extra ul {
  padding-left: 20px;
  list-style-type: disc;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}


.centered-contact {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.contact {
  background-color: #fef1e7;
  padding: 60px 20px;
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #444;
}

.contact-item {
  text-align: center;
  font-size: 2rem;
  background-color: #fff;
  padding: 20px;
  margin: 15px 0;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(255, 174, 111, 0.1);
  font-weight: bold;
}

.contact-item h3 {
  margin-bottom: 10px;
  color: black;
}

.contact-item p {
  color: black;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .avatar img {
    width: 130px;
    height: 130px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.4rem;
  }
}
/* Animation for slide-in */
.slide-in {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
}

.slide-in.show {
  opacity: 1;
  transform: translateX(0);
}
.back-to-members {
  margin: 20px 0;
  text-align: left;
}

.back-to-members .btn {
  background-color: #ff884b;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.back-to-members .btn:hover {
  background-color: #e6733f;
}