body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f7fa;
  color: #333;
  transition: background 0.5s, color 0.5s;
}
/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  body {
    background: #111827;
    color: #e5e7eb;
  }
  .site-header, footer {
    background: #0a192f;
    color: #e5e7eb;
  }
  .features-grid {
    background: #1f2937;
  }
  .features-grid div {
    background: #111827;
    color: #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  .hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #0a192f 100%);
    color: #e5e7eb;
  }
  .testimonial {
    background: #1e293b;
    color: #e5e7eb;
  }
}
/* Header and Footer */
.site-header, footer {
  background: #001f3f;
  color: #fff;
  transition: background 0.5s, color 0.5s;
}
.site-header nav {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  height: 48px;
  margin-right: 16px;
  transition: transform 0.4s;
}
.logo:hover {
  transform: scale(1.08) rotate(-5deg);
}
/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0074D9 0%, #001f3f 100%);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
  animation: fadeIn 1s;
}
.hero img {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  animation: floatIn 1.2s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95);}
  to { opacity: 1; transform: translateY(0) scale(1);}
}
/* Features */
#features h2 {
  text-align: center;
  padding: 1rem;
  animation: fadeIn 1.2s;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  background: #f4f7fa;
  padding: 2rem;
}
.features-grid div {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s, transform 0.3s;
  animation: fadeIn 1.3s;
}
.features-grid div:hover {
  box-shadow: 0 8px 32px rgba(0, 116, 217, 0.12);
  transform: translateY(-6px) scale(1.025);
}
/* Testimonial */
.testimonial {
  background: #e6f3ff;
  padding: 24px;
  border-radius: 8px;
  margin: 32px auto;
  max-width: 600px;
  text-align: center;
  font-style: italic;
  animation: fadeIn 1.5s;
}
.testimonial p::before {
  content: "“";
  font-size: 2em;
  color: #0074D9;
  vertical-align: top;
}
.testimonial p::after {
  content: "”";
  font-size: 2em;
  color: #0074D9;
  vertical-align: bottom;
}
/* Contact */
.contact {
  padding: 2rem;
  text-align: center;
  animation: fadeIn 1.7s;
}
.contact h2 {
  margin-bottom: 1rem;
}
form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeIn 2s;
}
form input, form textarea, form button {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
form input:focus, form textarea:focus {
  border-color: #0074D9;
  box-shadow: 0 2px 8px rgba(0,116,217,0.08);
  outline: none;
}
form button {
  background: #0074D9;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 0.04em;
  transition: background 0.3s, transform 0.2s;
}
form button:hover, form button:focus {
  background: #005fa3;
  transform: scale(1.06);
}
footer {
  text-align: center;
  padding: 1rem;
  animation: fadeIn 2.2s;
  transition: background 0.5s, color 0.5s;
}
