/* ---------- Global ---------- */

* {
    box-sizing: border-box;
}

:root {
    --bg-dark: #020b1a;
    --bg-card: #091829;
    --accent: #ffb347;
    --accent-soft: #ffde9e;
    --text-main: #f5f7fb;
    --text-muted: #a9b3c8;
    --danger: #ff6b6b;
    --shadow-soft: 0 20px 35px rgba(0, 0, 0, 0.45);
    --radius-lg: 22px;
    --radius-pill: 999px;
    --max-width: 1100px;
    --nav-height: 70px;
}

html, body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #1a3555, #020814 60%);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Layout ---------- */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
    max-width: var(--max-width);
    margin: 90px auto 40px;
    padding: 0 16px 32px;
}

section {
    margin-bottom: 48px;
}

/* ---------- Top banner ---------- */

.top-banner {
    background: #0c56d5;
    color: #f2f5ff;
    font-size: 13px;
    text-align: center;
    padding: 6px 12px;
}

/* ---------- Nav ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-height);
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffffff, #1a4b7d 40%, #020b1a 70%);
    border: 2px solid rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-title-main {
    font-weight: 600;
    letter-spacing: 0.03em;
    font-size: 18px;
}

.nav-title-sub {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 14px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-soft);
    border-color: var(--accent);
}

.nav-call {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--accent);
    color: #1b1306;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-call span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.nav-call strong {
    font-size: 13px;
}

/* ---------- Hero ---------- */

.hero {
    background: radial-gradient(circle at top left, #244f84, #05101f 55%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    padding: 32px 28px 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    align-items: center;
    font-size: 11px;
    color: var(--accent-soft);
}

.badge-pill {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.18);
}

.badge-location {
    color: var(--text-muted);
}

.hero h1 {
    font-size: 32px;
    line-height: 1.15;
    margin: 0 0 8px;
}

.hero h1 span.highlight {
    color: var(--accent-soft);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.btn-primary,
.btn-secondary {
    border-radius: var(--radius-pill);
    padding: 10px 18px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.btn-primary {
    background: var(--accent);
    color: #1b1306;
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.2);
    color: var(--accent-soft);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-note {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-note span {
    color: var(--accent-soft);
}

/* Hero checklist */

.hero-card {
    background: rgba(1, 8, 22, 0.9);
    border-radius: 18px;
    padding: 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.hero-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-card li {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-muted);
}

.hero-card li::before {
    content: "✔";
    color: #45ff9e;
    font-size: 11px;
    margin-top: 1px;
}

/* ---------- Content blocks ---------- */

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-soft);
}

/* History page My Story card spacing fix */

.card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

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

/* Lists */

.checklist {
    list-style: none;
    padding-left: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.checklist li {
    margin-bottom: 6px;
}

.checklist li::before {
    content: "• ";
    color: var(--accent-soft);
}

/* Tables */

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pricing-table th,
.pricing-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.pricing-table th {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* ---------- Contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
}

.contact-item {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--accent-soft);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form label {
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-main);
    font-family: inherit;
}

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

/* ---------- Footer ---------- */

footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    padding: 16px 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.85);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .hero,
    .grid-2,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    main {
        margin-top: 82px;
    }

    .nav-inner {
        gap: 10px;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: flex-start;
    }

    .hero-inner .hero-content {
        flex-direction: column;
    }
}


@media (max-width: 600px) {
    .hero {
        padding: 22px 18px 18px;
    }

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

    .card {
        padding: 18px 16px;
    }
}

/* --- History page styles --- */


.hero-inner {
  /* keep the same rounded card/background, but let the inner flex control the layout */
  display: block;
  padding: 32px 28px;
}

.hero-inner .hero-content {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.hero-inner .hero-text {
  flex: 1;
}

.hero-inner .hero-photo {
  flex: 1;
  text-align: center;
}

.hero-inner .hero-photo img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: block;
  margin: 0 auto 0.5rem;
}

.hero-inner .hero-photo figcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-inner h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}


/* Timeline */

.timeline {
  list-style: none;
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline li {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.55rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #fbbf24; /* accent dot */
}

.timeline-year {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.timeline-body h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.1rem;
}

/* Two-column section */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* Apply two-column layout inside cards as well */

@media (max-width: 800px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

/* Photo gallery */

.section-intro {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.gallery-heading {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.photo-grid figure {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 0.75rem;
  overflow: hidden;
  padding: 0.5rem;
}

.photo-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
}

.photo-grid figcaption {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
}


body > img {
  max-width: 260px;
  height: auto;
  display: block;
  margin: 24px auto 8px;
}
