* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f7f9fc;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #0056b3;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
}

.logo span {
  color: #ffb400;
}

nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffb400;
}

.btn-login {
  background: #ffb400;
  padding: 8px 15px;
  border-radius: 5px;
  color: #000;
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0056b3 50%, #007bff 100%);
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero p {
  margin: 20px 0;
  font-size: 1.1rem;
}

.hero-buttons a {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: #ffb400;
  color: #000;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #0056b3;
}

/* Features */
.features {
  text-align: center;
  padding: 80px 20px;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #0056b3;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  width: 90%;
  margin: auto;
}

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card img {
  width: 60px;
  margin-bottom: 15px;
}

/* About */
.about {
  background: #fff;
  padding: 80px 20px;
}

.about-container {
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1 1 45%;
}

.about-text h2 {
  color: #0056b3;
  margin-bottom: 20px;
}

.about-img {
  flex: 1 1 45%;
  max-width: 400px;
}

/* Modal Base */
#modalOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
}

.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  animation: fadeIn 0.3s ease;
}

.modal h2 {
  text-align: center;
  color: #0056b3;
  margin-bottom: 20px;
}

.modal form input {
  width: 100%;
  padding: 10px 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  outline: none;
  font-size: 1rem;
}

.modal form input:focus {
  border-color: #0056b3;
}

.modal form button {
  width: 100%;
  border: none;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
  padding: 10px;
}

.modal .link {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
}

.modal .link a {
  color: #0056b3;
  font-weight: 600;
  text-decoration: none;
}

.modal .link a:hover {
  color: #ffb400;
}

.full {
  width: 100%;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -45%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}


/* Footer */
footer {
  background: #0056b3;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.footer-links a {
  color: #ffb400;
  text-decoration: none;
  margin: 0 10px;
}
