:root{
  --topbar: rgba(79,111,149,0.78);
  --header-solid: rgba(35,55,80,0.88);

  --panel:#232323;
  --panel-2:#1b1b1b;
  --rule: rgba(255,255,255,0.14);

  --text:#ffffff;
  --muted:#c9c9c9;
  --link:#ffffff;

  --brand:#0f4c81;
  --max:1200px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:#111;
}

/* Accessible skip link */
.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:#000;
  color:#fff;
  padding:10px 12px;
  border-radius:6px;
  z-index:1000;
}
.skip-link:focus{ left:10px; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 26px;
}

/* HERO */
.hero{
  position: relative;
  min-height: 680px;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.30) 0%,
      rgba(0,0,0,0.12) 45%,
      rgba(0,0,0,0.35) 100%
    );
}

/* TOP BAR */
.topbar{
  position: relative;
  z-index: 20;
  background: var(--topbar);
  backdrop-filter: blur(2px);
}
.topbar-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 10px 0;
  font-size: 14px;
}
.topbar-left{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}
.topbar-link{
  color: var(--link);
  text-decoration:none;
  opacity:0.95;
  white-space:nowrap;
}
.topbar-link i{ margin-right: 8px; opacity:0.95; }
.topbar-link:hover{ text-decoration: underline; opacity:1; }
.topbar-right a{
  font-size:16px;
  padding: 4px 8px;
}

/* HEADER */
.header{
  position: sticky;
  top: 0;
  z-index: 30;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
  background: rgba(0,0,0,0);
}
.header.is-solid{
  background: var(--header-solid);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 18px 0;
}
.header.is-solid .header-row{ padding: 12px 0; }

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
}
.brand-logo{
  height: 58px;
  width: auto;
  display:block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}

/* NAV + MOBILE */
.nav-wrap{
  display:flex;
  align-items:center;
  gap: 14px;
}
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.25);
  color:#fff;
}
.nav-toggle i{ font-size:18px; }

.nav{
  display:flex;
  align-items:center;
  gap: 26px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav-link{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  letter-spacing:0.2px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.30);
  opacity:0.96;
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-link i{ font-size: 16px; opacity:0.95; }
.nav-link:hover{ text-decoration: underline; opacity:1; }
.nav-link.active{ opacity:1; text-decoration: underline; }

/* INNER PAGE SHORT BANNER */
.hero.hero--small{ min-height: 260px; }
.hero-title{
  position: relative;
  z-index: 25;
  padding-top: 70px;
  padding-bottom: 20px;
}
.hero-title h2{
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.hero-title p{
  margin: 10px 0 0;
  max-width: 70ch;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* INFO PANEL */
.info{
  background: var(--panel);
  padding: 56px 0;
}
.info-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.info-col{
  min-height: 260px;
  padding: 0 26px;
  display:flex;
  flex-direction:column;
}
.info-col + .info-col{
  border-left: 1px solid var(--rule);
}
.info h3{
  margin: 0 0 18px;
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 700;
}
.info p{
  margin: 12px 0;
  color: #dbdbdb;
  line-height: 1.7;
}
.muted{ color: var(--muted); }

.social-box{
  width: 54px;
  height: 54px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#2b2b2b;
  border:1px solid rgba(255,255,255,0.10);
  margin-top: 36px;
  font-weight:700;
  opacity:0.95;
  border-radius: 2px;
}
.social-box i{ font-size: 18px; }

.news-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#fff;
  text-decoration:none;
  padding: 10px 0;
}
.news-link:hover{ text-decoration: underline; }
.info hr{
  border:0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.info-center{ text-align:center; }
.pin{
  font-size: 70px;
  margin-top: 44px;
  opacity: 0.95;
}

.plain-link{
  color:#fff;
  text-decoration:none;
}
.plain-link:hover{ text-decoration: underline; }

/* WHITE CONTENT AREA (inner pages) */
.page{
  background:#ffffff;
  color:#222;
  padding: 56px 0 84px;
}
.page .container{ max-width: 900px; }
.page h1, .page h2, .page h3{ color:#111; }
/* Inner page link styling (unified) */
.page a{
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.25s ease;
}

/* Animated underline */
.page a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.25s ease;
}

.page a:hover{
  color: #0c3d67;
}

.page a:hover::after{
  width: 100%;
}

.page a:focus{
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.page p, .page li{ line-height:1.8; }
.page hr{ border:0; border-top:1px solid #e5e7eb; margin: 22px 0; }


/* =========================
   Inner pages typography + rhythm
   ========================= */

/* Headings hierarchy */
.page h1{
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 18px;
}
.page h2{
  font-size: 22px;
  line-height: 1.3;
  margin: 26px 0 10px;
}
.page h3{
  font-size: 18px;
  line-height: 1.35;
  margin: 22px 0 10px;
}

/* Paragraph/list rhythm */
.page p{ margin: 0 0 14px; }
.page ul, .page ol{ margin: 0 0 14px 20px; }
.page li{ margin: 0 0 8px; }
/* Simple cards for inner pages */
.card{
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
}
.card + .card{ margin-top: 18px; }

/* Map */
.map{
  width:100%;
  height: 380px;
  border:0;
  border-radius: 12px;
}

/* FOOTER STRIP */
.footer{
  background: #2a2a2a;
  color: #bcbcbc;
  text-align:center;
  padding: 16px 0;
  font-size: 13px;
}
.footer-link{
  color:#d0d0d0;
  text-decoration:none;
}
.footer-link:hover{ text-decoration: underline; }

/* FLOATING MAIL BUTTON */
.fab-mail{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  z-index: 50;
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}
.fab-mail:hover{ background: rgba(0,0,0,0.78); }
.fab-mail i{ font-size: 18px; }

/* RESPONSIVE */
@media (max-width: 980px){
  .header-row{ align-items:flex-start; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  .nav{
    position:absolute;
    right: 26px;
    top: 74px;
    flex-direction:column;
    align-items:flex-start;
    gap: 14px;
    padding: 14px;
    border-radius: 10px;
    background: rgba(0,0,0,0.70);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 16px 30px rgba(0,0,0,0.25);
    display:none;
    min-width: 220px;
  }
  .nav.is-open{ display:flex; }
  .nav-link{ text-shadow:none; }

  .info-grid{ grid-template-columns: 1fr 1fr; }
  .info-col{ padding: 18px 0; }
  .info-col + .info-col{ border-left: none; }
    /* Make borders work for any number of columns (incl. 3) */
  .info-col:nth-child(2n){ border-left: 1px solid var(--rule); padding-left: 26px; }
  .info-col:nth-child(2n-1){ padding-right: 26px; }
}

@media (max-width: 700px){
  .hero{ min-height: 520px; background-position: 20% center; }
  .topbar-row{ font-size: 13px; }
}

@media (max-width: 560px){
  .info-grid{ grid-template-columns: 1fr; }
  .info-col:nth-child(2), .info-col:nth-child(4){ border-left:none; padding-left: 0; }
  .info-col{ padding: 18px 0; }
  .nav{ right: 16px; }
  .container{ padding: 0 16px; }
}

/* =====================
   ABOUT PAGE (light, pixel-matched)
   ===================== */
body.light{
  background:#fff;
  color:#222;
}

body.light .topbar{ background: var(--topbar); }
body.light .topbar--light{
  background:#f3f3f3;
  backdrop-filter:none;
  border-bottom:1px solid #eaeaea;
}
body.light .topbar--light .topbar-link{
  color:#666;
  opacity:1;
}
body.light .topbar--light .topbar-link i{ opacity:0.75; }

body.light .header--light{
  position: relative;
  background:#fff;
  box-shadow:none;
  border-bottom:1px solid #ededed;
}
body.light .header--light .header-row{ padding: 18px 0; }
body.light .header--light .brand-logo{ filter:none; }

body.light .header--light .nav-link{
  color:#666;
  text-shadow:none;
  font-weight:600;
}
body.light .header--light .nav-link i{ opacity:0.7; }
body.light .header--light .nav-link:hover{ text-decoration:none; opacity:1; }
body.light .header--light .nav-link.active{
  color:#2a86c8;
  text-decoration:none;
}

.about-page{ background:#fff; }
.about-four{ padding: 44px 0 34px; }
.about-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
}
.about-card h3{
  margin: 0;
  text-align:center;
  font-weight: 400;
  font-size: 18px;
  color:#333;
}
.about-avatar{
  width: 210px;
  height: 210px;
  margin: 18px auto 22px;
  border-radius: 50%;
  border: 8px solid #e8eaee;
  overflow:hidden;
  background:#fff;
}
.about-avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
}
.about-copy{
  font-size: 16px;
  line-height:  1.8;
  color:#333;
}
.about-copy p{ margin: 0 0 14px; }
.about-copy h4{
  margin: 18px 0 6px;
  font-size: 15px;
  font-weight:700;
  color:#111;
}
.about-copy h4.useful{
  margin-top: 28px;
  text-align:center;
  font-weight:400;
  color:#444;
}
.useful-links{
  list-style:none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 16px;
  line-height:  1.8;
  color:#333;
}
.useful-links li{ margin: 2px 0; }

/* 4-column info panel variant */
.info-grid--4{ grid-template-columns: repeat(4, 1fr); }

/* 2-column info panel variant (used on About page when News/Location are removed) */
.info-grid--2{ grid-template-columns: repeat(2, 1fr); }

/* Make the Facebook square behave like the screenshot */
.social-box--link{
  text-decoration:none;
  color:#fff;
  margin-top: 36px;
}

.map-pin{
  width: 120px;
  height: 90px;
  margin: 32px auto 0;
  opacity: 0.95;
}
.map-pin svg{ width:100%; height:100%; display:block; }

/* Responsive tweaks for about page */
@media (max-width: 1100px){
  .about-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .about-grid{ grid-template-columns: 1fr; }
  .about-avatar{ width: 200px; height: 200px; }
}

/* =========================
   Core Beliefs page (pixel-style match)
   ========================= */

.beliefs-page{ background:#fff; }
.beliefs{ padding: 48px 0 360px; }
.beliefs-title{
  font-size: 18px;
  font-weight: 400;
  color:#333;
  margin: 0 0 34px;
}

.beliefs-layout{
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 64px;
  align-items: start;
}

.beliefs-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.beliefs-list li{
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  margin: 0 0 38px;
  /* Match body typography used on About page */
  font-size: 16px;
  line-height: 1.8;
  color:#222;
}

.beliefs-list li::before{
  content: "";
  width: 7px;
  height: 7px;
  border: 2px solid #444;
  border-radius: 50%;
  margin-top: 7px;
}

.beliefs-link{ color:#1c73b8; text-decoration:none; }
.beliefs-link:hover{ text-decoration: underline; }

.beliefs-aside{ text-align: center; }
.beliefs-image{
  width: 260px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 6px auto 0;
}

.beliefs-quote{
  margin: 22px 0 0;
  font-size: 11px;
  line-height: 2;
  letter-spacing: 2px;
  color:#222;
  text-transform: uppercase;
}

.beliefs-ref{
  display: block;
  margin-top: 8px;
  letter-spacing: 1px;
}

@media (max-width: 1100px){
  .beliefs-layout{ grid-template-columns: 1fr 1fr; }
  .beliefs-aside{ grid-column: 1 / -1; margin-top: 6px; }
  .beliefs{ padding-bottom: 220px; }
}

@media (max-width: 700px){
  .beliefs-layout{ grid-template-columns: 1fr; gap: 28px; }
  .beliefs{ padding-bottom: 140px; }
}


/* Useful links (About page) */
.useful-links{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color:#333;
}

.useful-links li{
  margin: 0.5rem 0;
}

.useful-links a{
  color: var(--primary-color, var(--brand));
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.25s ease;
}

.useful-links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--primary-color, var(--brand));
  transition: width 0.25s ease;
}

.useful-links a:hover{
  color: var(--primary-dark, #0c3d67);
}

.useful-links a:hover::after{
  width: 100%;
}

.useful-links a:focus{
  outline: 2px solid var(--primary-color, var(--brand));
  outline-offset: 3px;
}


/* Accessibility / SEO utility: visually hidden but readable by screen readers */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
