:root {
  --blue-dark: #0a2d6e;
  --blue: #1053b8;
  --blue-bright: #1e6fe0;
  --blue-sky: #4aa3ff;
  --white: #ffffff;
  --off-white: #f2f7ff;
  --text: #14243d;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(10, 45, 110, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 45, 110, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: .6rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-logo { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.brand-name {
  color: var(--white); font-size: 1.5rem; font-weight: 800; letter-spacing: 2px;
}
.nav-links {
  list-style: none; display: flex; gap: 1.4rem; align-items: center;
}
.nav-links a {
  color: #dbe8ff; font-weight: 600; font-size: .95rem;
  padding: .35rem 0; border-bottom: 2px solid transparent;
  transition: border .2s, color .2s;
}
.nav-links a:hover { color: var(--white); border-bottom-color: var(--blue-sky); text-decoration: none; }
.nav-cta {
  background: var(--blue-bright); color: var(--white) !important;
  padding: .45rem 1.1rem !important; border-radius: 999px;
}
.nav-cta:hover { background: var(--blue-sky); }
.nav-toggle {
  display: none; background: none; border: none; color: var(--white);
  font-size: 1.6rem; cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-bright) 100%);
  padding: 7rem 1.2rem 4rem;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(74,163,255,.25), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,.08), transparent 40%);
}
.hero-content { position: relative; max-width: 760px; }
.hero-logo {
  width: 150px; height: 150px; object-fit: cover; border-radius: 20px;
  margin: 0 auto 1.4rem; box-shadow: 0 12px 40px rgba(0,0,0,.4);
  border: 3px solid rgba(255,255,255,.35);
}
.hero h1 {
  color: var(--white); font-size: clamp(3rem, 8vw, 5.2rem);
  letter-spacing: .12em; font-weight: 900;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero-tag {
  color: var(--blue-sky); font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 700; margin-top: .3rem; letter-spacing: .04em;
}
.hero-sub { color: #cfe0ff; margin-top: .5rem; font-size: 1.05rem; }
.hero-actions { margin-top: 2.2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block; padding: .85rem 2rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; transition: transform .15s, box-shadow .15s, background .2s;
  border: none; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-sky));
  color: var(--white); box-shadow: 0 6px 20px rgba(30,111,224,.45);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-full { width: 100%; }

/* ---------- SECTIONS ---------- */
.section { padding: 5.5rem 1.2rem; }
.section-alt { background: var(--off-white); }
.container { max-width: 1120px; margin: 0 auto; }
.section-title {
  text-align: center; font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--blue-dark); margin-bottom: 2.2rem; letter-spacing: .03em;
}
.accent {
  background: linear-gradient(135deg, var(--blue), var(--blue-sky));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .2rem; border-bottom: 5px solid var(--blue-sky);
}
.section-intro { text-align: center; color: #5a6b85; margin: -1.2rem 0 2.4rem; font-size: 1.05rem; }

/* ---------- CARDS ---------- */
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 2.2rem; box-shadow: var(--shadow);
  border-top: 5px solid var(--blue-bright);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(10,45,110,.18); }
.card-feature { text-align: center; padding: 3rem 2.5rem; max-width: 820px; margin: 0 auto; }
.lead { font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 500; color: #1c3050; line-height: 1.7; }
.card h3 { color: var(--blue-dark); margin-bottom: .7rem; font-size: 1.25rem; }
.card p { color: #4a5b75; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-sky));
  color: var(--white); font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }

/* ---------- GALLERY ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); transition: transform .2s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 320px; object-fit: cover; }
.gallery-item figcaption {
  padding: .8rem 1rem; font-size: .92rem; font-weight: 600; color: var(--blue-dark);
}

/* ---------- CONTACT ---------- */
.contact-card h3 { font-size: 1.35rem; }
.contact-role { color: var(--blue-bright); font-weight: 600; margin-bottom: 1rem; }
.contact-list { list-style: none; }
.contact-list li { padding: .45rem 0; color: #4a5b75; }
.contact-list strong { color: var(--blue-dark); }

/* ---------- JOIN FORM ---------- */
.section-join {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}
.section-join .section-title .accent {
  background: linear-gradient(135deg, #ffffff, var(--blue-sky));
  -webkit-background-clip: text; background-clip: text;
  border-bottom-color: var(--blue-sky);
}
.section-join .section-intro { color: #cfe0ff; }
.join-form { max-width: 620px; margin: 0 auto; border-top-color: var(--blue-sky); }
.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block; font-weight: 600; color: var(--blue-dark); margin-bottom: .35rem; font-size: .95rem;
}
.form-row input, .form-row textarea {
  width: 100%; padding: .8rem 1rem; border: 2px solid #d5e2f5;
  border-radius: 10px; font-size: 1rem; font-family: inherit; color: var(--text);
  background: var(--off-white); transition: border .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue-bright); background: var(--white);
}
.form-row input[readonly] { background: #e8eff9; color: #5a6b85; }
.form-note { text-align: center; margin-top: 1rem; color: #5a6b85; font-size: .9rem; }
.form-note.success { color: #0d8a3f; font-weight: 700; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--blue-dark); color: #cfe0ff;
  text-align: center; padding: 2.4rem 1.2rem;
}
.footer strong { color: var(--white); letter-spacing: .08em; }
.footer-small { margin-top: .4rem; font-size: .85rem; color: #8fb0e8; }

/* ---------- MOBILE ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blue-dark);
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-cta { border-radius: 0; }
  .section { padding: 4rem 1.2rem; }
  .hero { min-height: 88vh; }
}
