@font-face {
  font-family: "Aptos";
  src: url("../fonts/fonnts.com-aptos.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Aptos";
  src: url("../fonts/fonnts.com-aptos-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Aptos";
  src: url("../fonts/fonnts.com-aptos-bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Aptos";
  src: url("../fonts/fonnts.com-aptos-black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
p,
a {
  font-family: "Aptos", sans-serif;
}

/* html,
body {
    overflow-x: hidden;
} */

.normal-section {
  width: 100%;
  max-width: 1550px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 13px;
  padding-right: 13px;
}

.long-section {
  width: 100%;
  max-width: 1850px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 13px;
  padding-right: 13px;
}

main {
  min-height: 75vh;
}

/* Header Menu */

.desktop-menu-open .has-children .sub-menu {
  display: none;
}

.desktop-menu-open .has-children:hover .sub-menu {
  position: absolute;
  display: flex;
  /* left: -50%; */
  z-index: 999;
}

/* =============
Hamburger menu 
================*/

/* Hamburger */

.hamburger-container {
  cursor: pointer;
  margin: auto 0;
  z-index: 999;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: #374373;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-8px, 8px);
  transform: rotate(-45deg) translate(-8px, 8px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

.active-burger {
  position: fixed;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 100;
  overflow: hidden;
  left: 0;
  display: flex;
  padding: 0 25px;
}

#mobile-menu a {
  color: #fff !important;
}

.has-children.open .menu-dropdown-arrow {
  transform: rotate(0);
}

/* Responsive optimizations pentru video background cu Tailwind */

/* Mobile optimizations pentru video background */
@media (max-width: 768px) {
  /* Pe mobile, video-ul poate avea priority mai mică pentru battery saving */
  video {
    will-change: auto;
  }
}

/* Pentru debugging și development */
.video-debug {
  border: 2px solid red !important;
}

/* ==========================
     Core Values flip cards
     ========================== */
.cv-card {
  perspective: 1200px;
  -webkit-tap-highlight-color: transparent;
}

.cv-card-inner {
  position: relative;
  width: 100%;
  height: 220px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cv-card:focus .cv-card-inner,
.cv-card.cv-flipped .cv-card-inner {
  transform: rotateY(180deg);
}

.cv-card-face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cv-card-back {
  transform: rotateY(180deg);
}

@media (min-width: 640px) {
  .cv-card-inner {
    height: 260px;
  }
}

@media (min-width: 1024px) {
  .cv-card-inner {
    height: 280px;
  }
}

