/* Blue & white theme for the Business Casual layout.
   Overrides the amber Bootstrap build and supplies the theme's own
   component classes (site-heading, section-heading, cta, bg-faded...). */

:root {
  --theme-navy: #0d1b30;
  --theme-blue: #1c5cad;
  --theme-blue-dark: #123f7a;
  --theme-blue-light: #4d8fe0;
  --theme-white: #ffffff;
  --theme-ice: #eef4fb;
  --theme-text: #12203a;

  --bs-primary: #1c5cad;
  --bs-primary-rgb: 28, 92, 173;
  --bs-link-color: #1c5cad;
  --bs-link-color-rgb: 28, 92, 173;
  --bs-link-hover-color: #123f7a;
  --bs-link-hover-color-rgb: 18, 63, 122;
  --bs-body-color: #12203a;
}

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--theme-text);
  background-color: var(--theme-navy);
  background-image: linear-gradient(rgba(13, 40, 85, 0.72), rgba(13, 40, 85, 0.72)), url('../img/bg.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

h1, h2, h3, h4, h5, h6,
.navbar,
.btn {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a { color: var(--theme-blue); }
a:hover { color: var(--theme-blue-dark); }

/* ---- Site heading (large screens) ---- */
.site-heading {
  margin-top: 5rem;
  margin-bottom: 5rem;
  text-transform: uppercase;
  line-height: 1;
}
.site-heading .site-heading-upper {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #a9cbf5 !important;
}
.site-heading .site-heading-lower {
  font-size: 5rem;
  font-weight: 100;
  line-height: 4rem;
  color: var(--theme-white);
}

/* ---- Navbar ---- */
#mainNav.bg-dark {
  background-color: rgba(13, 27, 48, 0.92) !important;
  border-top: 3px solid var(--theme-blue);
  border-bottom: 3px solid var(--theme-blue);
}
#mainNav .navbar-brand {
  font-weight: 800;
  color: var(--theme-white);
}
#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.75rem;
  color: var(--theme-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
#mainNav .navbar-nav .nav-item .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}
#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item.active .nav-link {
  color: #a9cbf5;
}
@media (min-width: 992px) {
  #mainNav .navbar-nav .nav-item .nav-link {
    font-size: 0.9rem;
  }
  #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: var(--theme-white);
  }
  #mainNav .navbar-nav .nav-item.active .nav-link:hover {
    color: #a9cbf5;
  }
}

/* ---- Sections ---- */
.page-section {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.section-heading {
  text-transform: uppercase;
}
.section-heading .section-heading-upper {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--theme-blue);
}
.section-heading .section-heading-lower {
  display: block;
  font-size: 3rem;
  font-weight: 100;
  color: var(--theme-navy);
}

.bg-faded {
  background-color: rgba(255, 255, 255, 0.9);
}

.text-faded {
  color: rgba(255, 255, 255, 0.55);
}

/* ---- Intro (home) ---- */
.intro .intro-img {
  box-shadow: 0 0.5rem 1.5rem rgba(6, 18, 40, 0.35);
}
.intro .intro-text {
  box-shadow: 0 0.5rem 1.5rem rgba(6, 18, 40, 0.25);
  border-top: 4px solid var(--theme-blue);
}

/* ---- Call to action band ---- */
.cta {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: rgba(28, 92, 173, 0.9);
}
.cta .cta-inner {
  position: relative;
  padding: 3rem;
  margin: 0.5rem;
  background-color: rgba(255, 255, 255, 0.92);
}
.cta .cta-inner::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  bottom: -0.5rem;
  left: -0.5rem;
  right: -0.5rem;
  border: 0.25rem solid rgba(255, 255, 255, 0.85);
  border-radius: 0.5rem;
}

/* ---- About page ---- */
.about-heading .about-heading-img {
  position: relative;
  z-index: 0;
}
.about-heading .about-heading-content {
  position: relative;
  z-index: 1;
  border-top: 4px solid var(--theme-blue);
}
@media (min-width: 992px) {
  .about-heading .about-heading-content {
    margin-top: -5rem;
  }
}

/* ---- Contact page (white, Playfair Display + Jost) ---- */
.contact-page {
  --contact-ink: #0f1c33;
  --contact-muted: #6b7280;
  --contact-line: #e2e5ea;
  margin: 0;
  padding: 7rem 0 6rem;
  background-color: #ffffff;
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  color: var(--contact-muted);
}
.contact-page .contact-info { padding-top: 0.5rem; }
@media (min-width: 992px) {
  .contact-page .contact-info { padding-right: 4rem; }
}
.contact-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--contact-ink);
  margin: 0 0 1.25rem;
}
.contact-title:not(:first-child) { margin-top: 4.5rem; }

.contact-details li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.contact-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  background-color: #eef0f3;
  color: var(--contact-ink);
}
.contact-details li:nth-child(1) .contact-icon { color: #a3abb8; }
.contact-details li:nth-child(3) .contact-icon { color: #d6303c; }
.contact-details strong {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  color: var(--contact-ink);
  margin-bottom: 0.9rem;
}
.contact-details a,
.contact-details span {
  font-size: 1rem;
  color: var(--contact-muted);
  text-decoration: none;
}
.contact-details a:hover { color: var(--contact-ink); }

.contact-hours {
  width: 100%;
  border-collapse: collapse;
}
.contact-hours th,
.contact-hours td {
  width: 60%;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--contact-line);
  font-weight: 400;
  font-size: 1rem;
}
.contact-hours th { color: var(--contact-ink); }
.contact-hours td { width: 40%; color: var(--contact-muted); font-weight: 300; }
.contact-hours tr:last-child th,
.contact-hours tr:last-child td { border-bottom: 0; }
.contact-note {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--contact-muted);
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.contact-social a {
  padding: 0.5rem 1rem;
  border: 1px solid var(--contact-line);
  font-size: 0.85rem;
  color: var(--contact-ink);
  text-decoration: none;
}
.contact-social a:hover { border-color: var(--contact-ink); }

.contact-quick li { border-bottom: 2px solid var(--contact-ink); }
.contact-quick a {
  display: block;
  padding: 1.1rem 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--contact-ink);
  text-decoration: none;
}
.contact-quick a:hover { color: var(--theme-blue); }

.contact-form-box {
  padding: 3rem;
  background-color: #ffffff;
  border: 1px solid var(--contact-line);
}
.contact-form-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--contact-ink);
  margin: 0 0 0.75rem;
}
.contact-lead {
  font-size: 1.05rem;
  color: var(--contact-muted);
  margin-bottom: 2.5rem;
}
.contact-form .form-label {
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--contact-ink);
}
.contact-form .form-control,
.contact-form .form-select {
  padding: 1.05rem 1.25rem;
  font-family: inherit;
  font-weight: 300;
  font-size: 1rem;
  color: var(--contact-ink);
  border: 1px solid var(--contact-line);
  border-radius: 0;
  box-shadow: none;
}
.contact-form .form-select { border-radius: 0.35rem; color: var(--contact-ink); }
.contact-form textarea.form-control { min-height: 13rem; }
.contact-form .form-control::placeholder { color: #a3abb8; }
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--contact-ink);
  box-shadow: none;
}
.contact-form .form-check {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-left: 0;
}
.contact-form .form-check-input {
  float: none;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  border: 1px solid #b8bec8;
  border-radius: 0.35rem;
}
.contact-form .form-check-input:checked {
  background-color: var(--contact-ink);
  border-color: var(--contact-ink);
}
.contact-form .form-check-input:focus { box-shadow: none; border-color: var(--contact-ink); }
.contact-form .form-check-label {
  font-size: 0.9rem;
  color: var(--contact-muted);
}
.contact-form .form-check-label a {
  color: var(--theme-blue);
  text-decoration: underline;
}

/* Outlined button drawn as four corner brackets */
.contact-submit {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: 1.6rem 1rem;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--contact-ink);
  transition: background-color 0.2s, color 0.2s;
}
.contact-submit::before,
.contact-submit::after,
.contact-submit span::before,
.contact-submit span::after {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 0 solid var(--contact-ink);
}
.contact-submit::before { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.contact-submit::after { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.contact-submit span::before { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.contact-submit span::after { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.contact-submit:hover,
.contact-submit:focus-visible {
  background-color: var(--contact-ink);
  color: #ffffff;
  outline: none;
}

.contact-page .alert { border-radius: 0; }
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 991.98px) {
  .contact-page { padding: 4rem 0; }
  .contact-title:not(:first-child) { margin-top: 3rem; }
}
@media (max-width: 575.98px) {
  .contact-form-box { padding: 1.5rem; }
  .contact-form-title { font-size: 2rem; }
}

/* ---- Buttons ---- */
.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #1c5cad;
  --bs-btn-border-color: #1c5cad;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #123f7a;
  --bs-btn-hover-border-color: #123f7a;
  --bs-btn-focus-shadow-rgb: 77, 143, 224;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #0e3264;
  --bs-btn-active-border-color: #0e3264;
  --bs-btn-disabled-color: #ffffff;
  --bs-btn-disabled-bg: #1c5cad;
  --bs-btn-disabled-border-color: #1c5cad;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}
.btn-xl {
  padding: 1.25rem 2.5rem;
}

/* ---- Footer ---- */
.footer {
  background-color: #060f1f;
  border-top: 3px solid var(--theme-blue);
  color: rgba(255, 255, 255, 0.45);
  padding: 5rem 0 3rem;
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
}
.footer a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover { color: var(--theme-white); }
.footer .footer-brand {
  display: inline-block;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  color: var(--theme-white);
  margin-bottom: 1.25rem;
}
.footer-about {
  max-width: 20rem;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}
.footer .footer-social a:hover { background-color: var(--theme-blue); }
.footer-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--theme-white);
  margin-bottom: 1.75rem;
}
.footer-links li + li { margin-top: 1rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-payments li {
  padding: 0.4rem 0.7rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  font-family: SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 575.98px) {
  .section-heading .section-heading-lower { font-size: 2.2rem; }
  .cta .cta-inner { padding: 2rem 1.25rem; }
}
