/*!
Theme Name: CeTools
Theme URI: https://cetools.com
Author: Apex Web Studios
Description: Professional custom WordPress theme for CeTools
Version: 1.0.0
*/

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
  font-family: 'Semplicita';
  src: url('../fonts/SEMPLICITA LIGHT.OTF') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Semplicita';
  src: url('../fonts/SEMPLICITA LIGHT ITALIC.OTF') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Semplicita';
  src: url('../fonts/SEMPLICITA MEDIUM.OTF') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Semplicita';
  src: url('../fonts/SEMPLICITA MEDIUM ITALIC.OTF') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Semplicita';
  src: url('../fonts/SEMPLICITA BOLD.OTF') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Semplicita';
  src: url('../fonts/SEMPLICITA BOLD ITALIC.OTF') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Palatino Linotype';
  src: url('../fonts/PalatinoLTStd-Roman.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Palatino Linotype';
  src: url('../fonts/PalatinoLTStd-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Palatino Linotype';
  src: url('../fonts/PalatinoLTStd-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('../fonts/Helvetica.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('../fonts/Helvetica-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Base Reset & Typography
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #142F6C;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Semplicita", sans-serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: 45.303px;
  letter-spacing: 6.7955px;
  text-transform: uppercase;
}

h2 {
  font-size: 25.84px;
  letter-spacing: 5.4264px;
  text-transform: uppercase;
}

h3 {
  font-size: 20px;
  letter-spacing: 4.0677px;
  text-transform: uppercase;
}

h4 {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

p {
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.8;
}

.cetools-nav-section:hover,
.cetools-hero__link:hover {
  opacity: 1;
}

.cetools-text--small {
  font-size: 11.5px;
  letter-spacing: 1.265px;
}

.cetools-text--uppercase {
  text-transform: uppercase;
}

.cetools-text--capitalize {
  text-transform: capitalize;
}

.cetools-text--center {
  text-align: center;
}

.cetools-text--white {
  color: #FFFFFF;
}

.cetools-text--gray {
  color: #C2C2C2;
}

.cetools-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

.cetools-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 493px;
  background-color: #FFFFFF;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.cetools-sidebar__main {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.cetools-sidebar__toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 125px;
  padding: 10px;
  flex-shrink: 0;
}

.cetools-sidebar__brand {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.cetools-nav-panel {
  position: fixed;
  left: 493px;
  top: 0;
  bottom: 0;
  width: 580px;
  background-color: #FFFFFF;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 30px 0;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cetools-nav-panel__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-left: 1px solid #B5B5B5;
  padding: 0 30px;
  gap: 25px;
}

.cetools-nav-panel__sections {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 25px;
}

.cetools-nav-panel__links {
  flex-shrink: 0;
}

.cetools-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.nav-is-open .cetools-nav-panel {
  transform: translateX(0);
}

body.nav-is-open .cetools-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.nav-is-open .cetools-menu-btn__icon--open {
  display: none;
}

body.nav-is-open .cetools-menu-btn__icon--close {
  display: flex;
}

.cetools-content {
  margin-left: 493px;
  width: calc(100% - 493px);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.cetools-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cetools-container {
  max-width: 1362px;
  margin: 0 auto;
  padding: 0 25px;
  width: 100%;
}

@media (max-width: 1024px) {
  .cetools-sidebar {
    width: 100%;
    position: fixed;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .cetools-sidebar.is-open {
    transform: translateX(0);
  }
  .cetools-content {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .cetools-nav-panel__links .cetools-nav-menu {
    flex-direction: column;
    gap: 15px;
  }
}

.cetools-menu-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.15s ease;
}

.cetools-menu-btn:hover {
  opacity: 0.8;
}

.cetools-menu-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cetools-menu-btn__icon--close {
  display: none;
}

.cetools-menu-btn__text {
  font-family: "Semplicita", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #142F6C;
  text-transform: capitalize;
  letter-spacing: 0.9px;
}

.cetools-logo {
  font-family: "Semplicita", sans-serif;
  font-size: 45.303px;
  font-weight: 500;
  color: #142F6C;
  text-transform: uppercase;
  letter-spacing: 6.7955px;
  display: block;
  text-decoration: none;
}

.cetools-nav-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background-color: #FFFFFF;
  border-bottom: 1px solid #B5B5B5;
}

.cetools-nav-section__bg,
.cetools-nav-section__overlay {
  display: none;
}

.cetools-nav-section__label {
  position: relative;
  z-index: 3;
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  color: #142F6C;
  text-transform: capitalize;
  text-align: center;
  letter-spacing: 1.265px;
  margin-bottom: 4.443px;
  transition: color 0.3s ease;
}

.cetools-nav-section__title {
  position: relative;
  z-index: 3;
  font-family: "Semplicita", sans-serif;
  font-size: 19.37px;
  font-weight: 500;
  color: #142F6C;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 4.0677px;
  transition: color 0.3s ease;
}

.cetools-nav-section.is-hovered .cetools-nav-section__label,
.cetools-nav-section.is-hovered .cetools-nav-section__title {
  color: #FFFFFF;
}

.cetools-nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.cetools-nav-menu li {
  margin: 0;
  padding: 0;
}

.cetools-nav-menu a {
  font-family: "Semplicita", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #142F6C;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  line-height: 20px;
  display: block;
}

.cetools-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 125px;
  background-color: #142F6C;
  padding: 45px;
  position: relative;
  overflow: hidden;
}

.cetools-banner__frame {
  position: absolute;
  inset: 10px 32px;
  display: flex;
  flex-direction: column;
  z-index: 1;
  pointer-events: none;
}

.cetools-banner__border {
  flex: 1;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: none;
}

.cetools-banner__bottom {
  display: flex;
  align-items: center;
  width: 100%;
  height: 2px;
  overflow: visible;
}

.cetools-banner__line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.cetools-banner__arrow {
  flex-shrink: 0;
  padding: 0 14px;
}

.cetools-banner__arrow img {
  width: 30px;
  height: 12px;
  display: block;
}

.cetools-banner__content {
  position: relative;
  z-index: 2;
}

.cetools-banner__text {
  font-family: "Semplicita", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  text-align: center;
}

.cetools-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 598px;
  overflow: hidden;
}

.cetools-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cetools-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cetools-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 47, 108, 0.3);
  z-index: 10;
  transition: background-color 0.15s ease;
}

.cetools-hero--product-range .cetools-hero__overlay {
  background-color: rgba(20, 47, 108, 0.45);
}

.cetools-hero--product-range .cetools-hero__image img {
  filter: grayscale(100%) contrast(100%);
}

.cetools-hero__content {
  position: absolute;
  inset: 0;
  padding: 22px 32px;
  display: flex;
  flex-direction: column;
  z-index: 11;
  pointer-events: none;
}

.cetools-hero__frame {
  flex: 1;
  width: 100%;
  border: 2px solid #FFFFFF;
  border-bottom: none;
}

.cetools-hero__frame-bottom {
  display: flex;
  align-items: center;
  width: 100%;
  height: 2px;
  overflow: visible;
}

.cetools-hero__line {
  flex: 1;
  height: 2px;
  background: #FFFFFF;
}

.cetools-hero__arrow {
  flex-shrink: 0;
  padding: 0 14px;
}

.cetools-hero__arrow img {
  width: 30px;
  height: 12px;
  display: block;
}

.cetools-hero__text {
  position: relative;
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  text-align: center;
  will-change: transform;
}

.cetools-hero__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 499px;
}

.cetools-hero__label {
  font-family: "Helvetica", Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  color: #FFFFFF;
  text-transform: capitalize;
  letter-spacing: 1.265px;
}

.cetools-hero__title {
  font-family: "Semplicita", sans-serif;
  font-size: 25.84px;
  font-weight: 500;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 5.4264px;
}

.cetools-hero__reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.cetools-hero__desc {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #FFFFFF;
  text-transform: capitalize;
  text-align: center;
  padding-top: 15px;
}

.cetools-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-bottom: 1px solid #FFFFFF;
  padding-bottom: 2px;
  font-family: "Semplicita", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
  text-transform: capitalize;
  letter-spacing: 1.8px;
  pointer-events: auto;
}

.cetools-hero__link img {
  width: 15px;
  height: 6px;
  display: block;
}

.cetools-hero:hover .cetools-hero__overlay {
  background-color: rgba(20, 47, 108, 0.7);
}

/* .cetools-hero__reveal hover state driven by JS initHeroReveal() */

.cetools-about {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #142F6C;
  padding: 96px 0;
}

.cetools-about__container {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 25px;
}

.cetools-about__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.cetools-about__intro {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 24px;
  font-style: italic;
  color: #FFFFFF;
  text-align: center;
  line-height: 39px;
  max-width: 847.893px;
}

.cetools-about__divider {
  width: 111.1px;
  height: 2px;
  background-color: #FFFFFF;
}

.cetools-about__text {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: #C2C2C2;
  text-align: center;
  line-height: 20px;
  max-width: 683.582px;
}

.cetools-footer {
  border-left: 1px solid #B5B5B5;
}

.cetools-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #B5B5B5;
  min-height: 190px;
  padding: 27px 0;
}

.cetools-footer__column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-right: 1px solid #B5B5B5;
  cursor: pointer;
}

.cetools-footer__column:last-child {
  border-right: none;
}

.cetools-footer__column:hover .cetools-footer__title {
  transform: translateY(-4px);
}

.cetools-footer__column:hover .cetools-footer__arrow {
  max-height: 20px;
  opacity: 1;
  margin-top: 20px;
}

.cetools-footer__title {
  font-family: "Semplicita", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #142F6C;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2.71px;
  line-height: 15px;
  margin: 0;
  transition: transform 0.15s ease;
}

.cetools-footer__arrow {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.15s ease, opacity 0.15s ease, margin-top 0.15s ease;
}

.cetools-footer__arrow img {
  width: 29px;
  height: 12px;
  display: block;
}

.cetools-footer__copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-bottom: 1px solid #B5B5B5;
}

.cetools-footer__copyright p {
  font-family: "Semplicita", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  text-align: center;
  letter-spacing: 2px;
}

@media (max-width: 1024px) {
  .cetools-hero {
    height: 450px;
  }
  .cetools-nav-panel {
    left: 0;
    width: 100%;
    padding: 20px 0;
  }
  .cetools-hero__title {
    font-size: 20px;
  }
  .cetools-about {
    padding: 30px 0;
  }
  .cetools-about__intro {
    font-size: 20px;
    line-height: 30px;
  }
  .cetools-about__text {
    font-size: 16px;
  }
  .cetools-footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* Forminator font override */
.forminator-ui,
.forminator-ui *,
.forminator-custom-form,
.forminator-custom-form input,
.forminator-custom-form textarea,
.forminator-custom-form select,
.forminator-custom-form button,
.forminator-custom-form label,
.forminator-custom-form .forminator-label,
.forminator-custom-form .forminator-field input,
.forminator-custom-form .forminator-field textarea,
.forminator-custom-form .forminator-field select,
.forminator-button,
.forminator-button-submit {
  font-family: "Helvetica", Arial, sans-serif !important;
}

/* Popup */
.cetools-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(20, 47, 108, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cetools-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cetools-popup__box {
  position: relative;
  width: 100%;
  max-width: 560px;
  background-color: #142F6C;
  padding: 50px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(16px);
  transition: transform 0.35s ease;
}

.cetools-popup.is-visible .cetools-popup__box {
  transform: translateY(0);
}

.cetools-popup__close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.cetools-popup__close:hover {
  opacity: 1;
}

.cetools-popup__heading {
  font-family: "Semplicita", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
}

.cetools-popup__subtext {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

.cetools-popup__form {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .cetools-hero {
    height: 350px;
  }
  .cetools-hero__title {
    font-size: 18px;
  }
  .cetools-footer__columns {
    grid-template-columns: 1fr;
  }
  .cetools-footer__column {
    border-right: none;
    border-bottom: 1px solid #B5B5B5;
  }
  .cetools-footer__column:last-child {
    border-bottom: none;
  }
  .cetools-popup__box {
    max-width: 90vw;
    padding: 40px 24px 32px;
  }
}
