:root {
  /* Colors */
  --paragraphMediumColor: #1a1a1a;
  --siteTitleColor: #ffffff;
  --siteBackgroundColor: #ffffff;
  --darkAccent-hsl: 206, 16%, 35%;

  /* Fonts */
  --heading-font-font-family: 'Work Sans';
  --heading-font-font-weight: 300;
  --heading-font-letter-spacing: 0.16em;
  --heading-font-text-transform: uppercase;
  --heading-font-line-height: 1.4em;

  --body-font-font-family: 'Roboto';
  --body-font-font-weight: 300;
  --body-font-letter-spacing: 0;
  --body-font-line-height: 1.8em;

  /* Font sizes */
  --heading-1-size: 4rem;
  --heading-2-size: 2.8rem;
  --heading-3-size: 2rem;
  --normal-text-size: 1rem;
  --large-text-size: 1.25rem;
  --small-text-size: 0.9rem;

  /* Layout */
  --sqs-site-max-width: 1200px;

  /* Buttons */
  --primary-button-padding-x: 2rem;
  --primary-button-padding-y: 1rem;
  --primary-button-rounded-border-top-left-radius: 6px;
}


/* 2) ————————————————————————————— Layout helper rules ————————————————————————————— */
.sqs-layout:not(.sqs-editing) .sqs-row .sqs-block:not(.float):first-child {
  padding-top: 0;
}
.sqs-layout:not(.sqs-editing) .sqs-row .sqs-block:not(.float):last-child {
  padding-bottom: 0;
}
[class*=sqs-col] .sqs-block {
  padding-left: 17px;
  padding-right: 17px;
}
.sqs-block {
  position: relative;
  padding-top: 17px;
  padding-bottom: 17px;
}
.page-section {
  color: var(--paragraphMediumColor);
}

/* 3) ————————————————————————————— Basic Reset ————————————————————————————— */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body / Fonts */
body {
  font-family: 'Work Sans', 'Roboto', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

/* Global Header Styling */
h1 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;            /* Light weight */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff;              /* White text */
}

/* 4) ————————————————————————————— Body & Typography ————————————————————————————— */
body {
  font-family: var(--body-font-font-family), sans-serif;
  font-weight: var(--body-font-font-weight);
  font-size: var(--normal-text-size);
  line-height: var(--body-font-line-height);
  letter-spacing: var(--body-font-letter-spacing);
  background-color: var(--siteBackgroundColor);
  color: var(--paragraphMediumColor);
}

/* 5) ————————————————————————————— Header ————————————————————————————— */
.site-header {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 1001;
  background: transparent !important;
}
.header-inner {
  max-width: var(--sqs-site-max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-title a {
  font-family: var(--heading-font-font-family), sans-serif;
  font-weight: var(--heading-font-font-weight);
  font-size: var(--large-text-size);
  letter-spacing: var(--heading-font-letter-spacing);
  text-transform: var(--heading-font-text-transform);
  color: var(--siteTitleColor);
  text-decoration: none;
}

/* 6) ————————————————————————————— Desktop Nav ————————————————————————————— */
.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.desktop-nav a {
  font-family: var(--heading-font-font-family), sans-serif;
  font-weight: var(--heading-font-font-weight);
  font-size: var(--normal-text-size);
  letter-spacing: var(--heading-font-letter-spacing);
  text-transform: var(--heading-font-text-transform);
  color: var(--siteTitleColor);
  text-decoration: none;
}
.desktop-nav .nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-folder {
  position: relative;
}

.folder-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #04364A; /* dark background */
  padding: 1rem;
  z-index: 1000;
  min-width: 220px; /* increased from 160px */
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  white-space: nowrap; /* prevent wrapping */
}

.nav-folder .folder-dropdown {
  display: none !important;
}

.nav-folder:hover .folder-dropdown {
  display: block !important;
}

.folder-dropdown li {
  margin: 0.5rem 0;
}

.folder-dropdown a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  display: block;
}

.folder-dropdown a:hover {
  color: white;
  text-decoration: none;
}

/* Add extra spacing between main content paragraphs */
.spaced-top {
  margin-top: 3rem;
}

/* Ensure the contact section is fully centered */
.section-inner.narrow {
  text-align: center;
}

.section-inner.narrow p {
  margin-bottom: 2rem;
  line-height: 1.75;
}

.section-inner.narrow h2,
.section-inner.narrow h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.section-inner.narrow ul {
  margin-left: 1.25rem;
  margin-bottom: 2rem;
}

.section-inner.narrow li {
  margin-bottom: 1rem;
}

.contact-form {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: left;
}

/* Mobile nav styling */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 2000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.mobile-nav li {
  margin: 2rem 0;
}
.mobile-nav a {
  text-decoration: none;
  font-size: 2rem;
  color: #0c3c52;
  font-weight: 300;
}
.mobile-nav .submenu {
  display: none;
}
.mobile-nav .back {
  color: #6b8fa7;
  font-size: 1rem;
}

.mobile-nav .cta-button {
  margin-top: auto;
  margin-bottom: 3rem;
  padding: 1rem 2rem;
  background: #7c95a8;
  color: white;
  font-weight: bold;
  border-radius: 4px;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.submenu.hidden,
.mobile-menu.hidden {
  display: none;
}

.back-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #7c95a8;
  cursor: pointer;
}

.mobile-nav-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: white;
  border-bottom: 1px solid #ccc;
  z-index: 2002;
}

.mobile-site-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0c3c52;
}

.close-btn {
  font-size: 1.8rem;
  color: #0c3c52;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}


/* 7) ————————————————————————————— CTA Button ————————————————————————————— */
.header-cta .cta-button {
  background: #7c95a8;
  color: var(--siteBackgroundColor);
  padding: var(--primary-button-padding-y) var(--primary-button-padding-x);
  border-radius: var(--primary-button-rounded-border-top-left-radius);
  font-family: var(--body-font-font-family),sans-serif;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  white-space: nowrap; /* prevent line break */
  text-align: center;
}

.cta-button:hover {
  background-color: #5a7e95;
  color: white;
  opacity: 0.85;
}

/* 9) ————————————————————————————— Hero Section ————————————————————————————— */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
}
.hero-large { min-height: 70vh; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 100%;
  text-align: center;
}

.hero-content h1 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  color: white;
  font-size: 3.2rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.hero-content .hero-btn {
  background-color: #7c95a8;
  color: #ffffff;
  font-weight: bold;
  font-family: var(--body-font-font-family), sans-serif;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.hero-content .hero-btn:hover {
  background-color: #5a7e95;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 54, 78, 0.45); /* blue-gray overlay */
  z-index: 1;
  pointer-events: none; /* allow menu clicks to pass through */
}

.subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  color: #2f4f60;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Content paragraphs */
.section-inner p {
  font-size: 1rem;
  color: #2f4f60;
  font-weight: 300;
  line-height: 1.7;
}

/* Lists */
.section-inner ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: #2f4f60;
  font-size: 1rem;
  line-height: 1.7;
}

.section-inner ul li {
  margin-bottom: 1rem;
}

/* Bold styling */
.section-inner strong {
  font-weight: 600;
}

/* 10) ————————————————————————————— Sections ————————————————————————————— */
.section-medium {
  padding: 3rem 1rem;
}
.section-inner {
  max-width: var(--sqs-site-max-width);
  margin: 0 auto;
}
.section-inner h2 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.16em;
  color: #2f4f60;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  margin-top: 3rem;
}

.two-columns {
  display:flex; 
  flex-wrap:wrap; 
  gap:4rem;
}
.two-columns .column {
  flex:1 1 300px;
}
.section-inner h3 {
  font-family: var(--heading-font-font-family),sans-serif;
  font-weight: var(--heading-font-font-weight);
  font-size: var(--heading-3-size);
  letter-spacing: var(--heading-font-letter-spacing);
  color: hsla(var(--darkAccent-hsl),1);
  margin-bottom:1rem;
}

.section-inner.narrow {
  max-width: 700px;   /* You can adjust to 600–800px for desired tightness */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.two-columns.centered {
  justify-content: center;
  text-align: left; /* Keep list items left-aligned */
}

/* Centered Info Grid Section */
.info-grid {
  max-width: 900px;            /* Constrains total width */
  margin: 0 auto;              /* Centers the block */
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.info-column {
  flex: 1 1 400px;
  max-width: 440px;
  text-align: left;
}

.info-column h3 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #2f4f60;
  margin-bottom: 1rem;
}

.info-column a {
  color: #6b8fa7;
  text-decoration: none;
  font-weight: 400;
}

.info-column a:hover,
.info-column a:visited {
  color: #6b8fa7;               /* Prevent purple visited links */
  text-decoration: underline;
}

.financial-summary-text {
  text-transform: uppercase;
  font-size: 2rem;
  letter-spacing: 0.2em;
  color: #2f4f60;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
}

.financial-summary-line {
  border: none;
  border-top: 1px solid #2f4f60;
  width: 100%;
  margin: 0 auto;
}


/* 11) ————————————————————————————— Footer ————————————————————————————— */
.site-footer {
  background: hsla(var(--darkAccent-hsl),1);
  color: var(--siteTitleColor);
  text-align: center;
  padding: 1.5rem 1rem;
}
.footer-inner {
  max-width: var(--sqs-site-max-width);
  margin: 0 auto;
}
.site-footer p {
  margin: 0.5rem 0;
  font-family: var(--body-font-font-family),sans-serif;
  font-size: var(--small-text-size);
}

.site-footer p + p {
  margin-top: 2rem; /* or adjust to your preference */
}

/* ========== Mobile view ============ */

/* Hamburger menu visibility fix */
.hamburger {
  display: none; /* hidden by default (desktop) */
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none; /* hide full nav on mobile */
  }

  .hamburger {
    display: flex; /* show hamburger on mobile */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger .line {
    width: 24px;
    height: 2px;
    background-color: white;
    display: block;
  }
}

/* ========== Contact Form Styling ========== */

.contact-section h3 {
  color: #2f4f60;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-form {
  margin-top: 2rem;
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group.split {
  flex-direction: row;
  gap: 1rem;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  color: #2f4f60;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-form .required {
  color: #a0a0a0;
  font-size: 0.85rem;
  font-weight: normal;
  margin-left: 4px;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  border-radius: 2px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7c95a8;
  outline: none;
}

.contact-form .form-group > label {
  font-weight: 400;
  color: #2f4f60;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.5rem; /* This is the key spacing line */
}

.submit-btn {
  background-color: #7c95a8;
  color: #fff;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: 0;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #5c7a91;
}

/* ========== Contact Page Layout ========== */
.contact-page {
  padding: 4rem 1rem;
}

.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  font-family: 'Work Sans', sans-serif;
}

.contact-info h2 {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2f4f60;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: #2f4f60;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-info a {
  color: #2f4f60;
  text-decoration: none;
}

.contact-form {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 0.9rem;
  color: #2f4f60;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Roboto', sans-serif;
  padding: 0.75rem;
  background: #f9f9f9;
  border: 1px solid #ccc;
  font-size: 1rem;
  border-radius: 2px;
}

.submit-btn {
  background-color: #6b8fa7;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  width: 120px;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: #5a778f;
}

@media (max-width: 768px) {
  .contact-flex {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }
}

/* Style visited links only in main content areas */
.section-inner a:visited,
.section-medium a:visited {
  color: #6b8fa7;
  text-decoration: underline;
}

/* Ensure navigation and hero buttons stay white */
.desktop-nav a:visited,
.header-title a:visited,
.hero-btn:visited,
.cta-button:visited {
  color: white;
  text-decoration: none;
}

/* Main page fixed two-column layout for "Our Philosophy", "Why Keturi?", "Connect With Us" */
.fixed-split-grid {
  max-width: var(--sqs-site-max-width);
  margin: 0 auto;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.fixed-split-grid .info-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 4rem;
  align-items: flex-start;
}

.fixed-split-grid .info-column {
  flex: 1;
  max-width: 50%;
}

.fixed-split-grid .info-column p:last-child {
  margin-top: 1rem;
}

/* Stack vertically on mobile */
@media (max-width: 768px) {
  .fixed-split-grid .info-row {
    flex-direction: column;
  }

  .fixed-split-grid .info-column {
    max-width: 100%;
  }
}
.hidden {
  display: none !important;
}

.mobile-nav .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav .mobile-menu.show {
  display: flex;
}
.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  margin: 1.5rem 0;
  text-align: center;
}

.mobile-menu a {
  text-decoration: none;
  font-size: 1.4rem;
  color: #0c3c52;
}

.back-btn {
  font-size: 1rem;
  color: #6b8fa7;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
}

body.no-scroll {
  overflow: hidden;
}

/* Ensure header stays fixed above mobile nav */
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2001;
    background-color: white; /* optional: white background for readability */
  }
  
  /* Adjust padding so mobile menu is not hidden behind header */
  .mobile-nav {
    padding-top: 6rem; /* enough space for fixed header */
  }
  
  /* Mobile nav font styling */
  .mobile-nav a {
    font-size: 2rem;
    font-weight: 300;
    color: #0c3c52;
  }
  
  .mobile-nav .mobile-menu li {
    margin: 2rem 0;
  }
  
  .mobile-nav .back-btn {
    font-size: 1.2rem;
    color: #6b8fa7;
  }
  
  /* Optional: Center logo/title at top */
  .header-title a {
    display: block;
    font-family: var(--heading-font-font-family), sans-serif;
    font-weight: 300;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0c3c52;
    text-decoration: none;
  }

  .header-cta {
    display: none;
  }
}
