/* Reset & base */
html {
  font-size: 16px;
}
* {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

body {
  background-color: #001f4d;
  color: white;
  line-height: 1.4;
  overflow-x: hidden;
}

/* Header styling */
header {
  background-color: #002b80;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffc107;
  transition: color 0.4s ease;
}

.logo:hover {
  color: #ff6a00;
}

.logo-img {
  width: 40px;
  margin-right: 10px;
  transition: transform 0.4s ease;
}

.logo-img:hover {
  transform: rotate(15deg);
}
/* Navbar */
nav {
  display: flex;
  gap: 1rem;
}

.menu-toggle {
  color: white;
  display: none;
  background: none;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}
h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  margin-bottom: 15px;
  color: var(--highlight, #ffc107);
  text-align: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    display: none;
    text-align: center;
  }

  nav.hidden {
    display: none;
  }

  nav:not(.hidden) {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  body {
    font-size: 14px;
  }

  h1, h2, h3 {
    font-size: 1.3rem;
  }
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}
nav a:hover {
  color: #ffc107;
}

/* About Section with background animation */
.about-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px 30px;
  background: linear-gradient(270deg, #003380, #0044cc, #003380);
  background-size: 600% 600%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 106, 0, 0.4);
  animation: bgAnimation 15s ease infinite;
  color: #e0e0e0;
  overflow: hidden;
}

/* Background gradient animation */
@keyframes bgAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.about-section h1 {
  color: #ffc107;
  margin-bottom: 25px;
  font-size: 2.2rem;
  text-align: center;

  /* fade & slide up animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s forwards;
}

.about-section p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-align: justify;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s forwards;
  animation-delay: 0.3s;
}

/* Stagger paragraphs fade/slide animation */
.about-section p:nth-child(3) { animation-delay: 0.4s; }
.about-section p:nth-child(4) { animation-delay: 0.5s; }
.about-section p:nth-child(5) { animation-delay: 0.6s; }
.about-section p:nth-child(6) { animation-delay: 0.7s; }

/* Keyframe for fade + slide up */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background-color: #001a33;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: white;
}

/* Responsive */
@media (max-width: 600px) {
  .about-section {
    padding: 25px 15px;
    margin: 30px 10px;
  }
nav {
    margin-top: 10px;
    text-align: center;
    width: 100%;
  }

  nav a {
    display: inline-block;
    margin: 10px 10px;
  }
}
:root {
  --bg-color: #fff;
  --text-color: #000;
  --primary-color: #1a73e8;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  margin-left: auto;
  cursor: pointer;
}
body.dark {
  --bg-color: #121212;
  --text-color: #f5f5f5;
}
