/********** Template CSS **********/
:root {
    --primary: #921E30; /* Rojo Vino - Color principal de Easy For You Now */
    --light: #F8F9FA;  /* Gris muy claro - Fondo general */
    --dark: #212529;   /* Gris oscuro - Texto principal */
    --secondary: #A50932; /* Rojo más intenso - Color secundario */
    --accent: #C0B585;  /* Beige/Dorado claro - Color acento */
}

body {
    font-family: 'Heebo', sans-serif; /* Fuente moderna y legible */
    color: var(--dark);
    background: var(--light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif; /* Fuente para títulos */
    font-weight: 700; /* Títulos en negrita */
    color: var(--dark);
}

.ff-secondary {
    font-family: 'Pacifico', cursive; /* Fuente para elementos decorativos */
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.back-to-top i {
    font-size: 24px; /* Aumentado el tamaño del icono de flecha */
    color: #fff; /* Flecha blanca */
}

.back-to-top:hover {
    background: var(--primary); /* Cambio de color al pasar el mouse */
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    transition: .5s;
    border-radius: 8px; /* Bordes redondeados para los botones */
}

.btn.btn-primary {
    color: #FFFFFF;
    background: var(--primary);
    border: none; /* Elimina el borde por defecto de Bootstrap */
}

.btn.btn-primary:hover {
    background: #7B1727; /* Un tono más oscuro del rojo vino */
    color: #FFFFFF;
}

.btn.btn-secondary {
    color: #FFFFFF;
    background: var(--secondary);
    border: none;
}

.btn.btn-secondary:hover {
    background: #63051E;
    color: #FFFFFF;
}


.btn-square {
    width: 46px; /* Aumentado el tamaño de los botones cuadrados */
    height: 46px;
}

.btn-sm-square {
    width: 38px;
    height: 38px;
}

.btn-lg-square {
    width: 56px; /* Aumentado el tamaño de los botones cuadrados grandes */
    height: 56px;
}

.rounded-pill {
    border-radius: 50px;
}


/*** Navbar ***/
.navbar .navbar-brand h1 {
    color: var(--primary);
    font-size: 30px; /* Tamaño de fuente más grande para el logo */
    font-weight: 700;  /* Logo en negrita */
    letter-spacing: 1px;
}

.navbar .navbar-nav .nav-item .nav-link {
    margin-left: 25px; /* Aumentado el espacio entre items del menú */
    padding: 10px;
    color: #FFFFFF;
    font-weight: 600; /* Menú en negrita */
    text-transform: uppercase;
    border-bottom: 2px solid transparent; /* Para la animación del hover */
    transition: border-bottom .3s ease;
}

.navbar .navbar-nav .nav-item .nav-link:hover,
.navbar .navbar-nav .nav-item .nav-link.active {
    color: #FFFFFF;
    border-bottom-color: var(--primary); /* Línea inferior al hacer hover o activo */
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-item .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav .nav-item .nav-link:hover,
    .navbar .navbar-nav .nav-item .nav-link.active {
        border-bottom-color: transparent; /* Sin línea inferior en pantallas pequeñas */
    }
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255,255,255,.1);
}

.navbar-dark .navbar-toggler:hover,
.navbar-dark .navbar-toggler:focus {
    border-color: rgba(255,255,255,.5);
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(146, 30, 48, 0.7), rgba(146, 30, 48, 0.7)), url(../img/fondo.gif); /* Fondo degradado sobre el GIF */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header h1 {
    font-size: 64px; /* Tamaño de título más grande */
    font-weight: 800; /* Título extra negrita */
    color: #FFFFFF;
    margin-bottom: 30px;
}

.hero-header p {
    color: #FFFFFF;
    font-size: 20px; /* Tamaño de descripción aumentado */
    line-height: 1.8;
    margin-bottom: 45px;
}

/*** Service ***/
.service-item {
    text-align: center;
    border-radius: 10px; /* Bordes redondeados para los items de servicio */
    background: #FFFFFF;
    transition: .3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombreado suave */
    height: 100%; /* Ensure equal height for all service items */
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-8px);
}

.service-item i {
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 48px; /* Iconos más grandes */
}

.service-item h5 {
    margin-bottom: 15px;
    font-size: 20px; /* Tamaño de título aumentado */
}

.service-item p {
    line-height: 1.7;
    color: var(--secondary);
    padding: 0 20px;
}


/*** About ***/
.about .section-title {
    position: relative;
    display: inline-block;
}

.about .section-title::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.about h1 {
    font-size: 48px; /* Tamaño de título aumentado */
    margin-bottom: 25px;
}

.about p {
    line-height: 1.8;
    color: var(--secondary);
    margin-bottom: 30px;
}

.about .about-img {
    position: relative;
}

.about .about-img img {
    border-radius: 10px; /* Bordes redondeados para la imagen About Us */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about .about-img::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border: 3px solid var(--primary);
    border-radius: 10px;
    z-index: 1;
}

.about .row.g-2 i {
    margin-right: 10px;
    color: var(--primary);
    font-size: 18px; /* Iconos de check aumentados */
}

.about .row.g-2 p{
    color: var(--dark);
}


/*** Team ***/
.team-item {
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF;
    transition: .3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-item:hover {
    transform: translateY(-8px);
}

.team-item .rounded-top img {
    object-fit: cover;
    width: 100%;
    height: 250px; /* Altura fija para las imágenes de los profesores */
}

.team-item .pt-3 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.team-item h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-item span {
    color: var(--secondary);
    font-size: 14px;
    display: block;
    margin-bottom: 0;
    padding: 0 10px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item.center {
    transform: scale(1.15); /* Testimonio central más grande */
}

.testimonial-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 8px; /* Aumentado el espacio entre los puntos */
    width: 16px; /* Puntos más grandes */
    height: 16px;
    border-radius: 50%;
    background: #E6E6E6; /* Color de los puntos inactivos */
    transition: background-color 0.3s ease;
}

.testimonial-carousel .owl-dot.active {
    background-color: var(--primary); /* Color de punto activo */
    width: 24px; /* El punto activo es más ancho */
}

.testimonial-item {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    margin: 0 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-item img {
    width: 70px; /* Imagen de perfil más grande */
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.testimonial-item h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-item span {
    color: var(--primary);
    font-size: 14px;
}

.testimonial-item p {
    margin-top: 15px;
    line-height: 1.7;
    color: var(--secondary);
}


/*** Contact ***/
.contact .section-title {
    position: relative;
    display: inline-block;
}

.contact .section-title::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.contact h1 {
    font-size: 48px; /* Aumentado tamaño título */
    margin-bottom: 25px;
}

.contact p {
    line-height: 1.8;
    color: var(--secondary);
    margin-bottom: 30px;
}

.contact .contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact .contact-info .contact-icon {
    width: 60px; /* Iconos de contacto más grandes */
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #FFFFFF;
    font-size: 24px; /* Iconos de contacto más grandes */
}

.contact .contact-info .contact-text h5 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact .contact-info .contact-text p {
    margin-bottom: 0;
    color: var(--secondary);
    font-size: 16px;
}

.contact-form {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form .form-floating input,
.contact-form .form-floating textarea {
    border-radius: 8px;
}

.contact-form .form-floating label {
    color: var(--secondary);
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: #7B1727;
}


/*** Footer ***/
.footer {
    background: var(--dark);
    color: #FFFFFF;
}

.footer .section-title {
    position: relative;
    display: inline-block;
}

.footer .section-title::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.footer h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer p {
    line-height: 1.8;
    color: var(--secondary);
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 46px; /* Aumentado tamaño botón social */
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 2px solid #FFFFFF; /* Aumentado grosor borde */
    border-radius: 50%;
    transition: .3s;
    font-size: 20px; /* Aumentado tamaño icono social */
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    background-color: #FFFFFF;
    border-color: #FFFFFF;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px; /* Aumentado espacio entre enlaces */
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 18px; /* Aumentado tamaño fuente enlace */
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 15px; /* Aumentado espacio antes de la flecha */
    font-size: 14px; /* Aumentado tamaño flecha */
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 16px; /* Aumentado tamaño fuente copyright */
    color: var(--secondary);
    border-top: 1px solid #444444;
}

.footer .copyright a {
    color: var(--primary);
    transition: .3s;
    text-decoration: none;
}

.footer .copyright a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer .footer-menu {
    text-align: right;
}

.footer .footer-menu a {
    margin-left: 25px; /* Aumentado espacio entre items del menú del footer */
    color: #FFFFFF;
    font-weight: 600; /* Menú del footer en negrita */
    text-decoration: none;
    transition: .3s;
    font-size: 16px; /* Aumentado tamaño de fuente */
}

.footer .footer-menu a:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .footer .footer-menu {
        text-align: center;
        margin-top: 15px;
    }

    .footer .footer-menu a {
        margin-left: 15px;
    }
}

/* Newsletter Subscription */
.footer .position-relative input {
    height: 55px;
    padding: 0 150px 0 30px;
    border-radius: 10px;
    border: 1px solid #FFFFFF;
    background: transparent;
    font-size: 18px; /* Aumentado tamaño de fuente */
    color: #FFFFFF;
}

.footer .position-relative input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(146, 30, 48, 0.25);
}


.footer .position-relative button {
    position: absolute;
    top: 6px;
    right: 6px;
    height: 43px;
    padding: 0 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 18px; /* Aumentado tamaño de fuente */
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    transition: .3s;
}

.footer .position-relative button:hover{
    background: #7B1727;
}
