/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body */
body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

/* Dark Mode */
body.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}

body.dark-mode .features-section {
  background-color: #1e1e1e;
  box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
}

body.dark-mode .feature-box {
  background: #2c2c2c;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.05);
}

body.dark-mode .feature-box p {
  color: #a0a0a0;
}

body.dark-mode .footer {
  background-color: #111;
  color: #a0a0a0;
}

body.dark-mode #darkModeToggle {
  background-color: #333;
  color: #fff;
}

/* Header */
.header {
  background-color: #222;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Hamburger */
.hamburger-menu {
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  order: -1;
  margin-left: -0.5rem; /* Moves the hamburger menu to the left */
}

/* Logo */
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00c853;
  text-decoration: none;
  margin: 0 1.5rem; /* Increased margin-left to move logo slightly to the right */
  order: 0;
}
/* Navigation */
.navigation {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  justify-content: center;
  margin: 0;
}

.navigation a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navigation a:hover,
.navigation a.active {
  color: #00e676;
  border-bottom: 2px solid #00c853;
}

/* Dark Mode Button */
#darkModeToggle {
  position: fixed;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background-color: #f0f0f0;
  color: #222;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
}

/* Features Section */
.features-section {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center;
}

.features-container {
  max-width: 1100px;
  margin: auto;
}

.features-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #00c853;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: #f1f1f1;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box i {
  font-size: 2rem;
  color: #00c853;
  margin-bottom: 1rem;
}

.feature-box h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: #666;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .navigation ul {
    flex-direction: column;
    background-color: #222;
    padding: 1rem;
    display: none;
    width: 100%;
    margin-top: 1rem;
  }

  .navigation.active ul {
    display: flex;
  }

  .logo {
    margin-right: auto;
  }
}
