/* ========== RESET & BASE ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fefefe;
  color: #333;
  line-height: 1.6;
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #fff;
}
.logo img {
  width: 220px;
  height: auto;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.navbar ul li {
  display: inline-block;
}
.login-button {
  padding: 10px 20px;
  background-color: #d80a0a;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 3px 6px rgba(216, 10, 10, 0.5);
}
.login-button:hover {
  background-color: #fa0000;
}

/* ========== HEADERS & PROMO ========== */
.heading-container {
  text-align: center;
  margin: 6rem 1rem 3.5rem;
}
.main-heading {
  font-size: 2rem;
  font-weight: 500;
}
.promo-wrapper {
  text-align: center;
  margin: 1rem;
}
.promo-heading {
  font-size: 1.25rem;
  color: #d30e0e;
  font-weight: 600;
}
.promo-subtext {
  font-size: 1rem;
  color: #333;
}

/* ========== REGISTER BUTTON ========== */
.button-container {
  text-align: center;
  margin: 2rem 0;
}
.register-button {
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  background: linear-gradient(45deg, #d30e0e, #e70e0e);
  color: white;
  border-radius: 1.25rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(216, 10, 10, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
}
.register-button:hover {
  background: linear-gradient(45deg, #b20707, #8e0505);
  transform: scale(1.05);
}

/* ========== MODAL ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  position: relative;
  animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-content h2 {
  text-align: center;
  color: #d80a0a;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}
.close:hover {
  color: #d80a0a;
}

/* ========== FEATURES SECTION ========== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 1rem;
  max-width: 800px;
}
.section-header .line {
  flex: 1;
  height: 1px;
  background: #333;
}
.section-header .heading {
  white-space: nowrap;
  font-size: 1.5rem;
  font-weight: bold;
}
.features {
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}
.feature-card {
  max-width: 250px;
}
.feature-icon img {
  width: 60px;
  height: 60px;
}
.feature-title {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.feature-description {
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.footer {
  background-color: #f4f4f4;
  padding: 40px 20px;
}
.footer-container {
  max-width: 1200px;
  margin: auto;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  width: 120px;
}
.footer-contact a {
  color: #d80a0a;
  font-weight: bold;
  text-decoration: none;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.footer-column h4 {
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-column a {
  display: block;
  text-decoration: none;
  color: #555;
  font-size: 14px;
  margin-bottom: 5px;
}
.footer-column a:hover {
  color: #000;
}
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
}
.social-links a {
  margin: 0 10px;
}
.social-links img {
  width: 24px;
  height: 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }
  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }
  .features {
    flex-direction: column;
  }
  .section-header .heading {
    font-size: 1.2rem;
  }
  .main-heading {
    font-size: 1.5rem;
  }
  .register-button {
    width: 90%;
    font-size: 1rem;
  }
}
