/* =========================
   Boardroom Expression
   style.css
   Clean, modern, responsive
   ========================= */

/* ---- Base / Reset ---- */
:root {
  --navy: #001f3f;
  --white: #ffffff;
  --muted: #6b7280;
  --glass: rgba(255, 255, 255, 0.06);
  --card-bg: #f8fbff;
  --radius: 14px;
  --shadow-soft: 0 6px 18px rgba(2, 6, 23, 0.12);
  --accent: #0b5cff;
  --gap: 1.25rem;
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: #0b1b2b;
  background: linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Let main content grow to push footer down */
body > *:not(.site-footer) {
  flex-shrink: 0;
}

.flags-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  background: white; /* or transparent if you want */
  z-index: 9999;
  overflow-x: auto;
}

.flags-bar img {
  width: 35px; /* adjust size */
  height: auto;
  object-fit: contain;
}

body {
  padding-top: 60px; /* adjust so content doesn’t hide behind flags */
}


/* HORIZONTAL FLAG SCROLLER */
.horizontal-flags {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 70px;
  overflow: hidden;
  z-index: 9999;
  padding-left: 10px;
}

.horizontal-flags .flags-track {
  display: flex;
  gap: 20px;
  align-items: center;
  animation: scroll-horizontal 40s linear infinite;
  width: max-content;
}

.horizontal-flags img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

@keyframes scroll-horizontal {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}



main {
  flex: 1; /* forces footer to bottom */
}

/* ---- Container ---- */
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---- Header ---- */
.site-header {
  background: rgba(0, 31, 63, 0.02);
  position: sticky;
  top: 60px; /* push navbar below flags */
  z-index: 500;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(2, 6, 23, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo-mark {
  background: linear-gradient(135deg, var(--navy), #0b5cff);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Montserrat';
  box-shadow: var(--shadow-soft);
}

.logo-text .brand {
  font-weight: 600;
  font-family: 'Montserrat';
}

.logo-text .subbrand {
  font-size: .75rem;
  color: var(--muted);
  margin-top: -3px;
}

/* Nav */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  align-items: center;
}

.main-nav a , .footer-right a, .footer-right a{
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
}

.main-nav a:hover,.footer-right a:hover,.socials a:hover {
  background: rgba(11, 92, 255, 0.06);
  transform: translateY(-2px);
  transition: all .18s ease;
}

/* CTA */
.header-cta {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease;
}

.header-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(1, 26, 52, 0.18);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 4px 0;
  border-radius: 2px;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(180deg, rgba(0, 31, 63, 1) 0%, rgba(11, 92, 255, 0.9) 60%);
  color: var(--white);
  padding: 64px 0 90px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}

/* Hero content */
.hero h1 {
  font-family: 'Montserrat';
  font-size: clamp(1.6rem, 3.4vw, 2.55rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 52ch;
}

/* VISIONARY */
#visionary {
  padding: 100px 40px;
  text-align: center;
}

.visionary-card {
  margin-top: 40px;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.visionary-card img {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.visionary-text {
  max-width: 600px;
  text-align: left;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(90deg, #0b5cff 0%, #2e8bff 100%);
  color: white;
  border: 0;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(11, 92, 255, 0.18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(11, 92, 255, 0.22);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-3px);
}

/* Hero art cluster */
.cluster-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.18);
  margin-bottom: 16px;
}

.cluster-card.small {
  transform: translateY(18px) scale(.98);
  opacity: .95;
}

.cluster-card.muted {
  opacity: .9;
  transform: translateY(-8px);
}

/* ---- Section general ---- */
.section {
  padding: 64px 0;
}

.section-title {
  font-family: 'Montserrat';
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 6px;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 18px;
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

/* About stats */
.about-stats .stat {
  margin-bottom: 14px;
}

.about-stats .num {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}

.about-stats .label {
  color: var(--muted);
}

/* Seven mountains grid */
.mountain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.mountain-card {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: default;
}

.mountain-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.10);
}

.mountain-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

/* Programs */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.program-card {
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease;
}

.program-card:hover {
  transform: translateY(-6px);
}

/* Registration */
.register-card {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
  padding: 26px;
}

.register-left h2 {
  margin-top: 0;
  color: var(--navy);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-list li {
  margin: 8px 0;
}

/* Form styles */
.register-form .form-row {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}

.register-form label {
  font-size: .9rem;
  margin-bottom: 6px;
  color: #223;
  font-weight: 500;
}

.register-form input,
.register-form textarea{
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6eef8;
  outline: none;
  font-family: inherit;
  background: #fff;
  transition: box-shadow .12s ease, transform .12s ease;
}

.register-form input:focus,
.register-form textarea:focus {
  box-shadow: 0 6px 18px rgba(11, 92, 255, 0.08);
  transform: translateY(-2px);
  border-color: rgba(11, 92, 255, 0.16);
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

/* Contact section */
.contact .socials {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(180deg, #fff, #f2f7ff);
  border-radius: 8px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.regForm input, .regForm textarea{
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6eef8;
  outline: none;
  font-family: inherit;
  background: #fff;
  transition: box-shadow .12s ease, transform .12s ease;
  width: 90%;
}

.contact-form textarea {
  resize: vertical;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 22px 0;
  background: transparent;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left .muted {
  color: var(--muted);
  margin-top: 6px;
  font-size: .95rem;
}

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.popup[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  background: white;
  padding: 22px;
  border-radius: 12px;
  width: min(420px, 94%);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.26);
  text-align: center;
}

.popup-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}

/* Muted small text */
.muted {
  color: var(--muted);
  font-size: .95rem;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .mountain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .register-card {
    grid-template-columns: 1fr;
  }

  .header-inner {
    gap: 10px;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    display: none;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    z-index: 999;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .main-nav a {
    padding: 14px 0;
    display: block;
    width: 100%;
  }

  /* Fix toggle button visibility */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--navy);
    display: block;
    border-radius: 3px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* Small screens */
@media (max-width: 520px) {
  .mountain-grid {
    grid-template-columns: 1fr;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .header-cta {
    display: none;
  }
}