/* ========================
   DESIGN SYSTEM
======================== */
:root {
  /* Dark brand palette */
  --primary: #1f6fd1;         /* brand blue tint for accents */
  --primary-600: #0b3a73;      /* deep brand blue */
  --secondary: #ffcc00;        /* gold accent */
  --accent: #8ab4ff;           /* link color on dark */

  --text: #e6edf3;             /* base text on dark */
  --muted: #a6b3c2;            /* secondary text */
  --bg: #0b1320;               /* page background */
  --surface: #0f172a;          /* card/nav surfaces */

  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.12);

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text); margin: 0 0 0.6rem 0; }

p { margin: 0 0 1rem 0; color: var(--muted); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ========================
   NAVBAR
======================== */
.navbar { position: sticky; top: 0; z-index: 1000; background: linear-gradient(180deg, #0c1a2e, #0b1627); box-shadow: 0 1px 0 rgba(255,255,255,0.05); }
.nav-container { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.25rem; }
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.brand img { display:none; }
.logo { color: #ffffff; font-weight: 900; letter-spacing: 0.6px; font-size: 1.2rem; }

.nav-links { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.nav-links a { color: #e8eef6; font-weight: 600; position: relative; padding: 0.25rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--secondary); transition: width .25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle { display: none; border: 1px solid #e6eaf0; border-radius: 8px; padding: 0.4rem 0.55rem; background: var(--surface); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .25s ease; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; right: 1.25rem; top: 58px; background: #0d1a2b; border-radius: var(--radius); box-shadow: var(--shadow-md); flex-direction: column; gap: 0; overflow: hidden; max-height: 0; transition: max-height .3s ease; }
  .nav-links.open { max-height: 240px; }
  .nav-links li { border-bottom: 1px solid #eef2f7; }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 0.9rem 1rem; }
}

/* ========================
   HERO
======================== */
.hero { position: relative; padding: 7rem 1.25rem; overflow: hidden; background: radial-gradient(900px 500px at 20% 10%, rgba(31,111,209,.25), transparent 60%), radial-gradient(900px 500px at 80% 0%, rgba(255,204,0,.15), transparent 55%); margin-bottom: 1.25rem; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0.2) 0%, rgba(15,23,42,0.85) 80%, rgba(15,23,42,1) 100%); z-index: -1; }
.hero::after { content: none; }
.hero-content { max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.15; margin-bottom: 0.75rem; }
.hero p { font-size: clamp(1rem, 2.2vw, 1.25rem); color: #b8c4d3; margin-bottom: 1.75rem; }

.badge { display: inline-block; background: #e9f2ff; color: #0a51b9; font-weight: 700; font-size: 0.82rem; padding: 0.35rem 0.6rem; border-radius: 999px; margin-bottom: 0.75rem; }

.btn { display: inline-flex; align-items: center; gap: .6rem; border: 0; cursor: pointer; border-radius: 999px; padding: 0.85rem 1.25rem; font-weight: 700; transition: transform .06s ease, box-shadow .2s ease; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--secondary); color: #3a2e00; box-shadow: 0 6px 14px rgba(255,204,0,.35); }
.btn-primary:hover { box-shadow: 0 10px 22px rgba(255,204,0,.45); }
.btn-secondary { background: var(--primary); color: #fff; box-shadow: 0 6px 14px rgba(0,51,102,.25); }
.btn-secondary:hover { box-shadow: 0 10px 22px rgba(0,51,102,.35); }

/* ========================
   SECTIONS
======================== */
.section-header { text-align: center; max-width: 820px; margin: 0 auto 2.5rem; }
section { padding: 4.25rem 1.25rem; }
/* extra breathing room between adjacent sections to avoid visual overlap */
section + section { margin-top: 1.25rem; }
.section-header { text-align: center; max-width: 820px; margin: 0 auto 2.5rem; }
.container-narrow { max-width: 760px; }
.muted { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.card { grid-column: span 6; background: #0f1c31; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; border: 1px solid rgba(255,255,255,0.05); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0; }

@media (max-width: 960px) { .card { grid-column: span 12; } }

/* CTA */
.cta { background: linear-gradient(135deg, #004d99, #00264d); color: #fff; text-align: center; padding: 2.75rem 1.25rem; margin-top: 1.25rem; }
.cta .container { max-width: 740px; }
.cta h2 { color: #fff; margin-bottom: 0.9rem; }

/* ========================
   CONTACT
======================== */
.contact-wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; align-items: start; }
.contact-card { grid-column: span 6; background: #0f1c31; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.05); }
.contact-form { grid-column: span 6; background: #0f1c31; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.05); }
.contact-form form { display: grid; gap: .9rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: .9rem 1rem; border: 1px solid #2a3950; background: #0b1424; color: var(--text); border-radius: 8px; font-family: var(--font-body); }
.contact-form textarea { min-height: 140px; resize: vertical; }

@media (max-width: 960px) { .contact-card, .contact-form { grid-column: span 12; } }

/* ========================
   FOOTER
======================== */
footer { background: transparent; border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem; text-align: center; color: var(--muted); margin-top: 1.25rem; }

/* ========================
   UTILITIES
======================== */
.pill { display: inline-block; padding: .25rem .6rem; border-radius: 999px; background: #eef2f7; color: #4a5b6b; font-weight: 700; font-size: .78rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); padding:0 !important; border:0 !important; height: 1px !important; width: 1px !important; overflow: hidden; }

/* ========================
   PROFILE (Founder)
======================== */
.profile { background: #0f1c31; border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-sm); }
.profile-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 1.25rem; align-items: start; }
.profile-photo { width: 100%; max-width: 200px; aspect-ratio: 1/1; object-fit: cover; object-position: center; border-radius: 50%; box-shadow: 0 8px 20px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,0.06); }
.profile-meta h3 { margin: 0 0 .25rem 0; }
.profile-meta .title { color: #c6d3e3; margin-bottom: .75rem; }
.profile-meta ul { margin: .5rem 0 0 1.1rem; padding: 0; color: var(--muted); }
.profile-meta li { margin: .25rem 0; }

@media (max-width: 860px) {
  .profile-wrap { grid-template-columns: 1fr; }
  .profile-photo { max-width: 100%; }
}
