/* ===== Global Styles ===== */
* {
  /* A more modern CSS reset */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #222;
  background-color: #fff;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background-color: #800000; /* Changed to maroon */
  color: #fff;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #ffc107; /* Gold accent on hover/active */
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}

/* ===== Hero Section ===== */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../images/landing.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.hero-content span {
  color: #ffc107;
}

.hero-content p {
  margin-bottom: 1.5rem;
}

.btn {
  background-color: #ffc107;
  color: #000;
  padding: 0.7rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: 0.3s;
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid #ffc107;
  color: #ffc107;
}

.btn-outline:hover {
  background-color: #ffc107;
  color: #000;
}

/* ===== About Preview ===== */
.about-preview {
  text-align: center;
  padding: 4rem 10%;
}

.about-preview h2 {
  color: #800000; /* Changed to maroon */
  margin-bottom: 1rem;
}

.about-preview p{
  color: #000000; /* Changed to maroon */
  margin-bottom: 2rem;
}

/* ===== Features Section ===== */
.features {
  background-color: #f5f7fa;
  text-align: center;
  padding: 4rem 10%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-card h3 {
  color: #800000; /* Changed to maroon */
  margin-bottom: 0.5rem;
}

.link {
  display: inline-block;
  margin-top: 1rem;
  color: #800000; /* Changed to maroon */
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
footer {
  background-color: #800000; /* Changed to maroon */
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

footer .social-links a {
  color: #ffc107;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

footer .social-links a:hover {
  color: #fff;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px; /* Adjust based on navbar height */
    gap: 0;
    flex-direction: column;
    background-color: #800000;
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }

  .nav-links li {
    padding: 1rem 0;
  }

  .nav-links.active {
    left: 0;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}
