/* reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: linear-gradient(to right, #0033cc, #cc0000);
  color: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* header */
.header {
  background: #0033cc;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 15px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color .3s;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #cc0000;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* hero */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero-img {
  max-width: 600px;
  width: 100%;
  border-radius: 10px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* cards & services */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: #fff;
  color: #000;
  margin: 15px;
  padding: 20px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  text-align: center;
}

.card:hover,
.card:focus-within {
  transform: translateY(-10px);
}

.card img,
.service-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* highlights, testimonials, cta */
.highlights,
.testimonials,
.cta {
  padding: 50px 20px;
  text-align: center;
}

.highlights {
  background: #fff;
  color: #000;
}

.testimonials {
  background: #0033cc;
  color: #fff;
}

.testimonials blockquote {
  font-style: italic;
  margin: 20px auto;
  max-width: 600px;
}

.cta {
  background: #cc0000;
  color: #fff;
}

/* forms */
.form {
  max-width: 500px;
  margin: 50px auto;
  background: #fff;
  color: #000;
  padding: 30px;
  border-radius: 10px;
}

.form label {
  display: block;
  margin-top: 10px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
}

.btn {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .3s;
}

.btn:hover,
.btn:focus {
  background: #0033cc;
}

.pulse {
  animation: pulse 2s infinite;
}

/* animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.fade-in {
  animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 1.5s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* footer */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* responsive */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 90%;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.show {
    display: flex;
  }
}
