/*body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

header {
  background: #1d3557;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: auto;
}

.btn-primary {
  background: #e63946;
  color: #fff;
  padding: .8rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: .3s;
}

.btn-primary:hover {
  background: #c5303e;
}

.hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

main {
  max-width: 960px;
  margin: auto;
  padding: 2rem 1rem;
}

#features .features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

#features img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
}

#features h3 {
  color: #1d3557;
  margin: .7rem 0 .3rem;
}

form {
  display: grid;
  gap: 1rem;
  max-width: 400px;
  margin: auto;
}

form label {
  display: flex;
  flex-direction: column;
  font-size: .9rem;
}

form input {
  padding: .5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.feedback {
  background: #e0f7fa;
  color: #00796b;
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  margin-top: 1rem;
}

footer {
  background: #eee;
  text-align: center;
  padding: 1rem;
  font-size: .9rem;
}*/
/* styles.css */

:root {
  --primary-color: #00c2ff;
  --secondary-color: #0b132b;
  --accent-color: #3a506b;
  --light-color: #f4f4f4;
  --font-main: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: #ffffff;
  color: var(--secondary-color);
  line-height: 1.6;
}

header.hero {
  background: url('images/principal-home.webp') center/cover no-repeat;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

header.hero .overlay {
  background: rgba(11, 19, 43, 0.7);
  padding: 3rem;
  border-radius: 12px;
}

header.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

header.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: #008ebc;
}

.section {
  padding: 4rem 2rem;
  max-width: 1600px;
  margin: auto;
}

.section.dark {
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--accent-color);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: 'Inter', sans-serif;
}

.form label {
  position: relative;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  display: block;
  padding-bottom: 0.5rem;
}

.form input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #ccc;
  border-radius: 12px;
  font-size: 1.1rem;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  outline-offset: 3px;
}

.form input:focus {
  border-color: #00c2ff;
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 8px #00c2ffaa;
}

.form button.btn {
  background: linear-gradient(90deg, #00c2ff, #008ebc);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 6px 18px #00c2ff88;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.form button.btn:hover {
  background: linear-gradient(90deg, #008ebc, #005f73);
  box-shadow: 0 8px 25px #008ebcbb;
}

.feedback {
  margin-top: 1rem;
  font-weight: 700;
  text-align: center;
  font-size: 1rem;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.feedback.success {
  color: #1a6f3d;
  background-color: #d2f1d7;
  border: 1px solid #1a6f3d;
}

.feedback.error {
  color: #b22a1d;
  background-color: #f5d3d0;
  border: 1px solid #b22a1d;
}

/* Responsive */
@media (max-width: 480px) {
  .form {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .form button.btn {
    width: 100%;
    padding: 1rem 0;
  }
}


footer {
  background-color: var(--secondary-color);
  color: #fff;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.feedback {
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
  color: var(--accent-color);
}

