:root {
  --katy-blue: #003366;
  --katy-blue-light: #4683ea;
  --katy-sky: #0ba1d8;
  --katy-ink: #1f2937;
  --katy-muted: #5f6b7a;
  --katy-soft: #f4f8fc;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--katy-ink);
  font-family:
    Roboto,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

a {
  color: var(--katy-blue-light);
}

.navbar {
  background: var(--katy-blue);
  padding-block: 1.25rem;
}

.navbar-brand {
  color: var(--katy-blue-light);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.navbar-brand span {
  color: #fff;
  font-weight: 400;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #7fb0ff;
}

.navbar .nav-link {
  border-radius: 0.4rem;
  color: #fff;
  font-weight: 600;
  margin-inline-start: 0.5rem;
  padding-inline: 1rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  background: var(--katy-blue-light);
  color: #fff;
}

.hero {
  background: #fff;
  padding: 3.75rem 0 2.75rem;
}

.hero h1,
.page-title {
  color: #111827;
  font-weight: 800;
  letter-spacing: 0;
}

.lead {
  color: var(--katy-muted);
}

.hero-carousel {
  border-radius: 0.4rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 51, 102, 0.16);
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  overflow: hidden;
}

.hero-carousel img {
  height: auto;
  object-fit: contain;
  width: 100%;
}

.section {
  padding: 3.5rem 0;
}

.section-soft {
  background: var(--katy-soft);
}

.feature-link,
.contact-panel,
.content-panel {
  border: 1px solid #d9e3ef;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 51, 102, 0.06);
}

.feature-link {
  color: var(--katy-ink);
  display: block;
  height: 100%;
  padding: 1.5rem;
  text-decoration: none;
}

.feature-link:hover {
  border-color: var(--katy-sky);
  color: var(--katy-ink);
  transform: translateY(-2px);
}

.feature-link h2,
.content-panel h2,
.content-panel h3 {
  color: #111827;
}

.feature-link img,
.content-image,
.gallery-thumb {
  border-radius: 0.35rem;
}

.feature-link img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.content-image {
  display: block;
  height: auto;
  max-width: 100%;
}

.content-image-center {
  margin-left: auto;
  margin-right: auto;
}

.content-panel {
  padding: 2rem;
}

.page-section-title {
  border-left: 4px solid var(--katy-sky);
  padding-left: 0.75rem;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-link {
  border: 1px solid #d9e3ef;
  border-radius: 0.45rem;
  background: #fff;
  display: block;
  padding: 0.35rem;
}

.gallery-link:hover {
  border-color: var(--katy-blue-light);
}

.gallery-thumb {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.caption {
  color: var(--katy-muted);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.callout {
  border-left: 4px solid var(--katy-blue-light);
  background: #f8fbff;
  padding: 1rem 1.25rem;
}

.footer {
  background: var(--katy-blue);
  color: #dbeafe;
  padding: 2.25rem 0;
}

.footer a {
  color: #9fc5ff;
}

.footer small {
  display: block;
}

.to-top {
  align-items: center;
  border: 1px solid rgba(219, 234, 254, 0.45);
  border-radius: 999px;
  color: #dbeafe;
  display: inline-flex;
  font-size: 1.2rem;
  height: 2.25rem;
  justify-content: center;
  margin-bottom: 1rem;
  text-decoration: none;
  width: 2.25rem;
}

.to-top:hover,
.to-top:focus {
  background: var(--katy-blue-light);
  color: #fff;
}

.modal-content {
  background: #212529;
  border: 0;
}

.modal-natural {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(100vw - 2rem);
  width: fit-content;
}

.modal-natural .modal-content {
  max-width: calc(100vw - 2rem);
  width: fit-content;
}

.modal-body {
  background: #212529;
  padding: 0;
}

.modal-image {
  border-radius: 0.5rem;
  display: block;
  max-height: 86vh;
  max-width: calc(100vw - 2rem);
  object-fit: contain;
  width: auto;
}

@media (max-width: 767.98px) {
  .navbar {
    padding-block: 0.8rem;
  }

  .navbar .nav-link {
    margin: 0.15rem 0;
  }

  .hero,
  .section {
    padding: 2.25rem 0;
  }

  .content-panel {
    padding: 1.25rem;
  }

  .gallery-grid-three {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
