/* ---------- 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, #04543b, #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, #04543b, #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: 1000px) {
  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 */
}

.futuristic-btn {
  font-family: 'Calibri', 'Carlito';
  display: inline-block;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.futuristic-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px) scale(1.05);
}



@media (max-width: 480px) {
  .futuristic-btn {
    text-align: left;   /* center on very small screens */
    width: auto;          /* optional full width */
  }
}

/* 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;  
}
/* -------------------- SERVICES GRID -------------------- */

.services-section {
  position: relative;
  z-index: 2;
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  font-weight: 700;
  letter-spacing: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(254px, 1fr));
  gap: 30px;
}

.service-box i {
  font-size: 2.4rem;
  margin-top: 9px;
  margin-bottom: 18px;
  color: rgb(172, 172, 172);
  background: linear-gradient(165deg, #bb963c, #c3a762, #f7eba1, #c3a762, #bb963c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* standard property, mostly ignored by browsers except future-proofing */
  color: transparent;
  display: inline-block;
}

.service-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, height 0.3s ease, padding 0.3s ease;
  overflow: hidden; /* ensures content stays inside when collapsed */
  cursor: pointer;
  position: relative;
  height: 180px; /* initial height to hide description */
  
}

.service-box h3 {
  margin-bottom: 1.5rem;
  color: rgb(172, 172, 172);
}

/* On hover, expand box and show description */
.service-box:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.1);
  padding-bottom: 25px; /* extra padding for description */
}

.services-grid a {
  text-decoration: none;   /* remove underline */
  color: inherit;          /* inherit text color from parent */
  display: block;          /* makes the whole box clickable */
}

.services-grid a:visited {
  color: inherit;          /* prevent purple visited color */
}

.services-grid a:hover,
.services-grid a:focus {
  color: inherit;          /* keep same color */
}

/* -------------------- WHY US -------------------- */
.why-us {
  position: relative;
  z-index: 2;
  padding: 100px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.why-us h2 {
  font-size: 2.2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.why-us-desc {
  line-height: 1.7;
  padding: 20px;
  margin-top: 70px;
  text-align: center;
}

/* -------------------- STATS -------------------- */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  background: linear-gradient(165deg, #bb963c, #c3a762, #f7eba1, #c3a762, #bb963c);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 1.2rem;
  color: rgb(172, 172, 172);
}

.section-separator {
  width: 70px;
  height: 2px;
  background: linear-gradient(165deg, #bb963c, #c3a762, #f7eba1, #c3a762, #bb963c);
  border: none;
  margin: 0 auto 4.5rem;
  border-radius: 1px;
  filter: drop-shadow(0 0 8px rgb(247, 236, 161));
}