:root {
    --primary: #00d2ff;
    --dark: #0a192f;
    --light: #f4f7f6;
    --accent: #3a86ff;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background-color: var(--light);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--dark);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: bold; }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; }

.nav-links li { position: relative; padding: 0 15px; }

.nav-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

/* Submenús */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    list-style: none;
    padding: 10px 0;
}

.dropdown-content li a { color: var(--dark); padding: 10px 20px; display: block; }
.dropdown-content li a:hover { background: var(--primary); color: white; }

.dropdown:hover .dropdown-content { display: block; }

/* Hero Section con Imagen */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), 
                url('https://images.unsplash.com/photo-1551703599-6b3e8379aa8b?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 span { color: var(--primary); }
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 30px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
}

/* Estilos generales */
.form-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h2 {
    color: #333;
    text-align: center;
    margin-bottom: 25px;
}

/* Campos de entrada */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Asegura que el padding no desborde el ancho */
}

/* Efecto de enfoque (Focus) */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

/* Botón de envío */
button[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Optimización para móviles */
@media (max-width: 600px) {
    .form-container {
        margin: 20px;
        padding: 20px;
    }
}