/* Global Reset + Base Styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fafafa;
  color: #333;
  height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* Navbar */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;  /* Adjusted padding for smaller screens */
  background: linear-gradient(90deg, #FFCB05 0%, #3D7DCA 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.logo {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;  /* Reduced gap for smaller screens */
  margin: 10;
  padding: 0;
  flex-wrap: wrap;
  margin-right: 50px;  /* Adjusted margin for smaller screens */
}

.nav-links a {
  font-weight: 500;
  color: #ffffff;
  transition: color 0.2s ease-in-out;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #EE1C25;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;  /* Adjusted padding for smaller screens */
  background: #f5f7fa;
  min-height: calc(100vh - 60px);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 36px;  /* Adjusted font size for smaller screens */
  color: #3D7DCA;
}

.hero p {
  margin: 0 0 20px;
  font-size: 16px;  /* Adjusted font size for smaller screens */
  color: #555;
  max-width: 90%;  /* Adjusted max width for smaller screens */
}

.btn {
  background-color: #EE1C25;
  color: #ffffff;
  padding: 10px 20px;  /* Adjusted padding for smaller screens */
  border: none;
  border-radius: 5px;
  font-size: 14px;  /* Adjusted font size for smaller screens */
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #C7141A;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .nav-links {
      gap: 5px;  /* Further reduced gap for narrow widths */
  }

  .hero h1 {
      font-size: 24px;  /* Adjusted font size for very small screens */
  }

  .hero p {
      font-size: 14px;  /* Adjusted font size for very small screens */
  }
}
