* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
}

/* ================= HEADER ================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 50px;
  background: linear-gradient(90deg, #0d1b2a, #1b263b);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.tagline {
  font-size: 12px;
  color: #b0c4de;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  position: relative;
  transition: 0.3s;
}

nav a:hover {
  color: #00c6ff;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #00c6ff;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)),
    url('/images/hero.jpg') center/cover no-repeat;
  position: relative;
  opacity: 0;
  transform: scale(1.05);
  transition: all 1s ease;
}

/* Desktop parallax only */
@media (min-width: 769px) {
  .hero {
    background-attachment: fixed;
  }
}

.hero.loaded {
  opacity: 1;
  transform: scale(1);
}

.overlay {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.overlay h1 {
  font-size: 48px;
}

.overlay p {
  font-size: 18px;
}

/* ================= SECTIONS ================= */
.section {
  padding: 60px 20px;
}

.dark {
  background: #0d1b2a;
  color: white;
}

.center {
  text-align: center;
  margin-bottom: 40px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.grid img {
  width: 100%;
  border-radius: 10px;
}

/* ================= CARDS ================= */
.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  position: relative;
  background: #1b263b;
  color: white;
  border-radius: 14px;
  overflow: hidden;
  flex: 1;
  min-width: 260px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  padding: 15px;
  color: #00c6ff;
}

.card p {
  padding: 0 15px 15px;
}

/* Hover effect */
.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 150, 255, 0.25);
}

/* ================= STATS ================= */
.stats {
  display: flex;
  justify-content: space-around;
  background: #1b263b;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.stat h2 {
  font-size: 32px;
  color: #00c6ff;
}

/* ================= FOOTER ================= */
.footer {
  background: #0d1b2a;
  color: white;

  padding: 40px 20px 20px; /* more breathing space like reference */
}

/* GRID */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; /* key for that spaced look */

  align-items: start;
}

/* COLUMN HEADINGS */
.footer h3,
.footer h4 {
  margin-bottom: 12px;
  font-size: 18px;
}

/* TEXT */
.footer p {
  margin: 6px 0;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
}

/* LINKS */
.footer a {
  display: block; /* makes links stack cleanly */
  margin: 6px 0;

  color: #00c6ff;
  text-decoration: none;

  transition: 0.2s;
}

.footer a:hover {
  color: #4dd9ff;
}

/* BUTTON */
.footer .btn {
  margin-top: 15px;

  padding: 10px 18px;
  border-radius: 8px;

  font-size: 14px;
}

/* DIVIDER LINE */
.footer-bottom {
  margin-top: 30px;
  padding-top: 15px;

  border-top: 1px solid rgba(255,255,255,0.1);

  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.footer a {
  position: relative;
}

.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #00c6ff;
  transition: 0.3s;
}

.footer a:hover::after {
  width: 100%;
}

/* ================= WHATSAPP ================= */
.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  border-radius: 30px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-decoration: none;
}

.whatsapp:hover {
  transform: scale(1.08);
  background: #1ebe5d;
}

/* ================= MOBILE ================= */
@media(max-width: 768px) {

  .grid {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
    flex-direction: column;
    background: #0d1b2a;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .overlay h1 {
    font-size: 30px;
  }

  .overlay p {
    font-size: 14px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .btn.glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .btn.glass:hover {
    box-shadow: none;
    transform: none;
  }

  * {
    animation-duration: 0.5s !important;
    transition-duration: 0.2s !important;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

#subtitle {
  opacity: 0;
  transition: opacity 1s ease;
}

/* TRANSPARENT BUTTON */
.btn.glass {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  text-decoration: none;
  margin-top: 35px;
}

.btn.glass:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 10px 25px rgba(0, 198, 255, 0.3),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.btn.primary {
   display: inline-block; /* important */
  
  margin-top: 12px; /* creates space above button */

  padding: 10px 18px;
  border-radius: 6px;

  background: #00c6ff;
  color: white;

  font-size: 14px;
  font-weight: 500;

  text-decoration: none;

  transition: 0.3s ease;
}

.btn.primary:hover {
  background: #009ed1;
  transform: translateY(-2px);
}

/* CENTER ARROW */
.scroll-down {
  position: absolute;
  bottom: 60px;

  left: 50%;
  transform: translateX(-50%);

  font-size: 32px;
  color: white;

  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

#scrollTopBtn {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #2d6cdf;
  color: white;
  border: none;
  display: none;
}

#scrollTopBtn:hover {
  background: linear-gradient(135deg, #2d6cdf, #4da3ff);

  transform: translateY(-4px) scale(1.05);

  box-shadow:
    0 10px 25px rgba(45, 108, 223, 0.4),
    0 0 10px rgba(77, 163, 255, 0.5);
}

#scrollTopBtn:active {
  transform: translateY(0) scale(0.95);
  box-shadow: none;
}