:root {
    --color-primary: #1e2a38;
    --color-secondary: #3a506b;
    --color-accent: #5bc0be;
    --color-bg-light: #f0f5f9;
    --color-text-dark: #0a0a0a;
    --transition-ease: 0.3s ease;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color var(--transition-ease);
}

a:hover,
a:focus {
    color: var(--color-secondary);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin-bottom: 1rem;

}

p {
    margin-bottom: 1rem;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--color-primary);
}

.nav-link {
    font-weight: 600;
    color: var(--color-primary) !important;
    padding: 0.5rem 1rem;
    transition: background-color var(--transition-ease), color var(--transition-ease);
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--color-bg-light);
    color: var(--color-primary) !important;
    border-radius: 0.25rem;
}


.hero {
    position: relative;
    /* background: url('logo.png') center/cover no-repeat; */
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background-color: rgba(0, 0, 0, 0.5); */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    color: white !important;
}

.hero p {
    font-size: 1.25rem;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    margin-top: 1.5rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 0.50rem 1rem;
    border: 1px solid white;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform var(--transition-ease), opacity var(--transition-ease);
}

.btn-hero:hover,
.btn-hero:focus {
    opacity: 0.9;
    transform: scale(1.03);
    color: white;
}



.svg-divider {
    display: block;
    line-height: 0;
    margin-top: -1px;
}

.svg-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.svg-divider svg path {
    fill: #ffffff;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.profile-img {
    width: 150px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}


#acerca {
    background-color: #ffffff;
    padding-top: 100px;
    padding-bottom: 100px;
}

#acerca .section-title {
    text-align: center;
}

#acerca .icon {
    font-size: 1.3rem;
    color: var(--color-accent);
    margin-right: 0.5rem;
}

#acerca h5 {
    font-weight: 600;
}

#acerca p {
    color: var(--color-text-dark);
}

#acerca ul {
    list-style: none;
    padding: 0;
}

#acerca ul li {
    margin-bottom: 0.75rem;
}

#acerca ul li i {
    margin-right: 0.5rem;
    color: var(--color-accent);
}


#cursos {
    background-color: var(--color-bg-light);
    padding: 80px 1rem;
}

#cursos .section-title {
    text-align: center;
}

.curso-card {
    border: none;
    transition: transform var(--transition-ease), box-shadow var(--transition-ease);
    border-radius: 0.5rem;
    overflow: hidden;
}

.curso-card img {
    object-fit: cover;
    height: 200px;
    width: 100%;
    object-position: top;
}

.curso-card-body {
    padding: 1.5rem;
}

.curso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-cursos {
    background: var(--color-primary);
    color: #fff;
    border-radius: 0.5rem;
    transition: background var(--transition-ease);
}

.btn-cursos:hover,
.btn-cursos:focus {
    background: var(--color-secondary);
    color: #fff;
}

.image-container {
    position: relative;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}


#contacto {
    padding-top: 80px;
    padding-bottom: 80px;
}

.image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    z-index: 2;
}



footer {
    background-color: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem;
}

footer a {
    color: #fff;
    margin: 0 0.5rem;
    transition: color var(--transition-ease);
}

footer a:hover,
footer a:focus {
    color: var(--color-accent);
}

footer p {
    margin: 0;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .profile-img {
        width: 140px;
    }

    #acerca {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}