
/* For WebKit browsers (Chrome, Safari) */
.element::-webkit-scrollbar {
    display: none;
}

html { scrollbar-width: none; }
html { -ms-overflow-style: none; }
html::-webkit-scrollbar { width: 0; height: 0; }

/* For Firefox */
.element {
    scrollbar-width: none;
}

/* For Internet Explorer and Edge */
.element {
    -ms-overflow-style: none;
}


/* ============================
   GLOBAL
============================ */



@font-face {
  font-family: "OCRAEXT";
  src: url("../assets/OCRAEXT.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --nav-height: 0px;
}

a {text-decoration: none;
color: inherit;}

body {
    position: relative;
  min-height: 100vh;

  margin: 0;
  background: #000;
  color: #7A7A7A;
  font-family: "OCRAEXT";
  -webkit-font-smoothing: antialiased;
}

/* Waves */
.wave {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  max-width: 100%;
}

.top-wave {
  top: 0;
  left: 0;
  width: clamp(200px, 33vw, 550px);
}

.bottom-wave {
  bottom: 0;
  right: 0;
  width: clamp(150px, 20vw, 350px);
}

/* ============================
   NAVIGATION
============================ */

.navbar {
  width: 100%;
  position: absolute;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* Removed duplicated padding — kept ONLY the final one */
  padding: clamp(12px, 3.5vw, 40px) clamp(16px, 7vw, 56px);

  z-index: 10;

  /* kept final padding-top only */
  padding-top: max(env(safe-area-inset-top), clamp(40px, 3.5vw, 32px));
}

.logo {
  width: clamp(140px, 12vw, 200px);
}

/* Desktop nav group */
.nav-right {
  display: flex;
  align-items: center;
  background: rgba(69, 72, 79, 0.4);
  backdrop-filter: blur(25px);
  border-radius: 100px;
  padding: clamp(10px, 1.5vw, 15px) clamp(18px, 3vw, 28px);
  gap: clamp(8px, 1.2vw, 20px);
}

.nav-item {
  font-size: clamp(14px, 1.5vw, 22px);
  color: #7A7A7A;
  padding: clamp(6px, 1vw, 10px) clamp(12px, 2vw, 20px);
  border-radius: 40px;
  cursor: pointer;
    text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.nav-item:hover {
  background: rgba(49, 49, 49, 0.5);
  backdrop-filter: blur(10px);
}

.nav-item.active {
  background: linear-gradient(298deg, #1e1f15, #4B5133);
}







/* ============================
   HERO SECTION (MAIN)
============================ */

.page-contents {
  --nav-height: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: calc(var(--nav-height) + 16px);
  min-height: calc(100vh - var(--nav-height));
}

.hero {
  width: auto;
  flex-direction: row;
  flex-wrap: nowrap;
  display: flex;
  gap: clamp(20px, 4vw, 60px);
  padding-top: 120px;
}

.shield-container,
.hero-text {
  flex: 0 0 auto;
}

.shield-container {
  display: flex;
  justify-content: flex-start;
  width: fit-content;
  height: fit-content;
}

.shield-img {
  width: clamp(240px, 27vw, 520px);
}

.hero-text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: fit-content;
}

.hero-text p {
  white-space: nowrap;
  font-size: clamp(14px, 1.5vw, 22px);
  line-height: 1.1;
  max-width: clamp(300px, 40vw, 650px);
}

.hero-mobile { display: none; }


/* ============================
   RESPONSIVE BREAKPOINTS
============================ */

@media (min-width: 1025px) {
  .shield-img {
    transform: translateY(-5%);
  }
}

@media (max-width: 1025px) {
  .hero-text {
   padding-top: 20px;
  }
}


/* Tablet */
@media (max-width: 900px) {
  
  .hero {
    flex-direction: column;
  }

  .hero-text p {
    white-space: normal;
    margin: 0;
  }

  .hero-text {
   padding-top: 0;
  }

  /* Removed duplicate selector, kept final values */
  .hero-text p {
    text-align: left;
    max-width: 385px;
    font-size: clamp(14px, 4vw, 18px);
    line-height: 29px;
  }

  .hero-desktop { display: none; }
  .hero-mobile { display: block; }
}

/* Mobile */
@media (max-width: 768px) {

  .nav-right {
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom, 16px) + 40px);
    max-width: 450px;
    left: 50%;
    transform: translateX(-50%) scale(1.06);
    justify-content: space-between;
    z-index: 1000;
    border-radius: 197px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.6);
    padding: clamp(12px, 3vw, 18px) clamp(20px, 6vw, 32px);
  }

  .menu-icon {
    display: block;
  }

  .hero {
    flex-direction: column;
    gap: 4vw;
    padding-bottom: 100px;
  }

  .shield-container,
  .hero-text {
    flex: 0 0 auto;
    width: 80%;
    max-width: 350px;
  }

  .shield-img {
    width: 100%;
    height: auto;
  }

  .hero-text p {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.2;
  }
}




@media (max-width: 360px) {
  .bottom-wave {
    width: 30%;
  }
}

/* TABLET DPR FIXES */
@media (max-width: 900px) {

  .page-contents {
    padding-top: calc(var(--nav-height) + 16px);
  }

  .hero {
    gap: 20px;
    flex-direction: column;
    gap: 3vw;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 80px;
  }

  .shield-container,
  .hero-text {
    flex: 1 1 auto;
    width: 70%;
    max-width: 400px;
  }

  .shield-img {
    width: 100%;
    height: auto;
  }

  .hero-text p {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.3;
  }

  .top-wave {
    width: clamp(300px, 45vw, 550px);
  }
}


/* ============================
   SERVICES SECTION LAYOUT
============================ */
.services {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 100px 0px;
}

.services-wrapper {
  display: flex;
  gap: 170px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap; /* responsive */
  max-width: 1200px;
  width: auto;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(40px, 20vw, 140px);
  padding-top: 120px;
}

/* ============================
   SERVICE CARDS
============================ */
.service-card {
  width: 400px;
  min-height: 470px;
  padding: 64px 30px 32px;
  border-radius: 16px;
  position: relative;
  overflow: visible;
  font-family: "OCRAEXT";
  background: linear-gradient(
    96.79deg,
    #171717 -62.94%,
    #323335 -62.92%,
    rgba(90, 90, 90, 0) 54.42%,
    #171717 174.24%
  );

  backdrop-filter: blur(25px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);

  display: flex;
  justify-content: center;
  align-items: start;
  transition: transform .25s ease, box-shadow .25s ease;
}


/* ============================
   CONTENT INSIDE CARDS
============================ */
.service-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-title {
  margin: 0;
  font-family: 'OCRAEXT';
  font-size: 20px;
  color: #7A7A7A;
}

.service-content p {
  margin: 0;
  font-family: 'OCRAEXT';
  font-size: 18px;
  line-height: 20px; 
  color: #7A7A7A;
}

.card-icon {
  position: absolute;
  top: -8%;              /* how far above the card */
  left: 50%;
  transform: translateX(-50%);
  width: 18%;             /* size of the SVG */
  height: auto;
}

/* ============================
   RESPONSIVE
============================ */

/* Tablets (side by side until 900px) */
@media (max-width: 900px) {
  .services-wrapper {
    gap: 20px; 
    padding-top: 60px;
  }
  .service-card {
    transform: scale(0.85);
  }
}

/* Stack cards on mobile */
@media (max-width: 700px) {
  .service-card {
    width: 100%;
    max-width: 350px;
    padding: 50px 30px 30px;
    min-height: 300px;
  }
  
  .services-wrapper {
    flex-direction: column;
    gap: 20px;
    padding-top: 40px
  }

  .service-title,
  .service-content p {
    font-size: 17px;
    line-height: 20px;
  }
}

@media (max-width: 360px) {

  .nav-right {
    gap: 6px;
    padding: 12px 18px;
    transform: translateX(-50%) scale(0.85); /* shrink bottom nav */
    max-width: 300px;
  }
  .services {padding-top: 70px;}

  .services-wrapper {
    transform: scale(0.80);
  }
}

.page-contacts .hero {
  padding-right: 20vh;
  flex-direction: column;
  display: flex;
  gap: 0px;
  padding-bottom: 50px;
}

  .page-contacts .hero a {
    margin-block-end: 0cm;
    margin-block-start: 0.5em;
  }

@media (max-width: 600px) {
  .page-contacts .hero {
    padding-right: 10vh;
  }

}