:root {
    --primary-color: #ffb655;
    --secondary-color: #51dadf;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --text-color: #555;
}

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

html {
    scroll-behavior: smooth;
}

/* === ESTILOS GENERALES === */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-image: url('BACK.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    text-align: justify;
    position: relative;
    color: #333;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Fondo translúcido */
    z-index: -1;
}

header {
    background: #fff;
    padding: 0px 2%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px; /* espacio entre el logo y el texto */
}

.logo-img {
    height: 65px; /* tamaño del logo */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 5px;
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.cta-button, .cta-button-nav {
    background: var(--primary-color);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.cta-button-nav {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.cta-button:hover, .cta-button-nav:hover {
    transform: translateY(-3px);
    background-color: #5cc3c2;
}

.cta-button-nav:hover {
     background-color: #ffda44;
}



#hero {
    background: url('./hero-background.png') no-repeat center center/cover;
    color: #fff;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #56fff7;
}

section {
    padding: 4rem 5%;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

#features {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px ;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-card img {
    width: 60px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}
h3 a {
    color: inherit; /* usa el color del h3 */
    text-decoration: none; /* quita el subrayado */
}

#curriculum {
    background-color: #fff;
}

.curriculum-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.module {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    min-width: 280px;
}
.bodys {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #aae5ec;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#courses {
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

h2 {
    font-size: 45px;
    margin-bottom: 0px;
    color: #1a253c;
    line-height: 0;
    padding-top: 20px;
}

h4 {
    font-size: 45px;
    margin-bottom: 0px;
    color: #1a253c;
    line-height: 0;
    margin-bottom: 50px;
}

/* === ESTILOS AVISO DE PRIVACIDAD === */

#privacy-policy {
    padding: 60px 5%;
}

.container-privacy {
    max-width: 900px;
    margin: 0 auto;
    text-align: left; /* Lectura legal estándar */
}

.badge {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.privacy-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.last-update {
    font-size: 0.9rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.privacy-section p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Resaltado para la lista de datos */
.highlight {
    background-color: #f9feff;
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 0 10px 10px 0;
}

.data-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.data-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.contact-box {
    text-align: center;
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    margin-top: 3rem;
}