@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #222;
  background-color: #fafafa;
  line-height: 1.6;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background-color: #00b47a; /* Lime/Dott-inspired green */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.8;
}

/* HERO SECTION */
.hero {
background: url('Images/A\ man\ riding\ a\ bike\ down\ a\ street.png') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 0 1rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  line-height: 1.4;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}

.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* BUTTONS */
.btn {
  background-color: #00b47a;
  padding: 0.9rem 1.8rem;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.btn:hover {
  background-color: #009764;
}

.btn-small {
  display: inline-block;
  margin-top: 1rem;
  background-color: #00b47a;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-small:hover {
  background-color: #009764;
}

/* INFO SECTIONS */
.info-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.info-section h2 {
  color: #00b47a;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.highlight {
  color: #ff5c5c;
  font-weight: 600;
}

/* CHALLENGES */
.challenge-section {
  background-color: #f4f4f4;
  padding: 4rem 2rem;
  text-align: center;
}

.challenge-section h2 {
  color: #00b47a;
  font-size: 1.8rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #00b47a;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

/* TEAM SECTION */
.team {
  text-align: center;
}

/* FOOTER */
footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-content {
    padding: 1.5rem;
  }
}

/* Usage graphs */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.chart-card {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  height: 300px;
}

.chart-card canvas {
  width: 100% !important;
  height: 200px !important;
}

.explanation {
  margin-top: 40px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
