@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

:root {
  --brand-blue: #124e8c;
  --muted-blue: rgba(9, 66, 110, 0.08);
  --arrow-bg: rgba(255, 255, 255, 0.75);
  --arrow-border: rgba(0, 60, 120, 0.08);

  --heading-color: #0a3c6e;
  --text-color: #5a5a5a;
  --muted-text: #7a7a7a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background: url("assets/images/background.svg") center top no-repeat;
  background-size: cover;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--heading-color);
  font-weight: 700;
  margin: 0 0 0.6rem 0;
  line-height: 1.25;
}

h1 {
  font-size: 42px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 26px;
}
h4 {
  font-size: 22px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
}

.text-dark-custom {
  color: #141414;
}
.text-primary-custom {
  color: #1661ad;
}

.bg-light.border-bottom.py-2.small > .container {
  font-size: 0.9rem;
}

.btn-primary,
.btn.bg-primary {
  background-color: #0a3c6e !important;
  border-color: #0a3c6e !important;
}

.btn-primary:hover,
.btn.bg-primary:hover {
  background-color: #2c4a74 !important;
  border-color: #2c4a74 !important;
}

.navbar {
  background: transparent;
}
.navbar-nav .nav-link {
  color: var(--brand-blue) !important;
  font-weight: 500;
  font-size: 1.12rem;
  padding: 0 22px !important;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-item.active .nav-link {
  color: #3574b0 !important;
  text-decoration: underline;
}

/* --- MEGA MENU --- */

.mega-parent {
  position: static;
}

.mega-menu {
  position: absolute !important;
  inset: unset !important;

  width: 880px;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 12px);

  border-radius: 12px;
  display: none;
  padding: 26px 28px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 2000;
}

@media (min-width: 993px) {
  .mega-parent:hover .mega-menu,
  .mega-menu:hover {
    display: block !important;
  }
}

.mega-title {
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.mega-links {
  list-style: none;
  padding: 0;
}
.mega-links li {
  margin: 6px 0;
}
.mega-links a {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  text-decoration: none;
  color: #0a3c6e;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mega-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #0a3c6e;
  transition: width 0.35s ease;
}

.mega-links a:hover {
  color: #3574b0;
}

.mega-links a:hover::after {
  width: 100%;
}

.mega-image {
  background: #f7f7f7;
  padding: 15px;
  border-radius: 8px;
  display: inline-block;
}

.bundle-text {
  font-weight: 600;
  font-size: 14px;
  margin-top: 5px;
}

.mega-underline {
  position: relative;
  display: inline-block;
  color: #0a3c6e;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.mega-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0a3c6e;
  transition: width 0.35s ease;
}

.mega-underline:hover {
  color: #3574b0;
}

.mega-underline:hover::after {
  width: 100%;
}

@media (max-width: 992px) {
  .mega-menu {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
    position: static !important;
    box-shadow: none;
    border-radius: 8px;
    margin-top: 12px;
  }
}

.hero-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  margin-bottom: 60px;
  padding: 0px;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  width: 100vw;
  height: 70vh;
}

.carousel-item {
  position: relative;
  height: 70vh;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control-custom {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(3px);
}
.carousel-control-custom:hover {
  background: rgba(255, 255, 255, 0.95);
}
.carousel-control-prev-custom {
  left: 40px;
}
.carousel-control-next-custom {
  right: 40px;
}

.carousel-control-custom .arrow {
  width: 28px;
  height: 28px;
  border-left: 3px solid #1a3c6b;
  border-bottom: 3px solid #1a3c6b;
  display: inline-block;
  opacity: 0.9;
}
.carousel-control-prev-custom .arrow {
  transform: rotate(45deg);
}
.carousel-control-next-custom .arrow {
  transform: rotate(-135deg);
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0;
  z-index: 6;
  margin: 0;
  padding: 0;
}
.carousel-indicators button {
  width: 0;
  height: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.carousel-indicators button.active {
  width: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.carousel-indicators button:hover {
  background: rgba(255, 255, 255, 0.75);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 16%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 540px;
  color: #0f2330;
}

.hero-content h4 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 3.4rem;
  line-height: 0.95;
  font-weight: 700;
  color: #1a4e85;
  margin: 0 0 8px 0;
  letter-spacing: 1px;
  text-transform: none;
}

.hero-content p {
  font-size: 1.05rem;
  color: #2b2b2b;
  margin: 20px 0 28px 0;
  text-align: left;
  line-height: 1.6;
  opacity: 0.95;
}

.hero-content .btn {
  display: inline-block;
  background: #1661ad;
  color: #fff;
  border-radius: 30px;
  padding: 14px 36px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(22, 97, 173, 0.18);
}

@media (max-width: 992px) {
  .hero-content h4 {
    font-size: 2.4rem;
  }
  .hero-content {
    left: 4%;
    max-width: 420px;
  }
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    height: 60vh;
  }
}

@media (max-width: 576px) {
  .carousel-control-custom,
  .carousel-control-prev-custom,
  .carousel-control-next-custom {
    display: none !important;
  }

  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item,
  .carousel-item {
    height: 56vh;
  }

  .hero-content {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    padding: 0 16px;
    text-align: center;
  }

  .hero-content h4 {
    font-size: 1.6rem;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 0.95rem;
    text-align: center;
  }

  .hero-content .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .carousel-indicators {
    bottom: 10px;
  }
}

.icon-circle {
  width: 80px;
  height: 80px;
  border: 2px solid #1a4f9e;
  border-radius: 50%;
  background: #fff;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
}
.icon-circle img {
  width: 130%;
  height: 130%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.icon-hover {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.wellness-box:hover .icon-default {
  opacity: 0;
}
.wellness-box:hover .icon-hover {
  opacity: 1;
}
.wellness-box:hover .icon-circle {
  background: #1a4f9e;
  box-shadow: 0 0 20px rgba(0, 91, 187, 0.4);
}
.wellness-box:hover h6 {
  color: #1a4f9e;
}

.learn-more-btn {
  background-color: #375787;
  color: #fff;
  padding: 8px 50px;
  font-size: 16px;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  transition: transform 0.35s ease, background 0.35s;
}
.learn-more-btn:hover {
  background: #0d3c74;
  transform: scale(1.05);
}

.phototherapy-section {
  margin: 60px auto 0;
  max-width: 1100px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.photo-content {
  padding-left: 40px;
  padding-right: 10px;
}
.photo-title {
  font-size: 2rem;
  font-weight: 400;
  color: #35578b;
  line-height: 1;
  margin-bottom: 0.3em;
}
.photo-subtitle {
  font-size: 1.35rem;
  font-weight: 400;
  color: #35578b;
  margin-bottom: 12px;
}
.photo-description {
  font-size: 1rem;
  color: #454545;
  line-height: 1.6;
  margin-bottom: 28px;
}
.btn-phototherapy {
  background-color: #2059a4;
  color: #fff;
  padding: 8px 50px;
  font-size: 1.18rem;
  border-radius: 28px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(53, 87, 139, 0.1);
  border: none;
  transition: background 0.3s;
}
.btn-phototherapy:hover {
  background-color: #132f4c;
}
.section-title {
  text-align: center !important;
  font-weight: 700 !important;
  color: var(--heading-color) !important;
}

@media (max-width: 991.98px) {
  .phototherapy-section {
    flex-direction: column;
    align-items: flex-start;
    max-width: 98vw;
  }
  .photo-content {
    padding-left: 0;
    padding-top: 34px;
  }
  .photo-img {
    height: 240px;
  }
}
@media (max-width: 575.98px) {
  .photo-title {
    font-size: 2rem;
  }
  .photo-content {
    padding-top: 20px;
  }
  .photo-description {
    font-size: 0.98rem;
  }
  .btn-phototherapy {
    font-size: 1rem;
    padding: 8px 22px;
  }
}

.section-title {
  font-size: 2rem;
  font-weight: 500;
  color: #35578b;
  text-align: center;
  margin-top: 48px;
  margin-bottom: 52px;
  letter-spacing: 1px;
}

.lw-section-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.8rem;
  color: #0a3c6e;
  margin-bottom: 1.5rem;
}

.steps-row {
  margin-left: 0;
  margin-right: 0;
}
.step-box {
  text-align: center;
  padding: 0;
  margin-bottom: 0;
}
.step-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 15px;
  display: inline-block;
}
.step-header {
  font-size: 1rem;
  font-weight: 700;
  color: #35578b;
  margin: 7px 0 8px;
}
.step-desc {
  font-size: 1.1rem;
  color: #393939;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .step-icon {
    width: 84px;
    height: 84px;
    margin-bottom: 12px;
  }
  .section-title {
    font-size: 1.6rem;
    margin-top: 32px;
    margin-bottom: 36px;
  }
  .step-header {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .step-desc {
    font-size: 0.93rem;
  }
}
@media (max-width: 767.98px) {
  .steps-row {
    row-gap: 36px;
  }
  .step-box {
    margin-bottom: 38px;
  }
}

.card-custom {
  border: none;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
.card-custom .card-icon {
  margin: 0 auto 16px;
  width: 90px;
  height: 90px;
  display: block;
}
.card-custom .card-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #35578b;
  margin-bottom: 16px;
}
.card-custom .card-text {
  font-size: 1rem;
  color: #404042;
  margin-bottom: 32px;
}

.card-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 4em;
}

.btn-custom {
  background: #244685;
  color: #fff;
  border-radius: 24px;
  font-weight: 400;
  font-size: 1.1rem;
  padding: 8px 50px;
  transition: background 0.3s;
}
.btn-custom:hover,
.btn-custom:focus {
  background-color: #132f4c;
  color: #fff;
}

.footer-top {
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, #f4f8fd 0%, #eaf2fc 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 60px 60px 40px;
  overflow: hidden;
}
.footer-top::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 250px;
  border-radius: 40%;
  background-image: radial-gradient(
      rgba(255, 255, 255, 0.9) 20%,
      transparent 21%
    ),
    radial-gradient(rgba(255, 255, 255, 0.9) 20%, transparent 21%),
    radial-gradient(rgba(255, 255, 255, 0.9) 20%, transparent 21%);
  background-position: 0 0, 50px 50px, 100px 100px;
  background-size: 100px 100px;
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
}

.lifewave-footer {
  background: url("assets/images/fb.svg") no-repeat center/cover;
  color: #002366;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.footer-logo {
  width: 160px;
  display: block;
  margin-top: 10px;
}
.footer-links-list li {
  margin: 25px 0 18px;
}
.footer-links-list a {
  position: relative;
  display: inline-block;
  color: #002366;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}
.footer-links-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #0056b3;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.footer-links-list a:hover {
  color: #0056b3;
}
.footer-links-list a:hover::after {
  width: 100%;
}

.round-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  background-color: #2c6fec;
  font-size: 14px;
  color: #fff;
}
.footer-bottom p {
  color: #ffffff !important;
}

.footer-bottom-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}
.footer-bottom-links a:hover {
  text-decoration: underline;
}

.lifewave-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 992px) {
  .lifewave-footer .row {
    text-align: center;
  }
  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .footer-bottom-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-bottom-links a {
    margin: 5px 0;
  }
  .footer-logo {
    margin: 0 auto 20px;
  }
  .social-icons a {
    margin: 5px;
  }
}
