/* ---------- GLOBAL ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: auto;        /* allow content to determine height */
  min-height: 100vh;   /* at least full viewport height */
  overflow-x: hidden;  /* prevent horizontal scroll */
  overflow-y: auto;    /* allow vertical scroll */
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #000; /* your base color */
  color: #fff;

  /* optional futuristic gradient or pattern that all elements share */
  background: radial-gradient(circle at top right, #042D54, #000 80%);
  background-attachment: fixed; /* ensures consistent scrolling background */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;                        /* full viewport */
  background: radial-gradient(circle at top right, #042D54, #000 80%);
  z-index: -1;                      /* behind all content */
  background-size: cover;           /* make sure it fills viewport */
  background-repeat: no-repeat;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* -------------------- FADE IN -------------------- */
/* Hidden state */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}

/* Visible state */
.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- HEADER ---------- */
header {
  position: relative;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: transparent;
  backdrop-filter: none;        /* remove any blur filter */
  box-shadow: none;  
}

header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

header nav a {
  gap: 15px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

header nav a:hover {
  color: rgb(172, 172, 172);
}

/* Flag button styling */
.lang-btn {
  height: 17px;      /* same height as nav links */
  width: auto;      /* square button */
  transition: transform 0.3s ease;
}

.lang-btn img {
  width: 100%;
  height: 100%;
  margin-top: 4px;
}

.lang-btn:hover {
  transform: scale(1.3);
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-img {
  height: 70px;
  width: auto;
}

/* ---------- HAMBURGER ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  user-select: none;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Hover effect */
.hamburger:hover span {
  background: rgb(172, 172, 172);
}

/* Animate ☰ into X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- MOBILE MENU ---------- */
@media (max-width: 1150px) {
  header nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }

  header nav.active {
    opacity: 1;
    visibility: visible;
  }

  header nav a {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 1rem 0;
    opacity: 0; /* for animation fade-in */
    transition: color 0.3s; /* smooth color change */
    background: none; /* no rectangle */
    outline: none;
    -webkit-tap-highlight-color: transparent; /* removes gray highlight on mobile */
  }

/* Hover, focus, and active for mobile links */
  header nav a:hover,
  header nav a:focus,
  header nav a:active {
    color: rgb(172, 172, 172); /* same as desktop hover */
    background: none;           /* ensure no rectangle appears */
    outline: none;
  }

  /* Fade animations */
  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeOut {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: fixed;   /* stays in place */
    right: 1.3rem;
    z-index: 2000;     /* above the menu */
  }

  .lang-btn {
    height: 55px;      /* same height as nav links */
    width: 40px; 
    align-self: center;
  }
}

/* Ensure desktop nav links have gap between each link */
@media (min-width: 769px) {
  header nav {
    display: flex;
    gap: 2rem; /* gap between links */
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* HERO CONTENT STYLING */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 90%;            /* make width flexible */
  padding: 0 1rem;       /* horizontal padding */
  color: #fff;
  text-align: center;     /* headline/subheadline centered */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, #042D54, transparent 0%);
  z-index: 1; /* lower than header/footer */
}

.hero-headline {
  font-size: 3rem;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 1rem;
}

.hero-subheadline {
  font-size: 1.1rem;
  color: #dcdcdc;
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.5rem;
  }
  .hero-subheadline {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2rem;
  }
  .hero-subheadline {
    font-size: 0.95rem;
  }
}

/* FADE-UP ANIMATION */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------- FOOTER -------------------- */
footer {
  position: relative;   /* places it on top of hero background */
  bottom: 0;            /* stick to bottom */
  left: 0;
  width: 100%;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Calibri', 'Carlito';
  padding: 35px;
  text-align: center;
  background: transparent; /* no own background */
  backdrop-filter: none;        /* remove any blur filter */
  box-shadow: none;  
}

.about-details {
  text-align: center;
  color: #fff;
  font-family: 'Calibri', 'Carlito', sans-serif;
}

.about-details .container {
  max-width: 800px; /* narrower text box */
  margin: 0 auto;
  padding-top: 2rem;
}

.about-details h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  padding-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
  color: #dcdcdc;
}

.about-details p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: justify;
  text-indent: 2em;
}

@media (max-width: 768px) {
  .about-details {
    padding: 3rem 1rem;
  }
  .about-details h2 {
    font-size: 1.7rem;
  }
  .about-details p {
    font-size: 1rem;
  }
}

.section-separator {
  width: 70px;
  height: 2px;
  background: linear-gradient(165deg, #bb963c, #c3a762, #f7eba1, #c3a762, #bb963c);
  border: none;
  margin: 0 auto 1.5rem;
  border-radius: 1px;
  filter: drop-shadow(0 0 8px rgb(247, 236, 161));
}

/* FEATURES GRID */
.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.license-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.license-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(165deg, #bb963c, #c3a762, #f7eba1, #c3a762, #bb963c);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.license-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.license-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ccc;
}

.license-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.1);
}

a {
  color: inherit;              /* inherit text color from parent */
  text-decoration: none;       /* remove underline */
}

a:hover, a:focus {
  color: inherit;              /* keep the same color on hover */
  text-decoration: none;       /* no underline on hover/focus */
}
