.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 145px 10px 20px;
  text-align: center;
  border-bottom: 2px solid #d4af37;
  /*margin-top: 70px;*/
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  /* margin-bottom: 20px; */
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #d4af37;
}

.quote-section {
  background-color: #1a1a1a;
  padding: 30px 20px;
  margin: 30px 155px;
  border-left: 4px solid #d4af37;
  border-radius: 4px;
}

.quote-text {
  font-size: 1.04rem;
  font-style: italic;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.quote-author {
  font-size: 0.95rem;
  color: #b0b0b0;
  font-weight: 500;
}

/* Main Title Section */
.title-section {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
}

.title-section h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Content Grid */
.content-grid {
    max-width: 1200px;
    margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 50px 20px;
  background-color: #1a1a1a;
  border-radius: 10px;
}

.image-section {
  text-align: center;
}

.image-section img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.bio-section h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.bio-text {
  color: #d0d0d0;
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.8;
}

/* Roles Section */
.roles-section {
  padding: 50px 20px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.roles-section h3 {
  font-size: 1.6rem;
  color: #d4af37;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.role-card {
  background-color: #1a1a1a;
  padding: 20px;
  border-left: 4px solid #d4af37;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.role-icon {
  font-size: 1.5rem;
  margin-right: 10px;
  color: #d4af37;
}

.role-card p {
  color: #e0e0e0;
  font-size: 1.05rem;
  font-weight: 500;
}

/* Legacy Section */
.legacy-section {
  padding: 50px 20px;
  background-color: #1a1a1a;
}

.legacy-section h2 {
  font-size: 2rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
  letter-spacing: 1px;
}

.legacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.milestone-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 30px;
  border-radius: 8px;
  border-top: 3px solid #d4af37;
  transition: all 0.3s ease;
}

.milestone-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.milestone-year {
  font-size: 0.85rem;
  color: #d4af37;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.milestone-title {
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
}

.milestone-desc {
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.6;
}

/* Achievements List */
.achievements-section {
  padding: 50px 20px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.achievements-section h3 {
  font-size: 1.6rem;
  color: #d4af37;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
}

.achievements-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  /* max-width: 1000px; */
  margin: 0 auto;
}

.achievement-item {
  background-color: #0a0a0a;
  padding: 20px;
  border-left: 4px solid #d4af37;
  border-radius: 4px;
  color: #d0d0d0;
  font-size: 1rem;
}

.achievement-item::before {
  content: "▶ ";
  color: #d4af37;
  font-weight: bold;
  margin-right: 10px;
}

/* Footer Message */
.closing-section {
  padding: 50px 20px;
  background-color: #0a0a0a;
  text-align: center;
  border-top: 2px solid #d4af37;
  border-bottom: 2px solid #d4af37;
}

.closing-text {
  font-size: 1.1rem;
  color: #d0d0d0;
  line-height: 1.8;
  max-width: 1100px;
  margin: 0 auto;
}

.closing-text strong {
  color: #d4af37;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 20px 10px;
  }

  .hero h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
    margin: 0 auto ;
  }


  .legacy-grid {
    grid-template-columns: 1fr;
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }

  .quote-text {
    font-size: 0.95rem;
  }

  .role-card p {
    font-size: 0.95rem;
  }

  .milestone-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 8px 10px;
  }

  .container {
    padding: 0 10px;
  }

  .hero h1 {
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    color: #d4af37;
    padding: 5px 0 10px;
  }

  .quote-section {
    padding: 15px 4px;
    margin: 20px 15px;
  }

  .quote-author {
    font-size: 0.85rem;
  }

  .roles-section {
    padding: 40px 0px;
  }

  .roles-grid {
    gap: 10px;
  }

  .legacy-section {
    padding: 30px 0px;
  }

  .legacy-section h2 {
    font-size: 1.4rem;
  }

  .achievements-section {
    padding: 40px 0px;
  }
  .quote-text {
    font-size: 0.9rem;
  }

    .bio-section{
        padding: 10px;
    }
  .bio-text {
    font-size: 0.95rem;
  }

  .content-grid {
    padding: 20px 15px;
  }
}

/* Early life  */

.early-life {
  background: linear-gradient(
    135deg,
    rgba(18, 18, 18, 0.9),
    rgba(40, 40, 40, 0.8)
  );
  padding: 2rem 0;
  margin-bottom: 80px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.early-life-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: stretch;
  margin-top: 3rem;
}

.section-title {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 34px;
  font-weight: 800;
}
.early-life-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.early-life-image {
  width: 400px;
  height: 400px;
  max-width: 400px;
  border-radius: 50%;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

.early-life-image:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.early-life-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.early-life-right h3 {
  font-size: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin: 0;
}

.early-life-right h4 {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem 0;
  font-weight: 700;
}

.early-items {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.early-life-item {
  background: transparent;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid rgb(222, 222, 31);
  box-shadow: 0 5px 20px rgba(195, 222, 121, 0.31);
  transition: all 0.3s ease;
}

.early-life-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15);
}
.early-life-item h4 {
  color: rgb(173, 105, 17);
}
.early-life-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0;
  text-align: justify;
}

@media (max-width: 968px) {
  .early-life-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .early-items {
    grid-template-columns: 2fr;
  }
  .early-life-image {
    height: 300px;
    width: 300px;
  }
}

@media (max-width: 480px) {
  #early-life {
    padding:40px 2px 0;
    margin-bottom: 50px;
  }

  .early-life-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .early-life-right h3 {
    font-size: 1.15rem;
  }
  
  .early-life-right h4 {
    font-size: 1.15rem;
  }

  .early-life-item {
    padding: 1rem;
  }
  .early-life-item h4 {
    font-size: 20px;
  }
  .early-life-item p {
    font-size: 15px;
    line-height: 1.4rem;
  }
}
/* ======================================== */

/* Prolific Contributions Section Styling */
.contributions {
  padding: 30px 0 50px;
  background: #2220208c;
  margin-bottom: 80px;
}

.contributions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(8, 8, 8, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.111) 0%, transparent 50%);
  pointer-events: none;
}
.section-title {
  padding: 0px 15px ;
  font-size:25px;
}
.contributions-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.contributions-left {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.contribution-stat {
  background: rgba(32, 31, 31, 0.616);
  padding: 1.3rem 1rem;
  border-radius: 12px;
  text-align: center;

  box-shadow: 0 5px 10px rgb(95 95 30 / 45%);
  transition: all 0.2s ease;
  transform-origin: center;
  /* z-index: 1; */
}

.contribution-stat:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 60px rgba(45, 55, 6, 0.3);
  border: 1px solid yellow;
}

.contribution-stat:last-child {
  grid-column: span 2;
}

.contribution-stat h3 {
  font-size: 1.8rem;
  color: yellow;
  margin: 0 0 0.3rem 0;
  font-weight: 800;
  line-height: 1;
}

.contribution-stat p {
  font-size: 0.85rem;
  color: yellow;
  margin: 0.2rem 0;
  font-weight: 600;
}

.contribution-stat small {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.789);
  margin-top: 0.5rem;
  line-height: 1.4;
  text-align: center;
}

.contributions-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.contributions-image {
  width: 100%;
  height: 425px;
  max-width: 380px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgb(95 95 30 / 45%);
  transition: transform 0.3s ease;
  object-fit: cover;
  background: transparent;
}

.contributions-image:hover {
  transform: scale(1.03) rotate(2deg);
}

.contributions-description {
  background: rgba(32, 31, 31, 0.616);
  padding: 1.4rem;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.771);
  text-align: center;

  transition: all 0.2s ease;
  transform-origin: center;
  box-shadow: 0 5px 10px rgb(95 95 30 / 45%);
}
.contributions-description:hover {
  border: 1px solid yellow;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 60px rgba(45, 55, 6, 0.3);
}
.contributions-description strong {
  color: rgb(141, 111, 4);
  font-weight: 700;
}
@media (max-width: 968px) {
  .contributions-left {
    grid-template-columns: 1fr;
  }
  .contributions-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  #contributions {
    padding: 3rem 1rem;
  }

  .contributions-left {
    display: flex;
    flex-direction: column;
    /* grid-template-columns: 1fr; */
    gap: 1.5rem;
  }
  .contributions-right {
    gap: 1.5rem;
  }

  .contributions-right img {
    height: 350px;
    max-width: 100%;
  }

  .contributions-description {
    padding: 10px;
    font-size: 0.95rem;
    
  }
  
  .contributions-description:hover {
      border: none;
  }
  .contributions-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
