:root {
  --cft-blue: #2d5c88;
  --cft-blue-dark: #24496d;
  --cft-grey: #777;
  --cft-light: #f3f5f7;
  --cft-dark: #252525;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  background: #fff;
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: var(--cft-blue);
  text-decoration: none;
}

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


/* =========================================================
   Header
   ========================================================= */

.top-strip {
  height: 5px;
  background: var(--cft-blue);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.logo {
  width: 120px;
  height: auto;
}

.navbar-nav .nav-link {
  color: #555 !important;
  text-transform: uppercase;
  font-size: 14px;
  padding: .9rem .85rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--cft-blue) !important;
}


/* =========================================================
   Homepage Hero / Carousel
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
}

.hero .carousel-item {
  height: min(560px, 65vh);
  min-height: 390px;
}

.hero .carousel-item > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero .carousel-item > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .carousel-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 45, 70, .78),
    rgba(20, 45, 70, .12)
  );
}

.hero-caption {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-caption h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  text-shadow: 0 2px 3px #222;
  max-width: 850px;
}

.hero-caption p {
  font-size: 1.12rem;
  max-width: 730px;
}


/* =========================================================
   General Sections
   ========================================================= */

.section {
  padding: 58px 0;
}

.section-grey {
  background: var(--cft-light);
}

.section-title {
  color: var(--cft-blue);
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 18px;
}

.lead-title {
  font-size: 23px;
  color: var(--cft-blue);
  font-weight: 300;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cft-blue);
  font-size: 12px;
  font-weight: bold;
}


/* =========================================================
   Homepage Service Tiles
   ========================================================= */

.services-section {
  width: 100%;
}

.service-tile {
  overflow: hidden;
  background: #fff;
  min-height: 100%;
  border: 0;
  transition: .2s;
}

.service-tile-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}


/* Service image */

.service-tile-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.service-tile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-tile:hover .service-tile-image img {
  transform: scale(1.03);
}


/* Service text */

.service-tile-content {
  padding: 40px 50px 50px;
  text-align: center;
}

.service-tile-content h2 {
  margin: 0 0 20px;
  color: var(--cft-blue);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.service-tile-content p {
  max-width: 560px;
  margin: 0 auto 25px;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
}


/* Service button */

.service-tile-button {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--cft-blue);
  color: var(--cft-blue);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all .3s ease;
}

.service-tile:hover .service-tile-button {
  background: var(--cft-blue);
  color: #fff;
}


/* =========================================================
   Legacy / General Content Tiles
   ========================================================= */

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


/* =========================================================
   Page Banners
   ========================================================= */

.page-banner {
  min-height: 210px;
  display: flex;
  align-items: end;
  padding: 40px 0;
  color: #fff;
  background: var(--cft-blue);
}

.page-banner h1 {
  font-size: 42px;
  font-weight: 300;
  margin: 0;
}

.page-banner p {
  margin: 6px 0 0;
}

.photo-banner {
  min-height: 190px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

.photo-banner h1 {
  font-size: 42px;
  font-weight: 300;
  text-shadow: 0 2px 3px #222;
}


/* =========================================================
   Photography Cards
   ========================================================= */

.photo-card {
  overflow: hidden;
  border: 0;
  background: #fff;
}

.photo-card img {
  width: 100%;
  display: block;
}

.photo-card .card-body {
  border: 1px solid #e5e5e5;
  border-top: 0;
}


/* =========================================================
   Video Cards
   ========================================================= */

.video-card {
    border: 1px solid #ddd;
    background: #fff;
    height: 100%;
}

.video-frame {
    aspect-ratio: 16 / 9;
    background: #111;
}

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

.video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #111;
}

.video-card .card-body {
    padding: 16px;
}

.video-card h2 {
    font-size: 17px;
    color: var(--cft-blue);
    font-weight: 400;
}

/* =========================================================
   Client List
   ========================================================= */

.client-list {
  columns: 2;
}

.client-list li {
  margin-bottom: 8px;
}


/* =========================================================
   Footer
   ========================================================= */

footer {
  background: #222;
  color: #bbb;
  border-top: 5px solid var(--cft-blue);
}

footer h2 {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
}

footer a {
  color: #ddd;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  margin-top: 30px;
  font-size: 12px;
}


/* =========================================================
   Forms / Buttons
   ========================================================= */

.form-control {
  border-radius: 0;
  border: 1px solid #ccc;
}

.btn-cft {
  background: var(--cft-blue);
  border-color: var(--cft-blue);
  color: #fff;
  border-radius: 2px;
  text-transform: uppercase;
  font-size: 13px;
  padding: .65rem 1.2rem;
}

.btn-cft:hover {
  background: var(--cft-blue-dark);
  border-color: var(--cft-blue-dark);
  color: #fff;
}


/* =========================================================
   About / Approach
   ========================================================= */

.approach h2 {
  color: var(--cft-blue);
  font-weight: 300;
  font-size: 20px;
}


/* =========================================================
   Breadcrumbs / Accessibility
   ========================================================= */

.breadcrumb {
  font-size: 13px;
}

.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;
}


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

@media (max-width: 767px) {

  .logo {
    width: 100px;
  }

  .hero .carousel-item {
    min-height: 420px;
  }

  .page-banner h1,
  .photo-banner h1 {
    font-size: 32px;
  }

  .client-list {
    columns: 1;
  }

  /* Service tiles stack vertically */

  .service-tile-image {
    aspect-ratio: 2 / 1;
  }

  .service-tile-content {
    padding: 30px 25px 40px;
  }

  .service-tile-content h2 {
    font-size: 2.2rem;
  }

  .service-tile-content p {
    font-size: 1rem;
  }

}

/* =========================================================
   Anti-spam honeypot
   ========================================================= */

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.honeypot input {
    position: absolute !important;
    left: -9999px !important;
}

/* =========================================================
   Portfolio
   ========================================================= */

.portfolio-service-box {
    background: #fff;
    border-left: 4px solid var(--cft-blue);
    padding: 30px 35px;
    height: 100%;
}

.portfolio-service-box h3 {
    color: var(--cft-blue);
    font-size: 21px;
    font-weight: 300;
    margin-bottom: 20px;
}

.portfolio-service-box ul {
    margin: 0;
    padding-left: 20px;
}

.portfolio-service-box li {
    margin-bottom: 5px;
}


/* Portfolio cards */

.portfolio-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e1e1e1;
    overflow: hidden;
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}


/* Media area */

.portfolio-media {
    width: 100%;
    background: #111;
    overflow: hidden;
}

.portfolio-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.portfolio-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* For photography / image-based portfolios */

.portfolio-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.03);
}


/* Card information */

.portfolio-card-body {
    padding: 22px 24px 25px;
}

.portfolio-client {
    margin: 0 0 5px;
    color: var(--cft-blue);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.portfolio-card-body h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
}

.portfolio-card-body p:last-child {
    margin-bottom: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.55;
}


/* View more */

.portfolio-more {
    padding-top: 50px;
}

.portfolio-more p {
    margin-bottom: 20px;
}


/* Mobile */

@media (max-width: 767px) {

    .portfolio-service-box {
        margin-top: 30px;
        padding: 25px;
    }

    .portfolio-card-body {
        padding: 20px;
    }

    .portfolio-card-body h3 {
        font-size: 19px;
    }

    .portfolio-more {
        padding-top: 35px;
    }

}

.section-title-icon {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-title-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.section-divider {
    width: 250px;
    height: 3px;
    background-color: #2d5c88;
    margin: 20px auto;
}

/* =========================================================
   Photography Portfolio Gallery
   ========================================================= */

.portfolio-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform .3s ease,
                opacity .3s ease;
}

.portfolio-photo:hover {
    opacity: .85;
    transform: scale(1.02);
}


/* Photo modal */

#photoModal .modal-content {
    border: 0;
    border-radius: 0;
}

#photoModal .modal-body {
    padding: 20px;
}

#photoModal .modal-body img {
    max-height: 75vh;
    width: auto;
}

#photoModal .modal-title {
    color: var(--cft-blue);
    font-size: 20px;
    font-weight: 300;
}

#modalCaption {
    color: #666;
}