* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #1e1e1e;
  color: white;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: transparent;
  position: relative;
  z-index: 100;
}

.logo {
  font-weight: 700;
  font-size: 22px;
  color: #4a90e2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo span {
  color: white;
  margin-left: 5px;
}

nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #4a90e2;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 100px;
  text-align: left;
}

.profile-img img {
  width: 250px;
  height: 250px;
  max-width: 100%;
  border-radius: 50%;
  border: 5px solid #2e2e2e;
  object-fit: cover;
  margin-right: 60px;
}


.intro {
  max-width: 500px;
}

.intro p:first-child {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 5px;
}

.typing {
  color: #4a90e2;
  font-weight: 600;
}

.intro h1 {
  font-size: 48px;
  color: #4a90e2;
}

.desc {
  margin: 15px 0;
  line-height: 1.6;
  color: #cfcfcf;
}

.buttons {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.timeline-date {
  border-radius: 5px;
}


.gallery-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
}



.btn {
  background: #4a90e2;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #3476c3;
}

.btn.outline {
  background: transparent;
  border: 2px solid #4a90e2;
  color: #4a90e2;
}

.btn.outline:hover {
  background: #4a90e2;
  color: white;
}

.socials a {
  margin: 0 10px;
  display: inline-block;
}

.icon {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  header {
    padding: 20px 30px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    right: -250px;
    top: 70px;
    flex-direction: column;
    background-color: #2e2e2e;
    width: 250px;
    text-align: center;
    transition: 0.3s;
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Poppins', sans-serif;
    height: auto;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu li {
    padding: 15px 0;
  }

  .nav-menu a {
    display: block;
    padding: 10px;
  }

  .hero {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .profile-img img {
    margin-right: 0;
    margin-bottom: 20px;
    width: 200px;
    height: 200px;
  }

  .intro {
    max-width: 100%;
  }

  .intro h1 {
    font-size: 36px;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 15px 20px;
  }

  .logo {
    font-size: 18px;
  }

  .intro h1 {
    font-size: 28px;
  }

  .desc {
    font-size: 14px;
  }

  .hero {
    padding: 30px 15px;
  }
}
