:root {
  --blue: #1e40af;
  --red: #dc2626;
  --white: #ffffff;
  --dark-bg: #0f172a;
  --accent: #2563eb;
  --gray-light: #e0e7ff;
}

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

body {
  font-family: "Poppins", sans-serif;
  background: var(--dark-bg);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 0 3rem 0;
}

header {
  background: linear-gradient(90deg, var(--blue), var(--red));
  padding: 3rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.5);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

header p {
  margin-top: 0.7rem;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gray-light);
  letter-spacing: 0.05em;
}

nav {
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  font-weight: 600;
}

nav a {
  color: var(--gray-light);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background: var(--red);
  transition: width 0.3s ease;
  border-radius: 3px;
}

nav a:hover,
nav a:focus {
  color: var(--red);
}

nav a:hover::after,
nav a:focus::after {
  width: 100%;
}

main {
  flex-grow: 1;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  padding: 0 1.5rem;
}

section {
  margin-bottom: 3.5rem;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
  border-left: 6px solid var(--red);
  padding-left: 0.8rem;
  letter-spacing: 0.05em;
}

section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray-light);
}

.services-list {
  list-style: none;
  margin-top: 1rem;
  padding-left: 1rem;
}

.services-list li {
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  padding-left: 1.5rem;
  color: var(--white);
}

.services-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 700;
}

.contact-section {
  background: linear-gradient(135deg, #dc2626dd 0%, #1e40afdd 100%);
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  color: var(--white);
}

.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.contact-info {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

input,
textarea {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  transition: box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 12px var(--red);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background: var(--red);
  color: var(--white);
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(220, 38, 38, 0.6);
  transition: background 0.3s ease;
}

button:hover,
button:focus {
  background: #b91c1c;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.8);
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  user-select: none;
  margin-top: auto;
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2.2rem;
  }

  nav {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  section h2 {
    font-size: 1.6rem;
  }
}