/* ===============================
   Base and Reset Styles
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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;
}

/* Consistent container 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 */
.logo {
  display: flex;
  align-items: center;
  max-width: 250px;
}

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

/* Navigation */
.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,
.nav-links li a.active {
  color: #0057a3;
}

/* ===============================
   Main Content
================================= */
main {
  flex: 1;
  max-width: 900px;
  background: #ffffff;
  margin: 50px auto;
  padding: 40px 35px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

main h1 {
  color: #004080;
  margin-bottom: 25px;
  font-size: 2.3rem;
  text-align: center;
  border-bottom: 3px solid #007bff;
  padding-bottom: 10px;
}

main h2 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: #004080;
  font-size: 1.5rem;
  border-left: 4px solid #007bff;
  padding-left: 12px;
}

main p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #444;
}

main ul {
  margin-left: 25px;
  margin-bottom: 20px;
  list-style-type: disc;
  color: #333;
}

main ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

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

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

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

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.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;
}

/* ===============================
   Contact Page Styling
================================= */
.contact-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.contact-details {
  flex: 1 1 300px;
}

.contact-details h2 {
  color: #004080;
  margin-bottom: 15px;
  border-left: 4px solid #007bff;
  padding-left: 12px;
}

.contact-details p {
  margin-bottom: 10px;
  color: #444;
  font-size: 1rem;
}

.contact-details a {
  color: #007bff;
  text-decoration: none;
}

.contact-details a:hover {
  color: #004080;
  text-decoration: underline;
}

.contact-form {
  flex: 1 1 400px;
}

.contact-form h2 {
  color: #004080;
  margin-bottom: 15px;
  border-left: 4px solid #007bff;
  padding-left: 12px;
}

/* Form elements */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Submit button */
.btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #004080;
}

/* ===============================
   Responsive Adjustments
================================= */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  main {
    margin: 30px 15px;
    padding: 25px 20px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

  .contact-info {
    flex-direction: column;
  }

  .contact-details, 
  .contact-form {
    width: 100%;
  }
}
