/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ========== HEADER ========== */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
}

/* Logo bar — white, above nav (UCSD-style) */
.header-top {
  background-color: #ffffff;
  padding: 14px 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.nav__logo-img {
  height: 80px;
  width: auto;
  max-width: 360px;
  display: block;
  object-fit: contain;
  image-rendering: auto;
}

.nav__logo:hover .nav__logo-img {
  opacity: 0.9;
}

/* Hamburger (dark on white logo bar) */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #182B49;
  margin: 5px 0;
  transition: 0.3s;
}

/* Nav bar — solid navy under logo */
.nav {
  background-color: #182B49;
  color: white;
  width: 100%;
  position: relative;
  z-index: 1;
}

.nav__container {
  width: 100%;
  margin: 0;
  padding: 0 24px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav__menu {
  display: flex !important;
  flex-direction: row !important;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: #FFCD00;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .header-top {
    height: 68px;
    padding: 10px 16px;
  }

  .nav__logo-img {
    height: 44px;
    max-width: 260px;
  }

  .nav__toggle {
    display: block;
  }

  .nav {
    background-color: #182B49;
  }

  .nav__container {
    height: 0;
    padding: 0;
    overflow: hidden;
  }

  .nav__menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #182B49;
    flex-direction: column !important;
    gap: 0;
    padding: 8px 0;
    z-index: 1001;
  }

  .nav__menu.open {
    display: flex !important;
  }

  .nav__item {
    width: 100%;
    text-align: center;
  }

  .nav__link {
    display: block;
    padding: 14px 20px;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* ========== PAGE CONTENT ========== */
.page-content {
  max-width: 900px;
  margin: 0;
  margin-left: 200px;
  padding: 3rem 1.5rem 4rem;
}

.page-content h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #182B49;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #182B49;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.25rem;
}

/* ========== CERTIFICATIONS ========== */
.certifications {
  max-width: 900px;
  margin: 0 0 4rem 200px;
  padding: 0 1.5rem;
}

.certifications h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #182B49;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.certification-item {
  margin-bottom: 1.5rem;
}

.certification-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #182B49;
  margin-bottom: 0.25rem;
}

.certification-item p {
  font-size: 1.05rem;
  color: #555;
  margin: 0;
}

/* Responsive content indent */
@media (max-width: 1024px) {
  .page-content,
  .certifications {
    margin-left: 40px;
    margin-right: 40px;
  }
}

@media (max-width: 768px) {
  .page-content,
  .certifications {
    margin-left: 20px;
    margin-right: 20px;
    max-width: none;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  background-color: #182B49;
  color: white;
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* ========== BUTTON ========== */
.btn {
  display: inline-block;
  background-color: #FFCD00;
  color: #182B49;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #e6b800;
}

/* ========== CTA BOX ========== */
.cta-box {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #f5f7fa;
  border-radius: 8px;
  text-align: center;
}

.cta-box p {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: #333;
}

/* ========== FOOTER ========== */
.footer {
  background-color: #182B49;
  color: white;
  padding-top: 3rem;
}

.footer__main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer__column h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #FFCD00;
}

.footer__column p,
.footer__column a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer__column a:hover {
  color: #FFCD00;
}

.footer__column ul {
  list-style: none;
}

.footer__column ul li {
  margin-bottom: 0.5rem;
}

.footer__bottom {
  background-color: #0f1c33;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 1.1rem 1.5rem;
  font-size: 0.9rem;
  color: #aab4c4;
}

/* ========== CONTACT FORM ========== */
.form-container {
  max-width: 500px;
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}