/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@500;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3rem;

    /*========== Colors ==========*/
    /* Change favorite color to match images */
    /*Green dark 190 - Green 171 - Grren Blue 200*/
    --hue-color: 205;

    /* HSL color mode */
    --first-color: hsl(var(--hue-color), 74%, 23%);
    --first-color-second: hsl(var(--hue-color), 74%, 23%);
    --first-color-alt: hsl(var(--hue-color), 74%, 15%);
    --title-color: hsl(var(--hue-color), 74%, 18%);
    --text-color: hsl(var(--hue-color), 24%, 35%);
    --text-color-light: hsl(var(--hue-color), 8%, 60%);
    --input-color: hsl(var(--hue-color), 24%, 97%);
    --body-color: hsl(var(--hue-color), 100%, 99%);
    --white-color: #FFF;
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 75%);

    /*========== Font and typography ==========*/
    --body-font: 'Open Sans', sans-serif;
    --title-font: 'Raleway', sans-serif;
    --biggest-font-size: 2.5rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== Margenes Bottom ==========*/
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-25: 1.25rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;

    /*========== Hover overlay ==========*/
    --img-transition: .3s;
    --img-hidden: hidden;
    --img-scale: scale(1.1);
}

@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
    --first-color-second: hsl(var(--hue-color), 54%, 12%);
    --title-color: hsl(var(--hue-color), 24%, 95%);
    --text-color: hsl(var(--hue-color), 8%, 75%);
    --input-color: hsl(var(--hue-color), 29%, 16%);
    --body-color: hsl(var(--hue-color), 29%, 12%);
    --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}

/*========== Button Dark/Light ==========*/
.nav__dark {
    display: flex;
    align-items: center;
    column-gap: 2rem;
    position: absolute;
    left: 3rem;
    bottom: 4rem;
}

.change-theme, .change-theme-name {
    color: var(--text-color);
}

.change-theme {
    cursor: pointer;
    font-size: 1rem;
}

.change-theme-name {
    font-size: var(--small-font-size);
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1, h2, h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img,
video {
    max-width: 100%;
    height: auto;
}

button,
input {
    border: none;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

button {
    cursor: pointer;
}

input {
    outline: none;
}

.main {
    overflow-x: hidden;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
    padding: 4.5rem 0 2.5rem;
}

.section__title {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    text-align: center;
    text-transform: capitalize;
    margin-bottom: var(--mb-2);
}

.container {
    max-width: 968px;
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    /*background-color: transparent;*/
    background: linear-gradient(0deg, rgba(0, 83, 147, 1) 18%, rgba(35, 52, 96, 1) 100%);;
}

/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo, .nav__toggle {
    color: var(--white-color);
}

.nav__logo {
    font-weight: var(--font-semi-bold);
}

.nav__toggle {
    font-size: 1.2rem;
    cursor: pointer;
}

.nav__menu {
    position: relative;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        background-color: var(--body-color);
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
        padding: 3rem;
        transition: .4s;
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

.nav__link {
    color: var(--text-color-light);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
}

.nav__link:hover {
    color: var(--text-color);
}

.nav__close {
    position: absolute;
    top: .75rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

/* show menu */
.show-menu {
    right: 0;
}

/* Change background header */
.scroll-header {
    background-color: var(--body-color);
    box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle {
    color: var(--white-color);
}

/* Active link */
.active-link {
    position: relative;
    color: var(--title-color);
}

.active-link::before {
    content: '';
    position: absolute;
    background-color: var(--title-color);
    width: 100%;
    height: 2px;
    bottom: -.75rem;
    left: 0;
}

/*=============== HOME ===============*/
.home__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: 83%;
}

.home__container {
    position: relative;
    height: calc(100vh - var(--header-height));
    align-content: center;
    row-gap: 3rem;
}

.home__data-subtitle,
.home__data-title,
.home__social-link,
.home__info {
    color: var(--white-color);
}

.home__data-subtitle {
    display: block;
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-75);
}

.home__data-title {
    font-size: var(--biggest-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-2-5);
}

.section__title-view {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: var(--mb-2-5);
    color: var(--title-color);
    text-align: center;
    font-family: Montserrat;
    text-transform: uppercase;
}

.home__social {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

.home__social-link {
    font-size: 1.2rem;
    width: max-content;
}

.home__info {
    background-color: var(--first-color);
    display: flex;
    padding: 1.5rem 1rem;
    align-items: center;
    column-gap: .5rem;
    position: absolute;
    right: 0;
    bottom: 1rem;
    width: 228px;
}

.home__info-title {
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-75);
}

.home__info-button {
    font-size: var(--smaller-font-size);
}

.home__info-overlay {
    overflow: var(--img-hidden);
}

.home__info-img {
    width: 145px;
    transition: var(--img-transition);
    border-radius: 20px;
}

.home__info-img:hover {
    transform: var(--img-scale);
}

/*=============== BUTTONS ===============*/
.button {
    display: inline-block;
    background-color: var(--first-color);
    color: var(--white-color);
    padding: 1rem 2rem;
    font-weight: var(--font-semi-bold);
    transition: .3s;
}

.button:hover {
    background-color: var(--first-color-alt);
}

.button--flex {
    display: flex;
    align-items: center;
    column-gap: .25rem;
}

.button--link {
    background: none;
    padding: 0;
}

.button--link:hover {
    background: none;
}

/*=============== ABOUT ===============*/
.about__data {
    text-align: center;
}

.about__container {
    row-gap: 2.5rem;
}

.about__description {
    margin-bottom: var(--mb-2);
    text-align: justify;
}

.about__img {
    display: flex;
    column-gap: 1rem;
    align-items: center;
    justify-content: center;
}

.about__img-overlay {
    overflow: var(--img-hidden);
}

.about__img-one {
    width: 130px;
}

.about__img-two {
    width: 180px;
}

.about__img-one,
.about__img-two {
    transition: var(--img-transition);
}

.about__img-one:hover,
.about__img-two:hover {
    transform: var(--img-scale);
}

/*=============== DISCOVER ===============*/
.discover__card {
    position: relative;
    width: 400px;
    height: 510px;
    overflow: var(--img-hidden);
}

.discover__data {
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
}

.discover__title,
.discover__description {
    color: var(--white-color);
}

.discover__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-25);
}

.discover__description {
    display: block;
    font-size: var(--smaller-font-size);
}

.discover__img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen para cubrir el contenedor */
    transition: var(--img-transition);
}

.discover__img:hover {
    transform: var(--img-scale);
}

.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right {
    background-image: none;
}
/*Service*/
.projectFilter {
    margin-bottom: 20px;
    text-align: center;
}

.projectFilter select {
    width: 50%;
    padding: 10px;
    font-size: 16px;
}



/*=============== EXPERIENCE ===============*/
.experience__container {
    row-gap: 2.5rem;
    justify-content: center;
    justify-items: center;
}

.experience__content {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
    justify-items: center;
    padding: 0 2rem;
}

.experience__number {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-5);
}

.experience__description {
    font-size: var(--small-font-size);
}

.experience__img {
    position: relative;
    padding-bottom: 2rem;
}

.experience__img-one,
.experience__img-two {
    transition: var(--img-transition);
}

.experience__img-one:hover,
.experience__img-two:hover {
    transform: var(--img-scale);
}

.experience__overlay {
    overflow: var(--img-hidden);
}

.experience__overlay:nth-child(1) {
    width: 263px;
    margin-right: 2rem;
}

.experience__overlay:nth-child(2) {
    width: 120px;
    position: absolute;
    top: 2rem;
    right: 0;
}

/*=============== VIDEO ===============*/
.video__container {
    padding-bottom: 1rem;
}

.video__description {
    text-align: center;
    margin-bottom: var(--mb-2-5);
}

.video__content {
    position: relative;
}

.video__button {
    position: absolute;
    right: 1rem;
    bottom: -1rem;
    padding: 1rem 1.5rem;
}

.video__button-icon {
    font-size: 1.2rem;
}

/*=============== PLACES ===============*/
.place__card, .place__img {
    height: 230px;
}

.place__container {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
}

.place__card {
    position: relative;
    overflow: var(--img-hidden);
}

.place__card:hover .place__img {
    transform: var(--img-scale);
}

.place__img {
    transition: var(--img-transition);
}

.place__content, .place__title {
    color: var(--white-color);
}

.place__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: .75rem .75rem 1rem;
}

.place__rating {
    align-self: flex-end;
    display: flex;
    align-items: center;
}

.place__rating-icon {
    font-size: .75rem;
    margin-right: var(--mb-0-25);
}

.place__rating-number {
    font-size: var(--small-font-size);
}

.place__subtitle, .place__price {
    display: block;
}

.place__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-25);
}

.place__subtitle {
    font-size: var(--smaller-font-size);
    margin-bottom: var(--mb-1-25);
}

.place__button {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: .75rem 1rem;
}

/*=============== SUBSCRIBE ===============*/
.subscribe__bg {
    background-color: var(--first-color-second);
    padding: 2.5rem 0;
}

.subscribe__title,
.subscribe__description {
    color: var(--white-color);
}

.subscribe__description {
    text-align: center;
    margin-bottom: var(--mb-2-5);
}

.subscribe__form {
    background-color: var(--input-color);
    padding: .5rem;
    display: flex;
    justify-content: space-between;
}

.subscribe__input {
    width: 70%;
    padding-right: .5rem;
    background-color: var(--input-color);
    color: var(--text-color);
}

.subscribe__input::placeholder {
    color: var(--text-color);
}

/*=============== DROPDOWN ===============*/
.dropdown {
    position: relative;
    width: max-content;
    /*transform: translateY(-5rem);*/
}

.dropdown__button,
.dropdown__item {
    display: flex;
    align-items: center;
    column-gap: .5rem;
}

.dropdown__button {
    color: var(--text-color-light);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    cursor: pointer;
}

.dropdown__button:hover {
    color: var(--text-color);
}

.dropdown__icon,
.dropdown__icons {
    font-size: 1.5rem;
    /*color: var(--first-color);;*/
}

.dropdown__name {
    color: var(--text-color);
    font-weight: var(--font-semi-bold);
}

.dropdown__icons {
    width: 24px;
    display: grid;
    place-items: center;
}

.dropdown__arrow,
.dropdown__close {
    position: absolute;
    transition: opacity .1s, transform .4s;
}

.dropdown__close {
    opacity: 0;
}

.dropdown__menu {
    background-color: var(--body-color);
    padding: 1rem 1.5rem;
    border-radius: .75rem;
    display: grid;
    row-gap: 1.5rem;
    position: absolute;
    left: 0;
    top: 3.5rem;
    transform: scale(.1);
    transform-origin: 10rem -2rem;
    pointer-events: none;
    transition: opacity .4s, transform .4s;
    opacity: 0;
}

.dropdown__item {
    cursor: pointer;
    transition: color .3s;
}

.dropdown__item:hover {
    color: var(--first-color-alt);
}

/* Rotate & hide icon */
.show-dropdown .dropdown__close {
    opacity: 1;
    transform: rotate(-180deg);
}

.show-dropdown .dropdown__arrow {
    opacity: 0;
    transform: rotate(-180deg);
}

/* Show dropdown menu */
.show-dropdown .dropdown__menu {
    opacity: 1;
    transform: scale(1);
    pointer-events: initial;
    z-index: 1;
}

.show-dropdown {
    display: block; /* o cualquier estilo que haga visible el dropdown */
}

/*=============== INFO ===============*/
.info__container {
    row-gap: 3rem;
}

.info__title {
    position: relative;
    font-size: var(--small-font-size);
    color: var(--text-color);
    margin-bottom: 2rem;
}

.info__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -.5rem;
    width: 20px;
    height: 2px;
    background-color: var(--text-color);
}

/* SOMOS */
.somos {
    row-gap: 3rem;
}

.somos__description {
    margin-bottom: 2rem;
}

.somos__description b {
    color: var(--text-color-light);
}

.info_img {
    justify-self: center;
}

.info_img:hover {
    cursor: pointer;
    transform: translateY(-1rem);
    transition: .3s;
}

.somos__button {
    width: 100%;
}

/* objetivos */
.objetivos__content {
    row-gap: 2rem;
}

.objetivos__data {
    row-gap: 1rem;
}

.objetivos__company {
    font-size: var(--h2-font-size);
    font-weight: var(--small-font-size);
}

.exp__li {
    text-align: justify;
}

.objetivos.home__profession {
    font-size: var(--h3-font-size);
    margin-bottom: .25rem;
}

.objetivos__date {
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: .75rem;
}

/* MISION VISION */
.mision__description {
    text-align: justify;
    font-size: 20px;
    font-weight: bold;
}

.mision__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/*FILOSOFIA*/
.filosofia__container {
    display: grid;

}

.filosofia__row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
}

.col-lg-1 {
    flex: 0 0 auto;
    width: 8.33333333%
}

/*OBSERVATORIO */
.grid__template__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
}

.img__container {
    justify-content: center;
    display: grid;
    align-content: center;
}

/*Extencion*/
.extends__card-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.extends__description {
    font-size: var(--small-font-size);
    text-align: justify;
}

/*=============== SPONSORS ===============*/
.sponsor__container {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    justify-items: center;
    row-gap: 3.5rem;
}

.sponsor__content {
    align-self: center;
}

.sponsor__content:hover .sponsor__img {
    cursor: pointer;
    transform: translateY(-1rem);
}

.sponsor__img {
    width: 90px;
    /*filter: invert(0.7);*/
    transition: var(--img-transition);
}

/*=============== EQUIPMENT ===============*/
.equipment__swiper {
    position: relative;
    padding: 2px;
    overflow: hidden;
}

.equipment__wrapper {
    top: 20px;
    height: 500px !important;
}

.equipment__card {
    height: 440px;
    position: relative;
    width: 356px;
    background-color: var(--white-color);
    padding: 1.25rem 2rem 3rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 16px hsla(29, 75%, 8%, 0.2);
    transition: transform .3s, z-index .3s; /* Añade z-index a la transición */
    z-index: 1; /* Nivel base de z-index */}

.equipment__card:hover {
    transform: scale(1.1);
    z-index: 10; /* Aumenta z-index para estar por encima de todo */
}

.equipment__card__img {
    width: 100%; /* Ajusta la imagen al ancho del contenedor */
    height: 100%; /* Ajusta la imagen a la altura del contenedor */
    object-fit: cover; /* Corta la imagen para llenar el contenedor */
    object-position: center; /* Centra la imagen dentro del contenedor */
}

.equipment__card__border {
    width: 110px;
    height: 110px;
    border: 2px solid var(--first-color);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 0.75rem;
    overflow: hidden; /* Asegura que la imagen no sobresalga del contenedor */
}

.equipment__card__name {
    color: var(--first-color);
    font-size: var(--h3-font-size);
    font-weight: 500;
}

.equipment__card__profession {
    color: var(--text-color);
    font-size: var(--smaller-font-size);
    font-weight: 700;
}

.equipment__card__social {
    width: 200px;
    background-color: var(--first-color);
    padding: 0.75rem;
    border-radius: 3rem;
    text-align: initial;
    box-shadow: 0 8px 24px hsla(29, 75%, 56%, 0.3);
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1.75rem;
    margin: 0 auto;
    overflow: hidden;
    transform-origin: 18px 17px;
}

.equipment__card__social-control {
    position: relative;
    transform-origin: 18px 18px;
    transition: transform 0.45s ease;
    transform: rotate(0);
}

.equipment__card__social-toggle {
    display: inline-flex;
    background-color: var(--white-color);
    color: var(--first-color);
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.equipment__card__social-text {
    display: block;
    color: var(--white-color);
    font-size: var(--smaller-font-size);
    font-weight: 500;
}

.equipment__card__social-list {
    display: inline-flex;
    column-gap: 0.75rem;
    transform: rotate(135deg);
    transform-origin: 18px 17px;
}

.equipment__card__social-link {
    display: inline-flex;
    background-color: var(--first-color-alt);
    color: var(--white-color);
    font-size: 1.25rem;
    padding: 6px;
    border-radius: 50%;
}

.equipment__card__social-text, .equipment__card__social-list {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-left: 3.1rem;
}

.equipment__card__social-text {
    top: 0.5rem;
}

.equipment__description {
    padding: 10px;
    color: var(--text-color);
    font-size: var(--smaller-font-size);
    font-weight: 500;
    height: 150px; /* Altura fija para el contenedor del perfil profesional */
    overflow-y: auto; /* Habilita el scroll vertical si el contenido es mayor */
    margin-bottom: 1.25rem; /* Asegura el espacio inferior */
}

/* Rotate social */
.animation .equipment__card__social-control {
    transform: rotate(-135deg);
}

/* Up animation */
.equipment__card__social.animation {
    animation: up-animation 1s ease-in-out forwards;
}

@keyframes up-animation {
    0%, 100% {
        transform: rotate(0);
    }
    50%, 60% {
        transform: rotate(-3deg);
    }
    88% {
        transform: rotate(1deg);
    }
}

/* Down animation */
.equipment__card__social.down-animation {
    animation: down-animation 1s ease-in-out forwards;
}

@keyframes down-animation {
    0%, 100% {
        transform: rotate(0);
    }
    50%, 60% {
        transform: rotate(6deg);
    }
    88% {
        transform: rotate(-1deg);
    }
}

/*=============== OBJETIVOS CORPORATIVOS ===============*/
.objcor__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

.img__view {
    border: 10px solid #fff;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    transition: transform .3s;
}
.img__view:hover {
    transform: scale(1.1);
}

/*=============== FOOTER ===============*/
.footer__container {
    row-gap: 5rem;
}

.footer__content {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    row-gap: 2rem;
}

.footer__title,
.footer__subtitle {
    font-size: var(--h3-font-size);
}

.footer__title {
    margin-bottom: var(--mb-0-5);
    text-align: justify;
}

.footer__description {
    margin-bottom: var(--mb-2);
    text-align: justify;
}

.footer__social {
    font-size: 1.25rem;
    color: var(--title-color);
    margin-right: var(--mb-1-25);
}

.footer__subtitle {
    margin-bottom: var(--mb-1);
}

.footer__item {
    margin-bottom: var(--mb-0-75);
}

.footer__link {
    color: var(--text-color);
}

.footer__link:hover {
    color: var(--title-color);
}

.footer__rights {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    text-align: center;
}

.footer__copy, .footer__terms-link {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.footer__terms {
    display: flex;
    column-gap: 1.5rem;
    justify-content: center;
}

.footer__terms-link:hover {
    color: var(--text-color);
}

/*========== SCROLL UP ==========*/
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    background-color: var(--first-color);
    padding: .5rem;
    display: flex;
    opacity: .9;
    z-index: var(--z-tooltip);
    transition: .4s;
}

.scrollup:hover {
    background-color: var(--first-color-alt);
    opacity: 1;
}

.scrollup__icon {
    color: var(--white-color);
    font-size: 1.2rem;
}

/* Show scroll */
.show-scroll {
    bottom: 5rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: .60rem;
    background-color: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-color-light);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
    .place__container {
        grid-template-columns: max-content;
        justify-content: center;
    }

    .experience__content {
        padding: 0;
    }

    .experience__overlay:nth-child(1) {
        width: 190px;
    }

    .experience__overlay:nth-child(2) {
        width: 80px;
    }

    .home__info {
        width: 190px;
        padding: 1rem;
    }

    .experience__img,
    .video__container {
        padding: 0;
    }

    .objcor__container {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .col-lg-3 {
        width: 100%;
    }

    .grid__template__row {
        display: contents;
    }
    .extends__card-body {
        display: contents;
        gap: 2rem;
        text-align: center;
    }
}

/* For medium devices */
@media screen and (min-width: 568px) {
    .video__container {
        display: grid;
        grid-template-columns: .6fr;
        justify-content: center;
    }

    .place__container {
        grid-template-columns: repeat(3, max-content);
    }

    .subscribe__form {
        width: 470px;
        margin: 0 auto;
    }

}

@media screen and (max-width: 568px) {
    .objcor__container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
        align-items: center;
    }

    .mision__grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 3rem;
    }

    .col-lg-3, .col-lg-1 {
        justify-items: center;
        width: 100%;
    }

    .grid__template__row {
        display: contents;
    }
    .extends__card-body {
        display: contents;
        gap: 2rem;
        text-align: center;
    }
    .discover__card {
        width: 337px;
    }
}

@media screen and (min-width: 768px) {
    body {
        margin: 0;
    }

    .nav {
        height: calc(var(--header-height) + 1.5rem);
    }

    .nav__link {
        color: var(--white-color);
        text-transform: initial;
    }

    .nav__link:hover {
        color: var(--white-color);
    }

    .dropdown__button {
        color: var(--white-color);
        text-transform: initial;
    }

    .dropdown__button:hover {
        color: var(--white-color);
    }

    .nav__dark {
        position: initial;
    }

    .nav__menu {
        display: flex;
        column-gap: 1rem;
    }

    .nav__list {
        flex-direction: row;
        column-gap: 3rem;
    }

    .nav__toggle, .nav__close {
        display: none;
    }

    .change-theme-name {
        display: none;
    }

    .change-theme {
        color: var(--white-color);
    }

    .active-link::before {
        background-color: var(--white-color);
    }

    .scroll-header .nav__link {
        color: var(--white-color);
    }

    .scroll-header .dropdown__button {
        color: var(--white-color);
    }

    .scroll-header .active-link {
        color: var(--white-color);
    }

    .scroll-header .active-link::before {
        background-color: var(--title-color);
    }

    .scroll-header .change-theme {
        color: var(--white-color);
    }

    .section {
        padding: 7rem 0 2rem;
    }

    .home__container {
        height: 100vh;
        grid-template-rows: 1.8fr .5fr;
    }

    .home__data {
        align-self: flex-end;
    }

    .home__social {
        flex-direction: row;
        align-self: flex-end;
        margin-bottom: 3rem;
        column-gap: 2.5rem;
    }

    .home__info {
        bottom: 3rem;
    }

    .about__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .about__data, .about__title {
        text-align: initial;
    }

    .about__title {
        margin-bottom: var(--mb-1-5);
    }

    .about__description {
        margin-bottom: var(--mb-2);
    }

    .discover__container {
        width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .discover__container,
    .place__container {
        padding-top: 2rem;
    }

    .experience__overlay:nth-child(1) {
        width: 363px;
        margin-right: 4rem;
    }

    .experience__overlay:nth-child(2) {
        width: 160px;
    }

    .subscribe__bg {
        background: none;
        padding: 0;
    }

    .subscribe__container {
        background-color: var(--first-color-second);
        padding: 3.5rem 0;
    }

    .subscribe__input {
        padding: 0 .5rem;
    }

    .footer__rights {
        flex-direction: row;
        justify-content: space-between;
    }

}

/* For large devices */
@media screen and (min-width: 1024px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .home__container {
        grid-template-rows: 2fr .5fr;
    }

    .home__info {
        width: 328px;
        grid-template-columns: 1fr 2fr;
        column-gap: 2rem;
    }

    .home__info-title {
        font-size: var(--normal-font-size);
    }

    .home__info-img {
        width: 120px;
    }

    .about__img-one {
        width: 230px;
    }

    .about__img-two {
        width: 290px;
    }

    .discover__card {
        width: 437px;
    }

    .discover__container {
        width: max-content;
    }

    .discover__data {
        left: 1.5rem;
        bottom: 2rem;
    }

    .discover__title {
        font-size: var(--h3-font-size);
    }

    .experience__content {
        margin: var(--mb-1) 0;
        column-gap: 3.5rem;
    }

    .experience__overlay:nth-child(1) {
        width: 463px;
        margin-right: 7rem;
    }

    .experience__overlay:nth-child(2) {
        width: 220px;
        top: 3rem;
    }

    .video__container {
        grid-template-columns: .7fr;
    }

    .video__description {
        padding: 0 8rem;
    }

    .place__container {
        gap: 3rem 2rem;
    }

    .place__card, .place__img {
        height: 400px;
    }

    .footer__content {
        justify-items: center;
    }

    .info__container {
        row-gap: 4rem;
    }

    .info__title {
        font-size: var(--normal-font-size);
        margin-bottom: 3.5rem;
    }

    .somos {
        /*grid-template-columns: 420px 520px;*/
        column-gap: 7.5rem;
    }
    .somos__content{
        display: grid;
        grid-template-rows: 1fr .5fr;
        gap: 2rem;
    }

    .somos_img {
        width: 320px;
    }

    .somos__description {
        margin-bottom: 3rem;
    }

    .somos__button {
        width: initial;
    }

    .objetivos__content {
        row-gap: 4rem;
    }

    .objetivos__data {
        grid-template-columns: 320px 380px;
        column-gap: 11.5rem;
    }

    .objetivos__company {
        font-size: var(--h2-font-size);
    }

    .objetivos__profession {
        margin-bottom: .5rem;
    }

    .objetivos__date {
        font-size: var(--normal-font-size);
        margin-bottom: 1.5rem;
    }

    .equipment__container {
        padding-top: 2rem;
    }


    .equipment__title {
        font-size: var(--h3-font-size);
    }

}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1024px;
    }
}

/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
    body {
        margin: 0;
    }

    .home__container, .home__img {
        height: 640px;
    }
}
