/*!
Theme Name: Base
Theme URI: http://underscores.me/
Author: Dev Team
Author URI: 
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: base
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

base is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
:root {
  --font-primary: "PPEditorialNew-Regular";
  --font-secondary: "PPEditorialNew-Italic";
  --body-bg: #fff;
  /* --color-primary: #1c5fab; */
  --color-primary: #0063c5;
  --color-black: #000;
  --color-white: #fff;
  --animation-speed-factor: 1.2;
  --space: 32px;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 85px 0 var(--space) 0;
  width: 100%;
  font-size: 32px;
  font-weight: normal;
  font-family: var(--font-primary);
  line-height: 1.184;
  color: var(--color-primary);
  background-color: var(--body-bg);
  scroll-padding-top: 80px;
}

button:focus,
.btn.focus,
.btn:focus,
.btn:hover,
a:focus,
.btn.active,
.btn:active,
.btn:active,
.btn:active:focus,
a:active:focus,
a:active {
  outline: none;
}

a:hover {
  text-decoration: none;
  color: var(--color-primary);
}

a:active {
  text-decoration: none;
}

img {
  object-fit: cover;
  max-width: 100%;
  height: auto;
}
picture {
  display: block;
  position: relative;
}
picture img {
  width: 100%;
}

video {
  width: 100%;
  /* float: left; */
}
.form-select:focus,
.form-control:focus {
  box-shadow: none;
}

.form-control::placeholder {
}

textarea {
  resize: none;
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
  font-family: var(--font-primary);
  line-height: 1.4;
  font-weight: normal;
  margin-bottom: 0;
}

h1,
.h1 {
  font-size: 48px;
  letter-spacing: -0.015em;
  line-height: 72px;
}
h2,
.h2 {
  font-size: 32px;
  letter-spacing: -0.015em;
  line-height: 42px;
}
h3,
.h3 {
  font-size: 32px;
}
h4,
.h4 {
  font-size: 26px;
}
h5,
.h5 {
  font-size: 22px;
}
h6 {
  font-size: 20px;
}
p {
  font-family: var(--font-primary);
  font-size: 32px;
  line-height: 42px;
  letter-spacing: -0.015em;
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
b,
strong {
  font-weight: 600;
}
.link-text {
  color: inherit;
}
.btn {
  transition: all 0.3s ease-in 0s;
}

.site-header {
  width: 100%;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 20px;
  padding-right: 20px;
  transition: all 0.3s ease-in 0s;
  background: var(--color-white);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
}
.site-header .navbar {
  width: 100%;
  padding: 0;
}
.site-header .navbar-nav {
  --bs-navbar-nav-link-padding-x: 12px;
  --bs-nav-link-color: var(--color-primary);
  --bs-nav-link-hover-color: var(--color-primary);
  --bs-nav-link-padding-y: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding-top: 7px;
  padding-bottom: 7px;
}
.site-header .navbar-nav .nav-link {
  /* border-bottom: 1px solid transparent; */
}
.site-header .navbar-nav .nav-link:hover {
  /* border-bottom-color: var(--color-primary); */
  text-decoration: underline 2px;
}
.site-header .navbar-nav .nav-item:last-child .nav-link {
  padding-right: 0;
}
.site-header .navbar-brand {
  font-size: 22px;
  color: var(--color-primary);
  opacity: 0;
  visibility: hidden;
  width: 55px;
  padding: 5px;
  height: 52px;
  line-height: 44px;
  text-align: center;
  margin-right: 0;
  position: relative;
  border: 1px solid var(--color-primary);
  border-radius: 100%;
  transition: all calc(0.9s * var(--animation-speed-factor)) ease
    calc(0.8s * var(--animation-speed-factor));
  position: absolute;
  top: 0;
  left: 10px;
}
.navbar-brand .border-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.navbar-brand .border-circle circle {
  fill: transparent;
  stroke: var(--color-primary);
  stroke-width: 2px;
  /* Circumference of the circle (2 * pi * r) */
  stroke-dasharray: 157;
  stroke-dashoffset: 157; /* Initially invisible */
}
.site-header .navbar-collapse {
  flex-grow: 1;
  justify-content: flex-end; /* Always align the container to the right */
}
.site-header .logo-text {
  font-size: 8vw;
  display: flex;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  top: 0;
  opacity: 1;
  transform-origin: top left;
  margin-top: 1rem;
}

.site-header .logo-text span {
  overflow: hidden;
  white-space: nowrap;
  display: block;
}
/* --- Final State (After .loading is added) --- */
.site-header.loading .navbar-brand {
  opacity: 1;
  visibility: visible;
  width: 52px;
  padding: 5px;
}

.site-header.loading .logo-text span {
  animation: hide-text calc(1.1s * var(--animation-speed-factor)) ease forwards;
}

.site-header.loading .logo-text {
  animation: move-up-and-hide calc(0.7s * var(--animation-speed-factor)) ease
    calc(0.4s * var(--animation-speed-factor)) forwards;
}

@keyframes hide-text {
  0% {
    /* width: 100%; */
    width: auto;
    opacity: 1;
  }
  45% {
    /* width: 100%; */
    opacity: 0;
  }
  55% {
    /* width: 100%; */
    opacity: 0;
  }
  100% {
    width: 0;
    opacity: 0;
  }
}
/* @keyframes hide-text {
  from {
    width: 100%;
    opacity: 0;
  }
  to {
    width: 0;
    opacity: 0;
  }
} */

@keyframes move-up-and-hide {
  from {
    top: 0;
    opacity: 1;
    transform: scale(1);
    height: auto;
    margin-top: 1rem;
  }
  to {
    top: -50px;
    opacity: 0;
    transform: scale(0.2);
    visibility: hidden;
    height: 0;
    margin-top: 0;
  }
}
.site-header.loading .navbar-brand .border-circle circle {
  animation: draw-circle-once calc(1.2s * var(--animation-speed-factor))
    ease-out calc(1.3s * var(--animation-speed-factor)) forwards;
}

@keyframes draw-circle-once {
  to {
    stroke-dashoffset: 0;
  }
}

/* Home page */

.hero-section {
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
}
.hero-section picture {
  margin-bottom: var(--space);
  border-radius: 5px;
  overflow: hidden;
}
.section {
  padding-left: 20px;
  padding-right: 20px;
  margin-top: -50px;
  padding-top: 50px;
}
.section h2 {
  /* margin-bottom: 50px; */
}
.section hr {
  border-top: 2px solid var(--color-primary);
  /* box-shadow: 0 0 0 0.5px var(--color-primary); */
  opacity: 1;
  margin: var(--space) 0;
}
.section h1:not(:last-child),
.section p:not(:last-child) {
  margin-bottom: calc(var(--space) * 1.75);
}
.section picture {
  margin-bottom: var(--space);
  border-radius: 5px;
  overflow: hidden;
}
.founders-section h1:not(:last-child) {
  margin-bottom: calc(var(--space) * 0.75);
}
.accordion {
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: var(--space);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-color: var(--color-primary);
  --bs-accordion-btn-color: var(--color-primary);
  --bs-accordion-active-color: var(--color-primary);
  /* --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231C5FAB' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e"); */
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231C5FAB' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231C5FAB' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 1rem;
}
.accordion-button {
  font-size: 32px;
  color: var(--color-primary);
  justify-content: space-between;
  box-shadow: none !important;
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-button span {
  min-width: 30%;
}
.accordion-button.blank {
  cursor: default;
}
.accordion-button.blank:after {
  opacity: 0;
}
.accordion .accordion-item {
  border-top: 2px solid var(--color-primary);
}
.accordion .accordion-item:first-child .accordion-button {
  padding-top: 0;
}
.accordion .accordion-item:last-child .accordion-button {
  padding-bottom: 0;
}
.accordion .accordion-body {
  padding: 0;
}
.accordion .accordion-item:last-child .accordion-body {
  padding-top: var(--space);
}
.accordion .accordion-item:not(:last-child) .accordion-body {
  padding-bottom: var(--space);
}
.accordion .accordion-body picture:not(:last-child),
.accordion .accordion-body p:not(:last-child) {
  margin-bottom: var(--space);
}
.accordion .accordion-body picture:last-child,
.accordion .accordion-body p:last-child {
  margin-bottom: 0;
}
.gallery-swiper .swiper-slide img {
  width: 100%;
  border-radius: 5px;
}
.gallery-swiper .swiper-bottom {
  position: relative;
  display: flex;
  --swiper-navigation-size: 24px;
  --swiper-navigation-color: var(--color-primary);
  padding-top: var(--space);
}
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  position: relative;
  margin-top: 0;
  top: auto;
  bottom: 0;
}
.gallery-swiper .swiper-button-next {
  right: auto;
  left: 50px;
}
.gallery-swiper .swiper-button-prev {
}
.navbar-toggler {
  font-size: 24px;
  color: var(--color-primary);
  padding: 0;
  border: none;
  margin-left: auto;
  z-index: 6;
  padding-top: 5px;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler:hover {
  text-decoration: underline;
}
.site-header .navbar-toggler {
  opacity: 0;
  visibility: hidden;
  transition: all calc(0.9s * var(--animation-speed-factor)) ease
    calc(1.5s * var(--animation-speed-factor));
}
.site-header.loading .navbar-toggler {
  opacity: 1;
  visibility: visible;
}

/* 
  min-width: 768px → screen is tablet or larger
  max-height: 730px → screen height is short (e.g., landscape mode or small laptop)
   */
@media screen and (min-width: 768px) and (max-height: 730px) {
}

@media (max-width: 1600px) {
}
@media (max-width: 1500px) {
}
@media (max-width: 1400px) {
  /* h1,
  .h1 {
    font-size: 40px;
  }
  h2,
  .h2 {
    font-size: 40px;
  } */
}
@media (max-width: 1300px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 992px) {
  .site-header .navbar-brand {
    position: static;
  }
}

@media (max-width: 767px) {
  :root {
    --space: 16px;
  }
  body {
    padding-top: 75px;
    font-size: 24px;
  }
  h1,
  .h1 {
    font-size: 24px;
    line-height: 32px;
  }
  h2,
  .h2 {
    font-size: 24px;
    line-height: 32px;
  }
  h3 {
    font-size: 24px;
  }
  p {
    font-size: 18px;
    line-height: 24px;
  }
  .site-header {
    padding-left: 0px;
    padding-right: 0px;
  }
  .site-header .navbar-brand {
    width: 45px;
    height: 45px;
    font-size: 20px;
    line-height: 35px;
  }
  .site-header.loading .navbar-brand {
    width: 45px;
  }
  .site-header .logo-text {
    position: absolute;
    height: auto !important;
    top: 6px;
    left: 11px;
    font-size: 10.5vw;
  }
  @keyframes move-up-and-hide {
    from {
      top: 6px;
      opacity: 1;
      transform: scale(1);
      height: auto;
      margin-top: 1rem;
    }
    to {
      top: 6px;
      opacity: 0;
      transform: scale(1);
      visibility: hidden;
      height: 0;
      margin-top: 1rem;
    }
  }
  /* @keyframes move-up-and-hide {
    from {
      top: 10px;
      opacity: 1;
      transform: scale(1);
      height: auto;
      margin-top: 1rem;
    }
    to {
      top: 10px;
      opacity: 0;
      transform: scale(0.6);
      visibility: hidden;
      height: 0;
      margin-top: 1rem;
    }
  } */
  .site-header .navbar-nav {
    --bs-nav-link-padding-y: 12px;
    width: 100% !important;
    padding-top: 8px;
    /* padding-bottom: 8px; */
  }
  .site-header .navbar-nav .nav-item:last-child .nav-link {
    padding-bottom: 0;
  }
  .section,
  .hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .section h2 {
    margin-bottom: calc(var(--space) * 2);
  }
  .section p:not(:last-child) {
    /* margin-bottom: calc(var(--space) * 2); */
  }
  .section hr {
    margin: calc(var(--space) * 2) 0;
  }
  .section picture {
    margin-bottom: calc(var(--space) * 1.5);
  }
  .accordion {
    --bs-accordion-btn-padding-y: calc(var(--space) * 1.5);
  }
  .accordion-button {
    font-size: 18px;
    flex-direction: column;
    align-items: start;
    /* padding-top: 15px;
    padding-bottom: 15px; */
  }
  .accordion-button span {
    display: block;
  }
  .accordion-button:after {
    position: absolute;
    right: 0;
    top: 30px;
  }
  .accordion .accordion-item:first-child .accordion-button {
    padding-top: var(--bs-accordion-btn-padding-y);
  }
  .accordion-flush > .accordion-item:first-child {
    border-top: 2px solid var(--color-primary);
  }
  .accordion-flush > .accordion-item:last-child .accordion-button {
    padding-bottom: 0;
  }
  .accordion .accordion-body picture {
    margin-bottom: calc(var(--space) * 1);
  }
  .accordion .accordion-body picture:not(:last-child),
  .accordion .accordion-body p:not(:last-child) {
    margin-bottom: calc(var(--space) * 1.5);
  }
  .accordion .accordion-item:not(:last-child) .accordion-body {
    padding-bottom: calc(var(--space) * 1.5);
  }
  .section {
    margin-top: -320px;
    padding-top: 320px;
  }
  .founders-section picture {
    margin-top: 40px;
  }
  .founders-section h1:not(:last-child) {
    margin-bottom: calc(var(--space) * 2);
  }
  .founders-section p:not(:last-child) {
    margin-bottom: calc(var(--space) * 1.5);
  }
  .services-section h1:not(:last-child),
  .services-section p:not(:last-child) {
    margin-bottom: 40px;
  }
  .contact-section {
    margin-bottom: calc(var(--space) * 1);
  }
}

.splash {
  padding-left: 20px;
  padding-right: 20px;
  width: 100vw;
  /* height: 185px; */
  height: calc(40px + 8vw);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 500ms ease;
  margin-top: -25px;
}
.splash.active {
  height: 0;
  visibility: hidden;
  margin-top: 0px;
}
.logo-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
/* Circle */
.circle {
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  position: fixed;
  top: 16px;
  left: 30px;
  opacity: 0;
  transition: opacity 300ms ease;
  transition-delay: 100ms;
  /* pointer-events: none; */
  z-index: 4;
}
.circle.visible {
  opacity: 1;
}
.logo {
  font-size: 8.2vw;
  font-weight: 400;
  white-space: nowrap;
  line-height: 1;
  position: absolute;
  top: 40px;
  left: 0;
  transform: translate(0, 0);
  transition: transform 0s ease;
  transform-origin: center center;
  z-index: 5;
  letter-spacing: 0;
  color: var(--color-primary);
}
.logo span {
  display: inline-block;
  transition: opacity 300ms ease, transform 300ms ease;
  transition-delay: 100ms;
}
.logo.fade-1 .erfume,
.logo.fade-1 .akers {
  opacity: 0;
}
@media (max-width: 1400px) {
  .logo {
    font-size: 8.1vw;
  }
}
.logo-link {
  position: fixed;
  top: 16px;
  left: 30px;
  width: 50px;
  height: 50px;
  z-index: 10;
}
@media (max-width: 992px) {
  .logo {
    font-size: 7.8vw;
  }
}
@media (max-width: 767px) {
  .splash {
    height: 15px;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 0px;
  }
  .circle {
    top: 10px;
    left: 12px;
    width: 45px;
    height: 45px;
  }
  .logo-link {
    top: 10px;
    left: 12px;
    width: 45px;
    height: 45px;
  }
  .logo {
    top: -25px;
    font-size: 8vw;
  }
}
