/* style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #222;
  line-height: 1.6;
  transition: 0.3s;
}

/* Navbar */
.navbar {
  background-color: #111;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
}

.logo {
  font-size: 2rem;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

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

/* Hero */
.hero {
  height: 80vh;
  background: linear-gradient(to right, #111, #333);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 20px;
}

.hero h2 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
}

.hero button {
  padding: 12px 24px;
  border: none;
  background-color: #ff4747;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  background-color: #d63636;
}

/* Sections */
.section {
  padding: 70px 10%;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.dark-section {
  background-color: #eaeaea;
}

/* Cards */
.card-container,
.f1-content {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  transition: 0.3s;
}

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

.card h3 {
  margin-bottom: 10px;
}

.card ul {
  margin-left: 20px;
}

/* Quote */
.quote-box {
  max-width: 700px;
  margin: auto;
  background-color: white;
  padding: 40px;
  border-left: 6px solid #ff4747;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  font-style: italic;
  text-align: center;
}

/* Footer */
footer {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Dark Mode */
.dark-mode {
  background-color: #121212;
  color: white;
}

.dark-mode .card,
.dark-mode .quote-box {
  background-color: #1f1f1f;
  color: white;
}

.dark-mode .dark-section {
  background-color: #181818;
}