/* Color Variables and Fonts */
:root {
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-color: #415a77;
    --highlight: #00b4d8;
    --text-light: #e0e1dd;
    --text-dark: #1b263b;
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
}

.text-center {
    text-align: center;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--highlight);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--highlight);
}

.btn-nav {
    background-color: var(--highlight);
    padding: 8px 15px;
    border-radius: 5px;
    color: white !important;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #b0c4de;
}

/* Buttons */
.btn {
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--highlight);
    color: white;
}

.btn-primary:hover {
    background-color: #0096c7;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--highlight);
}

.btn-secondary:hover {
    background-color: var(--highlight);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* General Sections */
.light-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.dark-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Solutions Cards */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--highlight);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.subtitle {
    color: var(--highlight);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* About Section */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #b0c4de;
}

/* Contact Form */
.form-container {
    max-width: 600px;
}

.form-container h2,
.form-container p {
    text-align: center;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--highlight);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--primary-color);
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* --- Estilos para los Videos Responsivos de YouTube --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* Crea el formato 16:9 perfecto */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    /* Separación entre el video y el título */
    border-radius: 8px;
    /* Bordes redondeados para que coincida con el diseño moderno */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Sombra sutil al video */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Estilos para Redes Sociales en el Footer --- */
.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    color: var(--text-light); /* Color blanquecino/gris del texto del footer */
    font-size: 1.8rem; /* Tamaño del icono */
    margin: 0 15px; /* Separación entre iconos */
    transition: color 0.3s ease, transform 0.3s ease; /* Transición suave */
}

.social-icons a:hover {
    color: var(--highlight); /* Se pintan del color celeste/cian al pasar el mouse */
    transform: translateY(-5px); /* Efecto de saltito hacia arriba */
}

/* Ajuste fino al texto del copyright para que no quede pegado a los iconos */
footer p {
    font-size: 0.9rem;
    color: #b0c4de;
}