
:root {
  --ac-blue: #083f8f;
  --ac-blue-dark: #063878;
  --ac-orange: #ff6633;
  --ac-ink: #101010;
  --ac-body: #1e3158;
  --ac-soft: #f4f4f4;
  --ac-border: #d5dce7;
  --ac-shadow: 0 2px 12px rgba(0, 0, 0, .24);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ac-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.ac-container {
  width: min(calc(100% - 40px), 1460px);
  margin-inline: auto;
}

.ac-narrow-container {
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  z-index: 1050;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #f1f1f1;
}

.navbar {
  min-height: 96px;
  padding: 8px 0;
}

.navbar-brand img {
  display: block;
  width: 78px;
  height: auto;
}

.navbar-nav {
  gap: 10px;
}

.navbar .nav-link {
  padding: 12px 9px !important;
  color: #111;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--ac-orange);
}

.dropdown-menu {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 15px 34px rgba(0, 0, 0, .14);
}

.dropdown-item {
  padding: 10px 18px;
  font-size: 13px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 48px;
  color: #fff;
  background: var(--ac-orange);
  border: 1px solid var(--ac-orange);
  border-radius: 999px;
  font-size: 13px;
}

.contact-btn:hover,
.contact-btn:focus {
  color: #fff;
  background: var(--ac-blue);
  border-color: var(--ac-blue);
}

/* Hero */
.hero-section {
  position: relative;
  width: 100%;
  max-width: none;
  height: clamp(500px, 35vw, 675px);
  margin-inline: auto;
  overflow: hidden;
  background: #24110b;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 12, .18), rgba(8, 8, 12, .04));
}

.hero-panel {
  position: absolute;
  top: 50%;
  left: 12%;
  width: min(66%, 900px);
  padding: 44px 48px 52px;
  transform: translateY(-50%);
  background: rgba(39, 31, 29, .94);
}

.hero-panel h1 {
  margin: 0 0 35px;
  color: #fff;
  font-size: clamp(44px, 4vw, 66px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 465px;
  min-height: 58px;
  padding: 15px 28px;
  color: #fff;
  background: var(--ac-orange);
  border: 2px solid #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .22em;
}

.hero-cta:hover,
.hero-cta:focus {
  color: #fff;
  background: var(--ac-blue);
}

/* Certifications */
.certifications-section {
  padding: 34px 0 42px;
  background: #fff;
}

.certifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 260px 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 3vw, 58px);
}

.certification-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.certification-item img {
  display: block;
  width: clamp(118px, 10vw, 170px);
  height: clamp(118px, 10vw, 170px);
  object-fit: contain;
}

.experience-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 260px;
  height: 182px;
  min-height: 0;
  margin-inline: auto;
  padding: 21px 22px 16px;
  border: 1px solid #c9c9c9;
  border-radius: 14px;
  background: #fff;
}

.experience-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 82px;
  white-space: nowrap;
}

.experience-number {
  display: block;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
}

.experience-plus {
  margin-top: 0;
  color: #111;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.experience-years {
  color: #112650;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.experience-label {
  margin: 11px 0 0;
  color: #06215d;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

/* Certification tablet layout */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .certifications-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .experience-card {
    width: 248px;
    height: 176px;
    min-height: 0;
    margin-inline: auto;
    padding: 20px 20px 15px;
  }

  .experience-number {
    width: 84px;
    height: 84px;
    flex-basis: 84px;
  }

  .experience-plus,
  .experience-years {
    font-size: 21px;
  }

  .experience-label {
    margin-top: 10px;
    font-size: 17px;
  }
}

/* Certification mobile layout */
@media (max-width: 767.98px) {
  .certifications-section {
    padding: 30px 0 38px;
  }

  .certifications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
  }

  .certification-item img {
    width: min(100%, 132px);
    height: 132px;
  }

  .experience-card {
    width: min(100%, 230px);
    height: 162px;
    min-height: 0;
    padding: 18px 14px 14px;
  }

  .experience-topline {
    min-height: 72px;
    gap: 5px;
  }

  .experience-number {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  .experience-plus {
    font-size: 19px;
  }

  .experience-years {
    font-size: 18px;
  }

  .experience-label {
    margin-top: 10px;
    font-size: 16px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .certification-item img {
    width: 145px;
    height: 145px;
  }

  .experience-card {
    width: min(100%, 230px);
    margin-inline: auto;
  }
}

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

.intro-section p {
  margin: 0;
  color: var(--ac-body);
  font-size: 15px;
  line-height: 1.72;
  text-align: justify;
}

/* Project slider */
.projects-section {
  padding: 0 0 92px;
  overflow: hidden;
}

.project-slider {
  position: relative;
  width: 100%;
}

.project-slider-viewport {
  width: 100%;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
  cursor: grab;
}

.project-slider-viewport:active {
  cursor: grabbing;
}

.project-slider-viewport:focus-visible {
  outline: 3px solid rgba(8, 63, 143, .35);
  outline-offset: 8px;
}

.project-slider-track {
  display: flex;
  align-items: flex-start;
  gap: 38px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.project-slide {
  min-width: 0;
  text-align: center;
  user-select: none;
}

.project-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  background: #f4f4f4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .27);
}

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

.project-image-link:hover img,
.project-image-link:focus-visible img {
  transform: scale(1.025);
}

.project-title {
  margin: 28px 0 14px;
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 700;
  line-height: 1.18;
}

.project-title a {
  color: #3c3c3c;
}

.project-title a:hover,
.project-title a:focus {
  color: var(--ac-orange);
}

.project-category {
  min-height: 24px;
  margin: 0;
  color: #3c3c3c;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .project-slider-track {
    gap: 28px;
  }

  .project-image-link {
    border-radius: 26px;
  }
}

@media (max-width: 767.98px) {
  .projects-section {
    padding-bottom: 72px;
  }

  .project-slider-track {
    gap: 18px;
  }

  .project-image-link {
    border-radius: 22px;
  }

  .project-title {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 25px;
  }

  .project-category {
    font-size: 16px;
  }
}

/* Bootstrap service-card section */
.services-section {
  padding: 18px 0 72px;
  background: #ffffff;
}

.section-title {
  margin: 0 0 70px;
  color: #111111;
  text-align: center;
  font-size: clamp(28px, 2.25vw, 37px);
  font-weight: 700;
  line-height: 1.25;
}

.service-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
}

.service-column-wrap {
  width: auto;
  max-width: none;
  padding: 0;
}

.service-card-column {
  height: 100%;
  background: #ffffff;
}

.service-card-column > h3 {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: 0 0 10px;
  padding: 12px 20px;
  color: #ffffff;
  background: #003582;
  border-radius: 14px 14px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.service-feature-list {
  display: grid;
  gap: 0;
}

.service-feature-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  min-height: 82px;
  padding: 15px 20px;
  color: #111111;
  background: #ffffff;
  border-radius: 28px;
  transition:
    color .22s ease,
    background-color .22s ease,
    transform .22s ease;
}

.service-feature-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 44px;
  height: 44px;
  color: #ff6633;
  transition: color .22s ease;
}

.service-card-svg {
  display: block;
  width: 42px;
  height: 42px;
  overflow: visible;
  fill: currentColor;
}

.service-card-svg *,
.service-card-svg path,
.service-card-svg g {
  fill: currentColor;
}

.service-feature-card p {
  margin: 0;
  padding-left: 7px;
  color: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
}

.service-feature-card:hover {
  color: #111111;
  background: #f4f4f4;
}

.service-feature-card:hover .service-feature-icon {
  color: #003582;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .service-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .service-column-wrap:last-child {
    grid-column: 1 / -1;
    width: min(100%, calc(50% - 12px));
    margin-inline: auto;
  }
}

@media (max-width: 767.98px) {
  .services-section {
    padding-top: 8px;
    padding-bottom: 58px;
  }

  .section-title {
    margin-bottom: 42px;
    font-size: 28px;
  }

  .service-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card-column > h3 {
    min-height: 50px;
    padding: 12px 17px;
    font-size: 15px;
  }

  .service-feature-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 76px;
    padding: 13px 16px;
    border-radius: 24px;
  }

  .service-feature-icon {
    width: 40px;
    height: 40px;
  }

  .service-card-svg {
    width: 38px;
    height: 38px;
  }

  .service-feature-card p {
    padding-left: 5px;
    font-size: 15px;
  }

  .service-column-wrap:last-child {
    grid-column: auto;
    width: auto;
    margin-inline: 0;
  }
}

@media (hover: none) {
  .service-feature-card:hover {
    background: #ffffff;
  }

  .service-feature-card:hover .service-feature-icon {
    color: #ff6633;
  }

  .service-feature-card:active {
    background: #f4f4f4;
  }

  .service-feature-card:active .service-feature-icon {
    color: #003582;
  }
}

/* Testimonial */
.testimonial-section {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #fff;
  background: var(--ac-orange);
}

.testimonial-content {
  padding-top: 82px;
  padding-bottom: 74px;
}

.testimonial-content blockquote {
  max-width: 1210px;
  margin: 0 auto 30px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
}

.testimonial-author {
  margin: 0 0 34px;
  font-size: 13px;
  line-height: 1.45;
}

.testimonial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 598px;
  min-height: 64px;
  padding: 16px 34px;
  color: #ffffff !important;
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .22em;
  text-align: center;
  text-decoration: none !important;
  transition:
    color .22s ease,
    background-color .22s ease,
    border-color .22s ease;
}

.testimonial-btn i {
  color: #ffffff;
  font-size: 18px;
  transition: transform .22s ease;
}

.testimonial-btn:hover,
.testimonial-btn:focus-visible {
  color: #ffffff !important;
  background: #000000;
  border-color: #ffffff;
}

.testimonial-btn:hover i,
.testimonial-btn:focus-visible i {
  color: #ffffff;
  transform: translateX(4px);
}

.testimonial-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .75);
  outline-offset: 4px;
}

@media (max-width: 767.98px) {
  .testimonial-content {
    padding-top: 56px;
    padding-bottom: 52px;
  }

  .testimonial-content blockquote {
    margin-bottom: 26px;
    font-size: 13px;
    line-height: 1.6;
  }

  .testimonial-author {
    margin-bottom: 28px;
  }

  .testimonial-btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: .14em;
    white-space: normal;
  }
}

/* States */
.states-section {
  padding: 0 0 110px;
}

.states-title {
  margin: 0 0 32px;
  text-align: center;
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
}

.state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  color: #222;
  border: 1.5px solid var(--ac-blue);
  border-radius: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.state-card i {
  margin-bottom: 10px;
  color: var(--ac-blue);
  font-size: 42px;
}

.state-card span {
  font-size: 22px;
}

.state-card:hover,
.state-card:focus {
  color: #222;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(8, 63, 143, .14);
}

/* Footer */
.site-footer {
  padding: 84px 0 20px;
  border-top: 1px solid #f1f1f1;
}

.footer-logo {
  display: block;
  width: 92px;
  height: auto;
  margin-bottom: 22px;
}

.footer-intro {
  max-width: 380px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.55;
}

.site-footer h2 {
  margin: 18px 0 25px;
  font-size: 22px;
  font-weight: 700;
}

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

.footer-links li {
  margin-bottom: 18px;
}

.footer-links a,
.contact-list a {
  color: #111;
}

.footer-links a:hover,
.contact-list a:hover {
  color: var(--ac-orange);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.social-links a {
  color: #9b9b9b;
  font-size: 22px;
}

.social-links a:hover,
.social-links a:focus {
  color: var(--ac-orange);
}

.footer-bottom {
  margin-top: 76px;
  padding: 16px 0;
  border-top: 1px solid #bdbdbd;
  text-align: center;
  font-size: 14px;
}

/* Scroll top */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 1040;
  display: none;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--ac-blue);
  border: 0;
  border-radius: 0;
}

.scroll-top.is-visible {
  display: grid;
  place-items: center;
}

/* Tablet */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    padding: 20px 0 26px;
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .contact-btn {
    margin-top: 12px;
  }

  .hero-section {
    width: 100%;
    height: 640px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-panel {
    left: 5%;
    width: 72%;
    padding: 40px;
  }

  .hero-panel h1 {
    font-size: clamp(38px, 5.5vw, 58px);
  }

  .hero-cta {
    min-width: min(100%, 430px);
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .ac-container,
  .ac-narrow-container {
    width: min(calc(100% - 28px), 1280px);
  }

  .navbar {
    min-height: 78px;
  }

  .navbar-brand img {
    width: 62px;
  }

  .hero-section {
    width: 100%;
    height: 620px;
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-tint {
    background: linear-gradient(0deg, rgba(12, 8, 7, .45), rgba(12, 8, 7, .05));
  }

  .hero-panel {
    top: auto;
    right: 16px;
    bottom: 28px;
    left: 16px;
    width: auto;
    padding: 27px 22px 28px;
    transform: none;
  }

  .hero-panel h1 {
    margin-bottom: 24px;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.22;
    letter-spacing: .1em;
  }

  .hero-cta {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 13px 15px;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .14em;
    text-align: center;
  }

.intro-section {
    padding: 32px 0 58px;
  }

  .intro-section p {
    text-align: left;
    font-size: 14px;
  }

  .section-title {
    margin-bottom: 45px;
  }

  .service-list-item {
    min-height: 62px;
  }

.states-section {
    padding-bottom: 75px;
  }

  .state-card {
    min-height: 130px;
  }

  .state-card span {
    font-size: 19px;
  }

  .site-footer {
    padding-top: 62px;
  }

  .footer-bottom {
    margin-top: 50px;
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
