/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff; /* clean white background */
  color: #333;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container for consistent width */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Navbar styles */
.navbar {
  background: #ffffff;
  padding: 15px 0;
  height: 120px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo container */
.logo {
  display: flex;
  align-items: center;
  max-width: 250px;
}

.logo img {
  height: 90px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

/* Navigation links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #0057a3;
}

/* --- Main Content Styling --- */
main {
  flex: 1; /* pushes footer to bottom if content is short */
  max-width: 900px;
  margin: 40px auto;
  padding: 20px 25px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

main h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 24px;
  border-bottom: 3px solid #3949ab;
  padding-bottom: 8px;
}

main h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #303f9f;
  margin-top: 40px;
  margin-bottom: 16px;
  border-left: 4px solid #3949ab;
  padding-left: 12px;
}

main p {
  margin-bottom: 20px;
  color: #444f62;
}

main ul {
  padding-left: 30px;
  margin-bottom: 24px;
  color: #444f62;
}

main ul li {
  margin-bottom: 10px;
  list-style-type: disc;
  font-size: 16px;
}

main a {
  color: #3949ab;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

main a:hover {
  color: #1a237e;
  text-decoration: underline;
}

  /* ===== Footer ===== */
footer {
  background: #0b1f33;
  color: #fff;
  padding: 40px 8% 20px 8%;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffeaa7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00cec9;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #6c5ce7;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #ccc;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}
