header {
    position: fixed;
    width: 100%;
    background-color: #4686A3;
    transition: background-color 0.5s, backdrop-filter 0.5s;
    z-index: 1000;
    color: skyblue;
    padding: 0.50rem; 
    font-family: 'Montserrat', sans-serif;
}

header.header-scrolled {
    background-color: rgba(70, 106, 129, 0.8); 
    backdrop-filter: blur(0.3vh); 
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw; 
}

header .logo img {
    width: 4vw; 
    height: auto;
    margin-left: 0.8vw; 
    margin-top: 0.3vh; 
}

header nav {
    margin-left: auto;
}

header nav ul {
    display: flex;
    list-style: none;
    padding: 0.8vh 0; 
    margin-right: 4vw; 
}

nav ul li {
    margin: 0 1vw; 
}

nav ul li a {
    color: skyblue;
    text-decoration: none;
    font-size: 1rem; 
    transition: color 0.5s ease;
    font-family: 'Montserrat', sans-serif;
}

nav ul li a:hover {
    color: aliceblue;
}



body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%); 
        opacity: 0; 
    }
    100% {
        transform: translateX(0); 
        opacity: 1; 
    }
}

@keyframes buttonSlideIn {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.section {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 100vh;
    overflow: hidden;
}

.section .image {
    flex: 1;
}

.section .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section .text {
    flex: 0.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5vw;
    background-color: #5AABD1;
    animation: slideInFromLeft 1.5s ease-out;
}

.section .text h2 {
    font-size: 3vw; 
    margin-bottom: 2vh;
    color: black;
    text-align: center;
}

.section .text p {
    max-width: 60vw;
    text-align: center;
    margin: 0;
    font-size: 1.2vw; 
    line-height: 1.6;
    color: white;
}

.contact-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(85, 162, 197, 0.2);
    z-index: 2;
}

.contact-button {
    position: relative;
    z-index: 3;
    color: white;
    border: none;
    padding: 2vh 5vw; 
    font-size: 1.2rem;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem; 
    background-color: rgba(99, 189, 231, 0.7);
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: buttonSlideIn 3s ease-out; 
}

.contact-button:hover {
    background-color: rgba(103, 196, 240, 1);
    transform: translateY(-2vh);
}

.carrusel{
    max-width: 100%;
  overflow: hidden;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carrusel img {

  height: 100vh;
  
 
}

/* Flecha izquierda (blanca) */
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234686A3' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 0-.708 0L4.793 7.5l5.853 5.854a.5.5 0 0 0 .708-.708L6.207 7.5l5.147-5.146a.5.5 0 0 0 0-.708z'/%3E%3C/svg%3E");
}

/* Flecha derecha en color #4686A3 */
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%234686A3' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0L11.207 7.5l-5.853 5.854a.5.5 0 0 1-.708-.708L9.793 7.5 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.tax-regime-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #5AABD1;
    text-align: center;
}

.icon-container {
    width: 15vw; 
    height: 15vw; 
    margin-bottom: 3vh; 
}

.icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1);
}

.icon:hover {
    filter: brightness(0) invert(1) sepia(1) hue-rotate(150deg) saturate(4);
    transform: scale(1.1);
}

.tax-title {
    font-size: 4vw; 
    color: #000;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.tax-title:hover {
    transform: translateY(-1vh);
    color: #67C4F0;
}

.icon-container, .tax-title {
    cursor: pointer;
    pointer-events: auto;
}

.icon-container:active, .tax-title:active {
    transform: scale(0.95);
}

footer {
    background-color: #386A81;
    color: #63BDE7;
    padding: 1vh 0; 
    text-align: center;
    position: fixed; 
    bottom: 0; 
    width: 100%; 
    z-index: 2;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin: 0;
}


