/* ===========================
   GLOBAL SETTINGS
=========================== */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6fa;
  color: #222;
}

/* ===========================
   HEADER
=========================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: #071a35;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap; /* allows wrapping on mobile */
}

/* ===========================
   LOGO
=========================== */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 200px; /* reasonable size */
  height: auto;     /* keep aspect ratio */
  display: block;
}

/* ===========================
   NAVIGATION
=========================== */
nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap; /* wrap nav links on small screens */
}

nav a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  transition: 0.3s;
}

nav a:hover {
  color: #d4af37;
  transition: 0.3s;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  position: relative;
  height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  padding-top: 0;
}

/* VIDEO CONTAINER */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

/* HERO VIDEO */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(6, 20, 40, 0.8),
    rgba(6, 20, 40, 0.9)
  );
  z-index: -1;
}

/* HERO CONTENT */
.hero-content {
  max-width: 800px;
  padding: 20px;
  animation: fadeUp 1.8s ease;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 20px;
  color: #d4af37;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #f2f2f2;
}

/* BUTTON */
button {
  padding: 14px 32px;
  border: none;
  background: #d4af37;
  color: #071a35;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 25px;
  transition: 0.3s;
}

button:hover {
  background: white;
  color: #071a35;
  transform: scale(1.08);
}

/* ===========================
   SERVICES SECTION
=========================== */
.services {
  padding: 80px 10%;
  background: white;
  text-align: center;
}

.services h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #071a35;
}

/* SERVICE CONTAINER */
.service-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* CARD */
.card {
  width: 300px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: 0.4s;
}

/* CARD IMAGE */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* CARD TEXT */
.card h3 {
  margin: 15px 0;
  color: #071a35;
}

.card p {
  padding: 0 20px 25px;
}

/* ===========================
   CALL TO ACTION
=========================== */
.cta {
  padding: 80px 20px;
  background: #071a35;
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta p {
  font-size: 18px;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: black;
  color: white;
  text-align: center;
  padding: 35px 20px;
}

/* FOOTER LINKS */
.footer-links {
  margin-top: 15px;
}

.footer-links a {
  color: #d4af37;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===========================
   HERO TEXT ANIMATION
=========================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   MOBILE RESPONSIVE
=========================== */
@media (max-width: 900px) {

  /* Stack header elements */
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Stack nav links */
  header nav {
    margin-top: 10px;
    gap: 10px;
  }

  .service-container {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  nav a {
    margin-left: 12px;
    font-size: 14px;
  }

  /* Prevent sticky header overlapping hero */
  .hero {
    padding-top: 80px;
  }
}

/* Extra mobile fixes for very small screens */
@media (max-width: 500px) {
  .hero {
    padding-top: 100px; /* extra space for tiny screens */
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }
}