:root {
  --ae-primary: #0a5f75;
  --ae-secondary: #1a8aa5;
  --ae-accent: #1a8aa5;
  --ae-dark: #1d252d;
  --ae-light: #f6f8f9;
  --ae-gradient: linear-gradient(90deg, #14202a 0%, #1d252d 55%, #0a5f75 100%);
}

.ae-logo {
  align-items: center;
  display: inline-flex;
}

.ae-logo img {
  display: block;
  max-height: 56px;
  width: auto;
}

.ae-top-note {
  background: var(--ae-gradient);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.2px;
  padding: 10px 0;
}

.ae-top-note strong {
  color: #fff;
  font-weight: 700;
}

.ae-hero .page-title-name h1,
.ae-hero .page-title-name h2,
.ae-hero .page-title-name p,
.ae-hero .page-title-name .lead {
  color: #fff;
}

.ae-hero .page-title-name {
  padding: 175px 0 145px;
}

.ae-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  padding: 8px 18px;
  text-transform: uppercase;
}

.ae-stat {
  border-right: 1px solid #e6e6e6;
  margin: 30px 0;
  padding: 0 22px;
}

.ae-stat:last-child {
  border-right: 0;
}

.ae-stat h4 {
  color: var(--ae-primary);
  font-size: 30px;
  margin-bottom: 5px;
}

.ae-stat p {
  margin-bottom: 0;
}

.ae-page-title {
  padding: 165px 0 95px;
}

.ae-highlight-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.ae-highlight-list li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ae-why-us p,
.ae-why-us p.lead,
.ae-why-us .text-white,
.ae-why-us .text-white.lead {
  color: #fff !important;
  opacity: 1 !important;
}

.ae-why-us::before {
  z-index: 1;
}

.ae-why-us > .container {
  position: relative;
  z-index: 2;
}

.ae-why-us .ae-why-copy {
  color: #fff !important;
  opacity: 1 !important;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  z-index: 3;
}

.ae-overlay-cta::before {
  z-index: 1;
}

.ae-overlay-cta > .container {
  position: relative;
  z-index: 2;
}

.ae-overlay-cta h3,
.ae-overlay-cta p,
.ae-overlay-cta .text-white {
  color: #fff !important;
  opacity: 1 !important;
}

.ae-card {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 8px;
  margin-bottom: 30px;
  padding: 26px;
}

.ae-card h5 {
  margin-bottom: 12px;
}

.ae-service-card {
  border: 1px solid #e7ecee;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  background: #fff;
}

.ae-service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.ae-service-card-body {
  padding: 24px;
}

.ae-footer-note {
  color: #626262;
  font-size: 14px;
}

.ae-legal {
  color: #5f5f5f;
  font-size: 13px;
}

.ae-contact-grid .contact-3-info {
  background: var(--ae-light);
  border-radius: 8px;
  padding: 30px 20px;
}

.ae-success,
.ae-error {
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 14px 16px;
}

.ae-success {
  background: #e8f4f7;
  border: 1px solid #b7dbe4;
  color: #0a4f62;
}

.ae-error {
  background: #fdecea;
  border: 1px solid #f4b7b0;
  color: #8f2e24;
}

/* Global palette overrides so template classes stay consistent site-wide */
a,
.theme-color,
i.theme-color,
span.theme-color {
  color: var(--ae-primary);
}

a:hover,
a:focus {
  color: var(--ae-secondary);
}

.theme-bg {
  background: var(--ae-gradient);
}

.button {
  background: var(--ae-primary);
  border-color: var(--ae-primary);
}

.button:hover,
.button:focus {
  background: var(--ae-dark);
  border-color: var(--ae-dark);
}

.button.white {
  color: var(--ae-primary);
}

.button.white:hover,
.button.white:focus {
  color: #fff;
}

.button.button-border {
  border-color: var(--ae-primary);
  color: var(--ae-primary);
}

.button.button-border:hover,
.button.button-border:focus {
  background: var(--ae-primary);
  border-color: var(--ae-primary);
  color: #fff;
}

.button.button-border.white:hover,
.button.button-border.white:focus {
  background: #fff;
  color: var(--ae-primary);
  border-color: #fff;
}

.button.icon-color {
  color: var(--ae-primary);
}

.button.icon-color i {
  border-color: var(--ae-primary);
}

.button.icon-color:hover i {
  background: var(--ae-dark);
  border-color: var(--ae-dark);
}

#back-to-top .top {
  background: var(--ae-primary);
  border: 1px solid var(--ae-primary);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(10, 95, 117, 0.35);
  color: #fff;
}

#back-to-top .top:hover,
#back-to-top .top:focus {
  background: var(--ae-dark);
  border-color: var(--ae-dark);
  color: #fff;
}

#back-to-top .top i,
#back-to-top .top span {
  color: #fff;
}

.ae-menu-cta {
  margin-left: 14px;
}

.ae-menu-cta .button {
  line-height: 1.2;
  padding: 10px 18px;
}

@media (max-width: 991px) {
  .ae-hero .page-title-name {
    padding: 130px 0 110px;
  }

  .ae-stat {
    border-right: 0;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    padding: 20px 0;
  }

  .ae-stat:last-child {
    border-bottom: 0;
  }

  .ae-service-card img {
    height: 210px;
  }

  .ae-logo {
    height: 48px;
  }

  .ae-logo img {
    max-height: 48px;
  }
}
