:root {
    --primary: #348E38;
    --soft-primary: #b0cd65;
    --secondary: hsl(237, 12%, 36%);
    --light: #E8F5E9;
    --dark: rgb(15, 66, 41);
}

/* .back-to-top {
    position: fixed;
    display: none;
    right: 30p;
    bottom: 30px;
    z-index: 99;
} */

.standard-text {
    font-size: 1rem;
}

#actividades, #nosotros, #contacto, #about {
    scroll-margin-top: 100px; 
}

.border-green {
    border-color: var(--primary);
}

.section-spacing {
    margin-top: 50px;
    margin-bottom: 50px;
}

.text-soft-primary {
    color: var(--soft-primary) !important;
}

.bold {
    font-weight: bold;
}

.highlight {
    color: var(--dark);
    font-weight: 600;
}

.ms-8 {
    margin-left: 8rem !important
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary {
    background: var(--soft-primary);
    border: 2px solid var(--soft-primary);
    color: #FFFFFF;
}

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

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

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.icon-large {
    width: 60px; 
    height: 60px; 
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
#navbarCollapse {
    padding: 10px;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
    height: auto; 
}

.navbar .navbar-brand img {
    max-height: 80px; 
    margin: auto 0; 
}

.navbar a.btn {
    height: 80px;
    padding-bottom: 20px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

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

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6) !important;
    z-index: 1;
}
.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}

.feature-box {
    min-height: 160px;
    border-radius: 4px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.p-title {
    font-size: 1.5rem;
    margin-bottom: 2px;
    font-family: 'Jost', sans-serif;
    color: var(--dark);
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
    line-height: 1.2;
}

@media (max-width: 1400px) {
    .p-title {
        font-size: 1.3rem;
    }

    .span-title {
        font-size: 0.65rem !important;
    }


}

.span-title {
    font-size: 0.84rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.2;
}

.icon-large {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .p-title, .span-title {
        white-space: normal; 
    }
    
    .feature-box {
        margin-bottom: 1rem;
    }
}

/*** Frase & Quote ***/
.frase,
.quote {
    background: rgba(15, 66, 41, .6);
}

.bg-overlay {
    display: inline-block;
}

/*** What to Expect ***/
.what-to-expect .icon-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 30px;
    padding-top: 40px;
}

.what-to-expect .icon-container h5 {
    margin-bottom: 10px;
    text-align: left;
}

.what-to-expect .icon-container p {
    margin-bottom: 0;
    text-align: left;
}

@media (max-width: 991px) {
    .what-to-expect .icon-container {
        align-items: center;
        text-align: center;
    }

    .what-to-expect .icon-container h5,
    .what-to-expect .icon-container p {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .what-to-expect .col-lg-3 img {
        margin-top: 30px;
    }
}

/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    padding: 10px;
}

.service-item:hover {
    transform: scale(1.05);
}

.service-img {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.service-item:hover .service-img img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
}

.service-item:hover .overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

.overlay-label {
    background: #b0cd65;
    color: white;
    padding: 15px 30px; 
    font-size: 1rem; 
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.service-item:hover .overlay-label {
    transform: scale(1.1);
    background-color: #9bbf55; 
}

.service-item.actualidad .border-frame {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid white;
    border-radius: 5px;
    transition: border-color 0.3s ease-in-out;
}

.service-item.actualidad:hover .border-frame {
    border-color: #b0cd65;
}

/*** Actividades ***/
.actividades-item {
    position: relative;
    text-align: center;
}

.actividades-item .actividades-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.actividades-item .actividades-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.actividades-item:hover .actividades-img img,
.actividades-item-destacado .actividades-img img {
    transform: scale(1);
}

.actividades-item .actividades-text {
    background: #fff;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.actividades-item:hover .actividades-text,
.actividades-item-destacado .actividades-text {
    background: rgba(15, 66, 41, .6);
}

.actividades-item .actividades-text h4,
.actividades-item .actividades-text p {
    transition: .3s;
}

.actividades-item:hover .actividades-text h4,
.actividades-item-destacado .actividades-text h4 {
    color: #FFFFFF;
}

.actividades-item:hover .actividades-text p,
.actividades-item-destacado .actividades-text p {
    color: var(--light);
}

.actividades-item .actividades-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

/*** About ***/
.about-item {
    background: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.about-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.about-img {
    width: 240px;
    height: 240px;
    overflow: hidden;
    border: 8px solid var(--soft-primary);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-item p {
    color: #666666;
    line-height: 1.6;
}

.about-item {
    transition: all 0.3s ease-in-out;
}

.divider-custom {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.divider-custom .line {
    width: 80px;
    height: 3px;
    background-color: var(--soft-primary); 
}

/*** Testimonial ***/
.testimonial-carousel .testimonial-item img {
    width: 100px;
    height: 100px;
    object-fit: cover; 
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color:  #fff;
    background: var(--dark);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--soft-primary);
}

/*** Footer ***/
.footer {
    background-color: #103c25;
    font-size: 14px;
    padding: 20px 0;
}

.footer-title{
    color: var(--soft-primary);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.footer-link {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    margin-bottom: 5px;
}

.footer-link:hover {
    color: var(--soft-primary);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

.text-anelis {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    display: inline-block; 
    transform-origin: center; 
    line-height: 1.2; 
}

.text-anelis:hover {
    transform: scale(1.1); 
    color: var(--soft-primary) !important;
}

@media (min-width: 769px) { 
    .contact-info {
        padding-left: 25%;
    }
}

#alicante .specific-margin,
#madrid .specific-margin {
    margin: 0;
}