/* Fonts: see fonts.css (loaded by index.html once the page has loaded). This file
   used to start with a fonts.googleapis.com @import that blocked rendering. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  /* Declare the canvas colour explicitly — the site relies on white behind
     transparent sections; without this, dark-canvas browsers render black */
  background: #fff;
  /* clip (not hidden) prevents horizontal scroll without breaking position: sticky */
  overflow-x: clip;
}

/* Header Styles */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 50px 0 20px 0;
  box-sizing: border-box;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo links back to the homepage */
.logo-link {
  display: block;
  line-height: 0;
}

.logo-image {
  width: 300px;
  height: 100px;
  opacity: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 607px;
  width: auto;
  flex-shrink: 0;
}

.trustpilot {
  width: 240px;
  max-width: 100%;
  height: auto;
}

.call-button {
  display: flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.phone-icon {
  width: 50px;
  height: 50px;
  background: #00d4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.phone-icon i {
  font-size: 20px;
}

.call-info {
  text-align: left;
}

.call-label {
  color: white;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.phone-number {
  color: white;
  font-size: 25px;
  font-weight: 800;
  font-family: "Montserrat";
}

/* Navigation */
nav {
  position: absolute;
  top: 180px;
  right: 40px;
}

.nav-menu { display: flex; gap: 30px;
  list-style: none;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #00d4ff;
}

/* Dropdown Styles */
.nav-menu li {
  position: relative;
}

.dropdown {
  position: relative;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown .arrow {
  font-size: 10px;
  transition: transform 0.3s;
  display: inline-block;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-content { position: absolute; top: calc(100% + 5px); left: 0; background: rgba(30, 58, 138, 0.98); min-width: 400px;
  list-style: none;
  padding: 15px 0 10px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
  height: 5px;
  background: transparent;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content li {
  margin: 0;
  padding: 0;
}

.dropdown-content .elementor-sub-item {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-content .elementor-sub-item:hover {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  border-left-color: #00d4ff;
  padding-left: 25px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  /* height: 100vh; */
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px;
  background: #1e3a8a; /* Fallback background color to prevent white showing through */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  color: white;
  box-sizing: border-box;
  margin-top: 200px;
}

.hero-subtitle {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-style: Bold;
  font-size: 37px;
  line-height: 120%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-bottom: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-style: Extra Bold;
  font-size: 70px;
  line-height: 70px;
  letter-spacing: 0%;
  text-align: center;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
  display: block;
}

.hero-description {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-style: Regular;
  font-size: 16px;
  line-height: 170%;
  letter-spacing: 0%;
  text-align: center;
  max-width: 1010px;
  width: 100%;
  margin: 0 auto;
  opacity: 1;
}

/* Large Screen Styles (above 1400px) */
@media (min-width: 1401px) {
  .header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }

  /* .logo-image {
        width: auto;
        max-width: 384px;
        height: auto;
    } */

  .header-right {
    width: auto;
    max-width: 607px;
    height: auto;
    flex-shrink: 0;
  }

  nav {
    right: calc((100% - 1400px) / 2 + 40px);
  }

  /* .hero {
        min-height: clamp(700px, 50vw, 900px);
    } */

  .hero-background {
    width: 100%;
    max-width: none;
    height: 100%;
  }

  .hero-image {
    width: 100%;
    height: 100%;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 calc((100% - 1400px) / 2 + 40px);
    margin-top: 130px;
  }

  .hero-title {
    font-size: clamp(48px, 5vw, 70px);
  }

  .hero-description {
    font-size: clamp(14px, 1.2vw, 16px);
    max-width: 1010px;
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-content {
    margin-top: 150px;
    padding: 0 30px;
    width: 100%;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .hero-description {
    font-size: 15px;
    max-width: 900px;
    width: 100%;
  }

  .nav-menu {
    gap: 25px;
  }

  .hero-background {
    width: 100%;
    height: 100%;
    min-height: 100%;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .hero-content {
    margin-top: 180px;
  }

  .hero-title {
    font-size: 60px;
  }

  .hero-subtitle {
    font-size: 30px;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-container {
    padding: 0 30px;
  }

  .logo-image {
    width: 280px;
    height: auto;
  }

  .trustpilot {
    width: 130px;
    height: 65px;
  }

  .phone-number {
    font-size: 20px;
  }

  .phone-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  nav {
    position: absolute;
    top: 130px;
    right: 30px;
    left: auto;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 20px;
    list-style: none;
  }

  .nav-menu li a {
    font-size: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
  }

  .nav-menu li a:hover {
    color: #00d4ff;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero-background {
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-content {
    padding: 0 30px;
    margin-top: 120px;
    width: 100%;
  }

  .hero-title {
    font-size: 48px;
    margin: 15px 0;
  }

  .hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 16px;
    max-width: 100%;
    width: 100%;
    opacity: 1;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  header {
    background: #80eff7;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
  }

  .header-container {
    padding: 0 20px;
    flex-wrap: nowrap;
  }

  .logo {
    width: auto;
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .logo-image {
    width: 150px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(16%) sepia(81%) saturate(1598%)
      hue-rotate(205deg) brightness(89%) contrast(101%);
    margin-left: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header-right {
    width: auto;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
  }

  .trustpilot {
    display: none;
  }

  .call-button {
    flex: 0 0 auto;
    justify-content: center;
    gap: 0;
  }

  .call-info {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .phone-icon {
    display: none;
  }

  .phone-number {
    display: block;
    font-size: 24px;
    color: #1e3a8a;
  }

  .call-label {
    display: block;
    font-size: 11px;
    color: #1e3a8a;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile menu overlay */
  nav::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    z-index: -1;
  }

  nav.active::before {
    opacity: 1;
    visibility: visible;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    background: rgba(30, 58, 138, 0.98);
    backdrop-filter: blur(10px);
    padding: 80px 30px;
    transition: right 0.3s ease;
    z-index: 9999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  nav.active {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-menu li a {
    font-size: 16px;
    color: white;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Mobile Dropdown Styles */
  .dropdown {
    position: relative;
  }

  .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown .arrow {
    font-size: 12px;
    transition: transform 0.3s;
  }

  .dropdown.active .arrow {
    transform: rotate(180deg);
  }

  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    min-width: 100%;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
    padding: 0;
    margin: 0;
    margin-top: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown.active .dropdown-content {
    max-height: 1000px;
    padding: 10px 0;
  }

  .dropdown-content .elementor-sub-item {
    padding: 10px 20px;
    font-size: 14px;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown-content .elementor-sub-item:hover {
    background: rgba(0, 212, 255, 0.15);
    padding-left: 20px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10000;
    padding: 5px;
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1e3a8a;
    transition: 0.3s;
    border-radius: 2px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
    background: white;
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    background: white;
  }

  .hero {
    min-height: 400px;
    padding-top: 80px;
  }

  .hero-background {
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-content {
    padding: 0 20px;
    margin-top: 0px;
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 15px 0;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
    width: 100%;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  header {
    padding: 12px 0;
  }

  .header-container {
    padding: 0 15px;
  }

  .logo-image {
    width: 85px;
  }

  .header-right {
    gap: 8px;
  }

  .call-info {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .phone-icon {
    width: 34px;
    height: 34px;
    background: #00d4ff;
    flex-shrink: 0;
  }

  .phone-icon i {
    font-size: 14px;
  }

  .call-button {
    gap: 6px;
  }

  .phone-number {
    display: block;
    font-size: 18px;
    white-space: nowrap;
  }

  .call-label {
    display: block;
    font-size: 9px;
    white-space: nowrap;
  }

  .menu-toggle span {
    width: 22px;
    height: 2.5px;
  }

  nav {
    width: 100%;
    right: -100%;
  }

  .hero {
    min-height: 300px;
    padding-top: 0;
  }

  .hero-background {
    height: 100%;
    min-height: 100%;
  }

  .hero-image {
    height: 100%;
    object-fit: cover;
  }

  .hero-content {
    padding: 0 15px;
    margin-top: 0px;
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.2;
    margin: 10px 0;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
    width: 100%;
  }
}

/* Enhanced mobile button styles */
@media (max-width: 768px) {
  .cta-button,
  .call-now-btn,
  .benefits-cta,
  .submit-button,
  .promotional-cta-button {
    width: 100%;
    padding: 16px 30px;
    font-size: 16px;
    text-align: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .call-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Form inputs mobile optimization */

  /* Prevent zoom on iOS inputs */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .call-label {
    display: block;
    font-size: 9px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 12px;
  }

  .hero-description {
    font-size: 14px;
  }

  .cta-button,
  .call-now-btn,
  .benefits-cta,
  .submit-button,
  .promotional-cta-button {
    padding: 14px 25px;
    font-size: 15px;
  }
}

/* Services Intro Section */
.services-intro {
  background: white;
  padding: 0;
}

.services-banner {
  background: #80eff7;
  padding: 10px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.services-banner h2 {
  color: #1e3a8a;
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-wrap: balance;
}

.services-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

.services-description {
  color: #1e3a8a;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 7;
}

/* Specialists Cards Styles */
.specialists-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.specialists-card {
  flex: 0 0 calc(22% - 50px);
  text-align: center;
  padding: 10px 0 20px 0;
}

.specialists-card {
  flex: 0 0 calc(22% - 50px);
  text-align: center;
  padding: 10px 0 20px 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.specialists-card .icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #113583 0%, #0976be 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .specialists-card .icon {
    width: 100px;
    height: 100px;
  }
}

.specialists-card-img {
  width: 70px;
}

@media (max-width: 768px) {
  .specialists-card-img {
    width: 50px;
  }
}

.specialists-card p {
  font-size: 1rem;
  color: #0a2a5e;
  line-height: 1.4;
  font-weight: 700;
}

@media (max-width: 768px) {
  .specialists-card p {
    font-size: 3.95vw;
  }
}

@media (max-width: 992px) {
  .specialists-card {
    flex: 0 0 calc(33.333% - 30px);
  }
}

@media (max-width: 768px) {
  .specialists-card {
    flex: 0 0 calc(57% - 30px);
    padding: 0 0 30px 0;
  }
}

/* Responsive Styles for Services Section */
@media (max-width: 1200px) {
  /* .services-grid {
        gap: 25px;
    } */
}

/* Tablet styles for services */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-banner h2 {
    font-size: 28px;
  }

  .services-description {
    font-size: 17px;
  }

  .services-content {
    padding: 50px 30px;
  }
}

@media (max-width: 768px) {
  .services-banner h2 {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .services-banner {
    padding: 5px 3px;
  }

  .services-description {
    font-size: 16px;
    padding: 0 20px;
    margin-bottom: 20px;
  }

  .services-content {
    padding: 40px 20px;
  }
}

/* Mobile Styles for Services */
@media (max-width: 768px) {
  .services-intro {
    padding: 0;
    background: white;
  }

  .services-banner h2 {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3px;
  }

  .services-content {
    padding: 50px 20px;
    background: white;
  }
}

@media (max-width: 480px) {
  .services-intro {
    background: white;
  }

  .services-banner h2 {
    font-size: 14px;
    letter-spacing: 0px;
    font-weight: 900;
    padding: 5px 0;
    z-index: 7;
    position: relative;
  }

  .services-content {
    padding: 40px 15px;
    background: white;
  }
}

/* About Section */
.about-section {
  background: white;
  padding: 80px 20px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  padding-right: 40px;
}

.about-title {
  color: #1e3a8a;
  font-size: 42px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 30px;
}

.highlight-cyan {
  color: #4ecffb;
}

.about-text p {
  color: #333;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text a {
  color: #1e5a9a;
  text-decoration: underline;
}

.cta-button {
  background: #80eff7;
  color: #1e3a8a;
  border: none;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 30px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

.about-image {
  position: relative;
  width: 100%;
}

.about-image img {
  width: 100%;
  max-width: 465px;
  height: auto;
  max-height: 629px;
  object-fit: cover;
  display: block;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.image-overlay {
  position: absolute;
  bottom: 170px;
  right: 0px;
  width: 100%;
  max-width: 298px;
}

.image-overlay img {
  width: 100%;
  max-width: 298px;
  height: auto;
  max-height: 299px;
}

/* Responsive Styles for About Section */
/* Tablet styles for about section */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-section {
    padding: 60px 30px;
  }

  .about-content {
    gap: 40px;
  }

  .about-title {
    font-size: 36px;
  }

  .about-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .image-overlay {
    bottom: 120px;
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 50px 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text {
    padding-right: 0;
    order: 2;
  }

  .about-image {
    order: 1;
    width: 100%;
  }

  .about-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .about-title br {
    display: none;
  }

  .about-text p {
    font-size: 15px;
  }

  .about-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
  }

  .image-overlay {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    max-width: 250px;
    margin: -80px auto 0;
    transform: translateY(-50%);
  }

  .image-overlay img {
    width: 100%;
    max-width: 250px;
    height: auto;
  }

  .cta-button {
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 40px 15px;
  }

  .about-title {
    font-size: 24px;
  }

  .about-text p {
    font-size: 14px;
  }

  .about-image img {
    width: 264.1878356933594px;
    height: 357.36376953125px;
    border-top-left-radius: 18.18px;
    border-bottom-left-radius: 18.18px;
  }

  .image-overlay {
    bottom: 105px;
    right: -82px;
    max-width: 210px;
  }

  .image-overlay img {
    width: 169.30747985839844px;
    height: 169.87562561035156px;
    border-radius: 9.09px;
  }
}

@media (max-width: 480px) {
  .services-intro {
    font-size: 14px;
  }

  .about-text p {
    font-size: 14px;
  }

  .cta-button {
    width: 100%;
    padding: 15px 20px;
    font-size: 14px;
  }
}

/* Water Leak Detection Services Section */
.services-detail-section {
  background: #161e6f;
  padding: 100px 20px;
  position: relative;
  min-height: 752px;
  border-radius: 32px;
  margin: 40px auto;
  max-width: 1400px;
  width: calc(100% - 40px);
  box-sizing: border-box;
}

.services-detail-section::before {
  content: "";
  background: url("../images/curve-top\ 2.png") no-repeat center center/cover;
  position: absolute;
  width: 196px;
  height: 252px;
  opacity: 0.6;
  right: -10px;
  top: -5px;
  border-radius: 32px;
}

/* .services-detail-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: 0;
    width: 400px;
    height: 400px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 50% 0 0 50%;
} */

.services-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
}

.services-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.service-image-card {
  width: 100%;
  max-width: 326px;
  position: relative;
}

.service-image-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.service-image-card:hover {
  transform: translateY(-5px);
}

.service-image-card.offset {
  position: absolute;
  width: 100%;
  max-width: 250px;
  height: auto;
  opacity: 1;
  top: 83px;
  left: auto;
  right: 0;
  border-radius: 24px;
  z-index: 1;
}

.services-detail-text {
  color: white;
  width: 100%;
  max-width: 586px;
  opacity: 1;
  gap: 24px;
  display: flex;
  flex-direction: column;
}

.services-detail-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 42px;
  line-height: 120%;
  letter-spacing: 0%;
  margin-bottom: 30px;
}

.services-detail-description {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 170%;
  letter-spacing: 0%;
  color: Grey Scale/#E6E6E6;
}

/* Responsive for Services Detail Section */
@media (min-width: 1401px) {
  .services-detail-section {
    max-width: 1400px;
    margin: 40px auto;
  }

  .services-detail-section .container {
    padding: 0 40px;
  }
}

@media (min-width: 1201px) and (max-width: 1400px) {
  .services-detail-section {
    max-width: calc(100% - 40px);
    width: calc(100% - 40px);
  }

  .services-detail-section .container {
    padding: 0 30px;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .services-detail-section {
    padding: 80px 30px;
    min-height: auto;
    margin: 40px auto;
    max-width: calc(100% - 40px);
    width: calc(100% - 40px);
  }

  .services-detail-section .container {
    padding: 0 10px;
  }

  .services-detail-content {
    gap: 50px;
  }

  .services-detail-title {
    font-size: 36px;
  }

  .services-detail-description {
    font-size: 15px;
  }

  .service-image-card {
    max-width: 100%;
  }

  .service-image-card.offset {
    max-width: 75%;
    top: 60px;
    right: 0;
  }

  .services-detail-text {
    max-width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-detail-section {
    padding: 70px 25px;
    min-height: auto;
    margin: 30px auto;
    max-width: calc(100% - 40px);
    width: calc(100% - 40px);
  }

  .services-detail-section .container {
    padding: 0;
  }

  .services-detail-content {
    gap: 40px;
  }

  .services-detail-title {
    font-size: 32px;
  }

  .services-detail-description {
    font-size: 15px;
  }

  .service-image-card {
    max-width: 100%;
  }

  .service-image-card.offset {
    max-width: 70%;
    top: 50px;
    right: 0;
  }

  .services-detail-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .services-detail-section {
    padding: 50px 20px;
    min-height: auto;
    border-radius: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    background: #1e3a8a;
  }

  .services-detail-section .container {
    padding: 0;
  }

  .services-detail-section::before {
    display: none;
  }

  .services-detail-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-images {
    display: none;
  }

  .services-detail-text {
    order: 1;
    max-width: 100%;
    width: 100%;
  }

  .services-detail-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .services-detail-title .highlight-cyan {
    color: #87ceeb;
    display: block;
    margin-top: 5px;
  }

  .services-detail-title br {
    display: none;
  }

  .services-detail-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .services-detail-section {
    padding: 40px 15px;
    border-radius: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    background: #1e3a8a;
  }

  .services-detail-section .container {
    padding: 0;
  }

  .services-detail-section::before {
    display: none;
  }

  .services-images {
    display: none;
  }

  .services-detail-text {
    gap: 20px;
  }

  .services-detail-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
  }

  .services-detail-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
  }
}

.service-categories {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 80px 20px;
  margin-top: -250px;
}

.service-categories-container {
  width: 100%;
  max-width: 1280px;
  min-height: 293px;
  opacity: 1;
  gap: 32px;
  border-radius: 20px;
  padding: 40px 56px;
  background: #f3f5f6;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
  position: relative;
}

.service-categories-header {
  width: 100%;
  max-width: 718px;
  min-height: 29px;
  opacity: 1;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-categories-header h1 {
  color: #1e3a5f;
  opacity: 1;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
}

.service-categories-header .highlight {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
  color: #00bcd4;
}

.service-categories .services-grid {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  opacity: 1;
}

/* Service buttons: clear, consistent, tappable cards with depth */
.service-categories .service-card {
  background: linear-gradient(135deg, #2fb2ea 0%, #1c9fd8 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 4px 10px rgba(30, 58, 95, 0.16), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
  cursor: pointer;
  min-height: 66px;
  opacity: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Hover: shift to dark blue + lift for a clear interactive cue */
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #234a7a 0%, #1e3a5f 100%);
  border-color: rgba(128, 239, 247, 0.6);
  box-shadow: 0 14px 28px rgba(30, 58, 95, 0.3);
  outline: none;
}

/* Active/selected service */
.service-categories .service-card.primary {
  background: linear-gradient(135deg, #234a7a 0%, #1e3a5f 100%);
  border-color: rgba(128, 239, 247, 0.65);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 58, 95, 0.28);
}

/* White chevron-in-circle on the right of each button (rendered from CSS, no markup) */
.service-categories .service-card::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 6 15 12 9 18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.service-card:hover::after,
.service-card.primary::after {
  transform: translateX(3px);
  background-color: rgba(128, 239, 247, 0.18);
}

.service-name {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0.2px;
  color: #fff;
  text-align: left;
}

/* Responsive Styles for Service Categories Section */
@media (min-width: 769px) and (max-width: 1024px) {
  .service-categories {
    padding: 60px 20px;
    margin-top: 120px;
  }

  .service-categories-container {
    padding: 35px 40px;
  }

  .service-categories-header {
    max-width: 100%;
    font-size: 22px;
    margin-bottom: 28px;
  }

  .service-categories-header h1 {
    font-size: 22px;
  }

  /* .service-categories .services-grid {
        gap: 12px;
    } */

  .service-categories .service-card {
    padding: 14px 16px;
    min-height: 62px;
  }

  .service-name {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .service-categories {
    padding: 50px 20px;
    margin-top: 0;
  }

  .service-categories-container {
    padding: 30px 20px;
    min-height: auto;
    background: transparent;
    border-radius: 0;
  }

  .service-categories-header {
    max-width: 100%;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: left;
  }

  .service-categories-header h1 {
    font-size: 24px;
    line-height: 1.3;
    color: #1e3a5f;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .service-categories-header .highlight {
    font-size: 24px;
    color: #00bcd4;
  }

  .service-categories-header .highlight br {
    display: block;
  }

  .service-categories .services-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  /* First 3 services - full width */
  .service-categories .service-card:nth-child(1) {
    order: 1;
    grid-column: 1 / -1;
    width: 100%;
  }

  .service-categories .service-card:nth-child(2) {
    order: 2;
    grid-column: 1 / -1;
    width: 100%;
  }

  .service-categories .service-card:nth-child(3) {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
  }

  /* Bathroom (4th) and Drainage (8th) - side by side */
  .service-categories .service-card:nth-child(4) {
    order: 4;
    grid-column: 1;
  }

  .service-categories .service-card:nth-child(5) {
    order: 5;
    grid-column: 2;
  }

  /* Swimming Pools (6th) and Roof (7th) - side by side */
  .service-categories .service-card:nth-child(6) {
    order: 6;
    grid-column: 1;
  }

  .service-categories .service-card:nth-child(7) {
    order: 7;
    grid-column: 2;
  }

  /* Ceiling (5th) and Irrigation System (9th) - side by side */
  .service-categories .service-card:nth-child(8) {
    order: 8;
    grid-column: 1;
  }

  .service-categories .service-card:nth-child(9) {
    order: 9;
    grid-column: 2;
  }

  .service-categories .service-card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 15px 18px;
    height: auto;
    min-height: 60px;
    border-radius: 16px;
    gap: 12px;
    justify-content: space-between;
  }

  .service-categories .service-card.primary {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }

  .icon-wrapper {
    width: 45px;
    height: 45px;
    font-size: 24px;
    background: #f0f4f8;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
  }

  .icon-wrapper img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 28px;
  }

  .service-name {
    font-size: 15px;
    line-height: 1.3;
    color: #fff;
    font-weight: 700;
    text-align: left;
  }

  .service-card.primary .service-name {
    color: white;
  }
}

@media (max-width: 480px) {
  .service-categories {
    padding: 40px 15px;
    margin-top: 0;
    padding-top: 0;
  }

  .service-categories-container {
    padding: 25px 15px;
    background: transparent;
  }

  .service-categories-header {
    font-size: 22px;
    margin-bottom: 25px;
    text-align: left;
  }

  .service-categories-header h1 {
    font-size: 22px;
    color: #1e3a5f;
    line-height: 1.3;
  }

  .service-categories-header .highlight {
    font-size: 22px;
    color: #00bcd4;
    margin-top: 5px;
  }

  .service-categories .services-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* First 3 services - full width */
  .service-categories .service-card:nth-child(1) {
    order: 1;
    grid-column: 1 / -1;
    width: 100%;
  }

  .service-categories .service-card:nth-child(2) {
    order: 2;
    grid-column: 1 / -1;
    width: 100%;
  }

  .service-categories .service-card:nth-child(3) {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
  }

  /* Bathroom (4th) and Drainage (8th) - side by side */
  .service-categories .service-card:nth-child(4) {
    order: 4;
    grid-column: 1;
  }

  .service-categories .service-card:nth-child(5) {
    order: 5;
    grid-column: 2;
  }

  /* Swimming Pools (6th) and Roof (7th) - side by side */
  .service-categories .service-card:nth-child(6) {
    order: 6;
    grid-column: 1;
  }

  .service-categories .service-card:nth-child(7) {
    order: 7;
    grid-column: 2;
  }

  /* Ceiling (5th) and Irrigation System (9th) - side by side */
  .service-categories .service-card:nth-child(8) {
    order: 8;
    grid-column: 1;
  }

  .service-categories .service-card:nth-child(9) {
    order: 9;
    grid-column: 2;
  }

  .service-categories .service-card {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    padding: 14px 16px;
    height: auto;
    min-height: 56px;
    border-radius: 14px;
    justify-content: space-between;
  }

  .service-name {
    font-size: 14px;
  }
}

/* Detailed Services Section */
.detailed-services {
  /* margin-top: 180px; */
  position: relative;
  /* background: #F3F5F6; */
  padding: 60px 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  padding-top: 0 !important;
}

/* Large screens (1400px+) */
@media (min-width: 1400px) {
  .detailed-services {
    padding: 80px 40px;
    padding-bottom: 0;
  }

  .carousel-container {
    max-width: 1400px;
    padding: 0 40px;
  }

  .carousel-nav-wrapper {
    padding: 0 40px;
    max-width: 1400px;
  }
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

/* Responsive padding for carousel container - consolidated into main media queries */

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
  will-change: transform;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
}

.detail-card {
  max-width: 100%;
  min-width: 280px;
  min-height: 486px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 36px;
  background: #f3f5f6;
  border-radius: 32px;
  flex-shrink: 0;
  box-sizing: border-box;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: calc(50% - 15px);
}

.detail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-image {
  flex-shrink: 0;
  width: 291px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.detail-image img {
  width: 100%;
  max-width: 291px;
  height: auto;
  object-fit: contain;
  opacity: 1;
  border-radius: 16px;
  transition: transform 0.3s ease;
  display: block;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.detail-card:hover .detail-image img {
  transform: none;
}

.detail-content {
  flex: 1;
  width: 100%;
  max-width: 548px;
  min-width: 0;
  opacity: 1;
  gap: 24px;
  display: flex;
  flex-direction: column;
}

.detail-content h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 32px;
  line-height: 120%;
  letter-spacing: 0%;
  color: #161e6f;
}

.detail-content h2 .number {
  display: inline-block;
  margin-right: 8px;
}

.detail-content h2 .highlight {
  color: #02b9f8;
  display: inline;
  font-weight: 700;
  margin-left: 0;
}

.detail-content .description {
  width: 100%;
  max-width: 548px;
  opacity: 1;
  gap: 32px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 14px;
  line-height: 170%;
  letter-spacing: 0%;
}

.equipment-section {
  margin: 0;
}

.equipment-section h3 {
  color: #1e3a5f;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 170%;
  letter-spacing: 0%;
  margin-bottom: 8px;
  margin-top: 0;
}

.equipment-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.equipment-section ul li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  color: #555;
  font-size: 17px;
  line-height: 1;
}

.equipment-section ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1e3a5f;
  font-weight: bold;
  font-size: 16px;
}

.detail-footer {
  margin-top: 0;
  padding-top: 0;
  font-style: normal;
  color: #333;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 170%;
  letter-spacing: 0%;
}

.learn-more-btn {
  display: inline-block;
  background: #80eff7;
  color: #192172;
  min-width: 170px;
  height: 52px;
  opacity: 1;
  gap: 10px;
  border-radius: 52px;
  padding: 9px 46px;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  box-sizing: border-box;
}

.learn-more-btn:hover {
  background: #00d4ff;
  color: white;
  transform: scale(1.05);
}

/* Carousel Navigation Wrapper */
.carousel-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding: 0 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 80px;
}

/* Progress Bar Container */
.progress-bar-container {
  flex: 1;
  max-width: calc(100% - 130px);
}

.progress-bar {
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #1e3a5f;
  border-radius: 1px;
  transition: width 0.5s ease;
  width: 0%;
}

/* Navigation Buttons */
.carousel-nav {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.nav-btn.prev {
  border: 2px solid #1e3a5f;
  background: transparent;
  color: #1e3a5f;
}

.nav-btn.prev:hover:not(:disabled) {
  background: rgba(30, 58, 95, 0.1);
}

.nav-btn.prev:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-btn.next {
  background: #1e3a5f;
  color: white;
  border: 2px solid #1e3a5f;
}

.nav-btn.next:hover:not(:disabled) {
  background: #2c5282;
  border-color: #2c5282;
}

.nav-btn.next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-btn svg {
  width: 24px;
  height: 24px;
}

/* Large tablets and small desktops (1024px - 1200px) */
@media (max-width: 1200px) and (min-width: 1024px) {
  .detailed-services {
    padding: 50px 15px;
  }

  .carousel-container {
    max-width: 100%;
    padding: 0 15px;
  }

  .carousel-track {
    gap: 20px;
  }

  .detail-card {
    max-width: 100%;
    min-width: calc(50% - 10px);
    width: calc(50% - 10px);
    padding: 30px;
    gap: 25px;
    min-height: auto;
  }

  .detail-image {
    width: 250px;
    max-width: 40%;
  }

  .detail-image img {
    max-width: 100%;
  }

  .detail-content {
    max-width: 100%;
  }

  .detail-content h2 {
    font-size: 26px;
  }

  .detail-content .description {
    font-size: 14px;
  }

  .equipment-section h3 {
    font-size: 14px;
  }

  .equipment-section ul li {
    font-size: 13px;
  }

  .carousel-nav-wrapper {
    max-width: 100%;
  }

  .progress-bar-container {
    max-width: calc(100% - 120px);
  }

  .nav-btn {
    width: 48px;
    height: 48px;
  }

  .nav-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* Medium tablets (900px - 1024px) */
@media (max-width: 1023px) and (min-width: 900px) {
  .detailed-services {
    padding: 45px 15px;
  }

  .carousel-container {
    max-width: 100%;
    padding: 0 15px;
  }

  .carousel-track {
    gap: 18px;
  }

  .detail-card {
    max-width: 100%;
    min-width: calc(50% - 9px);
    width: calc(50% - 9px);
    padding: 28px;
    gap: 22px;
    min-height: auto;
  }

  .detail-image {
    width: 220px;
    max-width: 38%;
  }

  .detail-image img {
    max-width: 100%;
    max-height: 350px;
  }

  .detail-content {
    max-width: 100%;
  }

  .detail-content h2 {
    font-size: 24px;
  }

  .detail-content .description {
    font-size: 13px;
  }

  .equipment-section h3 {
    font-size: 13px;
  }

  .equipment-section ul li {
    font-size: 12px;
  }

  .carousel-nav-wrapper {
    max-width: 100%;
  }

  .progress-bar-container {
    max-width: calc(100% - 120px);
  }

  .nav-btn {
    width: 46px;
    height: 46px;
  }

  .nav-btn svg {
    width: 21px;
    height: 21px;
  }
}

/* Small tablets (768px - 900px) */
@media (max-width: 899px) and (min-width: 768px) {
  .detailed-services {
    padding: 40px 15px;
  }

  .carousel-container {
    max-width: 100%;
    padding: 0 12px;
  }

  .carousel-track {
    gap: 16px;
  }

  .detail-card {
    max-width: 100%;
    min-width: calc(50% - 8px);
    width: calc(50% - 8px);
    padding: 25px;
    gap: 20px;
    min-height: auto;
  }

  .detail-image {
    width: 200px;
    max-width: 35%;
  }

  .detail-image img {
    max-width: 100%;
    max-height: 320px;
  }

  .detail-content {
    max-width: 100%;
  }

  .detail-content h2 {
    font-size: 22px;
  }

  .detail-content .description {
    font-size: 13px;
  }

  .equipment-section h3 {
    font-size: 12px;
  }

  .equipment-section ul li {
    font-size: 12px;
  }

  .carousel-nav-wrapper {
    max-width: 100%;
  }

  .progress-bar-container {
    max-width: calc(100% - 110px);
  }

  .nav-btn {
    width: 44px;
    height: 44px;
  }

  .nav-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* Large phones and small tablets in portrait (600px - 768px) */
@media (max-width: 767px) and (min-width: 600px) {
  .detailed-services {
    padding: 40px 12px;
    background: #f3f5f6;
  }

  .carousel-container {
    max-width: 100%;
    padding: 0;
    overflow: visible;
  }

  .carousel-track {
    gap: 15px;
  }

  .detail-card {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex-direction: column;
    padding: 0;
    gap: 0;
    border-radius: 16px;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  .detail-image {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
  }

  .detail-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 320px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    display: block;
  }

  .detail-content {
    width: 100%;
    max-width: 100%;
    padding: 22px;
    gap: 14px;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-content h2 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 12px;
    margin-top: 0;
    color: #161e6f;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .detail-content h2 .number {
    display: inline-block;
    margin-right: 4px;
    font-weight: 700;
  }

  .detail-content h2 .highlight {
    color: #02b9f8;
    font-weight: 600;
    display: inline;
    margin-left: 4px;
  }

  .detail-content .description {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
    margin-top: 0;
    font-weight: 400;
    color: #333;
    word-wrap: break-word;
  }

  .equipment-section {
    margin-bottom: 12px;
    margin-top: 0;
    width: 100%;
  }

  .equipment-section h3 {
    font-size: 13px;
    margin-bottom: 6px;
    margin-top: 0;
    font-weight: 700;
    color: #1e3a5f;
    word-wrap: break-word;
  }

  .equipment-section ul {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .equipment-section ul li {
    font-size: 13px;
    line-height: 1.5;
    padding: 3px 0;
    padding-left: 20px;
    color: #333;
    word-wrap: break-word;
  }

  .equipment-section ul li:before {
    color: #1e3a5f;
    font-size: 14px;
  }

  .detail-footer {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    margin-top: 0;
    font-style: italic;
    color: #666;
    word-wrap: break-word;
  }

  .learn-more-btn {
    width: 100%;
    max-width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    min-width: auto;
    height: auto;
    min-height: 48px;
    border-radius: 12px;
    color: #192172;
    background: #80eff7;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    text-align: center;
    display: block;
    -webkit-tap-highlight-color: transparent;
  }

  .learn-more-btn:hover {
    background: #00d4ff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .carousel-nav-wrapper {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .progress-bar-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .carousel-nav {
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding-bottom: 30px;
    background-color: #f3f5f6;
  }

  .nav-btn {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* Mobile devices (480px - 599px) - standard mobile phones */
@media (max-width: 599px) and (min-width: 481px) {
  .detailed-services {
    margin-top: 50px;
    padding: 35px 12px !important;
    background: #f3f5f6;
  }

  .carousel-container {
    max-width: 100%;
    padding: 0;
    overflow: visible;
  }

  .carousel-track {
    gap: 12px;
  }

  .detail-card {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex-direction: column;
    padding: 0;
    gap: 0;
    border-radius: 16px;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  .detail-image {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
  }

  .detail-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 280px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    display: block;
  }

  .detail-content {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    gap: 12px;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .detail-content h2 {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 10px;
    margin-top: 0;
    color: #161e6f;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .detail-content h2 .number {
    display: inline-block;
    margin-right: 4px;
    font-weight: 700;
  }

  .detail-content h2 .highlight {
    color: #02b9f8;
    font-weight: 600;
    display: inline;
    margin-left: 4px;
  }

  .detail-content .description {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
    margin-top: 0;
    font-weight: 400;
    color: #333;
    word-wrap: break-word;
  }

  .equipment-section {
    margin-bottom: 10px;
    margin-top: 0;
    width: 100%;
  }

  .equipment-section h3 {
    font-size: 12px;
    margin-bottom: 5px;
    margin-top: 0;
    font-weight: 700;
    color: #1e3a5f;
    word-wrap: break-word;
  }

  .equipment-section ul {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .equipment-section ul li {
    font-size: 12px;
    line-height: 1.5;
    padding: 2px 0;
    padding-left: 18px;
    color: #333;
    word-wrap: break-word;
  }

  .equipment-section ul li:before {
    color: #1e3a5f;
    font-size: 12px;
  }

  .detail-footer {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 14px;
    margin-top: 0;
    font-style: italic;
    color: #666;
    word-wrap: break-word;
  }

  .learn-more-btn {
    width: 100%;
    max-width: 100%;
    padding: 12px 20px;
    font-size: 13px;
    min-width: auto;
    height: auto;
    min-height: 46px;
    border-radius: 22px;
    color: #192172;
    background: #80eff7;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    text-align: center;
    display: block;
    -webkit-tap-highlight-color: transparent;
  }

  .learn-more-btn:hover {
    background: #00d4ff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .carousel-nav-wrapper {
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
    padding: 0 12px;
    box-sizing: border-box;
    padding-bottom: 25px;
    background-color: #f3f5f6;
  }

  .progress-bar-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .carousel-nav {
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .nav-btn {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-btn svg {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 480px) {
  .detailed-services {
    margin-top: 50px;
    padding: 30px 10px;
    background: #f3f5f6;
  }

  .carousel-container {
    padding: 0;
    overflow: visible;
  }

  .carousel-track {
    gap: 10px;
  }

  .detail-card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: auto;
    height: auto;
    justify-content: flex-start;
    border-radius: 16px;
    padding: 0;
    gap: 0;
    flex-direction: column;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  .detail-image {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow: hidden;
  }

  .detail-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 250px;
    border-radius: 16px 16px 0 0;
    object-fit: cover;
    display: block;
  }

  .detail-content {
    width: 100%;
    padding: 18px;
    gap: 12px;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .detail-content h2 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 10px;
    margin-top: 0;
    color: #161e6f;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .detail-content h2 .number {
    margin-right: 4px;
  }

  .detail-content h2 .highlight {
    color: #02b9f8;
    font-weight: 600;
    margin-left: 4px;
  }

  .detail-content .description {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
    margin-top: 0;
    font-weight: 400;
    color: #333;
    word-wrap: break-word;
  }

  .equipment-section {
    margin-bottom: 10px;
    margin-top: 0;
    width: 100%;
  }

  .equipment-section h3 {
    font-size: 12px;
    margin-bottom: 5px;
    margin-top: 0;
    font-weight: 700;
    color: #1e3a5f;
    word-wrap: break-word;
  }

  .equipment-section ul {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .equipment-section ul li {
    font-size: 12px;
    line-height: 1.5;
    padding: 2px 0;
    padding-left: 18px;
    color: #333;
    word-wrap: break-word;
  }

  .equipment-section ul li:before {
    font-size: 12px;
  }

  .detail-footer {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 14px;
    margin-top: 0;
    font-style: italic;
    color: #666;
    word-wrap: break-word;
  }

  .learn-more-btn {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 44px;
    opacity: 1;
    border-radius: 22px;
    padding: 12px 20px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0%;
    margin-top: 8px;
    margin-bottom: 0;
    color: #192172;
    background: #80eff7;
    border: none;
    cursor: pointer;
    text-align: center;
    display: block;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .learn-more-btn:hover {
    background: #00d4ff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .carousel-nav-wrapper {
    margin-top: 0;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
    padding-bottom: 25px;
    background-color: #f3f5f6;
  }

  .progress-bar-container {
    width: 100%;
    box-sizing: border-box;
  }

  .carousel-nav {
    gap: 10px;
    width: 100%;
    justify-content: center;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Landscape orientation for mobile devices */
@media (max-width: 900px) and (orientation: landscape) {
  .detailed-services {
    padding: 30px 15px;
  }

  .detail-card {
    min-height: auto;
  }

  .detail-image img {
    max-height: 250px;
  }

  .detail-content {
    padding: 18px;
  }

  .detail-content h2 {
    font-size: 18px;
  }
}

/* Very small devices (up to 360px) - already defined, but ensure consistency */
@media (max-width: 360px) {
  .detailed-services {
    padding: 25px 8px;
    background: #f3f5f6;
  }

  .carousel-container {
    padding: 0;
    overflow: visible;
  }

  .carousel-track {
    gap: 8px;
  }

  .detail-card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: auto;
    height: auto;
    justify-content: flex-start;
    border-radius: 12px;
    padding: 0;
    gap: 0;
    flex-direction: column;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  .detail-image {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow: hidden;
  }

  .detail-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 220px;
    max-height: 220px;
    border-radius: 12px 12px 0 0;
    object-fit: cover;
    display: block;
  }

  .detail-content {
    width: 100%;
    padding: 15px;
    gap: 10px;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .detail-content h2 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 8px;
    margin-top: 0;
    color: #161e6f;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .detail-content .description {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 8px;
    margin-top: 0;
    color: #333;
    word-wrap: break-word;
  }

  .detail-footer {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 12px;
    margin-top: 0;
    font-style: italic;
    color: #666;
    word-wrap: break-word;
  }

  .equipment-section {
    margin-bottom: 8px;
    margin-top: 0;
    width: 100%;
  }

  .equipment-section h3 {
    font-size: 11px;
    margin-bottom: 4px;
    margin-top: 0;
    font-weight: 700;
    color: #1e3a5f;
    word-wrap: break-word;
  }

  .equipment-section ul {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .equipment-section ul li {
    font-size: 11px;
    line-height: 1.5;
    padding: 2px 0;
    padding-left: 16px;
    color: #333;
    word-wrap: break-word;
  }

  .equipment-section ul li:before {
    font-size: 11px;
  }

  .learn-more-btn {
    width: 100%;
    max-width: 100%;
    font-size: 12px;
    padding: 12px 18px;
    height: auto;
    min-height: 42px;
    border-radius: 21px;
    font-weight: 600;
    color: #192172;
    background: #80eff7;
    border: none;
    cursor: pointer;
    text-align: center;
    display: block;
    box-sizing: border-box;
    margin-top: 8px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: transparent;
  }

  .learn-more-btn:hover {
    background: #00d4ff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .carousel-nav-wrapper {
    margin-top: 18px;
    gap: 10px;
    padding: 0;
    box-sizing: border-box;
  }

  .progress-bar-container {
    width: 100%;
    box-sizing: border-box;
  }

  .carousel-nav {
    gap: 8px;
    width: 100%;
    justify-content: center;
  }

  .nav-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .detailed-services {
    padding: 25px 8px;
    background: #f3f5f6;
  }

  .carousel-container {
    padding: 0;
    overflow: visible;
  }

  .carousel-track {
    gap: 8px;
  }

  .detail-card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: auto;
    height: auto;
    justify-content: flex-start;
    border-radius: 12px;
    padding: 0;
    gap: 0;
    flex-direction: column;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  .detail-image {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow: hidden;
  }

  .detail-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 220px;
    max-height: 220px;
    border-radius: 12px 12px 0 0;
    object-fit: cover;
    display: block;
  }

  .detail-content {
    width: 100%;
    padding: 15px;
    gap: 10px;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .detail-content h2 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 8px;
    margin-top: 0;
    color: #161e6f;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .detail-content .description {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 8px;
    margin-top: 0;
    color: #333;
    word-wrap: break-word;
  }

  .detail-footer {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 12px;
    margin-top: 0;
    font-style: italic;
    color: #666;
    word-wrap: break-word;
  }

  .equipment-section {
    margin-bottom: 8px;
    margin-top: 0;
    width: 100%;
  }

  .equipment-section h3 {
    font-size: 11px;
    margin-bottom: 4px;
    margin-top: 0;
    font-weight: 700;
    color: #1e3a5f;
    word-wrap: break-word;
  }

  .equipment-section ul {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .equipment-section ul li {
    font-size: 11px;
    line-height: 1.5;
    padding: 2px 0;
    padding-left: 16px;
    color: #333;
    word-wrap: break-word;
  }

  .equipment-section ul li:before {
    font-size: 11px;
  }

  .learn-more-btn {
    width: 100%;
    max-width: 100%;
    font-size: 12px;
    padding: 12px 18px;
    height: auto;
    min-height: 42px;
    border-radius: 21px;
    font-weight: 600;
    color: #192172;
    background: #80eff7;
    border: none;
    cursor: pointer;
    text-align: center;
    display: block;
    box-sizing: border-box;
    margin-top: 8px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .learn-more-btn:hover {
    background: #00d4ff;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .carousel-nav-wrapper {
    margin-top: 0;
    gap: 0;
    padding: 0;
    padding-bottom: 25px;
    box-sizing: border-box;
  }

  .progress-bar-container {
    width: 100%;
    box-sizing: border-box;
  }

  .carousel-nav {
    gap: 8px;
    width: 100%;
    justify-content: center;
  }

  .nav-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(135deg, #e6f7ff 0%, #b3e5fc 100%);
  padding: 80px 20px;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
}

.benefits-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 716px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #9b9b9b;
  height: 348px;
}

.benefits-logo {
  margin-top: 20px;
}

.benefits-logo img {
  text-align: center;
  width: 288px;
  height: 105px;
  opacity: 1;
}

.benefits-right {
  flex: 1;
}

.benefits-title {
  font-size: 2.5rem;
  color: #1a2273;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.2;
}

.benefits-subtitle {
  font-size: 2.5rem;
  color: #02b9f8;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

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

.benefits-list li {
  padding: 6px 0;
  padding-left: 35px;
  position: relative;
  color: #000000;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 500;
}

.benefits-list li:before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #1e3a5f;
  font-size: 0.8rem;
}

.benefits-footer {
  margin-top: 25px;
  color: #1e3a5f;
  font-size: 1.05rem;
  line-height: 1.5;
}

.benefits-cta {
  display: inline-block;
  min-width: 200px;
  height: 52px;
  opacity: 1;
  gap: 10px;
  border: none;
  border-radius: 52px;
  padding: 9px 46px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  background: #80eff7;
  color: #192172;
  box-sizing: border-box;
  text-align: center;
  margin-top: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.benefits-cta:hover {
  background: white;
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

@media (min-width: 769px) and (max-width: 1024px) {
  .benefits-container {
    gap: 40px;
  }

  .benefits-section {
    padding: 70px 30px;
  }

  .benefits-title,
  .benefits-subtitle {
    font-size: 2.2rem;
  }

  .video-wrapper {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .benefits-container {
    flex-direction: column;
    gap: 30px;
  }

  .benefits-section {
    padding: 50px 20px;
    background: #e0f7fa;
    border-radius: 0;
  }

  .benefits-left {
    display: block;
    order: 3;
    width: 100%;
  }

  .benefits-right {
    width: 100%;
    order: 1;
  }

  .benefits-title {
    font-size: 28px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .benefits-subtitle {
    font-size: 28px;
    color: #02b9f8;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .benefits-list {
    margin: 0 0 25px 0;
  }

  .benefits-list li {
    color: #333;
    font-size: 16px;
    padding: 8px 0;
    padding-left: 25px;
    line-height: 1.6;
    position: relative;
  }

  .benefits-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: #1e3a8a;
    border-radius: 0;
  }

  .benefits-footer {
    display: block;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .benefits-cta {
    display: block;
    width: 100%;
    padding: 18px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto 30px auto;
    text-align: center;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
  }

  .benefits-cta:hover {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
  }

  .video-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .benefits-logo {
    display: none;
  }
}

@media (max-width: 640px) {
  .benefits-section {
    padding: 40px 15px;
    background: #e0f7fa;
  }

  .benefits-title {
    font-size: 24px;
    color: #1e3a8a;
    margin-bottom: 5px;
  }

  .benefits-subtitle {
    font-size: 24px;
    color: #02b9f8;
    margin-bottom: 25px;
  }

  .benefits-list li {
    font-size: 15px;
    padding: 8px 0;
    padding-left: 25px;
    line-height: 1.5;
    color: #333;
  }

  .benefits-list li:before {
    top: 11px;
    width: 7px;
    height: 7px;
  }

  .benefits-footer {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .benefits-cta {
    padding: 16px 25px;
    font-size: 15px;
    margin-bottom: 25px;
    border-radius: 25px;
  }
}

/* Customers Section */
.customers-section {
  background: #1a2273;
  padding: 80px 20px;
  /* margin-top: 80px; */
  position: relative;
  overflow: hidden;
}

.customers-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 264px;
  height: 210px;
  opacity: 0.6;
  background: url("../images/curve.png") no-repeat center center/cover;
}

.customers-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.customers-left {
  flex: 1;
}

.customers-title {
  font-size: 3rem;
  color: white;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.customers-title .highlight {
  color: #00bcd4;
}

.customers-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.customers-types {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
}

.customers-types li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: white;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 500;
  display: flex;
  justify-content: start;
  align-items: center;
}

.customers-types li:before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #00bcd4;
  font-size: 0.8rem;
}

.customers-types li.highlight {
  color: #00bcd4;
}

.customers-right {
  flex: 1;
  background: #02b9f8;
  padding: 40px;
  max-width: 532px;
  width: 100%;
  min-height: 650px;
  opacity: 1;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.device-image {
  width: 100%;
  max-width: 468px;
  height: auto;
  min-height: 300px;
  max-height: 375px;
  opacity: 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.customers-testimonial {
  color: #1e3a5f;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.customers-testimonial .bold-text {
  font-weight: 700;
  font-style: italic;
}

.call-now-btn {
  display: block;
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a5f;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.mobile-call-btn {
  display: none;
}

.call-now-btn:hover {
  background: white;
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

@media (min-width: 769px) and (max-width: 1024px) {
  .customers-section {
    padding: 70px 30px;
  }

  .customers-container {
    gap: 40px;
  }

  .customers-title {
    font-size: 2.5rem;
  }

  .customers-right {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .customers-container {
    flex-direction: column;
    gap: 40px;
  }

  .customers-section {
    padding: 50px 20px;
    background: #1e3a8a;
  }

  .customers-left {
    width: 100%;
    max-width: 100%;
  }

  .customers-title {
    font-size: 32px;
    color: white;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .customers-title .highlight {
    color: #87ceeb;
  }

  .customers-description {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .customers-types {
    margin: 30px 0 40px 0;
  }

  .customers-types li {
    color: white;
    font-size: 16px;
    padding: 10px 0;
    padding-left: 25px;
  }

  .customers-types li:before {
    content: "►";
    color: #87ceeb;
    font-size: 12px;
  }

  .customers-types li.highlight {
    color: #87ceeb;
  }

  .customers-right {
    display: none;
  }

  .mobile-call-btn {
    display: block !important;
    background: #87ceeb;
    color: #1e3a8a;
    padding: 18px 30px;
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 40px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s;
  }

  .mobile-call-btn:hover {
    background: #6bb8e8;
    transform: translateY(-2px);
  }
}

@media (max-width: 640px) {
  .customers-section {
    padding: 40px 15px;
  }

  .customers-title {
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .customers-title .highlight {
    color: #87ceeb;
  }

  .customers-description {
    color: white;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .customers-types {
    margin: 25px 0 35px 0;
  }

  .customers-types li {
    color: white;
    font-size: 15px;
    padding: 8px 0;
    padding-left: 25px;
  }

  .customers-types li:before {
    content: "►";
    color: #87ceeb;
    font-size: 11px;
  }

  .customers-types li.highlight {
    color: #87ceeb;
  }

  .customers-right {
    display: none;
  }

  .mobile-call-btn {
    display: block !important;
    padding: 16px 25px;
    font-size: 15px;
    margin-top: 35px;
  }
}

/* Thin founding line under the accreditations */
.founding-strip {
  background: #80eff7;
  padding: 9px 20px;
  text-align: center;
}

.founding-strip-title {
  color: #161e6f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Slimmer on phones, and set small enough to stay on one row */
@media (max-width: 600px) {
  .founding-strip {
    padding: 6px 10px;
  }

  .founding-strip-title {
    font-size: 11.5px;
    line-height: 1.3;
    letter-spacing: 0.05em;
  }
}

/* Trust bar: accreditations and Trustpilot.
   Desktop and tablet: two logos, Trustpilot in the middle, two logos.
   Phones: Trustpilot on top, then the four logos. */
.trust-bar {
  background: #fff;
  /* extra room underneath so the raised Trustpilot tile clears the cyan line */
  padding: 18px 28px 30px;
}

.trust-bar-inner {
  max-width: 1344px;
  margin: 0 auto;
}

.accreditations-logos {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) minmax(0, 1fr) 236px minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px 20px;
}

/* Each accreditation is its own linked block. The block has two faces: the
   logo, and a line saying what ADI holds, which it flips to on hover. */
.accreditation-logo {
  display: block;
  height: 78px;
  min-width: 0;
  border-radius: 12px;
  perspective: 700px;
  text-decoration: none;
}

.accreditation-logo:focus-visible {
  outline: 3px solid #161e6f;
  outline-offset: 3px;
}

.accreditation-logo-flip {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.accreditation-logo-front,
.accreditation-logo-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.accreditation-logo-flip,
.accreditation-logo-front,
.accreditation-logo-back {
  border-radius: 12px;
}

.accreditation-logo-front {
  padding: 14px 18px;
  background: #f4f7fb;
  border: 1.5px solid #80eff7;
}

.accreditation-logo-back {
  flex-direction: column;
  padding: 8px 10px;
  background: #161e6f;
  border: 1.5px solid #161e6f;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
  transform: rotateX(180deg);
}

.accreditation-logo-back strong {
  display: block;
  color: #80eff7;
  font-weight: 700;
}

.accreditation-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
  /* lets logos saved on a white background sit cleanly on the tinted block */
  mix-blend-mode: multiply;
}

.accreditation-logo:focus-visible .accreditation-logo-flip {
  transform: rotateX(180deg);
}

@media (hover: hover) {
  .accreditation-logo:hover .accreditation-logo-flip {
    transform: rotateX(180deg);
  }
}

/* Trustpilot is the one raised tile in the row. It is taller than the logo
   blocks, so it borrows the bar's padding rather than making the bar taller. */
.trust-bar-reviews {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 236px;
  height: 104px;
  margin: -13px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(22, 30, 111, 0.1),
    0 8px 22px -6px rgba(22, 30, 111, 0.28);
}

/* A glint that sweeps across the stars every few seconds. It lies over the
   widget and ignores the pointer, so clicks still reach Trustpilot. */
.trust-bar-reviews {
  position: relative;
}

.trust-bar-reviews::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 44px;
  width: 178px;
  height: 32px;
  background: linear-gradient(
      105deg,
      rgba(255, 255, 255, 0) 38%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 62%
    )
    no-repeat;
  background-size: 200% 100%;
  background-position: 125% 0;
  pointer-events: none;
  animation: trustpilot-glint 8s linear infinite;
}

/* rests off the left edge, then crosses the stars in about a second and a half */
@keyframes trustpilot-glint {
  0%,
  81% {
    background-position: 125% 0;
  }

  100% {
    background-position: -25% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-bar-reviews::after {
    display: none;
  }
}

/* The widget is a fixed-size frame, so it is scaled up rather than resized */
.trust-bar-reviews .trustpilot-widget {
  flex: none;
  width: 174px;
  transform: scale(1.14);
}

@media (max-width: 768px) {
  .trust-bar {
    padding: 6px 12px 10px;
  }

  /* Trustpilot first, then the four logos in one row. Kept short so the cyan
     line below sits as high up a phone screen as it can. */
  .accreditations-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 8px;
  }

  /* A much smaller tile on phones, so the cyan line clears the cookie banner.
     The widget frame cannot be resized, so the tile, the widget scale and the
     glint are each brought down to match. */
  .trust-bar-reviews {
    order: -1;
    grid-column: 1 / -1;
    width: 170px;
    height: 72px;
    margin: 0;
    border-radius: 10px;
  }

  .trust-bar-reviews .trustpilot-widget {
    transform: scale(0.82);
  }

  .trust-bar-reviews::after {
    left: 18px;
    top: 30px;
    width: 128px;
    height: 23px;
  }

  .accreditation-logo {
    height: 42px;
  }

  .accreditation-logo-flip,
  .accreditation-logo-front,
  .accreditation-logo-back {
    border-radius: 10px;
  }

  .accreditation-logo-front {
    padding: 6px 8px;
  }

  .accreditation-logo-back {
    padding: 2px 4px;
    font-size: 10px;
    line-height: 1.15;
  }

}

/* Tablets get narrow blocks, so the line on the back is set smaller */
@media (min-width: 769px) and (max-width: 1100px) {
  .accreditation-logo-back {
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.25;
  }
}

/* No spinning for people who have asked for less motion: swap the faces */
@media (prefers-reduced-motion: reduce) {
  .accreditation-logo-flip {
    transition: none;
  }
}

/* Promotional Banner Section */
.promotional-banner-section {
  background: url("../images/promotional-banner-section.webp");
  padding: 60px 20px;
  /* margin-top: 80px; */
  position: relative;
}

.promotional-banner-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
}

.promotional-banner-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.promotional-logo-box {
  background: url("../images/Rectangle\ 40075.webp") no-repeat center
    center/cover;
  width: 238px;
  max-width: 100%;
  height: 145px;
  min-height: 100px;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -60px;
  left: 102px;
  box-sizing: border-box;
}

.promotional-logo-box img {
  width: 100%;
  max-width: 207px;
  height: auto;
  max-height: 75px;
  object-fit: contain;
}

.promotional-logo {
  max-width: 250px;
  height: auto;
}

.awards-photo {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.awards-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.promotional-banner-right {
  position: relative;
}

.promotional-content {
  padding-left: 20px;
}

.promotional-headline {
  font-size: 42px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #1e2677;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promotional-description {
  font-size: 16px;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 40px;
  max-width: 90%;
}

.promotional-cta-button {
  display: inline-block;
  width: 100%;
  max-width: 559px;
  height: 53px;
  background: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  gap: 8px;
  border-radius: 70px;
  padding: 18px 24px;
  color: #1e2677;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  box-sizing: border-box;
}

.promotional-cta-button:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.6);
  color: #fff;
}

@media (max-width: 1200px) {
  .promotional-banner-container {
    max-width: 100%;
  }

  .promotional-headline {
    font-size: 36px;
  }

  .promotional-content {
    margin-top: 80px;
  }

  .promotional-logo-box {
    left: 50px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .promotional-banner-section {
    padding: 60px 30px;
  }

  .promotional-banner-container {
    gap: 35px;
  }

  .promotional-headline {
    font-size: 34px;
  }

  .promotional-description {
    font-size: 15px;
  }

  .promotional-content {
    margin-top: 70px;
  }

  .promotional-logo-box {
    left: 30px;
    top: -40px;
  }
}

@media (max-width: 768px) {
  .promotional-banner-section {
    /* background: #FFB84D; */
    padding: 30px 15px;
    margin-top: 0;
  }

  .promotional-banner-container {
    grid-template-columns: 1fr;
    gap: 0;
    display: flex;
    flex-direction: column;
  }

  .promotional-banner-left {
    order: 1;
    display: contents;
  }

  .promotional-logo-box {
    order: 1;
    align-self: flex-start;
    position: relative;
    left: 0;
    top: -30px;
    width: 180px;
    height: 110px;
    border-radius: 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .promotional-logo-box img {
    max-width: 140px;
    max-height: 70px;
  }

  .awards-photo {
    order: 3;
    width: 100%;
    margin-bottom: 25px;
  }

  .awards-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .promotional-banner-right {
    order: 2;
    padding-top: 0;
    display: contents;
  }

  .promotional-content {
    order: 4;
    margin-top: 0;
    padding-left: 0;
    text-align: center;
  }

  .promotional-headline {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
    /* color: #1e3a8a; */
    font-weight: 700;
  }

  .promotional-headline br {
    display: block;
  }

  .promotional-description {
    font-size: 14px;
    max-width: 100%;
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.6;
    /* color: #1e3a8a; */
  }

  .promotional-cta-button {
    padding: 18px 24px;
    font-size: 14px;
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-top: 20px;
    border-radius: 12px;
    /* background: #1e3a8a;
        color: white; */
    font-weight: 700;
    text-transform: uppercase;
    /* border: 2px dashed white; */
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .promotional-banner-section {
    padding: 25px 12px;
    /* background: #FFB84D; */
  }

  .promotional-logo-box {
    width: 150px;
    height: 90px;
    left: 10px;
    top: -25px;
  }

  .promotional-logo-box img {
    max-width: 120px;
    max-height: 60px;
  }

  .promotional-headline {
    font-size: 20px;
    /* color: #1e3a8a; */
  }

  .promotional-description {
    font-size: 13px;
    /* color: #1e3a8a; */
  }

  .promotional-cta-button {
    padding: 16px 20px;
    font-size: 13px;
    /* background: #1e3a8a;
        color: white; */
    /* border: 2px dashed white; */
    border-radius: 10px;
  }
}

/* Reviews Section */
.reviews-section {
  background: white;
  padding: 80px 20px;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
}

.reviews-title {
  font-size: 42px;
  font-weight: bold;
  color: #1e3a8a;
  line-height: 1.3;
}

.reviews-title .highlight-cyan {
  color: #02b9f8;
}

.trustpilot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trustpilot-star {
  color: #00b67a;
  font-size: 40px;
}

.trustpilot-text {
  font-size: 32px;
  font-weight: 600;
  color: #333;
}

.review-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  min-width: 280px;
  max-width: 280px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

/* Responsive for Reviews */
@media (max-width: 1200px) {
  .reviews-title {
    font-size: 36px;
  }

  .review-card {
    min-width: 250px;
    max-width: 250px;
  }
}

@media (max-width: 968px) {
  .reviews-header {
    flex-direction: column;
    gap: 20px;
  }

  .reviews-title {
    font-size: 30px;
  }

  .review-card {
    min-width: 240px;
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 40px 15px;
    background: #f5f5f5;
  }

  .reviews-section .container {
    padding: 0;
  }

  .reviews-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 15px;
    padding: 0 5px;
  }

  .reviews-title {
    font-size: 20px;
    line-height: 1.4;
    flex: 1;
  }

  .reviews-title .highlight-cyan {
    display: inline;
  }

  .trustpilot-logo {
    flex-shrink: 0;
  }

  .trustpilot-star {
    font-size: 20px;
  }

  .trustpilot-text {
    font-size: 14px;
  }

  .review-card {
    min-width: 100%;
    max-width: 100%;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
    scroll-snap-align: start;
    flex-shrink: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .reviews-section {
    padding: 30px 12px;
  }

  .reviews-header {
    margin-bottom: 25px;
  }

  .reviews-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .trustpilot-star {
    font-size: 18px;
  }

  .trustpilot-text {
    font-size: 12px;
  }

  .review-card {
    padding: 18px;
    min-width: 100%;
    max-width: 100%;
  }
}

/* Contact Section */

.contact-heading {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0%;
  text-transform: uppercase;
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.terms-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0%;

  color: rgba(255, 255, 255, 0.95);
}

.terms-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #00d4ff;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.submit-button {
  background: #00d4ff;
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
  margin-top: 10px;
}

.submit-button:hover {
  background: #00b8e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

/* Responsive for Contact Section */

@media (min-width: 769px) and (max-width: 1024px) {
  .contact-heading {
    font-size: 30px;
  }
}

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

@media (max-width: 768px) {
  .contact-heading {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-form {
    gap: 15px;
  }

  .terms-list li {
    font-size: 15px;
    padding-left: 25px;
  }
}

@media (max-width: 480px) {
  .contact-heading {
    font-size: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form {
    gap: 20px;
    width: 316px;
    height: 313px;
    gap: 13px;
  }

  .form-row {
    gap: 12px;
  }

  .contact-form {
    gap: 12px;
  }
}

/* Footer Section */
.footer-section {
  background: url("../images/Rectangle\ 40071.webp") no-repeat center
    center/cover;
  position: relative;
  padding: 80px 20px 30px;
  /* margin-top: 80px; */
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-color: #79e7ec;
}

/* .footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0H0V46.29Z' fill='%2300d4ff'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center top;
    opacity: 1;
    z-index: 2;
} */

/* .footer-water-droplet {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 400px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0.05) 100%);
    background-image:
        radial-gradient(circle at 60% 20%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    opacity: 0.8;
    z-index: 0;
    clip-path: polygon(100% 0, 100% 100%, 60% 100%, 40% 80%, 30% 60%, 20% 40%, 10% 20%, 0% 0%);
} */

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  /* margin-bottom: 60px; */
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-heading {
  font-size: 20px;
  font-weight: bold;
  color: white;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: #00d4ff;
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
}

.footer-bottom-left p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
}

.footer-bottom-center {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.footer-bottom-center a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-bottom-center a:hover {
  color: #00d4ff;
}

.footer-bottom-center span {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-right {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  background: #00d4ff;
  border-color: #00d4ff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.social-icon i {
  font-size: 16px;
}

/* Responsive for Footer Section */
@media (max-width: 1200px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
  }

  .footer-water-droplet {
    width: 300px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .footer-section {
    padding: 70px 30px 30px;
  }

  .footer-content {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 35px;
  }

  .footer-heading {
    font-size: 18px;
  }

  .footer-links a {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 60px 20px 25px;
    margin-top: 0;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-column:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-water-droplet {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-heading {
    font-size: 18px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom-left,
  .footer-bottom-center {
    text-align: center;
    width: 100%;
  }

  .footer-water-droplet {
    width: 200px;
    opacity: 0.5;
  }
}

@media (max-width: 480px) {
  .footer-section {
    padding: 50px 15px 20px;
  }

  .footer-heading {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .social-icon i {
    font-size: 14px;
  }
}

/* ===== MOBILE (default) - All Accordion ===== */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  display: none;
}

.accordion-toggle {
  cursor: pointer;
  user-select: none;
  position: relative;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
}

.accordion-toggle::after {
  content: "▼";
  font-size: 14px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.accordion-toggle.active::after {
  transform: rotate(180deg);
}

.accordion-toggle:hover {
  color: #79e7ec;
  transform: translateY(-2px);
  transition: all 0.25s ease;
}

/* ===== DESKTOP VIEW ===== */
@media (min-width: 992px) {
  /* Other sections always open */
  .accordion-toggle:not(.first-accordion) + .accordion-content {
    display: block;
    max-height: none;
  }

  /* Disable toggle/arrow for other headings */
  .accordion-toggle:not(.first-accordion) {
    cursor: default;
    pointer-events: none;
  }

  .accordion-toggle:not(.first-accordion)::after {
    content: ""; /* no arrow */
  }

  /* Make sure first one stays collapsed initially */
  .first-accordion + .accordion-content {
    display: none;
    max-height: 0;
  }
}

/* Mobile: accordion headings as full-width rows, chevron pinned right */
@media (max-width: 991px) {
  .footer-column .accordion-toggle,
  .contact-heading.accordion-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .footer-column .accordion-toggle::after,
  .contact-heading.accordion-toggle::after {
    margin-left: 10px;
    flex-shrink: 0;
  }
}

.sublink {
  cursor: pointer;
  text-decoration: underline;
  color: #2d99ca;
}

@media (max-width: 968px) {
  .central-heating-content br,
  .roof-surveying-content br {
    display: none;
  }
}

.faq-area-list {
  margin-left: 20px;
  color: #222222;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
  padding: 10px;
}

.faq-area-list li a {
  color: #222222;
}

.faq-area-heading {
  color: #222222;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
  opacity: 0.95;
  padding-left: 10px;
}

.acoustic-tracing-card-description {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
  opacity: 0.9;
}

.common-causes-title {
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .service-card:hover {
    transform: none;
  }
}

.equipment-section .sublink,
.hero-content .sublink,
.customers-section .sublink,
.drain-survey-reasons-panel .sublink,
.water-mains-signs-intro .sublink,
.detection-methods-section .sublink {
  color: #87f6ff !important;
}

.irrigation-row-images {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  width: 100%;
}

.irrigation-row-images img {
  width: 100%;
  border: 5px solid #0362a8;
  border-radius: 5px;
  height: auto;
}

@media (max-width: 480px) {
  .irrigation-row-images {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    width: 100%;
  }
}

.anchor-list-item {
  padding: 10px 0;
}

.anchor-list-item a {
  color: white;
  text-decoration: none;
}

.terms-and-condition-ol {
  counter-reset: item;
  padding-left: 25px;
  margin-bottom: 20px;
}

.terms-and-condition-ol li {
  display: list-item;
  counter-increment: item;
  margin-bottom: 10px;
}

.faq-item.active .faq-toggle-icon .v-line {
  display: none; /* removes vertical stroke, leaving "-" */
}

/* ============================================
   HORIZONTAL OVERFLOW FIXES FOR MOBILE/TABLET
   ============================================ */

/* Ensure all sections respect viewport width */
section {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Fix padding on mobile to prevent overflow */
@media (max-width: 968px) {
  .header-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  /* Fix header padding */
  .header-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Fix hero content padding */
  .hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Fix elements with fixed widths */
  .logo-image {
    max-width: 100%;
  }

  /* Prevent table overflow */
  table {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
  }

  /* Fix containers that might overflow */
  .container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  /* Extra small devices - stricter controls */
  body,
  html {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
  }

  /* Reduce padding on small screens */
  .header-container,
  .hero-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Title is always visible */
.step-title {
  cursor: pointer;
  user-select: none;
  font-weight: bold;
}

/* Hidden by default */
.step-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
}

/* When active, expand smoothly */
.process-step.active .step-description {
  max-height: 500px; /* large enough for content */
  opacity: 1;
  margin-top: 10px;
}

.video-wrapper .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"></path><path d="M45 24L27 14v20" fill="white"></path></svg>')
    no-repeat;
  border: none;
  transition: transform 0.1s ease-in-out;
}

.video-wrapper:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 15px;
}

@media (max-width: 768px) {
  .video-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Color Tokens (for engineer profile page) */
:root {
  --navy: #1e3a8a;
  --navy-deep: #002b45;
  --navy-card: #1b2e6e;
  --cyan: #00d4ff;
  --cyan-light: #79e7ec;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.8);
}

/* Engineer Hero Section */
.engineer-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.engineer-hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.engineer-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%);
}

.engineer-hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: var(--white);
  padding: 220px 40px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.engineer-hero-name {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-size: 68px;
  line-height: 1.1;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
}

.engineer-hero-role {
  font-family: "Raleway", sans-serif;
  font-weight: 900;
  font-size: 42px;
  text-transform: uppercase;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

/* Engineer Profile Card */

.engineer-profile-section {
  position: absolute;
  bottom: -110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 40px;
}

.engineer-profile-card {
  background: var(--navy-card);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 30px 40px;
  max-width: 650px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  justify-content: center;
}

.engineer-avatar {
  flex-shrink: 0;
}

.engineer-avatar img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.engineer-meta {
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.engineer-meta p {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 300;
}

.engineer-meta strong {
  font-weight: 600;
}

/* Technical Expertise Section */

.expertise-section {
  padding: 200px 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.expertise-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Technical Expertise Section - Left column */

.expertise-heading {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  margin-bottom: 36px;
  color: #1a2273;
}

.expertise-highlight {
  color: #4f93ed;
}

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

.expertise-col h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1a2273;
  margin-bottom: 8px;
  margin-top: 20px;
}

.expertise-col h3:first-child {
  margin-top: 0;
}

.expertise-col ul {
  list-style: none;
  padding: 0;
}

.expertise-col ul li {
  font-size: 16px;
  color: #1b2e6e;
  line-height: 1.8;
}

/* Technical Expertise Section - Right column */

.trust-paragraph-card {
  background: var(--white);
  border-radius: 30px;
  padding: 36px 36px 36px 40px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  position: relative;
  overflow: visible;
}

.quote-icon {
  position: absolute;
  top: -65px;
  right: 10px;
  font-size: 300px;
  line-height: 1;
  color: #1b2e6e;
  font-family: Georgia, serif;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}

.expertise-right {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  position: relative;
  z-index: 8;
}

.trust-heading {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  margin-bottom: 18px;
  color: #1a2273;
}

.trust-highlight {
  color: var(--cyan);
}

.trust-paragraph-card p {
  font-size: 16px;
  line-height: 1.75;
  color: #1b2e6e;
}

/* Responsive for Engineer Profile Page */

@media (min-width: 1401px) {
  .header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }
  nav {
    right: calc((100% - 1400px) / 2 + 40px);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .header-container {
    padding: 0 30px;
  }
  .logo-image {
    width: 230px;
    height: auto;
  }
  .trustpilot {
    display: none;
  }
  .nav-menu {
    gap: 25px;
  }

  nav {
    top: auto;
    right: 30px;
    position: absolute;
    top: 150px;
  }

  .engineer-hero-name {
    font-size: 52px;
  }
  .engineer-hero-role {
    font-size: 32px;
  }

  .expertise-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 768px) {
  .engineer-hero {
    min-height: 380px;
  }
  .engineer-hero-content {
    padding: 160px 20px 60px;
  }
  .engineer-hero-name {
    font-size: 40px;
  }
  .engineer-hero-role {
    font-size: 26px;
  }

  .engineer-profile-section {
    padding: 160px 20px 60px;
  }
  .engineer-profile-card {
    flex-direction: row;
    text-align: center;
    padding: 16px 24px;
    gap: 20px;
    max-width: unset;
    width: auto;
  }
  .expertise-section {
    padding: 100px 20px 40px;
  }
  .expertise-heading {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .trust-heading {
    font-size: 24px;
  }
  .engineer-meta p {
    font-size: 12px;
    text-align: left;
  }
  .engineer-meta {
    align-items: start;
    gap: 5px;
  }
  .expertise-col h3 {
    font-size: 16px;
  }
  .expertise-col ul li {
    font-size: 12px;
  }
  .quote-icon {
    font-size: 200px;
    top: -50px;
  }
}

@media (max-width: 480px) {
  body,
  html {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
  }

  .engineer-hero-name {
    font-size: 32px;
  }
  .engineer-hero-role {
    font-size: 20px;
  }
}

.trust-hightlight {
  color: #4f93ed;
}

.engineers-highlight {
  color: #4f93ed;
}

.meet-our-engineers-description {
  color: #1e3a8a;
  margin-top: 20px;
  line-height: 1.5;
}

.engineers-profile-card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 8;
  padding: 0 60px;
}

.engineers-profile-card {
  min-height: 230px;
  background-color: #171e6f;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: white;
  position: relative;
  box-shadow:
    rgba(0, 0, 0, 0.16) 0px 3px 6px,
    rgba(0, 0, 0, 0.23) 0px 3px 6px;
  transition: transform 0.3s ease;
}

.engineers-profile-card:hover {
  transform: scale(1.02);
  cursor: pointer;
}

.engineers-profile-description-section {
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 8;
}

.engineers-name {
  font-size: 24px;
  font-weight: 600;
}

.engineers-location {
  font-size: 18px;
  font-weight: 300;
}

.enginners-qualifications {
  font-size: 18px;
  font-weight: 600;
}

.engineers-profile-skills {
  padding-left: 5px !important;
}

.engineers-profile-skills li:before {
  content: "•" !important;
  position: absolute !important;
  left: 0 !important;
  color: #f3f3f3 !important;
}

.engineers-profile-skills li {
  padding: 4px 0 !important;
  padding-left: 20px !important;
  position: relative !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 300 !important;
}

.engineer-profile-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 8;
  position: relative;
}

.engineers-view-profile-btn {
  padding: 10px;
  border-radius: 30px;
  background-color: #4fbfed;
  border: none;
  width: 141px;
  margin-top: 10px;
  color: #171e6f;
  font-weight: 600;
  cursor: pointer;
  height: 38px;
  font-size: 14px;
}

.engineers-profile-card-wave {
  position: absolute;
  top: 0;
  left: 0;
}

.text-uppercase {
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .engineers-profile-card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.engineer-about-us-section {
  padding: 10px 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.engineer-about-us-container {
  background: var(--white);
  border-radius: 30px;
  padding: 36px 36px 36px 40px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  position: relative;
  overflow: visible;
}

.engineer-about-us-description {
  font-size: 16px;
  line-height: 1.75;
  color: #1b2e6e;
}

.engineer-case-studies-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  position: relative;
  z-index: 8;
}

.engineer-case-studies-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
}

.case-studies-header-line {
  flex: 1;
  height: 1px;
  background-color: #00000026;
}

.case-studies-header-investigations {
  font-size: 12px;
  color: #00000073;
  white-space: nowrap;
}

.case-studies-container {
  margin-top: 20px;
  display: grid;
  gap: 20px;
}

.case-studies-box {
  display: flex;
  max-width: 900px;

  transition: transform 0.3s ease;
}

.case-studies-box:hover {
  transform: scale(1.015);
  cursor: pointer;
}

.case-studies-box-description-container {
  flex: 1;
  padding: 15px;
  border: 1px solid #00000026;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.case-studies-img {
  width: 220px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.case-studies-tag-blue {
  display: inline-block;
  padding: 7px 10px;
  font-size: 10px;
  border-radius: 8px;
  margin-right: 6px;
  font-weight: 700;
  background: #1e2a78;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.case-studies-tag-green {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 8px;
  background: #e2ffe6;
  color: #00d218;
  border: 1px solid #00d21880;
  font-weight: 700;
}

.case-studies-title {
  margin: 6px 0 20px;
  font-size: 16px;
  font-weight: 700;
}

.case-studies-description {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 20px;
  letter-spacing: 0.5%;
}

.case-studies-divider {
  height: 0.5px;
  background: #00000026;
  margin: 12px 0;
}

.case-studies-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-studies-footer-location {
  font-size: 12px;
  font-weight: bold;
  display: flex;
}

.case-studies-footer-text {
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-studies-footer-icons {
  padding-right: 5px;
  width: 25px;
}

.case-studies-footer-read-more {
  text-decoration: none;
  font-size: 12px;
  color: #171e6f;
  font-weight: 600;
}

.case-studies-banner-section {
  display: flex;
  gap: 25px;
  flex-direction: column;
  position: relative;
  z-index: 99999;
}

.case-studies-banner-cta-container {
  background-color: #171e6f;
  border-radius: 16px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
  color: white;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  padding: 25px 0;
}

.case-studies-banner-cta-header {
  font-weight: 600;
}

.case-studies-banner-cta-description {
  padding: 25px 20px 20px 20px;
  font-weight: 300;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

.case-studies-banner-cta-btn {
  background-color: #ff5b03;
  width: 88%;
  padding: 5px;
  border-radius: 8px;
  border: none;
  color: white;
  font-weight: 600;
  height: 35px;
  cursor: pointer;
}

.case-studies-banner-cta-btn:hover {
  background-color: #cb4700;
}

.case-studies-banner-cta-phone {
  margin-top: 10px;
  font-size: 24px;
  letter-spacing: 1px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
}

.engineer-facts-container {
  overflow: hidden;
}

.engineer-facts-header {
  text-transform: uppercase;
  background-color: #171e6f;
  color: white;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.engineer-facts-description-container {
  padding: 16px;
  border: 1px solid #00000026;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  background-color: white;
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.engineer-facts-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 12px 0;
  border-bottom: 1px solid #171e6f33;
}

.engineer-facts-row:last-child {
  border-bottom: none;
}

.engineer-facts-row-name {
  color: #00000080;
  font-size: 14px;
}

.engineer-facts-row-description-blue {
  color: #171e6f;
  font-weight: bold;
  font-size: 14px;
}

.engineer-facts-row-description-orange {
  color: #ff5b03;
  font-weight: bold;
  font-size: 14px;
}

.engineer-result-container {
  font-family: sans-serif;
  overflow: hidden;
}

.engineer-result-header {
  text-transform: uppercase;
  background-color: #171e6f;
  color: white;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 16px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.engineer-result-box-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 10px 20px 20px 20px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border: 1px solid #00000026;
}

.engineer-result-box {
  background-color: #afbbcb3d;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.engineer-result-rating {
  color: #ff5b03;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}

.engineer-result-description {
  color: #1a2273;
  font-size: 14px;
  font-weight: 500;
}

.engineer-areas-covered-container {
  font-family: sans-serif;
  overflow: hidden;
}

.engineer-areas-covered-header {
  text-transform: uppercase;
  background-color: #171e6f;
  color: white;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.engineer-areas-covered-box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 20px 20px 20px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border: 1px solid #00000026;
}

.engineer-areas-covered-box {
  background-color: #f0f4f8;
  border: 1px solid #d1d9e6;
  border-radius: 10px;
  padding: 8px 16px;
  color: #171e6f;
  font-weight: bold;
  font-size: 14px;
  flex: 1 0 auto;
  text-align: center;
  white-space: nowrap;
}

.load-more-cases-btn {
  margin: 0 auto;
  border: none;
  width: 174px;
  height: 38px;
  border-radius: 8px;
  padding-right: 24px;
  padding-left: 24px;
  border: 2px solid #00000026;
  color: #171e6f;
  font-weight: 700;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  background-color: transparent;
  cursor: pointer;
}

.load-more-cases-btn:hover {
  background: #171e6f1a;
  border: 1px solid #171e6fb2;
}

.case-studies-tag-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 95%;
  z-index: 10;
}

.case-studies-tag-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.case-studies-tag {
  width: 230px;
  height: 56px;
  opacity: 1;
  border-radius: 32px;
  background-color: #171e6f;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
}

.case-studies-tag-icons {
  padding-right: 5px;
  width: 25px;
}

.case-studies-back-container {
  padding-bottom: 25px;
  border-bottom: 1px solid #00000026;
}

.case-studies-back-text {
  font-weight: 700;
  font-size: 16px;
  color: #171e6f;
  cursor: pointer;
}

.case-studies-header-box-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 70px;
}

.case-studies-header-box {
  background-color: #afbbcb3d;
  border-radius: 8px;
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  border: 1px solid #171e6f33;
}

.case-studies-header-box-title {
  font-size: 12px;
  font-weight: 400;
  color: #171e6f;
  letter-spacing: 15%;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.case-studies-header-box-description {
  font-size: 16px;
  font-weight: 700;
  color: #1a365d;
}

.case-studies-banner-cta-callback-btn {
  margin-top: 10px;
  color: #ff5b03;
  background-color: transparent;
  border: 1px solid #ff5b03;
  border-radius: 8px;
  width: 88%;
  padding: 5px;
  font-weight: 600;
  height: 35px;
  cursor: pointer;
}

.case-studies-banner-cta-callback-btn:hover {
  border: 1px solid #ff5b03;
  background-color: #ff5b031a;
}

.case-studies-topics-container {
  max-width: 900px;
  color: #171e6f;
  line-height: 1.6;
  margin-top: 40px;
}

.case-studies-main-title-container {
  border-left: 4px solid #4f93ed;
  padding-left: 15px;
  margin-bottom: 20px;
  padding: 8px 16px;
  display: flex;
  justify-content: start;
  align-items: center;
}

.case-studies-main-title {
  margin: 0;
  color: #171e6f;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
}

.case-studies-topic-description {
  margin-bottom: 20px;
  font-size: 16px;
}

.case-studies-topic-highlight-box {
  display: flex;
  background-color: #afbbcb3d;
  overflow: hidden;
  border-left: 4px solid #4f93ed;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.case-studies-topic-highlight-icon {
  padding: 20px 0 20px 20px;
  display: flex;
  align-items: flex-start;
}

.case-studies-topic-highlight-container {
  padding: 20px;
}

.case-studies-topic-highlight-description {
  font-weight: 800;
  color: #171e6f;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.case-studies-topic-highlight-text {
  font-size: 13px;
  color: #171e6f;
}

.light-bulb-icon {
  width: 40px;
}

.case-studies-topic-highlight-box-small {
  display: flex;
  background-color: #afbbcb3d;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #171e6f33;
  margin-top: 10px;
}

.case-studies-topic-highlight-icon-small {
  padding: 10px 0 10px 15px;
  display: flex;
  align-items: center;
}

.case-studies-topic-highlight-container-small {
  padding: 10px;
}

.highlight-container-small-icon {
  width: 25px;
}

.case-studies-enginner-details-container {
  background-color: #afbbcb3d;
  padding: 8px 16px;
  display: flex;
  justify-content: start;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #00000026;
}

.case-studies-enginner-details-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #4f93ed;
}

.case-studies-engineer-details-container {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  gap: 2px;
}

.case-studies-engineer-job-title {
  font-weight: 700;
  font-size: 12px;
  color: #4f93ed;
}

.case-studies-engineer-name {
  font-size: 14px;
  font-weight: 700;
  color: #171e6f;
}

.case-studies-engineer-skills {
  font-weight: 700;
  font-size: 12px;
  color: #171e6f;
}

.case-studies-related-cases-box {
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: #afbbcb3d;
  border: 1px solid #171e6f33;
  cursor: pointer;
}

.case-studies-related-cases-title {
  font-size: 14px;
  color: #171e6f;
  font-weight: 700;
}

.case-studies-related-cases-description {
  color: #4f93ed;
  font-size: 12px;
  font-weight: 700;
}

.case-studies-timeline-container {
  display: flex;
  margin-bottom: 0;
}

.case-studies-timeline-counter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 15px;
}

.case-studies-timeline-counter {
  width: 28px;
  height: 28px;
  background-color: #171e6f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  z-index: 2;
}

.case-studies-timeline-liner {
  width: 1px;
  flex-grow: 1;
  background-color: #171e6f33;
  margin-top: 4px;
  margin-bottom: 4px;
}

.case-studies-timeline-container:last-child .case-studies-timeline-liner {
  display: none;
}

.case-studies-timeline-description-container {
  padding-bottom: 20px;
}

.case-studies-timeline-description-title {
  font-weight: 700;
  color: #171e6f;
  font-size: 14px;
  margin-bottom: 4px;
}

.case-studies-timeline-description-text {
  font-size: 14px;
  line-height: 1.5;
  color: #171e6f;
  font-weight: 400;
}

.case-studies-investigation-img-container {
  display: flex;
  gap: 10px;
}

.case-studies-investigation-img {
  width: 378px;
  height: 304px;
  border-radius: 8px;
}

.case-studies-summary-container {
  background-color: #171e6f;
  padding: 16px;
  border-radius: 8px;
  color: white;
}

.case-studies-summary-header {
  margin: 0 0 20px 0;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-studies-summary-box {
  flex: 1 1 calc(50% - 12px);
  background-color: #ffffff1f;
  border: 2px solid #ffffff2e;
  border-radius: 5px;
  padding: 8px 16px;
}

.case-studies-summary-box-title {
  font-weight: 700;
  font-size: 14px;
}

.case-studies-summary-box-description {
  color: #ffffff8c;
  font-size: 12px;
}

@media (max-width: 768px) {
  .engineers-profile-card-container {
    grid-template-columns: repeat(1, 1fr);
    padding: 0 10px;
  }
  .engineers-profile-card {
    padding: 20px 0;
  }
  .engineers-profile-description-section {
    margin-right: 20px;
    padding-left: 0;
  }
  .engineers-name {
    font-size: 18px;
  }
  .engineers-location {
    font-size: 14px;
  }
  .enginners-qualifications {
    font-size: 14px;
    font-weight: 600;
  }
  .engineers-profile-skills li {
    font-size: 12px !important;
    padding-left: 15px !important;
  }

  .engineer-avatar img {
    width: 100px;
    height: 100px;
  }
  .engineer-profile-img {
    width: 70px !important;
    height: 70px !important;
  }
  .engineer-profile-img-container {
    width: 45% !important;
  }
  .engineers-view-profile-btn {
    width: 100px;

    font-size: 12px;
    padding: 8px 10px;
  }
  .hero {
    padding: 30px 20px;
  }
  .expertise-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .expertise-left {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
  }
  .engineer-about-us-section {
    padding: 10px 20px 40px;
  }
  .expertise-left {
    padding: 0 10px;
  }
  .trust-paragraph-card p,
  .engineer-about-us-description {
    font-size: 12px;
  }
  .trust-paragraph-card,
  .engineer-about-us-container {
    padding: 30px;
  }
  .engineer-profile-about-us-heading {
    text-align: center;
  }
  .engineer-case-studies-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .engineer-case-studies-header {
    flex-direction: column;
  }
  .case-studies-header-line {
    flex: unset;
    width: 100%;
  }
  .case-studies-box {
    flex-direction: column;
  }
  .case-studies-img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
  }
  .case-studies-box-description-container {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .case-studies-tag-blue {
    font-size: 10px;
  }
  .case-studies-tag-green {
    font-size: 10px;
  }
  .case-studies-title {
    font-size: 14px;
  }
  .case-studies-description {
    font-size: 12px;
  }
  .case-studies-footer-location {
    flex-direction: column;
    gap: 10px;
  }
  .case-studies-footer-text,
  .case-studies-footer-read-more {
    font-size: 10px;
  }
  .case-studies-footer-icons {
    width: 20px;
    height: 16px;
    padding-right: 5px;
  }
  .case-studies-footer-text {
    justify-content: start;
  }
  .engineer-result-rating {
    font-size: 24px;
  }
  .engineer-areas-covered-box {
    font-size: 12px;
  }
  .engineer-areas-covered-box-container {
    padding: 10px 16px;
  }
  .case-studies-tag {
    font-size: 12px;
  }
  .case-studies-tag {
    width: fit-content;
    padding: 8px 14px;
    height: auto;
  }
  .case-studies-tag-container {
    display: flex;
    gap: 8px;
    height: fit-content;
    transform: translate(-50%, 75%);
  }
  .case-studies-tag-row {
    flex-direction: row;
    gap: 8px;
  }
  .case-studies-tag-icons {
    width: 18px;
  }
  .engineer-about-us-section-header {
    padding-top: 100px !important;
    padding-bottom: 30px;
  }
  .case-studies-back-container {
    position: relative;
    z-index: 8;
  }
  .case-studies-back-text {
    font-size: 12px;
  }
  .case-studies-header-box-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }
  .case-studies-header-box-description {
    font-size: 14px;
  }
  .case-studies-main-title {
    font-size: 20px;
  }
  .case-studies-topic-description {
    font-size: 12px;
  }
  .case-studies-topic-highlight-text {
    font-size: 12px;
  }
  .light-bulb-icon {
    width: 140px;
  }
  .highlight-container-small-icon {
    width: 45px;
  }
  .case-studies-timeline-description-title,
  .case-studies-timeline-description-text {
    font-size: 12px;
  }
  .case-studies-investigation-img-container {
    flex-direction: column;
  }
  .case-studies-summary-box-title {
    font-size: 12px;
  }
  .case-studies-related-cases-title {
    font-size: 12px;
  }
  .case-studies-investigation-img {
    height: 200px;
  }
  .case-studies-topics-container {
    margin-top: 20px;
  }
  .case-studies-timeline-container:last-child
    .case-studies-timeline-description-container {
    padding-bottom: 0;
  }
  .case-studies-timeline-description-container {
    padding-bottom: 15px;
  }
}

/* Generic dropdown-link styling for pages that don't add elementor-sub-item class.
   Mirrors .dropdown-content .elementor-sub-item so nav-updated pages render the
   dropdown items with proper padding/colour without needing the legacy class. */
.dropdown-content li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}
.dropdown-content li a:hover {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
  border-left-color: #00d4ff;
  padding-left: 25px;
}


/* Service carousel images: always show the full, uncropped photo at every
   breakpoint (overrides earlier object-fit: cover / max-height rules).
   max-width follows the container (291px on desktop, full width on mobile) so
   the photo fills the card with no gap on the right. */
.detail-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

/* Whole service photo is a clickable link to its service page. */
a.detail-image {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
a.detail-image img {
  transition: filter 0.25s ease;
}
a.detail-image:hover img {
  filter: brightness(0.92);
}

/* Mobile (phones ~360-767px): service card image centered, full width within the
   card with breathing room from the screen edges, aspect ratio preserved. */
@media (max-width: 767px) {
  .detailed-services {
    padding-left: 14px;
    padding-right: 14px;
  }
  .detail-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .detail-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }
}

/* Social icons moved into footer column 1 (under the logo) — give them
   breathing room above the NO FIND-NO FEE accordion heading. */
.footer-column .footer-bottom-right {
  margin: 4px 0 26px;
}

/* ============================================
   HOMEPAGE FIRST SCREEN
   Scoped to body.home-fold so the shared header and hero rules above
   keep working unchanged on every other page.
   ============================================ */
.home-fold .hero {
  min-height: 700px;
  padding: 180px 40px 60px;
}

/* Neutral dimming so white text stays readable. The phone photo is mostly
   pale wall, so it goes down to 45%; the desktop video and its poster sit
   at 60%. */
.home-fold .hero-image {
  filter: brightness(45%);
}

.home-fold .hero-video {
  filter: brightness(60%);
}

@media (min-width: 769px) {
  .home-fold .hero-image {
    filter: brightness(60%);
  }
}

/* Looping hero video (tablet and desktop). js/script.js only loads it on
   wider screens and when the visitor has not asked for reduced motion; the
   poster image underneath shows until it plays, and stays if it never does. */
.home-fold .hero-video {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.home-fold .hero-video.is-playing {
  opacity: 1;
}

@media (min-width: 769px) {
  .home-fold .hero-video {
    display: block;
  }
}

.home-fold .hero-content {
  margin-top: 0;
  padding: 0;
}

.home-fold .hero-cta {
  font-family: "Raleway", sans-serif;
  font-variant-numeric: lining-nums;
}

/* Hero text runs 10% larger than the shared hero rules, at every breakpoint */
.home-fold .hero-subtitle {
  font-size: 41px;
}

.home-fold .hero-title {
  font-size: 77px;
  line-height: 77px;
}

.home-fold .hero-description {
  max-width: 1110px;
  font-size: 17.6px;
}

@media (min-width: 1401px) {
  .home-fold .hero-title {
    font-size: clamp(53px, 5.5vw, 77px);
  }

  .home-fold .hero-description {
    font-size: clamp(15.4px, 1.32vw, 17.6px);
  }
}

@media (max-width: 1200px) {
  .home-fold .hero-subtitle {
    font-size: 31px;
  }

  .home-fold .hero-title {
    font-size: 62px;
  }

  .home-fold .hero-description {
    max-width: 990px;
    font-size: 16.5px;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .home-fold .hero-subtitle {
    font-size: 33px;
  }

  .home-fold .hero-title {
    font-size: 66px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .home-fold .hero-subtitle {
    font-size: 26.5px;
  }

  .home-fold .hero-title {
    font-size: 53px;
  }

  .home-fold .hero-description {
    font-size: 17.6px;
  }
}

@media (max-width: 768px) {
  .home-fold .hero-subtitle {
    font-size: 20px;
  }

  .home-fold .hero-title {
    font-size: 35px;
    line-height: 1.2;
  }

  .home-fold .hero-description {
    font-size: 16.5px;
  }
}

@media (max-width: 480px) {
  .home-fold .hero-subtitle {
    font-size: 13px;
  }

  .home-fold .hero-title {
    font-size: 31px;
  }

  .home-fold .hero-description {
    font-size: 15.5px;
  }
}

/* What we find leaks on: a ticked list under the hero intro line. One row on
   wide screens, a stacked list on phones. */
.home-fold .hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 30px;
  max-width: 1110px;
  margin: 10px auto 0;
  padding: 0;
  list-style: none;
  font-family: "Raleway", sans-serif;
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.home-fold .hero-points li {
  position: relative;
  padding-left: 26px;
  text-align: left;
}

/* the tick */
.home-fold .hero-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.28em;
  width: 6px;
  height: 12px;
  border: solid #80eff7;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

@media (max-width: 1200px) {
  .home-fold .hero-points {
    gap: 8px 24px;
    font-size: 17px;
  }
}

/* Tablets: two and two, so one point is not left on a row of its own */
@media (min-width: 769px) and (max-width: 1024px) {
  .home-fold .hero-points {
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .home-fold .hero-points {
    display: grid;
    justify-content: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 16.5px;
  }
}

@media (max-width: 480px) {
  .home-fold .hero-points {
    font-size: 15.5px;
  }
}

.home-fold .hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.home-fold .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 42px;
  border-radius: 8px;
  background: #80eff7;
  color: #161e6f;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.home-fold .hero-cta:hover {
  background: #fff;
}

.home-fold .hero-cta:active {
  transform: translateY(1px);
}

.home-fold .hero-cta:focus-visible,
.home-fold .nav-menu a:focus-visible,
.home-fold .logo-link:focus-visible,
.home-fold .call-button:focus-visible {
  outline: 3px solid #80eff7;
  outline-offset: 3px;
}

/* Sticky header at every width: clear over the photo, solid navy once the
   page scrolls. js/script.js adds .has-sticky-header and sets --stick on the
   header from 0 (top of page) to 1 (scrolled 160px), and everything below
   follows that value, so the change tracks the scroll instead of snapping. */
/* The old hero curves, redrawn as a shallow wave behind the header:
   solid navy in front, a see-through navy-to-cyan layer behind it. It
   flattens up into the bar and fades as the bar goes solid. */
.home-fold header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0.25'%3E%3Cstop offset='0' stop-color='%23153a8a'/%3E%3Cstop offset='0.55' stop-color='%230a7fcb'/%3E%3Cstop offset='1' stop-color='%2305bdf9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' fill-opacity='0.72' d='M0 0H1440V178C1330 150 1240 148 1100 160C900 176 760 112 560 130C360 148 200 152 0 134Z'/%3E%3Cpath fill='%23181f6f' d='M0 0H1440V150C1330 126 1220 116 1080 128C880 144 740 94 540 106C340 118 180 124 0 110Z'/%3E%3C/svg%3E")
    top center / 100% 100% no-repeat;
  pointer-events: none;
  transform-origin: top;
  transform: scaleY(calc(1 - var(--stick, 0) * 0.55));
  /* stays solid for most of the travel, then fades over the last third */
  opacity: clamp(0, calc((1 - var(--stick, 0)) * 3.3), 1);
}

.home-fold.has-sticky-header header {
  position: fixed;
  /* solid by the halfway point, so the bar is never see-through while
     the wave is still pulling up */
  background-color: rgba(22, 30, 111, min(1, calc(var(--stick, 0) * 2)));
  box-shadow: 0 6px 20px rgba(9, 16, 58, calc(var(--stick, 0) * 0.25));
}

/* Desktop: one bar - logo, menu, phone.
   Sizes step up with the screen so everything is as large as the row allows:
   base 1025px, then 1140px, 1280px and 1440px. */
@media (min-width: 1025px) {
  .home-fold header {
    padding: 0;
  }

  .home-fold .header-container {
    height: calc(100px - var(--stick, 0) * 24px);
    justify-content: flex-start;
    padding: 0 16px;
    gap: 12px;
  }

  .home-fold .logo-image {
    width: 132px;
    height: auto;
  }

  /* Auto margins centre the menu in the space between logo and phone */
  .home-fold nav {
    position: static;
    margin: 0 auto;
  }

  .home-fold .nav-menu {
    align-items: center;
    gap: 12px;
  }

  .home-fold .nav-menu > li > a {
    position: relative;
    padding: 8px 0;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
  }

  /* Home is the current page here */
  .home-fold .nav-menu > li:first-child > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #80eff7;
  }

  /* Chevron drawn in CSS in place of the text arrow */
  .home-fold .dropdown .arrow {
    width: 7px;
    height: 7px;
    margin: -4px 0 0 3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    font-size: 0;
    transform: rotate(45deg);
  }

  .home-fold .dropdown:hover .arrow {
    transform: rotate(45deg);
  }

  .home-fold .header-right {
    max-width: none;
    gap: 0;
  }

  .home-fold .phone-icon,
  .home-fold .call-label {
    display: none;
  }

  .home-fold .phone-icon {
    background: #80eff7;
  }

  /* navy handset so it reads on the light cyan circle */
  .home-fold .phone-icon svg {
    fill: #161e6f;
  }

  .home-fold .phone-number {
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
  }
}

@media (min-width: 1140px) {
  .home-fold .header-container {
    padding: 0 20px;
    gap: 16px;
  }

  .home-fold .logo-image {
    width: 150px;
  }

  .home-fold .nav-menu {
    gap: 14px;
  }

  .home-fold .nav-menu > li > a {
    font-size: 13.5px;
  }

  .home-fold .phone-number {
    font-size: 20px;
  }
}

@media (min-width: 1280px) {
  /* The photo scales with the window. On short screens it shrinks so the
     fold lands right under the accreditations (39px strip + 121px bar); on
     taller screens it grows half as fast, from the original 700px. */
  .home-fold .hero {
    min-height: clamp(
      600px,
      min(calc(100svh - 160px), calc(50svh + 270px)),
      900px
    );
  }

  .home-fold .header-container {
    padding: 0 28px;
    gap: 18px;
  }

  .home-fold .logo-image {
    width: 170px;
  }

  .home-fold .nav-menu {
    gap: 16px;
  }

  .home-fold .nav-menu > li > a {
    font-size: 14px;
    letter-spacing: 0.01em;
  }

  .home-fold .phone-icon {
    display: flex;
    width: 40px;
    height: 40px;
  }

  .home-fold .call-label {
    display: block;
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }

  .home-fold .call-button {
    gap: 10px;
  }

  .home-fold .phone-number {
    font-size: 22px;
  }
}

@media (min-width: 1440px) {
  .home-fold .header-container {
    gap: 20px;
  }

  .home-fold .logo-image {
    width: 200px;
  }

  .home-fold .nav-menu {
    gap: 20px;
  }

  .home-fold .nav-menu > li > a {
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .home-fold .phone-icon {
    width: 46px;
    height: 46px;
  }

  .home-fold .call-label {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .home-fold .call-button {
    gap: 12px;
  }

  .home-fold .phone-number {
    font-size: 25px;
  }

  .home-fold .header-container {
    height: calc(100px - var(--stick, 0) * 16px);
  }
}

/* Tablet: logo and phone on top, menu on a single row beneath */
@media (min-width: 769px) and (max-width: 1024px) {
  .home-fold header {
    padding: calc(18px - var(--stick, 0) * 6px) 0
      calc(18px + var(--stick, 0) * 26px);
  }

  .home-fold .logo-image {
    width: 170px;
  }

  .home-fold nav {
    top: calc(84px - var(--stick, 0) * 12px);
  }

  .home-fold .nav-menu {
    align-items: center;
  }

  /* Two-row header here, so the wave runs deeper to sit behind the menu */
  .home-fold header::before {
    height: 215px;
  }

  .home-fold .hero {
    min-height: 0;
    padding: 215px 30px 70px;
  }
}

/* Phones: the same navy wave header as desktop - white logo, white phone
   number, white menu button. Fixed here even before the script runs, with a
   solid navy fallback, so nothing jumps when the script kicks in. */
@media (max-width: 768px) {
  .home-fold header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #161e6f;
  }

  /* Only the right-hand stretch of the wave is shown, so the curve stays
     gentle on a narrow screen */
  .home-fold header::before {
    height: 150%;
    background-size: 250% 100%;
    background-position: right top;
  }

  .home-fold .logo-image {
    filter: none;
  }

  .home-fold .phone-number,
  .home-fold .call-label {
    color: #fff;
  }

  .home-fold .menu-toggle span {
    background: #fff;
  }

  /* "Call us today" sits above the number, as on desktop, which frees
     enough width for a bigger logo */
  .home-fold .call-info {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .home-fold .logo-image {
    width: 120px;
  }
}

@media (max-width: 360px) {
  .home-fold .logo-image {
    width: 104px;
  }
}

@media (max-width: 768px) {
  /* The bar floats over the photo on phones too, so the text starts below it */
  .home-fold .hero {
    min-height: 0;
    padding: 150px 20px 12px;
  }

  .home-fold .hero-actions {
    margin-top: 14px;
  }

  .home-fold .hero-cta {
    min-height: 54px;
    padding: 0 30px;
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .home-fold .hero {
    padding-top: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-fold .hero-cta {
    transition: none;
  }
}


/* The Trustpilot widgets now load after the page, so reserve their final
   height (data-style-height) or the page would jump when they arrive */
.trustpilot-widget[data-template-id="53aa8807dec7e10d38f59f32"] {
  min-height: 84px;
}
.trustpilot-widget[data-template-id="53aa8912dec7e10d38f59f36"] {
  min-height: 140px;
}
