/* Fonts */

:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Source Sans Pro",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */

:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #1a1f24; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #485664; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #144683; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */

:root {
  --nav-color: #485664;  /* The default color of the main navmenu links */
  --nav-hover-color: #144683; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #485664; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #144683; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.dark-background {
  --background-color: #144683;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4f6171;
  --contrast-color: #ffffff;
}

/* Smooth scroll */

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

/* Ensure full-width responsiveness */

.container,
.container-fluid {
  width: 100% !important;
  padding-left: 15px;
  padding-right: 15px;
}

.section {
  padding: 20px 0;
}

/* Adjust padding for smaller screens */

@media (max-width: 768px) {
  .section-title {
      text-align: center;
      padding: 0 10px;
    }

  .content-cards {
      padding: 15px;
    }

  .hero-text-container {
      width: 90% !important; /* Ensure it spans most of the screen */
    }
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/

/* PHP Email Form Messages
------------------------------*/

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 100px;
  margin-right: 8px;
  width:100%;
}

.header .logo h1 {
  font-size: 32px;
  font-weight: 300;
  margin: 0;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-weight: 400;
  font-size: 34px;
  margin-left: 2px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
      order: 1;
    }

  .header .btn-getstarted {
      order: 2;
      margin: 0 15px 0 0;
      padding: 6px 20px;
    }

  .header .navmenu {
      order: 3;
    }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Navigation */

@media (min-width: 1200px) {
  .navmenu {
      padding: 0;
      margin-right:10%;
      margin-left: auto;
    }

  .navmenu ul {
      margin: 0;
      padding: 0;
      display: flex;
      list-style: none;
      align-items: center;
    }

  .navmenu li {
      position: relative;
    }

  .navmenu>ul>li {
      white-space: nowrap;
      padding: 15px 14px;
    }

  .navmenu>ul>li:last-child {
      padding-right: 0;
    }

  .navmenu a,
  .navmenu a:focus {
      color: var(--nav-color);
      font-size: 15px;
      padding: 0 2px;
      font-family: var(--nav-font);
      font-weight: 400;
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      transition: 0.3s;
      position: relative;
    }

  .navmenu a i,
  .navmenu a:focus i {
      font-size: 12px;
      line-height: 0;
      margin-left: 5px;
      transition: 0.3s;
    }

  .navmenu>ul>li>a:before {
      content: "";
      position: absolute;
      width: 100%;
      height: 2px;
      bottom: -6px;
      left: 0;
      background-color: var(--nav-hover-color);
      visibility: hidden;
      width: 0px;
      transition: all 0.3s ease-in-out 0s;
    }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
      visibility: visible;
      width: 100%;
    }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
      color: var(--nav-hover-color);
    }

  .navmenu .dropdown ul {
      margin: 0;
      padding: 10px 0;
      background: var(--nav-dropdown-background-color);
      display: block;
      position: absolute;
      visibility: hidden;
      left: 14px;
      top: 130%;
      opacity: 0;
      transition: 0.3s;
      border-radius: 4px;
      z-index: 99;
      box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

  .navmenu .dropdown ul li {
      min-width: 200px;
    }

  .navmenu .dropdown ul a {
      padding: 10px 20px;
      font-size: 15px;
      text-transform: none;
      color: var(--nav-dropdown-color);
    }

  .navmenu .dropdown ul a i {
      font-size: 12px;
    }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
      color: var(--nav-dropdown-hover-color);
    }

  .navmenu .dropdown:hover>ul {
      opacity: 1;
      top: 100%;
      visibility: visible;
    }

  .navmenu .dropdown .dropdown ul {
      top: 0;
      left: -90%;
      visibility: hidden;
    }

  .navmenu .dropdown .dropdown:hover>ul {
      opacity: 1;
      top: 0;
      left: -100%;
      visibility: visible;
    }
}

/* Mobile Navigation */

@media (max-width: 1199px) {
  .mobile-nav-toggle {
      color: var(--nav-color);
      font-size: 28px;
      line-height: 0;
      margin-right: 10px;
      cursor: pointer;
      transition: color 0.3s;
    }

  .navmenu {
      padding: 0;
      z-index: 9997;
    }

  .navmenu ul {
      display: none;
      position: absolute;
      inset: 60px 20px 20px 20px;
      padding: 10px 0;
      margin: 0;
      border-radius: 6px;
      background-color: var(--nav-mobile-background-color);
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
      box-shadow: none;
      overflow-y: auto;
      transition: 0.3s;
      z-index: 9998;
    }

  .navmenu a,
  .navmenu a:focus {
      color: var(--nav-dropdown-color);
      padding: 10px 20px;
      font-family: var(--nav-font);
      font-size: 17px;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      transition: 0.3s;
    }

  .navmenu a i,
  .navmenu a:focus i {
      font-size: 12px;
      line-height: 0;
      margin-left: 5px;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: 0.3s;
      background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
      background-color: var(--accent-color);
      color: var(--contrast-color);
    }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus,
  .navmenu .dropdown-open {
      color: var(--nav-dropdown-hover-color);
    }

  /* Rotation indicates the submenu is open — keyed to .dropdown-open so it is
       independent of .active, which marks the current page. */

  .navmenu .dropdown-open i {
      background-color: var(--accent-color);
      color: var(--contrast-color);
      transform: rotate(180deg);
    }

  .navmenu .dropdown ul {
      position: static;
      display: none;
      z-index: 99;
      padding: 10px 0;
      margin: 10px 20px;
      background-color: var(--nav-dropdown-background-color);
      transition: all 0.5s ease-in-out;
    }

  .navmenu .dropdown ul ul {
      background-color: rgba(33, 37, 41, 0.1);
    }

  .navmenu .dropdown>.dropdown-active {
      display: block;
      background-color: rgba(33, 37, 41, 0.03);
    }

  .mobile-nav-active {
      overflow: hidden;
    }

  .mobile-nav-active .mobile-nav-toggle {
      color: #fff;
      position: absolute;
      font-size: 32px;
      top: 15px;
      right: 15px;
      margin-right: 0;
      z-index: 9999;
    }

  .mobile-nav-active .navmenu {
      position: fixed;
      overflow: hidden;
      inset: 0;
      background: rgba(33, 37, 41, 0.8);
      transition: 0.3s;
    }

  .mobile-nav-active .navmenu>ul {
      display: block;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  background-color: color-mix(in srgb, var(--background-color), white 5%);
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer h2,
.footer h3,
.footer h4 {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.footer h2::after,
.footer h3::after,
.footer h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 30px 0;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/

@media screen and (max-width: 768px) {
  [data-aos-delay] {
      transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/

.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 300;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/

section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
      scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/

.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
  position: relative;
  width: 100%;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background-color: #0d2340;
}

.hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Keeps headline contrast accessible over a moving background */

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      rgba(8, 20, 38, 0.92) 0%,
      rgba(8, 20, 38, 0.80) 42%,
      rgba(8, 20, 38, 0.55) 100%);
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero .hero-text-container {
  max-width: 820px;
}

.hero .hero-eyebrow {
  color: #8fc4ee;
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 18px 0;
}

.hero h1 {
  color: #ffffff;
  font-size: 54px;
  line-height: 1.14;
  font-weight: 700;
  margin: 0 0 22px 0;
  text-wrap: balance;
}

.hero .hero-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1.65;
  font-weight: 400;
  max-width: 700px;
  margin: 0 0 34px 0;
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero .btn-hero {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 4px;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  transition: 0.3s;
}

.hero .btn-hero:hover,
.hero .btn-hero:focus-visible {
  color: var(--contrast-color);
  background: #1a5aa8;
  border-color: #1a5aa8;
  transform: translateY(-2px);
}

.hero .btn-hero-alt {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.hero .btn-hero-alt:hover,
.hero .btn-hero-alt:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--accent-color);
}

@media (max-width: 1199px) {
  .hero h1 {
      font-size: 44px;
    }
}

@media (max-width: 991px) {
  .hero {
      min-height: 0;
    }

  .hero .hero-content {
      padding-top: 90px;
      padding-bottom: 90px;
    }

  .hero h1 {
      font-size: 36px;
    }

  .hero .hero-sub {
      font-size: 18px;
    }
}

@media (max-width: 575px) {
  .hero .hero-content {
      padding-top: 64px;
      padding-bottom: 64px;
    }

  .hero h1 {
      font-size: 29px;
    }

  .hero .hero-sub {
      font-size: 16px;
      margin-bottom: 28px;
    }

  .hero .hero-actions {
      gap: 12px;
    }

  .hero .btn-hero {
      width: 100%;
      text-align: center;
      padding: 14px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-video {
      display: none;
    }

  .hero .hero-media {
      background: url("../ep/hero-poster.jpg") center center / cover no-repeat;
    }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/

#featured-services {
 margin-top:-35px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about .content-cards {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.about h3 {
  font-weight: 300;
  font-size: 32px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about h3 {
      font-size: 28px;
    }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Onfocus Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/

.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact .info {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact .info h3 {
  font-weight: 600;
  font-size: 24px;
}

.contact .info p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 30px;
  font-size: 15px;
}

.contact .info-item+.info-item {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease-in-out;
  margin-right: 20px;
}

.contact .info-item h4 {
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.contact .php-email-form {
  width: 100%;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=tel],
.contact .php-email-form textarea {
  border-radius: 0px;
  box-shadow: none;
  font-size: 14px;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form input[type=tel]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=tel] {
  height: 48px;
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
  height: 290px;
}

.contact .php-email-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 13px 50px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Pharma IT/OT Positioning — shared components
# (value props, service cards, experience, frameworks, CTA band,
#  service detail pages, accessibility helpers)
--------------------------------------------------------------*/

/* Accessibility
------------------------------*/

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-size: 15px;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  left: 0;
  color: var(--contrast-color);
}

/* Visible keyboard focus across the site */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.faq-item h3:focus-visible,
.mobile-nav-toggle:focus-visible {
  outline: 3px solid #1a5aa8;
  outline-offset: 2px;
}

/* Section rhythm
------------------------------*/

.value-section,
.services-grid,
.experience,
.trust,
.related,
.service-detail,
.faq {
  padding: 70px 0;
}

@media (max-width: 767px) {
  .value-section,
  .services-grid,
  .experience,
  .trust,
  .related,
  .service-detail,
  .faq {
      padding: 45px 0;
    }
}

.value-section,
.related {
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 600;
  text-wrap: balance;
}

.section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 22%);
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .section-title h2 {
      font-size: 28px;
    }
}

.lead-text {
  font-size: 19px;
  line-height: 1.72;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
}

@media (max-width: 767px) {
  .lead-text {
      font-size: 17px;
    }
}

/* Page title / breadcrumbs
------------------------------*/

.page-title {
  padding: 42px 0 38px 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
}

.page-title h1 {
  font-size: 40px;
  font-weight: 600;
  margin: 10px 0 0 0;
  text-wrap: balance;
}

.page-title .breadcrumbs ol li.current {
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

@media (max-width: 767px) {
  .page-title {
      padding: 28px 0 26px 0;
    }

  .page-title h1 {
      font-size: 27px;
    }
}

/* Value propositions
------------------------------*/

.value-props {
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-prop {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--surface-color);
  padding: 26px 28px;
  margin-bottom: 16px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.07);
}

.value-prop:last-child {
  margin-bottom: 0;
}

.value-prop>i {
  color: var(--accent-color);
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 3px;
}

.value-prop h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: var(--heading-color);
}

.value-prop p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 28%);
}

@media (max-width: 575px) {
  .value-prop {
      gap: 16px;
      padding: 20px;
    }

  .value-prop h3 {
      font-size: 17px;
    }
}

/* Service cards
------------------------------*/

.service-card {
  height: 100%;
  background: var(--surface-color);
  padding: 34px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-radius: 6px;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 65%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card>i {
  color: var(--accent-color);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 18px;
}

.service-card h2,
.service-card h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px 0;
}

.service-card h2 a,
.service-card h3 a {
  color: var(--heading-color);
}

.service-card:hover h2 a,
.service-card:hover h3 a {
  color: var(--accent-color);
}

.service-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 28%);
  margin-bottom: 14px;
}

.service-card-lead {
  font-size: 15px !important;
  color: color-mix(in srgb, var(--default-color), transparent 42%) !important;
}

.service-card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.service-card-link i {
  font-size: 15px;
  transition: transform 0.3s;
}

.service-card:hover .service-card-link i {
  transform: translateX(4px);
}

/* Experience
------------------------------*/

.experience-item {
  height: 100%;
  padding: 28px 26px;
  background: var(--surface-color);
  border-top: 3px solid var(--accent-color);
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.07);
}

.experience-item>i {
  color: var(--accent-color);
  font-size: 30px;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}

.experience-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.experience-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.experience-note {
  max-width: 900px;
  margin: 38px auto 0 auto;
  text-align: center;
}

.experience-note p {
  font-size: 17px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

/* Compliance frameworks
------------------------------*/

.frameworks-heading {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 26px;
}

.framework-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.framework-badge {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 6px;
  padding: 20px 18px;
  text-align: center;
}

.framework-name {
  display: block;
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.framework-desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 38%);
}

@media (max-width: 767px) {
  .framework-list {
      grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
  .framework-list {
      grid-template-columns: 1fr;
    }
}

/* CTA band
------------------------------*/

.cta-band {
  padding: 0 0 70px 0;
}

.cta-inner {
  background: var(--accent-color);
  border-radius: 10px;
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner h2 {
  color: #ffffff;
  font-size: 31px;
  font-weight: 600;
  margin: 0 0 12px 0;
  text-wrap: balance;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16.5px;
  line-height: 1.68;
  margin: 0;
  max-width: 660px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* Standalone CTA button, reusable outside .call-to-action */

.cta-btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 5px;
  background: var(--contrast-color);
  color: var(--accent-color);
  border: 2px solid var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
  transition: 0.3s;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  background: #e8f0fa;
  border-color: #e8f0fa;
  color: var(--accent-color);
}

.cta-btn-alt {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.cta-btn-alt:hover,
.cta-btn-alt:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  color: #ffffff;
}

/* Outside the coloured band the button inverts to brand-on-white */

.services-grid .cta-btn,
.flagship .cta-btn,
.service-aside .cta-btn {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.services-grid .cta-btn:hover,
.flagship .cta-btn:hover,
.service-aside .cta-btn:hover {
  background: #1a5aa8;
  border-color: #1a5aa8;
  color: var(--contrast-color);
}

@media (max-width: 991px) {
  .cta-inner {
      flex-direction: column;
      align-items: flex-start;
      padding: 38px 30px;
    }

  .cta-inner h2 {
      font-size: 25px;
    }

  .cta-actions {
      width: 100%;
    }

  .cta-btn {
      width: 100%;
    }
}

/* Service detail pages
------------------------------*/

.service-detail .content-block {
  margin-top: 40px;
}

.service-detail .content-block h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-detail p {
  font-size: 16.5px;
  line-height: 1.78;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
  font-size: 16.5px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.check-list li i {
  color: var(--accent-color);
  font-size: 19px;
  flex-shrink: 0;
  margin-top: 5px;
}

.service-aside {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-radius: 8px;
  padding: 30px 28px;
  position: sticky;
  top: 110px;
}

.service-aside h2,
.service-aside h3 {
  font-weight: 600;
}

.service-aside p {
  font-size: 15.5px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 28%);
}

.service-aside hr {
  margin: 22px 0;
  border-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

.aside-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.aside-list li {
  font-size: 15px;
  padding: 6px 0 6px 22px;
  position: relative;
  color: color-mix(in srgb, var(--default-color), transparent 22%);
}

.aside-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.aside-phone {
  text-align: center;
  margin: 14px 0 0 0;
  font-size: 15px;
}

@media (max-width: 991px) {
  .service-aside {
      position: static;
      margin-top: 40px;
    }
}

/* FAQ headings are interactive — make that discoverable */

.faq .faq-container .faq-item h3 {
  padding-right: 10px;
}

/* Contact form labels
------------------------------*/

.php-email-form .form-label {
  display: block;
  font-family: var(--nav-font);
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--heading-color);
}

.contact .info-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact .info-sub {
  font-size: 14px !important;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

/* Footer additions
------------------------------*/

.footer .footer-tagline {
  line-height: 1.65;
  margin: 14px 0 0 0;
  color: color-mix(in srgb, var(--default-color), transparent 22%);
}

.footer .footer-links h2 {
  font-size: 16px;
  font-weight: 600;
}

.footer .footer-links ul li {
  padding: 8px 0;
}

.footer .footer-plain li {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.footer .footer-contact a {
  color: inherit;
}

.footer .footer-contact a:hover {
  text-decoration: underline;
}

/* Header CTA on small screens
------------------------------*/

@media (max-width: 767px) {
  /* The logo is a wide wordmark; cap it so the CTA and toggle keep their room */

  .header .logo img {
      max-height: 52px;
      width: auto;
      max-width: 175px;
    }

  .header .btn-getstarted {
      white-space: nowrap;
      font-size: 13px;
      padding: 8px 14px;
      margin: 0 10px 0 0;
    }
}

@media (max-width: 400px) {
  .header .logo img {
      max-width: 140px;
    }

  .header .btn-getstarted {
      font-size: 12px;
      padding: 7px 11px;
      margin-right: 8px;
    }
}

/* Mobile nav: long service names must wrap, not overflow
------------------------------*/

@media (max-width: 1199px) {
  .navmenu a,
  .navmenu a:focus {
      white-space: normal;
      word-break: break-word;
    }

  .navmenu .dropdown ul {
      overflow-x: hidden;
    }

  .navmenu .dropdown ul a {
      padding-right: 10px;
    }
}

/* Privacy policy / legal pages
------------------------------*/

.policy {
  padding: 60px 0 70px 0;
}

.policy .policy-updated {
  font-size: 14.5px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  padding-bottom: 18px;
  margin-bottom: 30px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.policy .policy-block {
  margin-bottom: 34px;
}

.policy .policy-block h2 {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 14px;
}

.policy .policy-block p {
  font-size: 16.5px;
  line-height: 1.78;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.policy .policy-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
}

.policy .policy-list li {
  position: relative;
  padding: 0 0 12px 22px;
  font-size: 16.5px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.policy .policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-color);
}

.policy .policy-contact {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  border-left: 4px solid var(--accent-color);
  padding: 28px 30px 20px 30px;
}

/* Unfilled detail the business still has to supply — deliberately loud so it
   cannot be published by accident. */

.policy-todo {
  display: inline-block;
  background: #fff3cd;
  border: 1px dashed #b8860b;
  color: #7a5b00;
  font-size: 13.5px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 3px;
}

@media (max-width: 767px) {
  .policy .policy-block h2 {
      font-size: 20px;
    }

  .policy .policy-block p,
  .policy .policy-list li {
      font-size: 16px;
    }

  .policy .policy-contact {
      padding: 22px 20px 14px 20px;
    }
}

/* Contact form consent notice
------------------------------*/

.php-email-form .form-consent {
  font-size: 14px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 38%);
  margin: 4px 0 18px 0;
}

/* reCAPTCHA checkbox, centred above the submit button.
   Google's widget is a fixed 304px wide, so shrink it on the narrowest phones. */
.php-email-form .recaptcha-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 78px;
  margin-bottom: 18px;
}

.php-email-form .recaptcha-error {
  margin: 8px 0 0 0;
  font-size: 14px;
  color: #b42318;
}

@media (max-width: 359px) {
  .php-email-form .g-recaptcha {
    transform: scale(0.88);
    transform-origin: center top;
  }
}

/*--------------------------------------------------------------
# Inline SVG icons
# Replaces the Bootstrap Icons webfont (96 KB CSS + 127 KB woff2).
# The <i> wrapper is kept so existing font-size/colour rules still apply;
# the SVG scales to 1em, so nothing else needed changing.
--------------------------------------------------------------*/

i.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

i.icon>svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: block;
}

/* Mobile nav toggle: open/close glyphs swapped by state, not by class juggling */

.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
}

.mobile-nav-toggle .icon-close,
.mobile-nav-active .mobile-nav-toggle .icon-open {
  display: none;
}

.mobile-nav-active .mobile-nav-toggle .icon-close {
  display: inline-flex;
}

/*--------------------------------------------------------------
# 2026 pharmaceutical rebuild — new components
--------------------------------------------------------------*/

/* Intro / lead sections
------------------------------*/
.intro-section {
  padding: 70px 0;
}

.intro-section h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
}

.intro-section p {
  font-size: 17px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/* Home service summaries
------------------------------*/
.home-services {
  padding: 0 0 70px 0;
}

.home-service {
  padding: 38px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.home-service h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 14px;
}

.home-service h4 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  margin-bottom: 14px;
}

.home-service p {
  font-size: 16.5px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
}

.check-list.compact li {
  font-size: 15px;
  line-height: 1.55;
  padding-bottom: 9px;
  gap: 9px;
}

.check-list.compact li i {
  font-size: 16px;
  margin-top: 3px;
}

/* Service page tagline
------------------------------*/
.service-tagline {
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 14px;
}

/* Flagship packages
------------------------------*/
.flagship {
  padding: 70px 0;
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
}

.flagship-card {
  position: relative;
  height: 100%;
  background: var(--surface-color);
  padding: 34px 30px 30px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-radius: 6px;
  transition: all ease-in-out 0.3s;
}

.flagship-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 65%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.flagship-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--accent-color), transparent 88%);
}

.flagship-card > i {
  color: var(--accent-color);
  font-size: 36px;
  display: block;
  margin-bottom: 16px;
}

.flagship-card h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}

.flagship-card h3 a {
  color: var(--heading-color);
}

.flagship-card:hover h3 a {
  color: var(--accent-color);
}

.flagship-card p {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

/* Flagship detail page
------------------------------*/
.flagship-page {
  padding: 60px 0 70px 0;
}

.flagship-detail {
  position: relative;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-left: 4px solid var(--accent-color);
  border-radius: 6px;
  padding: 34px 36px;
  margin-bottom: 30px;
  scroll-margin-top: 110px;
}

.flagship-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.flagship-head > i {
  color: var(--accent-color);
  font-size: 30px;
}

.flagship-head h2 {
  font-size: 25px;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.flagship-head .flagship-num {
  position: static;
  font-size: 26px;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--contrast-color);
}

.flagship-summary {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.flagship-detail p {
  font-size: 16px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.flagship-detail h3 {
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 24px 0 4px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.flagship-detail .cta-btn {
  margin-top: 22px;
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.flagship-detail .cta-btn:hover {
  background: #1a5aa8;
  border-color: #1a5aa8;
}

@media (max-width: 767px) {
  .flagship-detail {
    padding: 26px 22px;
  }

  .flagship-head {
    flex-wrap: wrap;
    gap: 12px;
  }

  .flagship-head h2 {
    font-size: 21px;
    flex-basis: 100%;
  }
}

/* Mission
------------------------------*/
.mission {
  padding: 20px 0 0px 0;
}

.mission-box {
  background: var(--accent-color);
  color: #fff;
  border-radius: 10px;
  padding: 42px 46px;
  text-align: center;
}

.mission-box h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 14px;
}

.mission-box p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .mission-box {
    padding: 30px 24px;
  }

  .mission-box p {
    font-size: 16px;
  }
}

/* Compliance disclaimer
------------------------------*/
.disclaimer {
  padding: 0 0 20px 0;
}

.disclaimer-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  padding: 28px 30px;
}

.disclaimer-box > i {
  color: var(--accent-color);
  font-size: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-box h2 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}

.disclaimer-box p {
  font-size: 15px;
  line-height: 1.72;
  color: color-mix(in srgb, var(--default-color), transparent 28%);
  margin: 0 0 10px 0;
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

.footer-disclaimer {
  margin: 34px 0 0 0;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  font-size: 12.5px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* Small business teaser
------------------------------*/
.smb-teaser {
  padding: 0 0 70px 0;
}

.smb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
  border-radius: 10px;
  padding: 32px 36px;
}

.smb-inner h2 {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 8px;
}

.smb-inner p {
  margin: 0;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.smb-inner .cta-btn {
  flex-shrink: 0;
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 767px) {
  .smb-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .smb-inner .cta-btn {
    width: 100%;
  }
}

/* Contact form additions
------------------------------*/
.php-email-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 26px 0;
}

.php-email-form > fieldset > legend {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 600;
  color: var(--heading-color);
  padding: 0 0 14px 0;
  margin-bottom: 4px;
  width: 100%;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.php-email-form .optional {
  font-family: var(--default-font);
  font-size: 12.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: color-mix(in srgb, var(--default-color), transparent 55%);
  margin-left: 8px;
}

.php-email-form .req {
  color: #b3261e;
}

.php-email-form select.form-control {
  height: 48px;
  padding: 10px 15px;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.php-email-form select.form-control:focus {
  border-color: var(--accent-color);
}

.check-group {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%) !important;
  padding: 16px 18px 10px 18px !important;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.check-group legend {
  width: 100%;
  padding: 0;
  margin-bottom: 10px;
}

.check-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  padding: 5px 0;
  cursor: pointer;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
}

.check-option input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent-color);
  flex-shrink: 0;
  cursor: pointer;
}

.contact-cta-row + .lead-text {
  margin-bottom: 0;
}

.contact .info-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.contact .info-note h3 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  margin-bottom: 10px;
}

.contact .info-note ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact .info-note li {
  font-size: 14.5px;
  line-height: 1.6;
  padding: 4px 0 4px 16px;
  position: relative;
  color: color-mix(in srgb, var(--default-color), transparent 28%);
}

.contact .info-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-color);
}

/* Thank-you page actions
------------------------------*/
.thanks-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.cta-btn-solid {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.cta-btn-solid:hover {
  background: #1a5aa8;
  border-color: #1a5aa8;
  color: var(--contrast-color);
}

.cta-btn-outline {
  background: transparent;
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.cta-btn-outline:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* Homepage service summaries — ALCOA+ line and closing statement
------------------------------*/
.home-service .alcoa-line {
  font-size: 15.5px;
  line-height: 1.9;
  padding: 14px 18px;
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-left: 3px solid var(--accent-color);
}

.home-service .alcoa-line strong {
  font-weight: 600;
  color: var(--heading-color);
  white-space: nowrap;
}

.home-service .alcoa-line span {
  color: color-mix(in srgb, var(--default-color), transparent 55%);
  padding: 0 3px;
}

.home-service .home-extra {
  font-size: 15.5px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 32%);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 14px;
}

/* Scroll target for the contact form — the header is sticky and 140px tall
   on desktop, so the form needs that much clearance plus breathing room or
   it lands underneath it.
------------------------------*/
#contact-form {
  scroll-margin-top: 170px;
}

@media (max-width: 1199px) {
  #contact-form {
    scroll-margin-top: 110px;
  }
}

/* Contact page CTA row
------------------------------*/
/* The buttons lead the page, so they sit closer to the title band than the
   section's default 60px top padding allows. */
.contact.section {
  padding-top: 28px;
}

.contact-cta-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 26px;
}

.contact-cta-row .cta-btn {
  font-size: 13px;
  padding: 9px 15px;
  border-width: 1px;
  line-height: 1.3;
}

/* Narrower desktop and tablet: the buttons would spill past the text column,
   so tighten them and let the row use the space either side of it. */
@media (min-width: 768px) and (max-width: 1199px) {
  .contact-cta-row {
    gap: 8px;
    margin-inline: -50px;
  }

  .contact-cta-row .cta-btn {
    font-size: 12px;
    padding: 8px 11px;
  }
}

/* The three act as a choice group. Appearance follows .is-active only, so
   any solid/outline variant class on the button itself is overridden here --
   otherwise a button carrying .cta-btn-solid stays filled when deselected. */
.contact-cta-row .cta-btn:not(.is-active) {
  background: transparent;
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.contact-cta-row .cta-btn:not(.is-active):hover,
.contact-cta-row .cta-btn:not(.is-active):focus-visible {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.contact-cta-row .cta-btn.is-active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.contact-cta-row .cta-btn.is-active:hover,
.contact-cta-row .cta-btn.is-active:focus-visible {
  background: #1a5aa8;
  border-color: #1a5aa8;
  color: var(--contrast-color);
}

/* Phones: one line of three would be unreadable, so stack them */
@media (max-width: 767px) {
  .contact-cta-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .contact-cta-row .cta-btn {
    width: 100%;
    font-size: 14px;
    padding: 12px 18px;
  }
}

/* Complimentary initial assessment note
------------------------------*/
.complimentary-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 900px;
  margin: 34px auto 0 auto;
  padding: 22px 26px;
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
  border-radius: 6px;
}

.complimentary-note > i {
  color: var(--accent-color);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 3px;
}

.complimentary-note p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.complimentary-note strong {
  color: var(--heading-color);
  font-weight: 600;
}

/* On the flagship page it introduces the packages rather than closing them */
.flagship-page .complimentary-note {
  margin-top: 24px;
}

@media (max-width: 575px) {
  .complimentary-note {
    gap: 12px;
    padding: 18px 18px;
  }

  .complimentary-note p {
    font-size: 15px;
  }
}

/* The primary contact CTA is long. Let the row use the space either side of
   the text column so all three still share a line on desktop, and wrap
   gracefully rather than overflow when they cannot. */
.contact-cta-row {
  flex-wrap: wrap;
}

@media (min-width: 1200px) {
  .contact-cta-row {
    margin-inline: -130px;
  }
}
