/* =========================
   RESET & BASE
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

/* =========================
   GLOBAL ELEMENTS
========================= */
img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* =========================
   HEADER & NAVBAR (same as before)
========================= */
header {
  background: #f5943c;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1300px;
  margin: auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-img {
  height: 64px;
  width: auto;
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1rem;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 6px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 15%;
  bottom: 6px;
  width: 70%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: #0057b8; /* blue */
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Burger menu for mobile */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.toggle span:nth-child(2) {
  opacity: 0;
}

.burger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   MAIN CONTENT / ABOUT
========================= */
.container {
  max-width: 1200px;
  width: 90%;
  margin: 4rem auto;
  padding: 2rem 0;
}

.container article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.container h1 {
  text-align: center;
  color: #f5943c;
  margin-bottom: 2rem;
}

.container p {
  font-size: 1.1rem;
  color: #222;
  text-align: justify;
}

/* Optional spacing between sections */
.container br {
  display: block;
  margin-bottom: 1rem;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #1c2d5f;;
  color: #e6e9f2;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #f5943c;
  transform: translateY(-3px);
}

footer p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #a8b8db;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 1.5rem 0;
  }

  .logo-img {
    height: 56px;
  }

  /* Mobile navbar */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #f5943c;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 520px) {
  .logo-img {
    height: 50px;
  }
}
