/* ===== GLOBAL STYLE ===== */
body {
  margin: 0;
  background: #f2f4f7;
  font-family: "Segoe UI", sans-serif;
  color: #333;
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: #0a4a8a;
}

a {
  text-decoration: none;
}

.btn {
  background: #0a4a8a;
  padding: 12px 20px;
  color: white !important;
  border-radius: 6px;
  display: inline-block;
  transition: 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: #083f76;
}
.btn-primary { 
    background-color: #2E3192; 
    color: white; 
    padding: 12px; 
    border-radius: 5px; 
    transition: background 0.3s; 
}
.btn-primary:hover { 
    background-color: #1a1c54; 
}
/* ===== HEADER ===== */
header {
  background-color: #0a4a8a;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: white;
  text-align: center;
}

header img {
  height: 70px;
  max-width: 100%;
  object-fit: contain;
}

header h1 {
  margin: 0;
  font-size: 24px;
  color: white;
}

header p {
  margin: 5px 0 0;
  color: #e5c769;
  font-size: 16px;
}

/* ===== NAVIGATION & HAMBURGER ===== */
nav {
  background: #ffffff;
  border-bottom: 2px solid #e0e0e0;
  position: relative;
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: block;
  padding: 15px;
  cursor: pointer;
  font-size: 20px;
  color: #0a4a8a;
  text-align: center;
  font-weight: bold;
}

.nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  text-align: center;
}

.nav-links a {
  padding: 15px;
  border-top: 1px solid #eee;
  color: #0a4a8a;
  font-weight: 600;
}

#menu-toggle:checked ~ .nav-links {
  display: flex;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 20px 20px;
  text-align: center;
  background: #f5f7fa;
  padding-top: 20px; /* Reduced from default */
  margin-top: 0; /* Ensure no margin exists between nav and hero */
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
  padding-top: 10px; /* Reduced from default */
  margin-top: 0; /* Ensure no margin exists between nav and hero */
}

/* ===== CONTENT SECTIONS ===== */
.section {
  max-width: 1100px;
  background: white;
  margin: 20px auto;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
  width: 90%;
  padding-bottom: 20px;
}
.section-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.columns,
.members-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.column,
.member-card {
  flex: 1 1 300px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
}

/* ===== MODAL POPUPS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 15px;
}

.modal {
  background: #ffffff;
  padding: 25px;
  width: 100%;
  max-width: 450px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 2px solid #e4e8ee;
  border-radius: 6px;
  box-sizing: border-box;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 30px;
  background: #0a4a8a;
  color: white;
  margin-top: 10px; /* Reduced from 50px */
  padding: 40px 20px; /* Keeping your preferred padding */
}

/* ===== DESKTOP STYLES (768px+) ===== */
@media (min-width: 768px) {
  header {
    flex-direction: row;
    text-align: left;
    padding: 20px 40px;
  }

  header h1 {
    font-size: 32px;
  }

  .menu-icon {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
  }

  .nav-links a {
    border-top: none;
    padding: 15px 25px;
  }

  .hero {
    padding: 80px 20px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .section {
    width: auto;
    padding: 40px;
  }
}
/* ===== CONTACT FORM STYLES ===== */
.contact-form-container {
  margin-top: 30px;
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
}

textarea:focus,
input:focus {
  border-color: #0a4a8a !important;
  outline: none;
}

/* Ensure form stacks nicely on mobile */
@media (max-width: 600px) {
  .contact-form-container {
    padding: 15px;
  }
}
