body {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #798696;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 12px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #374050;
}

h1 {
    font-size: 38px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
}

a {
    font-family: 'Lato', sans-serif;
    color: #374050;
    font-weight: 700;
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
    color: #374050;
    opacity: 0.9;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.white-text {
    color: #FFF;
}

.section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-header {
    margin-bottom: 40px;
}

.navbar-brand .logo>img {
    max-height: 30px;
}

#header {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid rgba(235, 235, 235, 0.25);
    background-color: #FFF;
    transition: 0.2s all;
}

#header.transparent-nav {
    position: absolute;
    background-color: transparent;
}

#header.transparent-nav .main-menu li a {
    color: #FFF;
}

.main-menu li a {
    text-transform: uppercase;
    transition: 0.2s all;
}

.main-menu li a:hover,
.main-menu li a:focus {
    background-color: transparent;
}

.bg-image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-position: center;
    background-size: cover;
}

.bg-image.bg-parallax {
    background-attachment: fixed;
}

.bg-image.overlay:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom, #374050 0%, #798696 100%);
    opacity: 0.7;
}

.hero-area {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

#home.hero-area {
    height: calc(100vh - 80px);
    padding-top: 0px;
    padding-bottom: 0px;
}

.home-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.service-card .icon {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 15px;
}

.promo-card {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.promo-card img {
    width: 100%;
    height: auto;
}

.promo-details {
    padding: 20px;
    text-align: center;
}

.promo-details .price {
    font-size: 24px;
    color: #e74c3c;
    margin: 10px 0;
}

#testimonials {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-card h5 {
    margin-top: 15px;
    font-weight: bold;
    color: #333333;
}

.testimonial-text {
    font-style: italic;
    color: #555555;
}

.main-button {
    position: relative;
    display: inline-block;
    padding: 10px 30px;
    background-color: #FF6700;
    border: 2px solid transparent;
    border-radius: 40px;
    color: #FFF;
    transition: 0.2s all;
}

.main-button:hover,
.main-button:focus {
    background-color: #fff;
    border: 2px solid #FF6700;
    color: #FF6700;
}

footer {
    background: #374050;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.about-img img {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.carousel-inner .testimonial-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.carousel-inner .testimonial-card:hover {
    transform: translateY(-5px);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #374050;
    border-radius: 50%;
}

.spacer {
    margin: 20px 0;
}

.navbar-brand .logo>img {
    max-height: 80px;
    height: auto;
}

.navbar-header {
    width: 100%;
}

.navbar-toggle {
    font-size: 1.5em;
    padding: 10px;
}

.navbar-brand img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .navbar-nav {
        margin-top: 10px;
    }
}

/* Navbar */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #FF6700, #E94E77);
    padding: 15px 0;
    transition: 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#header.transparent-nav {
    background: transparent;
    box-shadow: none;
}

#header .main-menu {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

#header .main-menu li {
    list-style: none;
}

#header .main-menu li a {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #FFF;
    padding: 10px 20px;
    transition: all 0.3s ease;
    position: relative;
}

#header .main-menu li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fff;
    transition: 0.4s ease-in-out;
}

#header .main-menu li a:hover:after {
    width: 100%;
    left: 0;
}

#header .main-menu li a:hover {
    color: #FFD700;
}

/* Header Base */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #FF6700, #E94E77);
    /* Color sólido inicial */
    padding: 15px 0;
    transition: 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Cuando hace scroll */
#header.scrolled {
    background: linear-gradient(135deg, #374050, #FF6700);
    /* Cambio de color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Navbar Links */
#header .main-menu li a {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #FFF;
    padding: 10px 20px;
    transition: all 0.3s ease;
    position: relative;
}

#header .main-menu li a:hover {
    color: #FFD700;
}

/* Animación de subrayado */
#header .main-menu li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fff;
    transition: 0.4s ease-in-out;
}

#header .main-menu li a:hover:after {
    width: 100%;
    left: 0;
}

.program-card,
.service-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.program-card img,
.service-card .icon {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.program-card .program-details h3,
.service-card h4 {
    margin-bottom: 10px;
    color: #333;
}

.program-card .program-details p,
.service-card p {
    color: #555;
}

.main-button {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.main-button:hover {
    background-color: #0056b3;
}

/* General Styles for the Expertise Section */
#expertise .sector-box {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#expertise .sector-box:hover {
    transform: translateY(-7px);
    box-shadow: 0px 7px 14px rgba(0, 0, 0, 0.2);
}

#expertise .sector-box img {
    max-width: 220px;
    height: 170px;
    object-fit: cover;
    display: block;
    margin: 0 auto 20px;
    border: 4px solid #007bff;
    /* Border around the image */
    border-radius: 8px;
    /* Rounded corners for the border */
}

#expertise .sector-box i {
    color: #007bff;
    font-size: 3rem;
    /* Larger icon size */
    margin-bottom: 20px;
}

#expertise h5 {
    font-size: 2rem;
    /* Larger heading font size */
    font-weight: bold;
    margin-bottom: 15px;
}

#expertise p {
    font-size: 1.2rem;
    /* Larger font size for text */
    line-height: 1.8;
}

#expertise .row {
    margin-bottom: 50px;
    /* Increased vertical spacing between rows */
}

.compromiso-section {
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.compromiso-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.compromiso-text {
    flex: 1 1 60%;
    padding: 20px;
}

.compromiso-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.compromiso-text p {
    font-size: 40px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.compromiso-image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.compromiso-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* Certificación Section */
#certificacion {
    background-color: #eaf3ff;
    padding: 80px 0;
    color: #333;
    font-family: 'Arial', sans-serif;
}

#certificacion .container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

#certificacion h3 {
    font-size: 40px;
    color: #0056b3;
    margin-bottom: 30px;
}

#certificacion p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

#certificacion .icon {
    font-size: 40px;
    color: #007bff;
    margin-top: 20px;
}

#certificacion .img-certificado {
    max-width: 300px;
    margin-top: 30px;
    border-radius: 10px;
}

.bg-gradient {
    background: linear-gradient(135deg, #007bff 0%, #3ab7ff 100%);
    padding: 80px 0;
}

.test-promo-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefits-list {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #3ab7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.icon-box i {
    color: #fff;
    font-size: 1.5rem;
}

.benefit-content h4 {
    color: #fff;
    margin-bottom: 5px;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cta-box {
    position: relative;
    padding: 30px;
}

.cta-image {
    max-width: 250px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: #ff6b6b;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 107, 107, 0.4);
    color: #fff;
}

.cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.text-small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

/* Estilos originales, sin cambios */
.centered-program-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 15px auto;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 700px; /* Para que no sea demasiado ancha */
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.centered-program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.centered-program-card .program-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.centered-program-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.centered-program-card .program-text {
    color: #555;
    text-align: justify;
}

.centered-program-card .program-features {
    color: #666;
    font-size: 1em;
    text-align: justify;
}

/* Nueva clase para evitar conflictos */
.program-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.program-card-flex { /* Nuevo nombre de clase */
    width: 50%;
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card-flex:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.program-card-flex img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}


.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    color: white;
}
.section-divider {
    width: 80%;
    height: 3px;
    background: linear-gradient(to right, #007bff, #ff5733);
    margin: 50px auto;
    border-radius: 5px;
    opacity: 0.7;
}
footer a:hover {
    color: #f8b400 !important; /* Color dorado al hacer hover */
}
.social-icon {
    color: white !important;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #f8f9fa; /* Ligero cambio al pasar el mouse */
}


@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .compromiso-container {
        flex-direction: column;
    }

    .compromiso-text {
        flex: 1 1 100%;
        text-align: center;
    }

    .compromiso-image {
        flex: 1 1 100%;
        margin-top: 20px;
    }

    .compromiso-text h2 {
        font-size: 2em;
    }

    .compromiso-text p {
        font-size: 1em;
    }
}