/* contacto.css - AOSTech Style */

body {
font-family: 'Segoe UI', sans-serif;
background-color: #0A0F1C;
margin: 0;
padding: 0;
color: #ffffff;
text-align: center;
}

.contacto {
max-width: 600px;
margin: 60px auto;
padding: 2rem;
background-color: #0A0F1C;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
border-radius: 12px;
border: 1px solid #00ff99;
}

.contacto h2 {
text-align: center;
color: #00ff99;
margin-bottom: 1.5rem;
font-size: 2rem;
}

.contacto p {
text-align: center;
color: #ffffff;
margin-bottom: 1.5rem;
font-size: 1rem;
}

.contacto form {
display: flex;
flex-direction: column;
}

.contacto input,
.contacto textarea {
background-color: #0A0F1C;
color: #ffffff;
border: 1px solid #00ff99;
padding: 0.75rem;
margin-bottom: 1rem;
border-radius: 8px;
font-size: 1rem;
transition: all 0.2s ease-in-out;
}

.contacto input:focus,
.contacto textarea:focus {
outline: none;
border-color: #00ff99;
box-shadow: 0 0 6px #00ff99;
}

.contacto button {
background-color: #00ff99;
color: #0e0e0e;
border: none;
padding: 1rem;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
font-size: 1rem;
transition: background 0.3s ease;
max-width: 300px;
align-items: center;
justify-items: center;
}

.contacto button:hover {
background-color: #00cc7a;
color: #ffffff;
}

/* Botón cerrar */
.cerrar {
position: absolute;
top: 12px;
right: 16px;
color: #00ff99;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}

.cerrar:hover {
color: #ffffff;
}


input:not(:placeholder-shown),
textarea:not(:placeholder-shown) {
    background-color: white;
    color: black;
}



.header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: #0A0F1C;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

/* Navbar general */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0A0F1C;
    padding: 20px 50px;
    box-shadow: 0 4px 10px rgba(0, 255, 153, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00ff99;
    letter-spacing: 1px;
    cursor: pointer;
}

/* Enlaces */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}


.hamburger {
display: none;
font-size: 2rem;
cursor: pointer;
color: #00ff99;
}

@media (max-width: 768px) {
    .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0a0f1b;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border-radius: 10px;
    padding: 10px 0;
    z-index: 1000;
    }

.nav-links.active {
    display: flex;
}

.nav-links li {
    text-align: center;
    padding: 10px 0;
}

.hamburger {
    display: block;
}
}

/* Efecto hover con subrayado animado */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background:#00ff99;
    left: 0;
    bottom: 0;
    transition: 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #00ff99;
}


.nav a {
    margin-left: 1rem;
    color: #F1F5F9;
    text-decoration: none;
}

.nav a:hover {
    color: #10B981;
}
