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

body {
    font-family: 'Segoe UI', 'Inter', 'Lato', sans-serif;
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
    font-size: 15px;
}

a {
    color: #081a38;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: #273043;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    height: 60px;
    filter: brightness(100) invert(1);
}

nav {
    display: flex;
    justify-content: flex-end;
}

nav a {
    margin-left: 24px;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 0.25px;
}

nav a:hover {
    color: #dbe2ef;
}

.menu-toggle {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: white;
    margin-left: auto;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(10,31,68,0.7), rgba(10,31,68,0.7)), url("img/s1.jpg") no-repeat center center/cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
}

/* Alternate section background */
.section-alt {
    background-color: #f7f9fb;
    padding: 60px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.section {
    background-color: #ffffff;
    padding: 60px 20px;
    border-bottom: 1px solid #e5e7eb;
}

h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 32px;
    color: #081a38;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #ccd6e0;
    padding-bottom: 20px;
}

.section-icon {
    width: 28px;
    vertical-align: middle;
    margin-right: 12px;
    margin-bottom: 4px;
    fill: #ccd6e0;
}

p {
    font-size: 18px;
    color: #555;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Full-height helper */
.full-height {
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

/* Grid cards */
.grid-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.grid-box {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 40px;
    width: 320px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.grid-box h3 {
    font-size: 24px;
    color: #081a38;
    margin-bottom: 15px;
}

.grid-box p {
    font-size: 16px;
    color: #555;
}

/* About section card */
.section-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    max-width: 1100px;
    margin: 0 auto;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
}

.about-text {
    flex: 1 1 450px;
    max-width: 600px;
}

.about-text p {
    margin-bottom: 24px;
}

.about-image {
    flex: 1 1 400px;
    display: flex;
    align-self: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Footer */
footer {
    background: #0a1f44;
    color: #d1d5db;
    padding: 20px;
    text-align: center;
    font-size: 10px;
}
footer p {
     font-size: 11px;
}
footer a {
    color: #d1d5db;
}

footer a:hover {
    color: #ffffff;
}

.legal-disclaimer {
    font-size: 9px;
    color: #d1d5db;
    max-width: 1100px;
    margin: 20px auto;
    text-align: center;
    line-height: 1.4;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    border: 1px solid #ccc;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1 1 auto;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

/* ===========================
   MOBILE‐SPECIFIC OVERRIDES
   =========================== */

@media screen and (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  #nav {
    display: none !important;
    flex-direction: column;
    background-color: #273043;
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    z-index: 999;
  }

  #nav.show {
    display: flex !important;
  }

  #nav a {
    margin: 15px 20px;
    padding: 15px 0;
    font-size: 18px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p, .section p, .section-alt p {
    font-size: 16px;
  }

  .grid-box {
    width: 90%;
  }

  .about-grid {
      flex-direction: column;
      gap: 30px;
  }

  .about-text, .about-image {
      flex: 1 1 100%;
  }

  .about-image img {
      width: 100%;
      height: auto;
      object-fit: contain;
  }
}
.btn {
    background-color: #081a38;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: #0a1f44;
}