@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0d1117;
  font-family: 'Poppins', sans-serif;
  color: white;
  overflow-x: hidden;
}

.nav-menu li a,
.navbar-link,
.timeline-box h3,
.timeline-box p,
.About p,
#my-details-container h3,
#my-details-container p,
.my-details-info-container,
#contact-form input,
#contact-form textarea,
#contact-form button {
  color: white !important;
  border-color: white;
}

/* Hamburger Menu Icon */
.menu {
  display: none;
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  width: 3rem;
  height: 3rem;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  padding: 0.5rem;
}

.menu-line {
  width: 100%;
  height: 0.2rem;
  background-color: #f4c430;
  margin: 0.3rem 0;
  transition: all 0.3s ease;
}

.toggle-checkbox:checked + .menu-icon .menu-line:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.toggle-checkbox:checked + .menu-icon .menu-line:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Sidebar Navbar */
.navbar {
  width: 250px;
  height: 100vh;
  background-color: #161b22;
  position: fixed;
  top: 0;
  left: -250px;
  display: flex;
  flex-direction: column;
  padding: 5rem 0 0 2rem;
  z-index: 90;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(244, 196, 48, 0.3);
}

.navbar-link {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0;
  color: #777;
  text-decoration: none;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  transition: color 0.3s;
}

.navbar-link:hover {
  color: #f4c430;
}

/* Checkbox hidden for toggle */
.toggle-checkbox {
  display: none;
}

.toggle-checkbox:checked ~ .navbar {
  left: 0;
}

/* Header Navigation */
.top-header {
  border-bottom: 2px solid #f4c430;
  background-color: #161b22;
}
.nav {
  height: 110px;
  width: 96%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin: 0 auto;
}

.logo img {
  height: auto;
  width: 15rem;
  max-width: 100%;
  filter: brightness(1.1);
}

.desktop-nav {
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin: 0 20px;
}

.nav-menu li a {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
  color: black;
  text-decoration: none;
}

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

/* Main Logo */
.main-logo {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  padding: 0 20px;
}

.main-logo img {
  width: 100%;
  max-width: 30rem;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f4c430;
}

/* About section*/
.About {
  display: flex;
  justify-content: center;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

.about-inner h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #f4c430;
}

.about-inner p {
  font-size: 1.25rem;
  color: #e0e0e0;
  font-weight: 500;
  line-height: 1.8;
  max-width: 750px;
  padding: 0 10px;
}

/* Coming Soon Image */
.soon {
  display: flex;
  justify-content: center;
  padding: 0 20px;
  margin-bottom: 20px;
  background-color: #00B2AA;
}

.soon img {
  max-width: 100%;
  height: auto;
}

/* Timeline Styling */
.timeline {
  position: relative;
  width: 90%;
  max-width: 75rem;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.timeline-box {
  padding: 20px;
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 4px solid #f4c430;
}

.timeline-container {
  padding: 20px;
}

.timeline-box h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.timeline-box p {
  color: #f0f0f0;
  line-height: 1.5;
}

#timeline-divider {
  display: none;
}

/* Contact Section */
#contact {
  margin-bottom: 30px;
  padding: 0 20px;
}

#contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

#contact-form-container {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

#contact-form {
  display: flex;
  flex-direction: column;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: none;
  border-bottom: 2px solid #f4c430;
  background: transparent;
  font-size: 1rem;
  color: white;
}

#contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

#contact-form button {
  background: transparent;
  font-size: 1rem;
  border: 2px solid #f4c430;
  border-radius: 4px;
  color: #f4c430;
  padding: 12px 24px;
  margin: 20px 0 0 auto;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

#contact-form button:hover {
  background: #f4c430;
  color: #0d1117;
}

/* Contact Details */
#my-details-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

#my-details-container h3 {
  color: white;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

#my-details-container p {
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
}

.my-details-info-container {
  color: #f4c430;
  margin-bottom: 20px;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.my-details-info-container i {
  color: white;
  margin-right: 15px;
  font-size: 1.2rem;
}

/* Social Icons */
.social-icons {
  margin: 40px 10px;
  text-align: center;
}

.social-icons ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.social-icons li {
  display: inline-block;
}

.social-icons a {
  display: inline-block;
  color: #f4c430;
  font-size: 2.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: white;
}

/* Remove focus outline */
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

/* ================== MEDIA QUERIES ================== */
@media only screen and (max-width: 768px) {
  .nav {
    height: auto;
    padding: 15px;
  }

  .logo img {
    width: 12rem;
  }

  .nav-menu {
    margin-top: 15px;
  }

  .nav-menu li {
    margin: 0 10px;
  }

  .about-inner h1 {
    font-size: 1.6rem;
  }

  .about-inner p {
    font-size: 1.1rem;
  }

  .timeline-box {
    padding: 15px;
  }

  .timeline-container {
    padding: 15px;
  }

  .social-icons ul {
    gap: 20px;
  }

  .social-icons a {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 600px) {
  .menu {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .nav {
    flex-direction: column;
    padding: 15px 10px;
  }

  .logo img {
    width: 10rem;
  }

  .main-logo img {
    max-width: 20rem;
  }

  .about-inner h1 {
    font-size: 1.4rem;
  }

  .about-inner p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .navbar {
    width: 70%;
    padding: 5rem 0 0 1.5rem;
  }

  .navbar-link {
    font-size: 1rem;
    margin: 1.2rem 0;
  }

  #contact-form button {
    margin: 20px auto 0;
    width: 100%;
  }

  .social-icons ul {
    gap: 17px;
  }

  .social-icons a {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 400px) {
  .main-logo img {
    max-width: 15rem;
  }

  .about-inner h1 {
    font-size: 1.3rem;
  }

  .about-inner p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .timeline-box h3 {
    font-size: 1.1rem;
  }

  .timeline-box p {
    font-size: 0.9rem;
  }

  .social-icons ul {
    gap: 16px;
  }

  .social-icons a {
    font-size: 1.4rem;
  }
}