.page-builder-section .section-title {
  margin-bottom: 2rem;
}

.page-builder-text {
  white-space: pre-line;
  line-height: 1.8;
}

.page-builder-card {
  border-radius: 16px;
}

.page-builder-card .card-img-top {
  max-height: 240px;
  object-fit: cover;
}

.page-builder-icon i {
  font-size: 2rem;
}

.page-builder-cta {
  background: #fff;
  border-radius: 20px;
  padding: 3rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.page-builder-embed iframe,
.page-builder-embed embed {
  width: 100%;
  min-height: 540px;
  border: 0;
  border-radius: 12px;
}

.page-builder-hero {
  min-height: 72vh;
  background-size: cover;
  background-position: center;
  background-color: #0b1f3a;
}

.page-builder-hero .container {
  max-width: 900px;
}

.page-builder-hero h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-builder-hero-text {
  max-width: 760px;
}

.page-builder-carousel .carousel-item {
  min-height: 72vh;
}

.page-builder-spacer-sm { min-height: 30px; }
.page-builder-spacer-md { min-height: 70px; }
.page-builder-spacer-lg { min-height: 120px; }

#messages-wrapper {
  margin-top: 90px;
}

@media (max-width: 991px) {
  #messages-wrapper {
    margin-top: 75px;
  }

  .page-builder-hero,
  .page-builder-carousel .carousel-item {
    min-height: 58vh;
  }
}


.page-has-hero-header #main {
  margin-top: 0;
}

.page-builder-section-hero_slider {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.page-builder-carousel {
  background: #0b1f3a;
}

.page-builder-carousel .carousel-item {
  min-height: 70vh;
}

.page-builder-carousel .carousel-control-prev,
.page-builder-carousel .carousel-control-next {
  width: 8%;
}

.page-builder-carousel .carousel-control-next-icon,
.page-builder-carousel .carousel-control-prev-icon {
  width: 3rem;
  height: 3rem;
}

.page-builder-hero {
  position: relative;
  min-height: 70vh;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  background-color: #1e4356;
}

.page-builder-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(30, 67, 86, 0.82), rgba(30, 67, 86, 0.62));
}

.page-builder-hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-builder-hero h2,
.page-builder-hero p,
.page-builder-hero .page-builder-text,
.page-builder-hero .small {
  color: #fff;
}

.page-builder-section .section-title h2 {
  color: #1e4356;
}

.page-builder-section .section-title p {
  color: #666;
}

.page-builder-card {
  height: 100%;
}

.page-builder-embed-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  min-height: 0;
}

.page-builder-embed-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.page-builder-section ul,
.page-builder-section ol {
  padding-left: 1.2rem;
}

@media (max-width: 991px) {
  .page-builder-hero,
  .page-builder-carousel .carousel-item {
    min-height: 60vh;
  }

  .page-builder-hero {
    padding: 120px 0 60px;
  }
}


.page-builder-section .btn-get-started {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  border: 2px solid #68A4C4;
  background: transparent;
}

.page-builder-section .btn-get-started:hover {
  background: #68A4C4;
  color: #fff;
  text-decoration: none;
}


.page-builder-card img {
  display: block;
}

.page-builder-section img {
  max-width: 100%;
  height: auto;
}


/* Global top spacing for fixed header */
#main {
  padding-top: 96px;
}

body.page-has-hero-header #main {
  padding-top: 0;
}

body.page-has-hero-header .page-builder-section-hero_slider:first-child {
  margin-top: 0;
}

.auth-page-main {
  padding-top: 130px !important;
  padding-bottom: 48px;
}

.page-builder-side-image {
  display: block;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

.page-builder-cta {
  background: linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
  border: 1px solid rgba(104, 164, 196, 0.25);
}

.page-builder-cta h2 {
  color: #1e4356;
}

.page-builder-cta .lead,
.page-builder-cta .page-builder-text {
  color: #4b5d68;
}

.page-builder-cta .page-builder-cta-button,
.page-builder-cta .btn-get-started {
  color: #ffffff !important;
  background: #1e7aa8;
  border-color: #1e7aa8;
  box-shadow: 0 8px 20px rgba(30, 122, 168, 0.22);
}

.page-builder-cta .page-builder-cta-button:hover,
.page-builder-cta .btn-get-started:hover {
  color: #ffffff !important;
  background: #155d80;
  border-color: #155d80;
}

@media (max-width: 991px) {
  #main {
    padding-top: 86px;
  }

  .auth-page-main {
    padding-top: 110px !important;
  }
}


/* Auth pages: keep forms below fixed header and centered in normal flow */
.auth-page-main {
  padding-top: 140px !important;
  padding-bottom: 56px;
}

.auth-page-main .services .container {
  display: flex;
  justify-content: center;
}

.auth-page-main .wrapper {
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 auto;
}

.auth-page-main .wrapper,
.auth-page-main .wrapper.active {
  width: min(100%, 430px);
  min-height: auto;
  max-height: none;
}

.auth-page-main .wrapper .form-box,
.auth-page-main .wrapper.active .form-box {
  position: relative;
}

.auth-page-main .wrapper .form-box.login,
.auth-page-main .wrapper .form-box.register,
.auth-page-main .wrapper.active .form-box.login,
.auth-page-main .wrapper.active .form-box.register {
  transform: none !important;
}

.auth-page-main .wrapper .form-box.register {
  position: relative;
}

@media (max-width: 991px) {
  .auth-page-main {
    padding-top: 125px !important;
  }
}

@media (max-width: 575px) {
  .auth-page-main {
    padding-top: 115px !important;
  }

  .auth-page-main .wrapper {
    width: 100%;
  }
}


/* Auth pages: center the login/register card in the visible page area */
.auth-page-main {
  min-height: calc(100vh - 96px);
  padding-top: 110px !important;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
}

.auth-page-main .services {
  width: 100%;
  padding: 0;
}

.auth-page-main .services .container {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-page-main .wrapper,
.auth-page-main .wrapper.active {
  position: relative;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .auth-page-main {
    min-height: calc(100vh - 86px);
    padding-top: 100px !important;
  }

  .auth-page-main .services .container {
    min-height: calc(100vh - 130px);
  }
}

@media (max-width: 575px) {
  .auth-page-main {
    padding-top: 92px !important;
    align-items: flex-start;
  }

  .auth-page-main .services .container {
    min-height: auto;
  }
}
