/* FONTS */
@import url(../css/clash-display.css);
@font-face {
    font-family: Kubers;
    src: url(../fonts/Gilbert-Bold.otf) format("opentype");
}

/* VARIABLES */
:root {
    --bgColor: #fef4e5;
    --yellow: #ffc843;
    --primary: #05ce7c;
    --red: #ff4338;
    --blue: #00b3e3;
    --green: #05ce7c;
    --deep-blue: #002f32;
    --c-dark: #002f32;
    --c-brand: #4e57d4;
    --c-brand-light: #6970dd;
    --c-brand-rgb: 78, 87, 212;
    --c-body: #727272;
    --font-base: "ClashDisplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: all 0.5s ease;
}

/* RESET & HELPERS */
body {
    background-color: var(--bgColor);
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-body);
    
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    /*HORZONTAL SCROLL, UNTIL FIX */
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2, h3,h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-base);
    font-weight: 600;
    color: var(--c-dark);
}
p{
    color: var(--c-dark);
    font-size: 1.2rem;
}

a {
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

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

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--bgColor);
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}


.section-padding {
    padding-bottom: 150px;
}

/* ------------------------------------------------------------------------------------------------------------------------------ NAVBAR ------------------------------------------------------------------------------------------------------------------------------ */
.navbar {
    max-height: 100px;
    background-color: var(--deep-blue);
    
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--bgColor);
    background-color: var(--deep-blue);
}

.navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar img {
    max-width: 120px;
}

/* BTN */
.btn {
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 28px 24px;
}

.btn-brand {
    background-color: var(--deep-blue);
    color: white;
}
.btn-hero {
    background-color: var(--primary);
}

.btn-hero:hover {
    background-color: var(--deep-blue);
    border-color: var(--bgColor);
    color: var(--bgColor);
}
.btn-brand:hover {
    background-color: var(--bgColor);
    border-color: var(--deep-blue);
    color: black;
}

.primary{
    background: var(--bgColor);
}


/* ------------------------------------------------------------------------------------------------------------------------------ INDEX  ------------------------------------------------------------------------------------------------------------------------------ */

/* IMAGE ZOOM */
.image-zoom {
    position: relative;
    /* overflow: hidden; */
}

.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img{
     transition: var(--transition);
     border-radius: 50%;
}

.image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.001);
}

/* HERO SECTION  */

 .change-color{
     width: 100%;
 }
 .change-color h1 {
    position: relative;
}

.change-color h1 span {
    font-weight: bold;
    color: transparent;
    background: linear-gradient(110deg, rgba(255,67,56,1) 0%, rgba(255,67,56,1) 5%, rgba(255,67,56,1) 20%, rgba(255,200,67,1) 25%, rgba(255,200,67,1) 30%, rgba(255,200,67,1) 45%, rgba(5,206,124,1) 50%, rgba(5,206,124,1) 55%, rgba(5,206,124,1) 70%, rgba(0,179,227,1) 75%, rgba(0,179,227,1) 80%, rgba(0,179,227,1) 95%, rgba(0,179,227,1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-background-size: 500%;
    background-size: 500%;
    animation: animate 11s linear infinite alternate;
    opacity: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    display: inline-block;
}

@keyframes animate {
    0% {
        background-position: 0 100%;
    }
    50% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 100%;
    }
}


#dynamic-word, #dynamic-word-paragraph {
    opacity: 1;
    transform: translateY(0); /* Initial position */
    transition: opacity 0.5s ease-in-o  ut, transform 0.5s ease-in-out; /* Transition both opacity and position */
}

.slogan-section{
    position: relative;
    background-color: var(--deep-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.slogan-img{
    max-width: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.hero-section {
    z-index: auto;
    position: relative;
    top: 100px;
    margin-top: -100px;
    min-height: 100vh;
    background-color: var(--deep-blue);
    background-image: url('../images/hero_bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-section .text-content h1 {
    font-size: 80px;
    font-weight: 1000;
    word-wrap: break-word;
}

.hero-section .text-content h1 span{
    font-size: 80px;
    font-weight: 1000;
    color: transparent;
}

@media screen and (max-width: 1600px) {
    .hero-section .text-content h1{
        font-size: 30px;
    }
    .hero-section .text-content h1 span{
        font-size: 30px;
    }
  }
@media screen and (max-width: 500px) {
    .hero-section {
        background-image: none;
        min-height: 700px;
        top: 0px;
        margin-top: 0px;
    }
    .team-title{
        flex-direction: column;
    }
    .slogan-img{
        max-width: 300px;
    }
    
  }

.hero-section .text-content p {
    margin: 20px 0;
    font-size: 1.2rem;
}

#hero {
    /* background: linear-gradient(rgba(var(--c-brand-rgb), 0.507), rgba(var(--c-brand-rgb), 0.438)), url(../images/hero-1.jpg); */
    background-position: center;
    min-height: 100vh;
    background-size: cover;
}

/* ------------------------------------------------------------------------------------------------------------------------------ CATALOG  ------------------------------------------------------------------------------------------------------------------------------ */

#catalogo-section{
    min-height: calc(100vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.catalogo-titulo p{
    font-weight: bold;
}

.catalogo-productos::-webkit-scrollbar {
    width: 7px;
}

/* Track */
.catalogo-productos::-webkit-scrollbar-track {
    background: transparent; 
}

/* Handle */
.catalogo-productos::-webkit-scrollbar-thumb {
    border-radius: 5pt;
    background: var(--green); 
}

/* Handle on hover */
.catalogo-productos::-webkit-scrollbar-thumb:hover {
    background: var(--blue); 
}


/* Hide scrollbar for IE, Edge and Firefox */
.catalogo-productos {
    max-height: 75vh;
    min-height: 75vh;
    overflow-y: scroll; /* Enable vertical scrolling */
    overflow-x: hidden; /* Disable horizontal scrolling */
    padding: 32px;
    border: 2px solid var(--deep-blue);
    border-radius: 20px;   
}


#ecosistema{
    height: calc(100vh - 100%);
    min-height: calc(100vh - 100px);
}

.ecosistema-img {
    max-width: 700px;
    width: 100%;
    height: auto; /* Mantiene la proporción de la imagen */
    margin-left: auto; /* Centra la imagen horizontalmente */
    margin-right: auto; /* Centra la imagen horizontalmente */
}


.name-tag {
    display: flex;
    align-items: center;
    background-color: var(--deep-blue);
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
    margin: 16px 0;
}

.icon{
    width: 25px;
    height: 25px;
    opacity:0.988;
    fill-rule:evenodd;
    clip-rule:evenodd;
    enable-background:new;
}

.icon-yellow {
    fill: var(--yellow);
    background-color: transparent;
    width: 30px;
    height: 30px;
    border-radius: 20px 0 20px 20px;
}
.icon-red {
    fill: var(--red);
    background-color: transparent;
    width: 30px;
    height: 30px;
    border-radius: 20px 0 20px 20px;
}
.icon-green {
    fill: var(--green);
    background-color: transparent;
    width: 30px;
    height: 30px;
    border-radius: 20px 0 20px 20px;
}
.icon-blue {
    fill: var(--blue);
    background-color: transparent;
    width: 30px;
    height: 30px;
    border-radius: 20px 0 20px 20px;
}

.text {
    font-weight: bold;
    font-size: 23px;
    margin-left: 10px;
}

.icon-yellow h1{
    color: var(--yellow) !important;
}

.banner{
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.banner .slide{
    position: absolute;
    width: 250px;
    height: 250px;
    top: 10%;
    left: calc(50% - 100px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
    z-index: 2;
}

@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.banner .slide .item{
    position: absolute;
    inset: 0 0 0 0;
    transform: rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))translateZ(550px);
    -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, rgba(4, 4, 4, 0.267));
}
.banner .slide .item img{
    width: 130%;
    height: 130%;
    object-fit: cover;
}

.banner .content{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.banner .content .model{
    background-image: url(../images/K.svg);
    width: 100%;
    height: 25vh;
    position: absolute;
    bottom: -150%;
    left: 0;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}



.box {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    animation: rotation 10s linear infinite;

}

.box:hover{
    animation-play-state: paused;
}


@keyframes rotation {
    0%{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }
    100%{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.box span{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 36deg)) translateZ(450px);
    -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, rgba(4, 4, 4, 0.267));
}



.box span img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.5s;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease, background-color 0.5s ease;
    border-radius: 50%;
}
.black-overlay{
    background: var(--deep-blue);
}
.blue-overlay {
    background: rgba(0, 178, 227, 1); /* Azul */
}

.red-overlay {
    background: rgba(255, 66, 56, 1)/* Rojo */
}

.green-overlay {
    background: rgba(5, 206, 126, 1)/* Verde */
}

.yellow-overlay {
    background: rgba(255, 198, 66, 1); /* Amarillo */
}
.blue-overlay:hover {
    transform: scale(1.002); /* Aumenta ligeramente el tamaño de la imagen */

    transition: transform 0.5s ease; /* Transición suave para el efecto de zoom */
}
.yellow-overlay:hover {
    transform: scale(1.002); /* Aumenta ligeramente el tamaño de la imagen */

    transition: transform 0.5s ease; /* Transición suave para el efecto de zoom */
}
.red-overlay:hover {
    transform: scale(1.002); /* Aumenta ligeramente el tamaño de la imagen */

    transition: transform 0.5s ease; /* Transición suave para el efecto de zoom */
}
.green-overlay:hover {
    transform: scale(1.002); /* Aumenta ligeramente el tamaño de la imagen */

    transition: transform 0.5s ease; /* Transición suave para el efecto de zoom */
}


.team-member:hover .overlay {
    opacity: 1;
}

.team-member:hover img {
    transform: scale(1.1);
}

.slide-tool {
     background: var(--deep-blue);
}
.slide-tool img{
    border-radius: 100px;
}

/* Estilos básicos para el contenedor del slider */
.slider {
    overflow: hidden;
    position: relative;
    width: 100%; /* Asegúrate de que el contenedor del slider sea flexible en términos de ancho */
    height: auto; /* Altura automática para ajustarse al contenido */
  }
  
  /* Efecto de desvanecimiento en los bordes del slider */
  .slider::before, .slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px; /* Ajusta esto para controlar el ancho del área de desvanecimiento */
    height: 100%;
    pointer-events: none;
    z-index: 2;
  }
  
  .slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(254, 244, 229,1), rgba(254, 244, 229,0));
  }
  
  .slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(254, 244, 229,1), rgba(254, 244, 229,0));
  }
  
  /* Ajusta la pista y cada slide */
  .slide-track {
    display: flex;
    width: auto; /* Permitir que el track crezca según el número de slides */
    animation: scroll 60s linear infinite;
  }
  
  .slide-2 {
    margin-left: 30px;
    flex-shrink: 0;
    height: auto; /* Ajusta esto si la altura de las imágenes necesita cambio */
  }
  .slide-2:hover h1{
    color: var(--green);
  }
  .slide {
    min-width: 300px; /* Esto debería aplicarse sin problema */
    width: 300px; /* Agregar esto puede ayudar si `min-width` no está funcionando */
    flex-shrink: 0;
    height: auto; /* Ajusta esto si la altura de las imágenes necesita cambio */
  }
  
  .slide img {
    width: 100%;
    height: auto;
    display: block;
  }

  .pilar:hover{
    transform: scale(1.05); /* Aumenta ligeramente el tamaño de la imagen */

    transition: transform 0.5s ease; /* Transición suave para el efecto de zoom */  
}

.infographic-container {
    padding: 40px 0;
}
.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 24px;
    color: var(--bgColor);
}
.step-title {
    margin-bottom: 15px;
}
.step-content {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
}
.infographic-title {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 28px;
    font-weight: bold;
}
/* Hide step connector on mobile */
@media (max-width: 768px) {
    .step-connector:after {
        display: none;
    }
    html {
        overflow-x: hidden;
      }
}
.step-connector {
    position: relative;
    margin: 0 -15px;
}
.step-connector:after {
    content: '';
    position: absolute;
    top: 50px;
    height: 8px;
    left: 0;
    right: 0;
    background-image: linear-gradient(to right,rgba(255,67,56,1) 0%, rgba(255,67,56,1) 21%, rgba(255,200,67,1) 25%, rgba(255,200,67,1) 48%, rgba(5,206,124,1) 52%, rgba(5,206,124,1) 75%, rgba(0,179,227,1) 79%, rgba(0,179,227,1) 100% );
    /* border-bottom: 2px dashed black; */
    z-index: -1;
}


.card-custom {
    margin: 8px;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease; /* Adjust transition for smooth expanding effect */
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 0 0 auto;
}

.card-custom:hover {
    box-shadow: 0 0 20px rgba(0,0,0,0.2); /* Sombra alrededor de la imagen */
    transition: transform 0.3s ease, grid-column 0.3s ease;
    cursor: pointer; /* Opcional: cambia el cursor para indicar que se puede interactuar */
    transform: scale(1.05); /* Aumenta ligeramente el tamaño para dar efecto */
    z-index: 10; /* Asegúrate de que la tarjeta está sobre las demás */
    grid-column: 1 / -1; /* Esto hará que la tarjeta ocupe todas las columnas disponibles */
}

.card-custom {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.image-word{
    margin-left: 10px;
    max-width: 200px;
    height:fit-content;
}

#personas-kubers{
    background-color: var(--bgColor); /* Used if the image is unavailable */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
    background-attachment: fixed; /* Optional: fix the background image */
    -webkit-background-size: cover; /* Ensure compatibility with older browsers */
    -moz-background-size: cover;
    -o-background-size: cover;
    background-clip: border-box; /* Ensures background does not extend beyond the border */
}
#asesores-kubers{
    background-color: var(--bgColor); /* Used if the image is unavailable */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
    background-attachment: fixed; /* Optional: fix the background image */
    -webkit-background-size: cover; /* Ensure compatibility with older browsers */
    -moz-background-size: cover;
    -o-background-size: cover;
    background-clip: border-box; /* Ensures background does not extend beyond the border */
}
#profesionales-amarillo{
    background: url(../images/profesionales1.png);
    background-color: #cccccc; /* Used if the image is unavailable */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
    background-attachment: fixed; /* Optional: fix the background image */
    -webkit-background-size: cover; /* Ensure compatibility with older browsers */
    -moz-background-size: cover;
    -o-background-size: cover;
    background-clip: border-box; /* Ensures background does not extend beyond the border */
}
#profesionales-rojo {
    background: url(../images/profesionales2.png);
    background-color: #cccccc; /* Used if the image is unavailable */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
    background-attachment: fixed; /* Optional: fix the background image */
    -webkit-background-size: cover; /* Ensure compatibility with older browsers */
    -moz-background-size: cover;
    -o-background-size: cover;
    background-clip: border-box; /* Ensures background does not extend beyond the border */
}
#profesionales-azul{
    background: url(../images/profesionales3.png);
    background-color: #cccccc; /* Used if the image is unavailable */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
    background-attachment: fixed; /* Optional: fix the background image */
    -webkit-background-size: cover; /* Ensure compatibility with older browsers */
    -moz-background-size: cover;
    -o-background-size: cover;
    background-clip: border-box; /* Ensures background does not extend beyond the border */
}
#profesionales-verde{
    background: url(../images/profesionales4.png);
    background-color: #cccccc; /* Used if the image is unavailable */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
    background-attachment: fixed; /* Optional: fix the background image */
    -webkit-background-size: cover; /* Ensure compatibility with older browsers */
    -moz-background-size: cover;
    -o-background-size: cover;
    background-clip: border-box; /* Ensures background does not extend beyond the border */
}

/* INICIO MODAL DE PROFESIONALES */

/* Section color palette (background of each modal) */
.modal-yellow { background-color: var(--yellow); }
.modal-red    { background-color: var(--red); }
.modal-blue   { background-color: var(--blue); }
.modal-green  { background-color: var(--green); }

/* Full-screen shell: cover the whole viewport with no rounding/shadow.
   Everything is scoped under .modal-fullscreen so it overrides the generic
   catalog modal rules further down the file and never touches those modals. */
.modal-fullscreen .modal-dialog,
.modal-dialog.modal-fullscreen {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    margin: 0;
}
.modal-fullscreen .modal-content {
    height: 100vh;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}
.modal-fullscreen .modal-body {
    padding: 0;
    height: 100%;
    background-color: transparent;
    overflow: hidden;
}

/* Vertical split: image on the left half, info on the right half */
.modal-fullscreen .modal-flex {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}
.modal-fullscreen .modal-image-container {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}
.modal-fullscreen .modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    padding: 0;
}
.modal-fullscreen .modal-info-container {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 4.5rem;
    overflow-y: auto;
    position: relative;
}

/* Typography inside the info panel */
.modal-fullscreen .modal-info h2 {
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.05;
    margin-bottom: 0.4rem;
    color: inherit;
}
.modal-fullscreen .modal-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.6rem);
    font-weight: 600;
    margin-bottom: 1.75rem;
    color: inherit;
}
.modal-fullscreen .modal-semblanza {
    font-size: clamp(0.95rem, 1.05vw, 1.2rem);
    line-height: 1.65;
    text-align: justify;
    margin-bottom: 0;
    color: inherit;
}

/* Text contrast: dark ink on yellow, white on the darker colors */
.modal-fullscreen .modal-info-container.modal-yellow {
    color: var(--deep-blue);
}
.modal-fullscreen .modal-info-container.modal-red,
.modal-fullscreen .modal-info-container.modal-blue,
.modal-fullscreen .modal-info-container.modal-green {
    color: #ffffff;
}

/* TERMINA MODAL DE PROFESIONALES */

.footer-logo {
    max-width: 100vh;
}
.footer-logo img{
    max-width: 450px;
    min-width: 100px;
    
}

.testimonial-box h3{
    font-size: 20px;
}
.testimonial-box p{
    font-size: 17px;
}

.testimonial-box {
    background-color: var(--deep-blue);
    padding: 40px; /* Increased padding to make the card taller */
    border-radius: 50px;
    border-bottom-left-radius: 90px;
    border-top-left-radius: 15px;
    border-top-right-radius: 90px;
    position: relative;
    min-height: 400px; /* Increased height to make the card taller */
    border: 2px solid var(--deep-blue);
    /* border: 2px solid transparent;
    background: linear-gradient(var(--bgColor), var(--bgColor)) padding-box, linear-gradient(to right,rgba(255,67,56,1) 0%, rgba(255,67,56,1) 21%, rgba(255,200,67,1) 25%, rgba(255,200,67,1) 48%, rgba(5,206,124,1) 52%, rgba(5,206,124,1) 75%, rgba(0,179,227,1) 79%, rgba(0,179,227,1) 100% ) border-box; */
}
.test-border{
    border: 2px solid black;
}

.testimonial-box .person-img {
    border-radius: 50%;
    position: absolute;
    bottom: 25px; /* Positioning the image above the div */
    left: 25px; /* Adjust to center it based on your layout */
    width: 180px; /* Making the image larger */
    height: auto;
    z-index: 2; /* Ensures the image is above the div */
}

.testimonial-text{
    text-align: right;
}
/* .quote-shadow:before {
    content:"";
    position: absolute;
    inset: -5px;
    transform: translate(10px,8px);
    z-index: -1;
    background: conic-gradient(from 90deg at 40% -25%, #ffd700, #f79d03, #ee6907, #e6390a, #de0d0d, #d61039, #cf1261, #c71585, #cf1261, #d61039, #de0d0d, #ee6907, #f79d03, #ffd700, #ffd700, #ffd700);
    filter: blur(10px);
  } */
.quote1 img{
    max-width: 100px;
    height: auto;
    filter: drop-shadow(-12px 7px 3px var(--yellow));
}
.quote2 img{
    max-width: 100px;
    height: auto;
    filter: drop-shadow(-12px 7px 3px var(--blue));
}
.quote3 img{
    max-width: 100px;
    height: auto;
    filter: drop-shadow(-12px 7px 3px var(--green));
}
.process-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 430px;
    border-radius: 25px;
    border: 2px solid var(--deep-blue);
    padding-top: 10px;
    /* border: 2px solid transparent;
    background: linear-gradient(var(--bgColor), var(--bgColor)) padding-box, linear-gradient(to right,rgba(255,67,56,1) 0%, rgba(255,67,56,1) 21%, rgba(255,200,67,1) 25%, rgba(255,200,67,1) 48%, rgba(5,206,124,1) 52%, rgba(5,206,124,1) 75%, rgba(0,179,227,1) 79%, rgba(0,179,227,1) 100% ) border-box;
    border-radius: 25px; */

}

.card-number {
    font-size: 3rem;
    font-weight: bold;
    opacity: 0.6;
    position: absolute;
    top: -10px;
    left: 10px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.process-card-img-bottom {
    width: 100%;
    height: auto;
    border-radius: 25px;/* 
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px; */
}

.card-line {
    margin: 0;
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
}

.card-line-1 {
    
    background-image: linear-gradient(to right,rgba(255,67,56,1) 0%, rgba(255,67,56,1) 21%, rgba(255,200,67,1) 25%, rgba(255,200,67,1) 48%, rgba(5,206,124,1) 52%, rgba(5,206,124,1) 75%, rgba(0,179,227,1) 79%, rgba(0,179,227,1) 100% );
}

.card-line-2 {
    background-image: linear-gradient(to right,rgba(255,67,56,1) 0%, rgba(255,67,56,1) 21%, rgba(255,200,67,1) 25%, rgba(255,200,67,1) 48%, rgba(5,206,124,1) 52%, rgba(5,206,124,1) 75%, rgba(0,179,227,1) 79%, rgba(0,179,227,1) 100% );}

.card-line-3 {
    background-image: linear-gradient(to right,rgba(255,67,56,1) 0%, rgba(255,67,56,1) 21%, rgba(255,200,67,1) 25%, rgba(255,200,67,1) 48%, rgba(5,206,124,1) 52%, rgba(5,206,124,1) 75%, rgba(0,179,227,1) 79%, rgba(0,179,227,1) 100% );}

.card-line-4 {
    background-image: linear-gradient(to right,rgba(255,67,56,1) 0%, rgba(255,67,56,1) 21%, rgba(255,200,67,1) 25%, rgba(255,200,67,1) 48%, rgba(5,206,124,1) 52%, rgba(5,206,124,1) 75%, rgba(0,179,227,1) 79%, rgba(0,179,227,1) 100% );}

.btn-link {
    background: linear-gradient(to right,rgba(255,67,56,1) 0%, rgba(255,67,56,1) 21%, rgba(255,200,67,1) 25%, rgba(255,200,67,1) 48%, rgba(5,206,124,1) 52%, rgba(5,206,124,1) 75%, rgba(0,179,227,1) 79%, rgba(0,179,227,1) 100% );
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-weight: bold;  
    text-transform: uppercase;
    padding-left: 0;
}
.btn-link:hover {
    background: linear-gradient(to left,rgba(255,67,56,1) 0%, rgba(255,67,56,1) 21%, rgba(255,200,67,1) 25%, rgba(255,200,67,1) 48%, rgba(5,206,124,1) 52%, rgba(5,206,124,1) 75%, rgba(0,179,227,1) 79%, rgba(0,179,227,1) 100% );
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    font-weight:bolder;
    text-transform: uppercase;
    padding-left: 0;
    transition: 0.2s;
}


.step-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }
  .step img {
    width: 80px;
    height: auto;
    border-radius: 25px;
    overflow: hidden;
  }
  .step-number {
    background-color: var(--bgColor);
    padding: 8px;
    width: fit-content;
    font-size: 60px;
    font-weight: bold;
    color: var(--deep-blue);
    text-align: center;
  }
  .step-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    min-height: 150px;
    border-radius: 25px;
  }
  
  .step-title {
    color: var(--deep-blue);
    font-size: 18px;
    font-weight: bold;
    text-align: center;
  }
  .step-desc {
    color: var(--deep-blue);
    text-align: left;
  }
  .step-line {
    position: relative;
    top: -67px;
    margin-bottom: -15px;
    z-index: -1;
  }

.custom-card {
    color: white;
    height:fit-content;
    min-height: 370px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f7f7f7;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.custom-card-img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 0px;
    height: 200px;
    object-fit: cover;
    background-color: red;
}

.custom-card-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.5); /* Red color with 50% opacity */
    z-index: 1;
}

.custom-card-background{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-top: -55px;
    border-top-left-radius: 60px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 20px;

}

.team-description {
    padding-left: 80px;
}

.card-body .btn{
    background-color: var(--green);
    padding: 20px 24px;
}

.custom-card .card-body {
    padding: 25px;
    height:fit-content;
}

.custom-card .card-title {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.custom-card .card-text {
    text-align: left;
    margin-bottom: 0;
}

.custom-card .text-muted {
    text-align: left;
    font-size: 14px;
    color: #a8a8a8;
}


.custom-info-button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: auto;
    margin-bottom: 20px;
}
.custom-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 30px;
    color: #000;
    opacity: 1;
    border: none;
    background: none;
    max-width: 50px;
}
.custom-close:hover {
    transform: scale(1.2); /* Aumenta ligeramente el tamaño de la imagen */

    transition: transform 0.5s ease; /* Transición suave para el efecto de zoom */
}
.modal-semblanza{
    text-align: justify;
    font-size: 18px;
    
}

 /* Media query for mobile devices: stack the image on top, info below */
 @media (max-width: 768px) {
    .modal-fullscreen .modal-body {
        overflow-y: auto;
    }
    .modal-fullscreen .modal-flex {
        flex-direction: column;
        height: auto;
        min-height: 100%;
    }
    .modal-fullscreen .modal-image-container,
    .modal-fullscreen .modal-info-container {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    .modal-fullscreen .modal-image-container {
        height: 45vh;
    }
    .modal-fullscreen .modal-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
    .modal-fullscreen .modal-info-container {
        padding: 2rem 1.5rem 3rem;
        justify-content: flex-start;
    }
    .modal-fullscreen .modal-semblanza {
        text-align: left;
    }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Ajusta para que se llenen las filas con tarjetas de al menos 250px de ancho */
    gap: 10px; /* Espacio entre tarjetas */
    overflow: hidden; /* Previene que el contenido sobrepase el contenedor */
    grid-auto-flow: row dense; /* Optimiza cómo se colocan los elementos */
  }

  .card-container {
    transition: all 0.3s ease; /* Suaviza la transición de tamaño */
  }

  .card-img {
    width: 100%;
    border-radius: 5px 5px 0px 0px; 
    object-fit: cover;
}
  .card-img-top {
    width: 100%;
    max-width: 250px;
    max-height: 250px;
    object-fit: cover;
    margin: 20px auto 10px;
    border-radius: 50%;
    border: 5px solid var(--bgColor); 
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease; 
}

.card-img-top:hover {
  transform: scale(1.01);
}

/* .card-body {
text-align: center;
height: 200px;
} */

  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  


/* width */
::-webkit-scrollbar {
    width: 8.5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--yellow); 
}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 5pt;
    background: var(--green); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--blue); 
}

.left{
    max-width: 50%;
}

.pilar-box{
    min-width: 100%;
    min-height: 100%;
}

.text-box{
    text-align: justify;
}

.mainphrase {
    min-height: calc(100vh - 138px);
}
.sponsor {
    min-height: calc(25vh);
}

#about span {
    color: var(--green);
}
.green{
    color: var(--green);
}
.yellow{
    color: var(--yellow);
}
.blue{
    color: var(--blue);
}
.red{
    color: var(--red);
}

.eco1 {
    background: url(../images/eco1.svg);
    background-color: #cccccc; /* Used if the image is unavailable */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
}

.thanks{
    min-height: 100vh;
    background: url(../images/thanks_bg.png);
    background-color: #cccccc; /* Used if the image is unavailable */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; 
}

.black-scroll{
    overflow-x: hidden;
    overflow-y: auto;
}

/* ECOSISTEMA PAGE */
/* Sticky footer: on tall / ultrawide screens push the footer to the bottom */
.page-flex {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.page-flex > footer {
    margin-top: auto;
}
.page-flex > section {
    flex: 1 0 auto;
}

/* Animated ecosystem GIF shown above the four cards */
.ecosistema-gif {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto 2.5rem;
    border-radius: 16px;
}

/* Eco images are 16:9. Override the global circular crop and keep every card
   the same shape so they scale cleanly at any width. */
.ecosistema-team .image-zoom-wrapper {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    width: 100%;
}
.ecosistema-team .image-zoom-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
/* Hover effect for the four images: simply zoom in (grow) inside the frame */
.ecosistema-team .team-member:hover .image-zoom-wrapper img {
    transform: scale(1.08);
}

/* Intro text above the GIF */
.ecosistema-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--c-dark);
    max-width: 780px;
    margin: 0 auto 2.5rem;
}

/* "Profesionales" word: animated brand gradient instead of a default link */
.ecosistema-highlight,
.ecosistema-highlight:hover,
.ecosistema-highlight:focus {
    font-weight: 700;
    text-decoration: none;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(110deg,
        rgba(255, 67, 56, 1) 0%,
        rgba(255, 200, 67, 1) 33%,
        rgba(5, 206, 124, 1) 66%,
        rgba(0, 179, 227, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 250%;
    animation: animate 8s linear infinite alternate;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.ecosistema-highlight:hover {
    transform: translateY(-1px) scale(1.06);
    filter: saturate(1.25);
}

/* PILARES: key icon + colored list of professionals */
.pillars {
    margin-bottom: 3.5rem;
}
.pillar-row {
    margin-bottom: 2rem;
}
.pillar-icon-col {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    overflow: visible;
}
.key-icon {
    width: 100%;
    max-width: 300px;
    height: auto;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    will-change: transform;
}
/* On desktop the icon is as tall as its colored box and, because the SVG has
   transparent margins, spills a little beyond it. Rows stretch to equal height
   so each icon matches the box next to it. */
@media (min-width: 768px) {
    .key-icon {
        width: auto;
        max-width: none;
        height: 120%;
    }
}
.pillar-names {
    border-radius: 18px;
    padding: 1.75rem 2.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}
.pillar-yellow { background-color: var(--yellow); color: var(--deep-blue); }
.pillar-red    { background-color: var(--red); }
.pillar-blue   { background-color: var(--blue); }
.pillar-green  { background-color: var(--green); }
.pillar-names-title {
    color: inherit;
    font-weight: 700;
    margin-bottom: 1rem;
}
.pillar-names-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pillar-names-list li {
    color: inherit;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.pillar-names-list li:last-child {
    border-bottom: none;
}
.pillar-yellow .pillar-names-list li {
    border-bottom-color: rgba(0, 47, 50, 0.2);
}

.black-box {
    color: white;
    border-radius: 5px;
    transition: all 0.3s ease; /* Transición suave de 0.3 segundos */
}
.black-box h4{
    color: white;
}

.black-box:hover {
    background-color: var(--bgColor); /* Cambia el color de fondo a negro */
    transform: scale(1.085); /* Aumenta el tamaño en un*/
    color: var(--c-dark); /* Cambia el color del texto a blanco para mejorar la visibilidad */
}
.black-box:hover h4{
    color: var(--c-dark); /* Cambia el color del texto a blanco para mejorar la visibilidad */
}

/* SECTION TITLE */
.section-title {
    margin-bottom: 60px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 16px auto 24px auto;
}

.section-title p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* ICONBOX */
.iconbox {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary), 0.1);
    color: var(--primary);
    font-size: 34px;
    flex: none;
}

/* SERVICE */
.service {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.service::after {
    content: "";
    width: 40px;
    height: 40px;
    background: rgba(var(--primary), 0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: var(--transition);
}


.service:hover::after {
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
}

.service:hover h5,
.service:hover p {
    color: white;
}

.service:hover .iconbox {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

/* COUNTER */
#counter {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8), rgba(var(--c-brand-rgb), 0.8)), url(../images/counter.jpg);
    background-position: center;
    background-size: cover;
}

/* PORTFOLIO */
.portfolio-item .iconbox {
    background-color: var(--primary);
    color: white;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.portfolio-item:hover .iconbox {
    opacity: 1;
    top: 50%;
}

/* REVIEW */
.review small {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
}

.review-head {
    position: relative;
}

.review-head::after {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    bottom: -14px;
    background-color: white;
    transform: rotate(45deg);
}

/* TEAM */
.team-member-content-1 {
    min-height: 273px;
    background-color: var(--yellow);
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: calc(100% - 50px);
    height: 100%;
    transform: translateX(-50%);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
}
.team-member-content-2 {
    min-height: 273px;
    background-color: var(--red);
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: calc(100% - 50px);
    transform: translateX(-50%);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
}
.team-member-content-3 {
    min-height: 273px;
    background-color: var(--blue);
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: calc(100% - 50px);
    transform: translateX(-50%);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
}
.team-member-content-4 {
    min-height: 273px;
    background-color: var(--green);
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: calc(100% - 50px);
    transform: translateX(-50%);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
}

.team-member:hover .team-member-content-1 {
    min-height: 273px;
    opacity: 1;
    height: 100%;
    width: 100%;
}
.team-member:hover .team-member-content-2 {
    min-height: 273px;
    opacity: 1;
    height: 100%;
    width: 100%;
}
.team-member:hover .team-member-content-3 {
    min-height: 273px;
    opacity: 1;
    height: 100%;
    width: 100%;
}
.team-member:hover .team-member-content-4 {
    min-height: 273px;
    opacity: 1;
    height: 100%;
    width: 100%;
}

.event{
    background-color: var(--deep-blue);
}

.event img{
    width: 100%;
}


/* CONTACT */
#contact {
    position: relative;
    z-index: 2;
}

#contact::after {
    content: "";
    width: 100%;
    height: 70%;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
#contact form{
    border-radius: 25px;
}

#contact .form-control {
    border-radius: 25;
}

#contact .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

/* FOOTER */
footer {
    padding-top: 120px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
}


footer li,
footer p,
footer a {
    color: rgba(255,255,255,0.7);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer .line {
    width: 40px;
    height: 4px;
    background-color: var(--primary);
    margin-top: 12px;
    margin-bottom: 24px;
}
footer img{
    max-width: 200px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: var(--primary);
    color: white;
}

/* ------------------------------ CATALOG CSS Start ------------------------------ */
.catalog-header {
    background: var(--deep-blue);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px var(--blue);
}

.catalog-title {
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}

.catalog-subtitle {
    color: white;
    opacity: 0.8;
    font-weight: 300;
    margin-top: 0.5rem;
}

.product-card {
    background-color: var(--deep-blue);
    color: white;
    height: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card:hover .card-img-wrapper::before {
    opacity: 0.4;
}

.product-card:hover .view-details {
    opacity: 1;
    transform: translateY(0);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 59, 154, 0), rgba(11, 59, 154, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.catalog-card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .catalog-card-img-top {
    transform: scale(1.1);
}

.view-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20px);
    background-color: white;
    color: var(--blue);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-body {
    padding: 1.5rem;
    position: relative;
}

.card-title {
    font-weight: 600;
    color: var(--kubers-dark-gray);
    margin-bottom: 0.75rem;
}

.card-text {
    color: white;
    opacity: 0.85;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.card-professionals {
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.info-badge {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--yellow);
}

.info-badge i {
    margin-right: 5px;
    color: var(--blue);
}

.category-badge {
    margin-right: 5px;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-educativo {
    background-color: var(--yellow);
    color: var(--deep-blue);
}

.badge-empresarial {
    background-color: var(--blue);
    color: var(--deep-blue);
}

/* Filter Section Styling */
.filter-section {
    background: var(--deep-blue);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--yellow);
}

.filter-title {
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.filter-title i {
    margin-right: 10px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    margin-right: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--red);
    background-color: white;
    color: var(--deep-blue);
}

.filter-btn.active {
    background-color: var(--deep-blue);
    color: white;
}

.filter-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 5px 10px var(--red);
}

.search-wrapper {
    position: relative;
}

.search-input {
    padding-left: 40px;
    border-radius: 30px;
    height: 50px;
    border: 2.5px solid var(--green);
    box-shadow: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 0.25rem rgba(11, 59, 154, 0.25);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
}

.clear-search {
    border-radius: 30px;
    background-color: var(--green);
    color: var(--deep-blue);
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background-color: var(--red);
    color: white;
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-header {
    background: var(--bgColor);
    color: var(--deep-blue);
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-title {
    color: var(--deep-blue);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-body {
    background-color: var(--deep-blue);
    color: white;
    padding: 2rem;
}

.product-detail-img {
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0px 5px 20px var(--bgColor);
}

.product-detail-title {
    border: 2.5px solid white;
    border-radius: 15px;
    width: fit-content;
    padding: 16px;
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-detail-info {
    color: white;
    border-bottom: 2.5px solid white;
    padding: 15px;
    margin-bottom: 20px;
}


.product-detail-label {
    color: var(--green);
    font-weight: 600;
}

.product-detail-value {
    font-weight: 500;
}

.product-detail-description {
    color: white;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.features-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid white;
}

.feature-item {
    color: white;
    opacity: 0.85;
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.feature-item:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--red);
    position: absolute;
    left: 0;
}

.modal-footer {
    background-color: var(--bgColor);
    padding: 1.5rem;
}

.btn-close-modal {
    background-color: var(--deep-blue);
    color: white;
    border-radius: 30px;
    padding: 8px 20px;
    border: none;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background-color: var(--red);
    color: white;
}

.btn-enroll {
    background-color: var(--green);
    color: var(--deep-blue);
    border-radius: 30px;
    padding: 8px 20px;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    background-color: var(--green);
    color: white;
    transform: translateY(-2px);
}

.no-results {
    background-color: var(--deep-blue);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.no-results-icon {
    font-size: 4rem;
    color: var(--green);
    margin-bottom: 1rem;
}

.no-results-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.no-results-text {
    color: white;
    opacity: 0.8;
}

/* Animation for cards appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* ------------------------------ Catalog CSS End ------------------------------ */