@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap");

/*!
 * Start Bootstrap - Small Business (https://startbootstrap.com/template-overviews/small-business)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-small-business/blob/master/LICENSE)
 */
:root {
  --hi-blue: #0060ae;
  --hi-blue-dark: #0a3f73;
  --hi-blue-light: #4ea1e1;
  --ink: #0b1f33;
  --muted: #506175;
  --bg: #f2f6fb;
  --card: #ffffff;
  --accent: #f6fbff;
}

body {
  padding-top: 70px;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #ffffff 0%, #f4f7fb 40%, #e9f0f8 100%);
}

.hi-blue {
  background-color: var(--hi-blue) !important;
}
.flex {
  display: flex;
  justify-content: center;
}

.container {
  max-width: 1160px;
}

.idx-frame {
  margin-top: 18px;
  height: clamp(520px, 70vh, 760px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 96, 174, 0.18);
  background: #f8fbff;
}

.idx-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.idx-fallback {
  margin-top: 14px;
  font-weight: 600;
}

.font-weight-light {
  font-size: 2.3rem;
}

.a-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  margin-bottom: 0.6rem;
  color: var(--hi-blue-dark);
}

.site-nav {
  background: linear-gradient(120deg, rgba(0, 96, 174, 0.98), rgba(10, 63, 115, 0.98));
  box-shadow: 0 14px 30px rgba(7, 34, 66, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-nav .navbar-brand {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav .nav-link {
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 6px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.site-nav .nav-item.active .nav-link {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.brand-stack {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px;
  box-shadow: 0 8px 18px rgba(5, 28, 55, 0.25);
}

.brand-title {
  display: block;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.05rem;
}

.brand-subtitle {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.brand-phone {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.hero {
  position: relative;
  padding: 110px 0 90px;
  border-radius: 0 0 36px 36px;
  overflow: hidden;
  background: url("../img/homeimage29-1-1566x700.jpg") center/cover no-repeat;
  margin: 0 12px 40px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 32, 64, 0.86), rgba(0, 96, 174, 0.65));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.logo-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 18px 24px;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(6, 35, 65, 0.25);
}

.hero-logo {
  border-radius: 12px;
}

.hero-card {
  background: rgba(7, 32, 57, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 28px;
  color: #ffffff;
  box-shadow: 0 24px 50px rgba(6, 28, 52, 0.3);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.hero-actions .btn {
  margin-right: 12px;
  margin-bottom: 8px;
  border-radius: 999px;
  font-weight: 600;
}

.hero-actions .btn-outline-light {
  border-width: 2px;
}

.content-section {
  margin-bottom: 32px;
}

.section-card {
  background: var(--card);
  border-radius: 20px;
  padding: 30px 32px;
  box-shadow: 0 18px 40px rgba(10, 36, 64, 0.08);
  border: 1px solid rgba(0, 96, 174, 0.08);
}

.section-card-accent {
  background: linear-gradient(140deg, #ffffff 0%, var(--accent) 100%);
  border-left: 6px solid var(--hi-blue);
}

.section-card p {
  color: var(--muted);
  font-size: 1.02rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 28px;
  align-items: start;
}

.about-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(8, 30, 54, 0.18);
  display: block;
}

.about-caption {
  margin-top: 12px;
  font-weight: 600;
  color: var(--hi-blue-dark);
}

.about-copy p + p {
  margin-top: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.contact-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hi-blue-dark);
  margin-bottom: 8px;
}

.contact-detail {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact-detail a {
  color: var(--hi-blue-dark);
  font-weight: 600;
}

footer {
  margin-top: 40px;
  box-shadow: 0 -12px 24px rgba(7, 34, 66, 0.12);
}

@media (max-width: 991px) {
  body {
    padding-top: 64px;
  }

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

  .about-image {
    max-width: 360px;
  }

  .brand-stack {
    gap: 10px;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.75rem;
  }

  .hero {
    padding: 90px 0 70px;
  }

  .hero-card {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .hero {
    margin: 0 0 32px;
    border-radius: 0 0 24px 24px;
  }

  .hero-title {
    font-size: 2rem;
  }
}
