/**
* Theme Name: Arolax Child
* Description: This is a child theme of Arolex
* Author: <a href="http://themeforest.net/user/crowdytheme">CrowdyTheme</a>
* Template: arolax
* Version: 3.0.2
*/

/** Roots **/
:root {
  --teal: #189889;
  --grad_start: #189889;
  --grad_end: #08322d;
}

/** Global **/

html {
  scroll-behavior: smooth;
  /* Offset anchor targets so they clear the fixed header. */
  scroll-padding-top: 100px;
}

.elementor a {
  text-decoration: underline;
}

.white {
  color: #fff;
}

.black h2,
.black h3 {
  color: #000 !important;
}

.bold {
  font-weight: 800;
}

.uppercase {
  text-transform: uppercase;
}

h1 {
  font-size: 100px;
}

h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 60px;
  line-height: 60px !important;
  font-weight: 800;
  text-transform: uppercase;
}

.white-button a {
  background-image: none !important;
  background-color: #fff !important;
  color: #000;
  transition: 0.2s ease-in-out;
}

.title-prefix {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -5px;
  margin-right: 14px;
  background-color: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 999px;
}

.elementor-heading-title:has(.title-prefix) {
  display: block;
}

.page-header-content-container {
  border-left: 2px solid #fff;
  padding-left: 50px !important;
}

.page-header-title .elementor-heading-title {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  span {
    background: linear-gradient(
      90deg,
      var(--grad_start) 0%,
      var(--grad_end) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
    text-transform: uppercase;
  }
}

/** Hero Text **/

.hero-text {
  border-right: 1px solid #fff;
  padding-right: 50px;
}

.hero-text .elementor-heading-title {
  display: block;
  color: #fff;
  font-weight: 400;
  text-align: right;
  text-transform: uppercase;
  line-height: 70px !important;
}

.hero-text .filled-text {
  display: block;
  width: fit-content;
  margin: 5px 0 5px auto; /* 5px gap above/below; auto keeps it right-aligned */
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 800;
  /* Two layers: gradient clipped to the text, solid white clipped to the box. */
  background-image:
    linear-gradient(90deg, var(--grad_start) 0%, var(--grad_end) 100%),
    linear-gradient(#fff, #fff);
  -webkit-background-clip: text, border-box;
  background-clip: text, border-box;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/** Header Styles **/

.docucom-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: transparent;
  transition:
    background-color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

/* Dark overlay background once scrolled (toggled via JS). */
.docucom-header.is-scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.docucom-header__inner {
  max-width: 1584px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.docucom-header__logo img {
  display: block;
  max-width: 200px;
  height: auto;
}

.docucom-header__nav {
  margin: 0 auto;
}

.docucom-header__menu {
  display: flex;
  align-items: center;
  gap: 45px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.docucom-header__menu li {
  margin: 0;
}

.docucom-header__menu a {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.docucom-header__menu a:hover,
.docucom-header__menu .current-menu-item > a {
  color: var(--teal);
}

.docucom-header__cta {
  flex-shrink: 0;
  background-image: linear-gradient(
    90deg,
    var(--grad_end) 0%,
    var(--grad_start) 100%
  );
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 50px;
  transition: opacity 0.2s ease-in-out;
}

.docucom-header__cta:hover {
  opacity: 0.85;
}

/* Burger (hidden on desktop). */
.docucom-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.docucom-header__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
}

/* Off-canvas menu. */
.docucom-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}

.docucom-offcanvas.is-open {
  visibility: visible;
  pointer-events: auto;
}

.docucom-offcanvas__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.docucom-offcanvas.is-open .docucom-offcanvas__backdrop {
  opacity: 1;
}

.docucom-offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  height: 100%;
  width: 82%;
  max-width: 320px;
  background-color: #000;
  padding: 30px 30px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}

.docucom-offcanvas__logo {
  display: block;
  margin-bottom: 10px;
}

.docucom-offcanvas__logo img {
  display: block;
  max-width: 150px;
  height: auto;
}

.docucom-offcanvas.is-open .docucom-offcanvas__panel {
  transform: translateX(0);
}

.docucom-offcanvas__close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.docucom-offcanvas__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
}

.docucom-offcanvas__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.docucom-offcanvas__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.docucom-offcanvas__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.docucom-offcanvas__menu a {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.docucom-offcanvas__menu a:hover,
.docucom-offcanvas__menu .current-menu-item > a {
  color: var(--teal);
}

.docucom-offcanvas__cta {
  align-self: flex-start;
  margin-top: 8px;
}

/* Prevent background scroll while the off-canvas menu is open. */
body.docucom-menu-open {
  overflow: hidden;
}

/* Content Styles */

.number-pip {
  background-color: var(--teal);
  border-radius: 50px;
  color: #fff;
  padding: 5px;
  min-width: 94px !important;
}

.title-prefix {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  white-space: nowrap;
  background-color: var(--teal);
  color: #fff;
  border-radius: 50px;
  padding: 2px 15px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
}

/** WPForms Styles **/

.wpforms-container-full .wpforms-form input[type="text"],
.wpforms-container-full .wpforms-form input[type="email"],
.wpforms-container-full .wpforms-form input[type="tel"],
.wpforms-container-full .wpforms-form input[type="url"],
.wpforms-container-full .wpforms-form input[type="number"],
.wpforms-container-full .wpforms-form input[type="password"],
.wpforms-container-full .wpforms-form select,
.wpforms-container-full .wpforms-form textarea {
  border: none !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.wpforms-container-full
  .wpforms-form
  .wpforms-field
  input::-webkit-input-placeholder,
.wpforms-container-full
  .wpforms-form
  .wpforms-field
  textarea::-webkit-input-placeholder {
  color: #000 !important;
  opacity: 1;
}

.wpforms-container-full .wpforms-form .wpforms-field input::-moz-placeholder,
.wpforms-container-full
  .wpforms-form
  .wpforms-field
  textarea::-moz-placeholder {
  color: #000 !important;
  opacity: 1;
}

.wpforms-container-full .wpforms-form .wpforms-field input::placeholder,
.wpforms-container-full .wpforms-form .wpforms-field textarea::placeholder {
  color: #000 !important;
  opacity: 1;
}

.wpforms-container-full .wpforms-form button[type="submit"],
.wpforms-container-full .wpforms-form .wpforms-submit {
  background-image: linear-gradient(
    90deg,
    var(--grad_end) 0%,
    var(--grad_start) 100%
  ) !important;
  border: none;
  color: #fff !important;
  font-weight: 800;
  transition: 0.2s ease-in-out;
  border-radius: 50px;
  min-width: 150px;
}

/** Footer Styles **/

.docucom-footer {
  background-color: #000;
  color: #cfd3d3;
}

.docucom-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 40px 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.docucom-footer__logo img {
  max-width: 220px;
  height: auto;
  display: block;
  margin-bottom: 22px;
}

.docucom-footer__tagline {
  font-size: 16px;
  line-height: 1.7;
  color: #b9bebe;
  max-width: 380px;
  margin: 0 0 26px;
}

.docucom-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docucom-footer__contact li,
.docucom-footer__contact a {
  font-size: 16px;
  color: #cfd3d3;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.docucom-footer__contact a:hover {
  color: var(--teal);
}

.docucom-footer__heading {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  margin: 0 0 26px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}

.docucom-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55px;
  height: 3px;
  background-color: var(--teal);
}

.docucom-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.docucom-footer__links a {
  font-size: 16px;
  color: #cfd3d3;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.docucom-footer__links a:hover {
  color: var(--teal);
}

.docucom-footer__bar {
  background: linear-gradient(90deg, #179184 0%, #072b27 100%);
  text-align: center;
  padding: 16px 20px;
}

.docucom-footer__bar p {
  margin: 0;
  font-size: 15px;
  color: #fff;
}

.docucom-footer__bar a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease-in-out;
}

.docucom-footer__bar a:hover {
  opacity: 0.75;
}

/** Mobile Styles **/

@media screen and (max-width: 767px) {
  h1 {
    font-size: 38px;
  }
	
	h2 {
		line-height:32px!important;
	}

  .hero-text {
    border-right: none;
    padding-right: 0;
  }

  .hero-text .elementor-heading-title {
    text-align: left;
    font-size: 36px;
  }

  .hero-text .filled-text {
    margin: 5px 0;
  }

  h2 {
    font-size: 30px;
  }

  .title-prefix {
    display: inline-flex;
    margin-right: 0;
    margin-bottom: 14px;
    top: 0;
  }

  .elementor-heading-title:has(.title-prefix) .title-prefix {
    display: inline-flex;
  }

  .elementor-heading-title:has(.title-prefix) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header-content-container {
    border-left: none;
    padding-left: 0 !important;
  }

  .docucom-header__inner {
    padding: 14px 24px;
    gap: 20px;
  }

  .docucom-header__logo img {
    max-width: 150px;
  }

  .docucom-header__nav,
  .docucom-header__cta {
    display: none;
  }

  .docucom-header__burger {
    display: flex;
  }

  /* Footer — stack everything into a single column, left aligned */
  .docucom-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 24px 40px;
    text-align: left;
  }

  .docucom-footer__logo img {
    margin-left: 0;
    margin-right: auto;
  }

  .docucom-footer__tagline {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .docucom-footer__contact {
    align-items: flex-start;
  }

  .docucom-footer__heading {
    display: inline-block;
  }

  .docucom-footer__heading::after {
    left: 0;
    transform: none;
  }

  .docucom-footer__bar {
    padding: 16px;
  }

  .docucom-footer__bar p {
    font-size: 14px;
  }
}
