body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffe5e9;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 1rem;
}

header {
  background-color: rgba(236, 53, 71, 0.85);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 1rem;
  flex-wrap: wrap;
  border-radius: 8px;
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
}

nav.lists {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

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

.list li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.list li a:hover,
.list li a:focus {
  background-color: white;
  color: #ec3547;
  outline: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #ec3547;
  min-width: 180px;
  list-style: none;
  padding: 10px 0;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}


.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
  align-items: center;
  border: 2px solid red;
}

.image1 img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 15px rgba(236, 53, 71, 0.3);
  display: block;
  margin: 0 auto;
}

.hero-text h2 {
  font-size: 2rem;
  color: #ec3547;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-text p {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.columns {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.column {
  flex: 1 1 28%;
  background: white;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgb(236 53 71 / 0.2);
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  color: #ec3547;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.column:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgb(236 53 71 / 0.4);
}

footer {
  background-color: rgba(236, 53, 71, 0.85);
  color: white;
  padding: 15px 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}

footer p {
  margin-bottom: 0.5rem;
}

footer nav li {
  list-style: none;
}

footer nav li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  margin: 0 0.5rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

footer nav li a:hover,
footer nav li a:focus {
  background-color: white;
  color: #ec3547;
  outline: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h2,
  .hero-text p {
    max-width: 100%;
  }

  .columns {
    flex-direction: column;
    gap: 1.5rem;
  }

  .column {
    flex: 1 1 100%;
  }

  nav.lists {
    justify-content: center;
    margin-top: 1rem;
  }
}

/* Mobile devices */
@media (max-width: 480px) {
  body {
    padding: 0.5rem;
  }

  header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .list {
    flex-direction: column;
    gap: 10px;
  }

  .list li a {
    padding: 6px 10px;
    font-size: 1rem;
  }

  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  footer nav li a {
    display: inline-block;
    margin: 0 5px;
  }
}
