/* SkyDreamers v2 – clean nonprofit aviation style */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Layout helpers */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: none;
}

/* Header / nav */

.site-header {
  border-bottom: 1px solid #e5e7eb;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  background: url(res/logo.png);
}

.brand-text-main {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #0f172a;
}

.brand-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #64748b;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links a {
  text-decoration: none;
  color: #0f172a;
}

.nav-links a.active {
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background-color: #1d4ed8;
}

.nav-links a:hover {
  color: #1d4ed8;
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background-color: #1d4ed8;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
}

.nav-cta:hover {
  background-color: #1436a8;
}

/* Mobile Menu Button */

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #0f172a;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.btn-primary {
  background-color: #1d4ed8;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1436a8;
}

.btn-outline {
  background-color: transparent;
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.btn-outline:hover {
  background-color: #eff6ff;
}

.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: #1d4ed8;
}

/* Hero */

.hero {
  padding: 3.4rem 0 3.2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 1.1rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #475569;
  max-width: 30rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-meta {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1.4rem;
}

/* Hero visual matches screenshot feel: right-side image block */

.hero-image-frame {
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #020617, #111827);
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-inner {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #e5e7eb 0, #cbd5f5 45%, #94a3b8 100%);
  background-size: cover;
  filter: grayscale(1);
  opacity: 0.9;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.36), transparent 55%);
}

.hero-image-caption {
  position: absolute;
  left: 1.6rem;
  bottom: 1.4rem;
  background: rgba(15, 23, 42, 0.84);
  color: #e5e7eb;
  font-size: 0.78rem;
  padding: 0.65rem 0.85rem;
  border-radius: 4px;
}

/* Sections / cards */

.section {
  padding: 2.8rem 0;
}

.section-header {
  margin-bottom: 1.8rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.section-title {
  margin: 0;
  font-size: 1.6rem;
  color: #0f172a;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 36rem;
  margin-top: 0.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.card {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem 1.5rem 1.4rem;
}

.card h3 {
  margin-top: 0;
}

.card-secondary {
  background-color: #f8fafc;
}

.image-placeholder {
  width: 100%;
  padding-top: 60%;
  border-radius: 10px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* .image-placeholder::after {
  content: "IMAGE PLACEHOLDER";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #64748b;
} */

/* Lists */

ul.bullet-list {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0.2rem;
}

ul.bullet-list li {
  margin-bottom: 0.25rem;
}

/* Page hero (inner pages) */

.page-hero {
  padding: 3rem 0 2.2rem;
  border-bottom: 1px solid #e5e7eb;
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.page-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #64748b;
}

.page-hero-title {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero-lead {
  font-size: 0.96rem;
  color: #475569;
  max-width: 44rem;
}

.content-block {
  margin-bottom: 2rem;
}

.content-block h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.content-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.7rem;
}

.quote {
  border-left: 3px solid #1d4ed8;
  padding-left: 0.8rem;
  color: #475569;
  font-style: italic;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e5e7eb;
  background-color: #0b1120;
  color: #e5e7eb;
  padding: 2.4rem 0 2.6rem;
  margin-top: 2.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  justify-content: space-between;
}

.footer-brand h3 {
  margin-top: 0;
}

.footer-links,
.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  font-size: 0.82rem;
}

.footer-links a,
.footer-policies a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover,
.footer-policies a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.8rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Responsive */

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
  }
}

/* Forms */
.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #334155;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e293b;
  background-color: #f8fafc;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1d4ed8;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  margin-top: 1rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: #ffffff;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
}

.modal-close:hover {
  color: #0f172a;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.modal-desc {
  color: #64748b;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .nav-links.active {
    display: flex;
  }

  .hero-inner,
  .grid-2,
  .grid-3,
  .content-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.1rem;
  }

  .hero-image-frame {
    order: -1;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 2.1rem;
  }

  .card {
    padding-inline: 1.2rem;
  }
}