#fh5co-hero .overlay-gradient { display: none; }

/* Fallback: the first hero remains visible before JavaScript starts Flexslider. */
#fh5co-hero .flexslider .slides > li:first-child { display: block; }

.top-contact-bar,
#fh5co-header,
#fh5co-hero,
.hero-highlights {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* The compact contact strip follows the requested 8px text size. */
.top-contact-bar { font-size: 8px; }

/* Keep the logo within the header's visual rhythm with the navigation. */
#fh5co-header .brand img {
  width: 175px;
  max-height: 62px;
  object-fit: contain;
}

#fh5co-header .header-inner { height: 80px; }

/* Match the hero offset to the 46px contact bar and 80px navigation header. */
#fh5co-hero { padding-top: 126px; }

#fh5co-header nav ul li a {
  font-size: 14px;
  line-height: 1.2;
  padding: 10px 11px;
}

#fh5co-header nav ul li.cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 150px;
  padding: 11px 17px !important;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

#fh5co-header nav ul li.cta a i {
  flex: 0 0 auto;
  margin: 0;
  line-height: 1;
}

.hero-highlights {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.hero-highlights > div {
  flex: 1 1 0;
  min-width: 0;
}

@media screen and (max-width: 1199px) {
  #fh5co-header .brand img { width: 260px; }
  #fh5co-header nav ul { gap: 0; }
  #fh5co-header nav ul li a { font-size: 15px; padding: 12px 8px; }
  #fh5co-header nav ul li.cta { margin-left: 8px; }
  #fh5co-header nav ul li.cta a { padding: 14px 15px !important; }
}

@media screen and (max-width: 768px) {
  .hero-highlights { display: grid; }
}

#fh5co-why-us {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  font-family: 'Montserrat', Arial, sans-serif;
}

#fh5co-why-us .why-heading { text-align: center; margin-bottom: 45px; }
#fh5co-why-us .why-heading > p:first-child { color: #4b9ceb; font-size: 13px; font-weight: 700; letter-spacing: 5px; margin: 0 0 17px; }
#fh5co-why-us .why-heading > p:first-child span { display: inline-block; width: 55px; height: 2px; margin: 0 22px 4px; background: #64b2f5; }
#fh5co-why-us .why-heading h2 { margin: 0 0 14px; color: #0c2d59; font-size: 35px; font-weight: 700; }
#fh5co-why-us .why-intro { margin: 0; color: #667891; font-size: 16px; }
.why-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card { position: relative; min-height: 345px; overflow: hidden; padding: 34px 32px; border: 1px solid #e8edf4; border-radius: 18px; background: #fff; box-shadow: 0 14px 35px rgba(13, 59, 103, .08); }
.why-card:after { content: ''; position: absolute; right: -75px; bottom: -85px; width: 270px; height: 270px; border-radius: 50%; opacity: .55; }
.why-card-blue:after { background: #dcedff; }.why-card-green:after { background: #cef9e6; }.why-card-orange:after { background: #fff0d5; }
.why-card-content { position: relative; z-index: 2; max-width: 58%; }
.why-number { display: inline-block; padding: 8px 12px; border-radius: 22px; color: #0871d8; background: #e0f1ff; font-size: 14px; font-weight: 700; }
.why-card-green .why-number { color: #0caa62; background: #dbf8e9; }.why-card-orange .why-number { color: #ec8b00; background: #fff0d3; }
.why-card h3 { margin: 20px 0 16px; color: #0c2d59; font-size: 22px; line-height: 1.28; font-weight: 700; }
.why-card p { min-height: 86px; margin: 0 0 22px; color: #5e6f86; font-size: 14px; line-height: 1.65; }
.why-card a { display: inline-flex; align-items: center; gap: 22px; padding: 14px 25px; border-radius: 12px; color: #fff; background: #0873d5; font-size: 14px; font-weight: 700; }
.why-card-green a { background: #06a958; }.why-card-orange a { background: #f58b00; }.why-card a:hover { color: #fff; filter: brightness(.94); text-decoration: none; }
.why-card img { position: absolute; z-index: 1; right: 18px; bottom: 36px; width: 42%; max-height: 165px; object-fit: contain; }
@media screen and (max-width: 991px) { .why-cards { grid-template-columns: 1fr; }.why-card { min-height: 300px; }.why-card-content { max-width: 64%; } }
@media screen and (max-width: 600px) { #fh5co-why-us { padding: 55px 0; } #fh5co-why-us .why-heading h2 { font-size: 27px; } #fh5co-why-us .why-heading > p:first-child { letter-spacing: 2px; font-size: 11px; } #fh5co-why-us .why-heading > p:first-child span { width: 25px; margin-left: 8px; margin-right: 8px; } .why-card { padding: 27px 22px; }.why-card-content { max-width: 68%; }.why-card h3 { font-size: 18px; }.why-card img { width: 38%; right: 8px; bottom: 40px; } }

.innovation-banner { position: relative; overflow: hidden; min-height: 630px; padding: 76px max(6%, calc((100% - 1450px) / 2)); background: #f7fbff; font-family: 'Montserrat', Arial, sans-serif; }
.innovation-banner > img { display: block; width: 100%; height: auto; }
.innovation-banner { min-height: 0; padding: 0; background: #fff; }
.innovation-copy { position: relative; z-index: 2; width: 49%; }
.innovation-kicker { color: #0875d5; font-size: 13px; font-weight: 600; letter-spacing: 6px; }.innovation-kicker span { display: inline-block; width: 90px; height: 1px; margin-left: 22px; vertical-align: middle; background: #9bb6d7; }
.innovation-copy h2 { margin: 36px 0 16px; color: #061f47; font-size: 48px; line-height: 1.08; font-weight: 700; }.innovation-copy h2 strong { color: #087be5; }
.innovation-text { max-width: 640px; color: #456382; font-size: 18px; line-height: 1.55; }
.innovation-features { display: flex; gap: 18px; margin: 38px 0; }.innovation-features span { display: flex; align-items: center; gap: 10px; padding-right: 16px; border-right: 1px solid #d7e4f2; color: #0c2d59; font-size: 14px; font-weight: 600; line-height: 1.4; }.innovation-features span:last-child { border: 0; }.innovation-features i { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 14px; color: #0b4077; background: #e8f3ff; font-size: 26px; }
.innovation-cta { display: inline-flex; align-items: center; gap: 18px; padding: 19px 33px; border-radius: 12px; color: #fff; background: #08a45b; box-shadow: 0 8px 18px rgba(0,148,77,.2); font-size: 17px; font-weight: 700; }.innovation-cta:hover { color: #fff; background: #078c4d; text-decoration: none; }
.innovation-image { position: absolute; inset: 0 0 0 50%; overflow: hidden; clip-path: polygon(22% 0,100% 0,100% 100%,0 100%); }.innovation-image:before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(120deg, rgba(8,170,205,.2), transparent 45%, rgba(3,37,73,.12)); }.innovation-image img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }.innovation-image blockquote { position: absolute; z-index: 2; top: 0; right: 0; width: 190px; height: 285px; margin: 0; padding: 32px 28px; border: 0; border-radius: 0 0 0 28px; color: #fff; background: rgba(5,43,78,.82); font-size: 54px; line-height: .5; }.innovation-image blockquote span { display: block; margin-top: 22px; font-size: 15px; line-height: 1.5; }
.innovation-stats { position: absolute; z-index: 3; right: 6%; bottom: 42px; display: flex; padding: 25px 38px; border-radius: 24px 0 0 0; background: rgba(255,255,255,.96); box-shadow: 0 10px 24px rgba(15,59,96,.12); }.innovation-stats span { min-width: 155px; padding: 0 25px; border-right: 1px solid #dce6f1; color: #48617e; font-size: 12px; text-align: center; }.innovation-stats span:last-child { border: 0; }.innovation-stats i,.innovation-stats b { display: block; color: #092e60; }.innovation-stats i { margin-bottom: 6px; font-size: 24px; }.innovation-stats b { margin-bottom: 4px; font-size: 26px; }
@media screen and (max-width: 1100px) { .innovation-banner { padding: 60px 7%; }.innovation-copy { width: 56%; }.innovation-copy h2 { font-size: 38px; }.innovation-features { gap: 8px; }.innovation-features span { padding-right: 8px; font-size: 11px; }.innovation-features i { width: 42px; height: 42px; font-size: 20px; }.innovation-stats { right: 3%; padding: 20px; }.innovation-stats span { min-width: 120px; padding: 0 14px; } }
@media screen and (max-width: 768px) { .innovation-banner { min-height: auto; padding: 55px 25px; }.innovation-copy { width: 100%; }.innovation-copy h2 { font-size: 31px; }.innovation-image { position: relative; inset: auto; height: 300px; margin: 40px -25px -55px; clip-path: none; }.innovation-image blockquote { display: none; }.innovation-features { flex-wrap: wrap; }.innovation-features span { width: 45%; border: 0; }.innovation-stats { position: relative; right: auto; bottom: auto; margin: 0 -25px; border-radius: 0; }.innovation-stats span { min-width: 0; flex: 1; padding: 0 6px; }.innovation-stats b { font-size: 20px; } }
@media screen and (max-width: 768px) { .innovation-banner { padding: 0; } }

#fh5co-blog { padding: 82px 0; background: linear-gradient(135deg,#fff,#f4faff); font-family: 'Montserrat',Arial,sans-serif; }.blog-heading { max-width:940px; margin:0 auto 45px; color:#687a90; font-size:16px; line-height:1.55; text-align:center; }.blog-heading>p { margin:0 0 15px; color:#08a75c; font-size:13px; font-weight:700; letter-spacing:5px; }.blog-heading>p span { display:inline-block; width:50px; height:2px; margin:0 18px 4px; background:#08a75c; }.blog-heading h2 { margin:0 0 9px; color:#092b58; font-size:38px; font-weight:700; }.blog-heading h2 strong { color:#08a75c; }
.blog-card-list { display:flex; }.blog-card-column { display:flex; margin-bottom:30px; }.blog-card { display:flex!important; flex-direction:column; width:100%; min-height:100%; overflow:hidden; border-radius:16px; background:#fff; box-shadow:0 12px 30px rgba(18,58,94,.1); transition:.2s; }.blog-card:hover { transform:translateY(-6px); box-shadow:0 18px 38px rgba(18,58,94,.16); }.blog-card-image { position:relative; height:250px; margin:0; overflow:hidden; }.blog-card-image img { width:100%; height:100%; object-fit:cover; }.blog-category { position:absolute; top:16px; left:16px; padding:9px 14px; border-radius:20px; color:#fff; background:#08a75c; font-size:12px; font-weight:700; }.blog-category i { margin-right:5px; }.blog-card .fh5co-copy { display:flex; flex:1; flex-direction:column; padding:20px 28px 24px; color:#61738a; }.blog-meta { color:#718097; font-size:12px; font-weight:500; }.blog-meta b { margin:0 9px; color:#aab5c1; }.blog-card h3 { margin:15px 0 13px; color:#092b58; font-size:23px; line-height:1.28; font-weight:700; }.blog-card p { margin:0 0 18px; color:#63748b; font-size:15px; line-height:1.5; }.blog-read-more { margin-top:auto; color:#08a75c; font-size:14px; font-weight:700; }.blog-read-more i { margin-left:10px; }.blog-all-link { margin-top:9px; }.blog-all-link p { margin:0; }.blog-all-link a { display:inline-flex; align-items:center; gap:30px; padding:16px 32px; border-radius:28px; color:#fff; background:#08a75c; box-shadow:0 8px 17px rgba(8,167,92,.2); font-size:15px; font-weight:700; }.blog-all-link a:hover { color:#fff; background:#078d4e; text-decoration:none; }
@media screen and (max-width:768px) { #fh5co-blog { padding:55px 0; }.blog-heading h2 { font-size:29px; }.blog-heading>p { font-size:11px; letter-spacing:2px; }.blog-heading>p span { width:26px; margin-left:8px; margin-right:8px; }.blog-card-image { height:215px; }.blog-card .fh5co-copy { padding:18px 20px; }.blog-card h3 { font-size:20px; } }

/* Four equal news cards on desktop. */
.blog-card-list { display: flex; flex-wrap: wrap; }
.blog-card-image { height: 205px; }
.blog-card .fh5co-copy { padding: 17px 19px 20px; }
.blog-category { top: 14px; left: 14px; padding: 8px 11px; font-size: 10px; }
.blog-meta { font-size: 10px; }
.blog-card h3 { margin: 13px 0 11px; font-size: 19px; }
.blog-card p { font-size: 13px; }
.blog-read-more { font-size: 13px; }

@media screen and (max-width: 991px) {
  .blog-card-image { height: 225px; }
}

/* Override legacy float-based article styles with a predictable card grid. */
#fh5co-blog .blog-card-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-left: 0;
  margin-right: 0;
}

#fh5co-blog .blog-card-column {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

#fh5co-blog .blog-card {
  float: none;
  margin: 0;
}

#fh5co-blog .blog-all-link {
  grid-column: 1 / -1;
  width: auto;
  margin-top: 8px;
}

@media screen and (max-width: 991px) {
  #fh5co-blog .blog-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 600px) {
  #fh5co-blog .blog-card-list { grid-template-columns: 1fr; }
}

/* Fixed-height cards: always four columns on desktop. */
#fh5co-blog .blog-card-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#fh5co-blog .blog-card { height: 500px; min-height: 500px; }
#fh5co-blog .blog-card-image { flex: 0 0 180px; height: 180px; }
#fh5co-blog .blog-card .fh5co-copy { min-height: 0; overflow: hidden; }
#fh5co-blog .blog-card h3, #fh5co-blog .blog-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; }
#fh5co-blog .blog-card h3 { -webkit-line-clamp: 3; }
#fh5co-blog .blog-card p { -webkit-line-clamp: 5; }

@media screen and (max-width: 767px) {
  #fh5co-blog .blog-card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #fh5co-blog .blog-card { height: 475px; min-height: 475px; }
}

@media screen and (max-width: 500px) {
  #fh5co-blog .blog-card-list { grid-template-columns: 1fr; }
}

/* Final desktop arrangement: three horizontal cards, matching the reference. */
#fh5co-blog .blog-card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#fh5co-blog .blog-card { height: 540px; min-height: 540px; }
#fh5co-blog .blog-card-image { flex-basis: 235px; height: 235px; }

@media screen and (max-width: 767px) {
  #fh5co-blog .blog-card-list { grid-template-columns: 1fr; }
  #fh5co-blog .blog-card { height: auto; min-height: 0; }
}
