html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

/* ========================
   GLOBAL STYLES
======================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f6f8;
  color: #222;
  line-height: 1.6;
}

/* ========================
   NAVBAR
======================== */
.navbar {
  display: flex;
  justify-content: space-between; /* Desktop: logo left, nav right */
  align-items: center;
  padding: 15px 20px;
  background: #0d1b2a;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  flex-wrap: nowrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  text-align: center;
}

.logo span {
  color: gold;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.95rem;
}

.nav-links a:hover {
  background: gold;
  color: black;
}

.btn {
  background: gold;
  padding: 6px 12px;
  border-radius: 5px;
  color: black;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: darkgoldenrod;
  color: white;
}

/* ========================
   HERO SECTION
======================== */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to right, #0d1b2a, #1b263b);
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn-large {
  font-size: 18px;
  padding: 12px 25px;
  display: inline-block;
  margin-top: 10px;
}

/* ========================
   FEATURES SECTION
======================== */
.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.feature {
  background: white;
  padding: 25px 20px;
  width: 250px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.feature p {
  font-size: 1rem;
}

/* ========================
   FOOTER
======================== */
footer {
  text-align: center;
  padding: 25px 20px;
  background: #0d1b2a;
  color: white;
  font-size: 0.9rem;
  margin-top: auto; /* ✅ THIS makes it stick to bottom */
}

/* ========================
   RESPONSIVE DESIGN
======================== */

/* Medium screens (tablets) */
@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column; /* stack logo + nav vertically */
    align-items: center;
    gap: 10px;
  }

  .nav-links {
    justify-content: center;
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .feature {
    width: 90%;
  }
}
