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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Oswald', sans-serif;
  background-color: #DDEBF7;
  color: #0A0F2C;
}

h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
}

/* ------------------ NAVIGATION ------------------ */
nav.desktop-nav {
  position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
}

nav.desktop-nav a {
  color: #0A0F2C;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}

nav.desktop-nav a:hover {
  background-color: #2E2E3A;
  color: #DDEBF7;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 999;
}

.nav-toggle {
  width: 50px;
  height: 50px;
  background-color: #DDEBF7;
  border: 2px solid #0A0F2C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-lines {
  width: 20px;
  height: 2px;
  background-color: #0A0F2C;
  position: relative;
}

.nav-lines::before,
.nav-lines::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #0A0F2C;
  left: 0;
}

.nav-lines::before {
  top: -6px;
}

.nav-lines::after {
  top: 6px;
}

.nav-menu {
  position: fixed;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #DDEBF7;
  border: 4px double;
  border-color: #0A0F2C #D72638;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding-top: 4rem;
  opacity: 0;
  pointer-events: none;
}

.nav-menu.open {
  width: 250px;
  height: 360px;
  border-radius: 50% / 40%;
  opacity: 1;
  pointer-events: auto;
  padding-top: 4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.nav-menu a {
  font-family: 'Oswald', sans-serif;
  color: #0A0F2C;
  text-decoration: none;
  margin: 0.75rem 0;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

/* ------------------ TITLE & WELCOME ------------------ */
.title-section {
  text-align: center;
  margin-top: 8rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.title-section h1,
.title-section h2 {
  font-family: 'Oswald', sans-serif;
  color: #0A0F2C;
}

.title-section h1 {
  font-size: 48px;
  font-weight: 900;
}

.title-section h2 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 0.5rem;
}

.welcome {
  text-align: center;
  font-size: 24px;
  margin: 4rem 1rem;
  font-weight: 600;
}

#typewriter-text::after {
  content: '|';
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ------------------ ABOUT TEXT ------------------ */
.about-card {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 12px;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-card h3, .about-card li {
  font-family: 'Oswald', sans-serif;
  color: #0A0F2C;
  line-height: 1.6;
  margin: 1rem 0;
}

.about-card li {
  margin-left: 1.5rem;
}

.about-title {
  font-size: 20px;
  margin-bottom: 0.5rem;
}

.about-text {
  font-size: 16px;
  margin-bottom: 2rem;
}

/* ------------------ FOOTER STRIP & FOOTER ------------------ */
.footer-strip {
  background-color: #D72638;
  height: 60px;
  width: 100%;
}

footer {
  background-color: #0A0F2C;
  text-align: center;
  padding: .1rem 1rem 2rem;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.icons img {
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-top: 14rem;
}

.icons img:hover {
  transform: scale(1.15);
}

footer .copyright {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  color: #F4F6FA;
}

/* ------------------ SCROLL REVEAL ------------------ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0px);
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 800px) {
  nav.desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .title-section h1 {
    font-size: 30px;
  }

  .title-section h2 {
    font-size: 18px;
  }

  .welcome {
    font-size: 16px;
  }

  .nav-menu a {
    font-size: 0.95rem;
  }

  .about-card {
    max-width: 95%;
      padding: 1.5rem;
  }

  .icons img {
    width: 28px;
    height: 28px;
    margin-top: 14rem;
  }

 
}
