html,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
span,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  background: transparent;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  overflow-x: hidden;
}
/* 1. Makes the scroll smooth instead of jumping */
html {
  scroll-behavior: smooth;
}
#about {
  scroll-margin-top: 159px;
}
button {
  outline: none;
  padding: 0;
  border: none;
  background: transparent;
}

input {
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  line-height: 1;
}

input,
button,
textarea,
select {
  outline: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  margin: 0;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

body {
  font-family: var(--font-primary);
  background: white;
  margin: 0;
}

:root {
  --primary-text-color: #100f0f;
  --secondary-text-color: #ffffff;
  --highlighted-text-color: #35b7cd;
  --tertiary-text-color: #788485;
  --dark-bg: #0a0a0a;
  --light-gray: #f5f5f5;
  /* Fonts */
  --font-primary: "DM Sans", sans-serif;
}
body {
  background: #ffffff;
  color: var(--primary-text-color);
  font-family: var(--font-primary);
  margin-top: 159px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 50px 40px;
  transition: background-color 0.3s ease;
  height: 159px;
  background-color: transparent;
}
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 225px;
  height: 58px;
}

.nav-links {
  display: flex;
  gap: 10px;
  list-style: none;
}

.nav-link {
  color: var(--primary-text-color);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  width: min-content;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Transition all animated properties */
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-radius 0.3s ease,
    border-bottom 0.3s ease;
}

.nav-link.variant-2 {
  background-color: var(--primary-text-color);
  color: var(--secondary-text-color);
  border-radius: 10px;
}

.nav-link.variant-2:hover {
  background-color: transparent;
  color: var(--primary-text-color);
  border-radius: 0;
}

.nav-link:hover {
  border-bottom: 1px solid var(--primary-text-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-text-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 60vh;
  background-image: url("../img/hero-bg.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 0;
  text-align: center;
  width: 100%;
}

.hero-text {
  max-width: 700px;
  position: relative;
  z-index: 10;
}

.hero-title-top {
  display: block;
  font-size: 100px;
  font-weight: 700;
  color: var(--secondary-text-color);
  line-height: 0.9;
}

.hero-title-bottom {
  display: block;
  font-size: 42px;
  font-weight: 900;
  color: var(--secondary-text-color);
  line-height: 1;
  text-transform: uppercase;
}

.hero-code {
  font-size: 60.5px;
  color: var(--highlighted-text-color);
  font-weight: 900;
  letter-spacing: 0.17em;
  line-height: 1;
  width: max-content;
  margin: 0 auto;
  margin-top: 5px;
}
.hero-subtitle {
  font-size: 20px;
  color: var(--secondary-text-color);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 auto;
  width: max-content;
  text-transform: uppercase;
  margin-top: 5px;
}

.hero-shape {
  position: absolute;
  will-change: transform;
  height: auto;
  opacity: 1;
  left: 0;
  top: -120px;
  transform: scale(1.5);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-shape.loaded {
  transform: scale(1.5);
}

/* Hero text fade-in animation */
.hero-title-top,
.hero-title-bottom,
.hero-code,
.hero-subtitle {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-title-top.loaded {
  opacity: 1;
  transition-delay: 0.2s;
}

.hero-title-bottom.loaded {
  opacity: 1;
  transition-delay: 0.4s;
}

.hero-code.loaded {
  opacity: 1;
  transition-delay: 0.6s;
}

.hero-subtitle.loaded {
  opacity: 1;
  transition-delay: 0.8s;
}

/* About Section */
.about {
  padding: 80px 50px;
}

.about-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  color: var(--primary-text-color);
  max-width: 656px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.section-title .highlight {
  color: var(--highlighted-text-color);
  text-transform: uppercase;
}

.section-title .title-rest {
  color: var(--primary-text-color);
}

/* About section character animation */
.about-char {
  display: inline;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-char.visible {
  opacity: 1;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
}

.about-lead {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--tertiary-text-color);
}

.about-body {
  font-size: 20px;
  line-height: 1.2;
  color: var(--tertiary-text-color);
}

.brand-mention {
  font-weight: 600;
  color: var(--primary-text-color);
}
/* Services Section */
.services {
  padding: 55px 0;
  background: linear-gradient(#040d15 14.3546%, #0b1b27 100%);
  position: relative;
  overflow: hidden;
}

/* Layout: image left, content right */
.services-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.services-shape {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  will-change: transform;
  opacity: 1;
  transform: scale(1.5);
  max-width: 595px;
  height: auto;
  left: 10%;
}

.services-shape img {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: contain;
}

.services-right {
  display: flex;
  flex-direction: column;
  width: max-content;
  margin-left: auto;
  position: relative;
  z-index: 2;
  padding-left: 10px;
  opacity: 0;
  transform: translateX(100px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.services-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Header */
.services-header {
  display: flex;
  flex-direction: column;
}

.services-title {
  font-size: 50px;
  font-weight: 900;
  color: var(--secondary-text-color);
  margin: 0;
  line-height: 1;
}

.services-intro {
  font-size: 20px;
  line-height: 1;
  color: var(--secondary-text-color);
  max-width: 595px;
  margin: 0;
  margin-top: 20px;
}

/* Cyan label — matches image */
.services-label {
  font-size: 24px;
  color: var(--highlighted-text-color, #00bcd4);
  font-weight: 700;
  margin: 35px 0;
  line-height: 1.2;
}

/* Service list */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Icon box — rounded square like in the image */
.service-icon {
  flex-shrink: 0;
  width: 49px;
  height: 48px;
  border: 1.5px dashed var(--highlighted-text-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-text-color);
  background: transparent;
  border-radius: 18px;
  transition: all 0.3s ease;
}
.service-icon:hover {
  background: var(--highlighted-text-color);
  border-color: transparent;
}

.service-text {
  font-size: 20px;
  color: var(--secondary-text-color);
  font-weight: 400;
  line-height: 24px;
}

/* Approach Section */
.approach {
  padding: 90px 0;
}

.approach-content {
  text-align: center;
  max-width: 1193px;
  margin: 0 auto;
}

.approach-title {
  font-size: 50px;
  font-weight: 900;
  color: var(--primary-text-color);
  margin-bottom: 39px;
  line-height: 1;
}

.approach-subtitle {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #788485;
  margin-bottom: 40px;
}

.approach-points {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.approach-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--tertiary-text-color);
  font-weight: 400;
}
.approach-points li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.approach-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.approach-icon svg {
  stroke: var(--secondary-text-color);
  width: 26px;
  height: 26px;
}
.approach-icon.negative {
  background: var(--tertiary-text-color);
}
.approach-icon.positive {
  background: var(--highlighted-text-color);
}

/* Approach section animations */
.approach-title,
.approach-subtitle {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.approach-title.visible,
.approach-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

.approach-subtitle {
  transition-delay: 0.2s;
}

.approach-points li {
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.approach-points li.visible {
  opacity: 1;
  transform: scale(1);
}

.approach-points li:nth-child(1) {
  transition-delay: 0.3s;
}
.approach-points li:nth-child(2) {
  transition-delay: 0.4s;
}
.approach-points li:nth-child(3) {
  transition-delay: 0.5s;
}

/* CTA Section */
.cta {
  padding: 0 50px 40px 110px;
  background: radial-gradient(50% 50%, #043247 19.6861%, #09161f 89.337% 100%);
  position: relative;
  overflow: hidden;
  height: 50vh;
}
.cta-floating-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
}
.cta-floating-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.cta-content {
  display: flex;
  align-items: self-end;
  justify-content: flex-start;
  position: relative;
  z-index: 3;
  height: 100%;
}

.cta-text {
  max-width: 644px;
}

.cta-title {
  font-size: 50px;
  font-weight: 900;
  color: var(--secondary-text-color);
  line-height: 1;
  text-transform: uppercase;
}

.cta-subtitle {
  font-size: 20px;
  font-weight: 900;
  color: var(--secondary-text-color);
  margin: 35px 0;
  line-height: 1;
}

.cta-title .highlight {
  color: var(--highlighted-text-color);
}

.cta-btn {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  width: min-content;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-radius 0.3s ease,
    border-bottom 0.3s ease;
  background-color: var(--primary-text-color);
  color: var(--secondary-text-color);
  border-radius: 10px;
}

.cta-btn:hover {
  background-color: var(--secondary-text-color);
  color: var(--primary-text-color);
}

/* Footer */
.footer {
  padding: 30px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-copyright {
  font-size: 16px;
  color: #000000;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  font-size: 16px;
  color: #000000;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--highlighted-text-color);
}

.footer-separator {
  color: #000000;
  font-size: 13px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-shape {
    top: 0;
  }
  .services-shape {
    left: -50px;
  }
  .cta-floating-shape {
    min-width: 1300px;
  }
  .footer-content {
    padding: 0 20px;
  }
}
@media (max-width: 991px) {
  .nav-links {
    gap: 24px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-subtitle {
    margin: 0 auto;
    margin-top: 5px;
  }
  .hero-shape {
    top: 20%;
    min-width: 850px;
  }
  .services-content {
    flex-direction: column;
    gap: 40px;
  }

  .cta-content {
    flex-direction: column;
    gap: 30px;
  }

  .cta-shape-left,
  .cta-shape-right {
    flex: 0 0 auto;
    max-width: 150px;
  }
}

@media (max-width: 768px) {
  body {
    margin-top: 80px;
  }
  .header {
    padding: 20px 16px;
    height: 80px;
  }

  .logo img {
    width: 160px;
    height: auto;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 20px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .about {
    padding: 60px 20px;
  }

  .about-content {
    max-width: 100%;
  }

  .section-title {
    font-size: 32px;
  }

  .about-lead {
    font-size: 18px;
  }

  .about-body {
    font-size: 16px;
  }

  .services,
  .approach,
  .cta {
    padding: 50px 0;
  }

  .services-content {
    padding: 0 20px;
  }

  .services-shape {
    position: relative;
    left: 0;
    max-width: 350px;
    margin: 0 auto 40px;
  }

  .services-right {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }
  .cta-floating-shape {
    top: 0;
  }
  .cta-content {
    align-items: flex-start;
    padding: 0 30px;
    justify-content: flex-end;
  }
  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .cta-floating-shape {
    top: -120px;
    min-width: 820px;
  }
  .approach-points {
    flex-direction: column;
    align-items: center;
  }
  .approach {
    padding: 50px 20px;
  }
  .approach-point {
    font-size: 16px;
  }
  .approach-icon {
    width: 28px;
    height: 28px;
  }
  .approach-icon svg {
    width: 22px;
    height: 22px;
  }
  .approach-points li {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-title-top {
    font-size: 80px;
  }
  .hero-title-bottom {
    font-size: 32px;
  }
  .hero-code {
    font-size: 48px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-shape {
    top: 30%;
    min-width: 740px;
    left: -30%;
  }
  .cta {
    height: auto;
  }
  .cta-title,
  .approach-title,
  .services-title {
    font-size: 38px;
  }
  .cta-subtitle,
  .approach-subtitle,
  .services-intro {
    font-size: 18px;
  }
  .service-text {
    font-size: 16px;
  }
  .service-icon {
    width: 39px;
    height: 38px;
  }
}

/* Extra Page*/
.legal-page {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
  min-height: 60vh;
}

.legal-page h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--primary-text-color);
}

.legal-page .effective-date {
  font-size: 16px;
  color: var(--tertiary-text-color);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-text-color);
}

.legal-page p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--tertiary-text-color);
  margin-bottom: 15px;
}

.legal-page a {
  color: var(--highlighted-text-color);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 40px 20px;
  }

  .legal-page h1 {
    font-size: 36px;
  }

  .legal-page h2 {
    font-size: 20px;
  }
}
