/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 1rem 5%; */
  /* padding: 0.8rem 5%; */
  height: 70px;          /* fixed navbar height */
  padding: 0 5%;         /* only side padding */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 45px;          /* logo fits nicely inside navbar */
  width: auto;
  display: block;
}

/* Only top-level UL gets flex */
.navbar > nav > ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.btn-primary {
  background: #2a7ae2;
  color: white !important;
  padding: 8px 14px;
  border-radius: 6px;
}

.btn-secondary {
  border: 2px solid #2a7ae2;
  padding: 8px 14px;
  border-radius: 6px;
  color: #2a7ae2;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
  font-weight: 500;
  padding: 0;
  background: none;
  border: none;
  color: #222;
  font-size: 1rem;
}

.dropdown-content {
  display: none;  /* hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: 0.6rem 1rem;
  color: #222;
  text-decoration: none;
}

.dropdown-content a:hover {
  background: #f1f1f1;
}

/* Show only on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: #fdfdfd;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight {
  color: #2a7ae2;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.1rem;
  color: #555;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 3rem 5%;
}

.feature-card {
  background: #fff;
  border: 1px solid #eaeaea;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2a7ae2; /* light blue */
}

.feature-card h3 {
  margin-bottom: 0.6rem;
  color: #2a7ae2;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  border-top: 1px solid #eaeaea;
  color: #555;
}

/* Consistent hero buttons */
.hero .btn-primary,
.hero .btn-secondary {
  background: #fff;
  color: #2a7ae2 !important;
  border: 2px solid #2a7ae2;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

/* Hover effect - filled blue */
.hero .btn-primary:hover,
.hero .btn-secondary:hover {
  background: #2a7ae2;
  color: #fff !important;
  border-color: #2a7ae2;
  transform: translateY(-2px);
}