/* fonts */
@font-face {
    font-family: 'loos-wide';
    src: url('../fonts/fonnts.com-Loos_Wide_Light.otf') format('opentype');
}

body {
    font-family: 'loos-wide', sans-serif !important;
    margin: 0;
    padding: 0;
}

b {
    font-weight: 800 !important;
}

/* navbar */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
}

.nav {
    width: 85%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px !important;
    position: relative;
    overflow: hidden;
}

.nav-btn {
    background-color: #3636363b;
    border: 1px solid #4f4f4f;
    color: #fff;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.7rem;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    position: relative;
    /* Hover.css outline out effect */
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px solid #4f4f4f;
    border-radius: 26px;
    z-index: -1;
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease-out;
}

.nav-btn:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

.nav-btn img {
    width: 10px;
    height: auto;
    margin-right: 5px;
}

.nav-logo {
    width: 200px;
    height: auto;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-div {
    border: 1px solid #4f4f4f;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.nav-a {
    margin-right: 10px;
}

.nav-a:first-child {
    margin-left: 15px;
}

.nav-a img {
    width: 15px;
}

.nav-btn2 {
    background-color: #6666664d;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.8rem;
    padding: 2px 10px;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

/* sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -600px;
    width: 600px;
    height: 100vh;
    z-index: 999;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    background: #1F1F1F;
    background: linear-gradient(315deg, rgba(31, 31, 31, 1) 0%, rgba(31, 35, 37, 1) 50%, rgba(17, 47, 66, 1) 100%);
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.sidebar.active {
    left: 0;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.02) 0%,
            transparent 50%,
            rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
}


.sidebar-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;

}

.sidebar-close p {
    font-size: 0.7rem;
    margin-bottom: 0;
    margin-left: 10px;
}

.sidebar-close i {
    font-size: 2rem;
}


.sidebar-content {
    padding: 30px 20px 20px 10%;
}

.sidebar-nav {
    padding: 0 25px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 5px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInRight 0.5s ease-out forwards;
}

.sidebar-item:nth-child(1) {
    animation-delay: 0.4s;
}

.sidebar-item:nth-child(2) {
    animation-delay: 0.5s;
}

.sidebar-item:nth-child(3) {
    animation-delay: 0.6s;
}

.sidebar-item:nth-child(4) {
    animation-delay: 0.7s;
}


.sidebar-link {
    display: flex;
    align-items: center;
    padding: 5px 0;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.sidebar-link i {
    margin-left: 10px;
}

.sidebar-link i :hover {
    margin-left: 10px;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 128, 255, 0.1) 50%,
            transparent 100%);
    transition: right 0.5s ease;
}

.sidebar-link:hover {
    background: rgba(0, 128, 255, 0.1);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.sidebar-link i {
    font-size: 20px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.sidebar-link:hover i {
    color: #00d4ff;
    transform: scale(1.1);
    margin-left: 25px;
}

.sidebar-link span {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.sidebar-hr {
    width: 75%;
    display: block;
    margin-top: 10%;
    margin-left: 15%;
    border: 1px solid #fff;
    opacity: 1;
}

.sidebar-p {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    white-space: pre-line;
}

.sidebar-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid #4f4f4f;
    color: #fff;
    padding: 5px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.sidebar-btn:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.sidebar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 20px 15%;
    width: 90%;
}


/* Animaciones */
@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    to {
        opacity: 1;
        transform: rotate(0);
    }
}


/* Contact Sidebar */
.contact-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-sidebar {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100vh;
    z-index: 998;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    background: #1F1F1F;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.contact-sidebar-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.contact-sidebar.active {
    right: 0;
}

.contact-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.02) 0%,
            transparent 50%,
            rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.contact-sidebar-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 30%;
    left: 20px;
    font-size: 2.5rem;
}

.contact-sidebar-content {
    width: 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-sidebar-p {
    color: #fff;
    font-size: 1.5rem;
    white-space: pre-line;
    line-height: 1.2;
    margin: 0;
}

.contact-sidebar-hr {
    width: 100%;
    display: block;
    margin-top: 10%;
    margin-bottom: 10%;
    border: 1px solid #fff;
    opacity: 1;
}

.contact-sidebar-div {
    display: flex;
    align-items: center;
    margin: 25px 0 0 5%;
}

.contact-sidebar-img2 {
    width: 25px;
}

.contact-sidebar-div a {
    color: #fff;
    text-decoration: none;
    white-space: pre-line;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-left: 20px;
}

.contact-sidebar-div2 {
    position: absolute;
    bottom: 5%;
    right: 10%;
    display: flex;
    align-items: center;
}

.contact-sidebar-div2 img {
    width: 20px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 1));
    margin-right: 10px;
}

/* Animación para elementos del contact sidebar */
@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* one section */
.one-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.os-img {
    width: 100%;
    height: auto;
    display: block;
}

.os-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.os-p {
    font-size: 2.2rem;
    color: #fff;
    text-align: center;
    margin: 0 !important;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.8));
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.2;
    opacity: 0.95;
}

.os-p2 {
    font-size: 2.8rem;
    color: #fff;
    font-weight: 800;
    text-align: center;
    margin: 0 !important;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.9));
    letter-spacing: 1.5px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* two section */
.two-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #191919;
    background: linear-gradient(180deg, rgba(25, 25, 25, 1) 0%, rgba(39, 39, 39, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ts-div {
    width: 80%;
    margin: 5% auto;
    display: block;
}

.ts-div2 {
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@keyframes bounce-to-right {
    16.65% {
        transform: translateX(-6px);
    }

    33.3% {
        transform: translateX(-7px);
    }

    49.95% {
        transform: translateX(-4px);
    }

    66.6% {
        transform: translateX(-4px);
    }

    83.25% {
        transform: translateX(-1px);
    }

    100% {
        transform: translateX(0);
    }
}

.ts-a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid #4f4f4f;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    margin: 0 !important;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.ts-i {
    color: #0d9dd9;
    font-size: 0.4rem;
    margin-top: -7px;
    margin-right: 15px;
    position: relative;
    display: inline-block;
    animation: alarm-blink 1.5s infinite;
    vertical-align: middle;
}

.ts-i::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(13, 157, 217, 0.4) 0%, rgba(13, 157, 217, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: alarm-glow 1.5s infinite;
    z-index: -1;
}

@keyframes alarm-blink {

    0%,
    40% {
        color: #0d9dd9;
        filter: brightness(1);
    }

    41%,
    60% {
        color: #0d9dd9;
        filter: brightness(2) drop-shadow(0 0 10px #0d9dd9);
    }

    61%,
    100% {
        color: #0d9dd9;
        filter: brightness(1);
    }
}

@keyframes alarm-glow {

    0%,
    40% {
        background: radial-gradient(circle, rgba(13, 157, 217, 0.3) 0%, rgba(13, 157, 217, 0.1) 40%, transparent 70%);
        transform: translate(-50%, -50%) scale(1);
    }

    41%,
    60% {
        background: radial-gradient(circle, rgba(13, 157, 217, 0.8) 0%, rgba(13, 157, 217, 0.4) 40%, transparent 70%);
        transform: translate(-50%, -50%) scale(1);
    }

    61%,
    100% {
        background: radial-gradient(circle, rgba(13, 157, 217, 0.3) 0%, rgba(13, 157, 217, 0.1) 40%, transparent 70%);
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes bounce-to-right {
    0% {
        transform: translateX(-100%);
    }

    20% {
        transform: translateX(-90%);
    }

    40% {
        transform: translateX(-60%);
    }

    60% {
        transform: translateX(-30%);
    }

    80% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(0);
    }
}

.ts-a-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid #4f4f4f;
    padding: 5px 15px;
    border-radius: 20px;
    margin: 0 !important;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.ts-a-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.ts-a-link:hover::before {
    left: 100%;
}

.ts-i2 {
    margin-left: 10px;
}


.ts-p,
.ts-p4 {
    color: #fff;
    font-size: 2rem;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 5%;
    letter-spacing: 1px;
    white-space: pre-line;
}

/* Definimos la variable --angle para la animación del borde */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.ts-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Contenedor para el efecto del borde animado */
.ts-img-container {
    width: 100%;
    position: relative;
    display: inline-block;
    border-radius: 15px;
    padding: 2px;
    background: conic-gradient(from var(--angle), #0181b2, #1c6182, #22404f, #2c3d4600, #0181b2);
    animation: border-spin 3s linear infinite;
    margin-bottom: 25px;
}

.ts-img-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(from var(--angle), #0181b2, #1c6182, #22404f, #2c3d4600, #0181b2);
    border-radius: 15px;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.7;
    animation: border-spin 5s linear infinite;
}

.ts-img-container .ts-img {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    margin-bottom: 0;
}

/* Animación del borde */
@keyframes border-spin {
    0% {
        --angle: 0deg;
    }

    100% {
        --angle: 360deg;
    }
}

.row .col-md-4:nth-child(1) {
    margin-top: 0px;
}

.row .col-md-4:nth-child(2) {
    margin-top: 30px;
}

.row .col-md-4:nth-child(3) {
    margin-top: 60px;
}

.row .col-md-4:nth-child(4) {
    margin-top: -50px;
}

.row .col-md-4:nth-child(5) {
    margin-top: -20px;
}

.row .col-md-4:nth-child(6) {
    margin-top: 10px;
}

.ts-div3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    align-items: center;

}

.ts-img2 {
    width: 40px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 1));
}

.ts-p2 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    white-space: pre-line;
    margin-left: 15px;
    margin-bottom: 0;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 1));
}

.ts-p3 {
    color: #171717;
    font-size: 0.8rem;
    font-weight: 800;
    background: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 1));
}

.col-md-12 .ts-div3 {
    display: block;
}

.col-md-12 .ts-div3 .ts-p2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-left: 0;
    margin-bottom: 10px;
}

.col-md-6 .ts-div3 {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    justify-content: space-between;
    align-items: center;
}

.ts-p4 {
    margin-top: 10%;
}

.ts-div4 {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.container2 {
    background-color: #eaeaea;
    width: 100% !important;
    padding: 10px;
}

.ts-div4 {
    display: flex;
    overflow-x: auto;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.ts-img3 {
    flex: 0 0 auto;
    width: 200px;
    padding: 10px;
}

.ts-div5 {
    margin: 2% auto;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ts-div5 a {
    display: inline-block;
}

/* three section */

.three-section {
    width: 100%;
    background: #171717;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.ths-img {
    width: 600px;
    height: auto;
    display: block;
    position: relative;
    overflow: hidden;
}

.ths-div {
    position: absolute;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ths-p {
    color: #fff;
    font-size: 0.8rem;
    border: 1px solid #4f4f4f;
    border-radius: 20px;
    padding: 5px 20px;
    display: inline-block;
}

.ths-p2 {
    color: #fff;
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-top: 10px;
    white-space: pre-line;
}

.ths-p3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
}

.ths-hr {
    width: 80%;
    height: 1px;
    background: #4f4f4f;
    margin: 10px 0;
    opacity: 1;
    width: 0;
    transition: width 2s ease-out;
}

.ths-hr.animate {
    width: 80%;
}

.ths-p4 {
    color: #fff;
    font-size: 0.8rem;
    margin-bottom: 30px;
    font-weight: 800;
    overflow: hidden;
    white-space: nowrap;
    animation: blink-cursor 1s infinite;
}

.ths-p4.typing {
    animation: blink-cursor 1s infinite;
}

.ths-p4.typing-complete {
    border-right: none;
    animation: none;
}

@keyframes blink-cursor {

    0%,
    50% {
        border-color: #737373;
    }

    51%,
    100% {
        border-color: transparent;
    }
}


/* four section */
.four-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.fs-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.fs-div {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    ;
}

.fs-p {
    font-size: 2.5rem;
    color: #fff;
    margin: 0 !important;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.8));
    line-height: 1.2;
    white-space: pre-line;
}

.fs-hr {
    width: 40%;
    margin-bottom: -30px !important;
    border: 1px solid #fff;
    opacity: 1;
}


.fs-div .ts-a-link {
    border: 1px solid #fff;
    margin-bottom: -44px !important;
}

/* five section */

.five-section {
    width: 100%;
    background: #171717;
    position: relative;
    overflow: hidden;
}

.fis-div {
    width: 100%;
    margin: 5% auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.fis-p {
    font-size: 7rem;
    color: #343434;
    white-space: nowrap;
    font-weight: 800;
    margin-bottom: 0 !important;
    display: inline-block;
    padding-left: 0;
    animation: marquee 15s linear infinite;
    transform: translateX(100%);
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* footer */
footer {
    width: 100%;
    background: #ededed;
    padding: 20px 0;
    overflow: hidden;
}

.footer-div {
    width: 80%;
    margin: 5% auto;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.footer-img {
    width: 250px;
    height: auto;
}

.footer-div2 {
    width: 60%;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.footer-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-ul li b {
    margin-bottom: 20px;
    color: #171717;
}

.footer-ul li,
.footer-ul li a {
    color: #898989;
    text-decoration: none;
    font-size: 0.8rem;
    margin: 0;
}

.footer-hr {
    width: 80%;
    margin: 10px auto;
    border: 1px solid #7b7b7b;
    opacity: 1;
}

.footer-div3 {
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.footer-div3 a {
    color: #343434;
    font-size: 0.7rem;
    margin: 0;
    text-decoration: none;
}

.footer-div4 {
    margin-top: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-div4 img {
    width: 30px;
    height: auto;
}

/* servicios one section */

.sos-div {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}

.sos-p {
    color: #fff;
    font-size: 3rem;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0 !important;
}

.sos-hr {
    margin: 25px auto;
    border: 1px solid #fff;
    opacity: 1;
}

.sos-p2 {
    color: #fff;
    font-size: 1rem;
    text-align: center;
    white-space: pre-line;
}

/* servicios two section */
.servicios-two-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #282828;
    background: linear-gradient(0deg, rgba(40, 40, 40, 1) 0%, rgba(23, 23, 23, 1) 100%);
}

.sts-div {
    width: 80%;
    margin: 5% auto;
    display: block;
}

.sts-div .ts-a {
    display: inline-block;
    margin: 0 auto;
}

.sts-img {
    width: 60px;
    background: #343434;
    padding: 10px;
    border-radius: 10px;
}

.sts-p {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 25px;
    line-height: 1.2;
    white-space: pre-line;
}

.sts-p2 {
    color: #fff;
    font-size: 1rem;
    line-height: 1.2;
    white-space: pre-line;
    margin-bottom: 30px;
}

.sts-img2 {
    width: 20px;
    height: auto;
    margin-right: 10px;
}

.sts-p3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 0;
}

.sts-div2 {
    display: flex;
    align-items: center;
}

.sts-div3 {
    margin-right: 25px;
}

/* Proyectos one section */
.pos-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto 5%;
}

.pos-div .ts-a-link {
    font-size: 0.8rem;
}

.ts-a-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@keyframes sectionExit {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0px);
    }

    50% {
        opacity: 0.3;
        transform: translateX(-30px) scale(0.95);
        filter: blur(2px);
    }

    100% {
        opacity: 0;
        transform: translateX(-100px) scale(0.8);
        filter: blur(5px);
    }
}

@keyframes sectionEnter {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.8);
        filter: blur(8px);
    }

    30% {
        opacity: 0.3;
        transform: translateX(20px) scale(0.9);
        filter: blur(3px);
    }

    70% {
        opacity: 0.8;
        transform: translateX(-5px) scale(1.02);
        filter: blur(1px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0px);
    }
}

@keyframes projectReveal {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.8) rotateX(20deg);
        filter: blur(5px);
    }

    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(1.05) rotateX(5deg);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0px);
    }
}

@keyframes buttonActivate {
    0% {
        transform: scale(1);
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 rgba(0, 181, 178, 0);
    }

    50% {
        transform: scale(1.1);
        background-color: rgba(0, 181, 178, 0.2);
        box-shadow: 0 0 20px rgba(0, 181, 178, 0.3);
    }

    100% {
        transform: scale(1);
        background-color: rgba(0, 181, 178, 0.3);
        box-shadow: 0 0 15px rgba(0, 181, 178, 0.2);
    }
}

@keyframes buttonDeactivate {
    0% {
        transform: scale(1);
        background-color: rgba(0, 181, 178, 0.3);
        box-shadow: 0 0 15px rgba(0, 181, 178, 0.2);
    }

    100% {
        transform: scale(0.95);
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 rgba(0, 181, 178, 0);
    }
}

.pos-div2 .ts-img-container {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pos-div2 .ts-img-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pos-div button {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.pos-div button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.pos-div button:hover::before {
    left: 100%;
}

/* Ocultar secciones de proyectos por defecto */
.pos-div2 {
    display: none;
}

.pos-div2.active {
    display: block;
}

.pos-div .ts-a-link.active {
    background: rgb(0 120 181 / 30%);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 106, 181, 0.2);
}

/* nosotros one section */
.nos-div {
    width: 70%;
    margin: 10% auto 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nos-img {
    width: 60px;
    height: auto;
    background: #343434;
    padding: 10px;
    border-radius: 10px;
    display: block;
    margin: 0 auto 25px;
}

.nos-p {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: pre-line;
    text-align: center;
}

/* medias querys */
@media screen and (max-width: 1230px) and (min-width: 992px) {
    .nav {
        width: 90%;
        padding: 20px 0 !important;
    }

    .nav-logo {
        top: 30px;
        width: 180px;
    }

    .sidebar,
    .contact-sidebar {
        width: 400px;
        right: -400px;
    }

    .contact-sidebar-close {
        top: 27%;
        left: 10px;
    }

    .contact-sidebar-div a {
        white-space: normal;
        font-size: 0.9rem;
    }

    .sidebar-p {
        font-size: 0.9rem;
    }

    .sidebar-btn {
        font-size: 0.6rem;
    }

    .os-div {
        width: 80%;
    }

    .os-p {
        font-size: 2rem;
    }

    .os-p2 {
        font-size: 2.5rem;
    }

    .ts-p,
    .ts-p4 {
        font-size: 1.8rem;
    }

    .ts-a,
    .ts-a-link {
        font-size: 0.7rem;
    }

    .ths-img {
        width: 500px;
    }

    .ths-p2 {
        font-size: 1.8rem;
    }

    .fs-p {
        font-size: 1.8rem;
    }

    .footer-img {
        width: 200px;
    }

    .footer-div2 {
        width: 65%;
    }

    .footer-div4 img {
        width: 25px;
    }

    .sts-img {
        width: 50px;
    }

    .sts-p {
        font-size: 1.5rem;
    }

    .sts-p2 {
        white-space: normal;
    }

    .pos-div {
        width: 100%;
    }

    .nos-div {
        width: 80%;
    }

}

@media screen and (max-width: 991px) and (min-width: 768px) {
    .nav {
        width: 90%;
        padding: 20px 0 !important;
    }

    .nav-logo {
        top: 30px;
        width: 180px;
        left: 45%;
    }

    .nav-btn2 {
        margin-left: 0;
    }

    .sidebar {
        width: 400px;
        right: -400px;
    }

    .contact-sidebar {
        width: 350px;
        right: -350px;
    }

    .contact-sidebar-close {
        top: 29%;
        left: 10px;
    }

    .contact-sidebar-div a {
        white-space: normal;
        font-size: 0.9rem;
    }

    .contact-sidebar-p {
        font-size: 1.2rem;
    }

    .sidebar-p {
        font-size: 0.9rem;
    }

    .sidebar-btn {
        font-size: 0.6rem;
    }

    .os-div {
        width: 80%;
    }

    .os-p {
        font-size: 1.8rem;
    }

    .os-p2 {
        font-size: 2.2rem;
    }

    .ts-p,
    .ts-p4 {
        font-size: 1.6rem;
        white-space: normal;
    }

    .ts-div3 {
        bottom: 10px;
    }

    .ts-img2 {
        width: 30px;
        padding: 5px;
        border-radius: 5px;
    }

    .ts-p2 {
        font-size: 0.9rem;
    }

    .ts-p3 {
        font-size: 0.5rem;
        white-space: nowrap;
        margin-bottom: 0;
    }

    .ts-a,
    .ts-a-link {
        font-size: 0.7rem;
    }

    .ts-div5 {
        width: 40%;
    }

    .ts-img3 {
        width: 180px;
    }

    .ths-img {
        width: 400px;
    }

    .ths-p2 {
        font-size: 1.2rem;
    }

    .ths-p3 {
        font-size: 1.5rem;
    }

    .ths-p4 {
        font-size: 0.6rem;
    }

    .fs-p {
        font-size: 1.5rem;
    }

    .fs-hr {
        width: 30%;
        margin-bottom: -14px !important;
    }

    .footer-img {
        width: 150px;
    }

    .footer-div2 {
        width: 70%;
    }

    .footer-div4 img {
        width: 25px;
    }

    .fs-div .ts-a-link {
        margin-bottom: -30px !important;
    }

    .fis-p {
        font-size: 5rem;
    }

    .sos-div {
        width: 60%;
        bottom: 0;
    }

    .sos-p {
        font-size: 2.5rem;
    }

    .sos-hr {
        margin: 15px auto;
    }

    .sos-p2 {
        white-space: normal;
        font-size: 0.9rem;
    }

    .sts-img {
        width: 40px;
    }

    .sts-p {
        font-size: 1.2rem;
    }

    .sts-p2 {
        font-size: 0.9rem;
        white-space: normal;
    }

    .sts-p3 {
        font-size: 0.8rem;
        margin-top: 5px;
    }

    .sts-p3 img {
        width: 15px;
    }

    .pos-div {
        width: 100%;
    }

    .pos-div .ts-a-link {
        font-size: 0.6rem;
    }

    .col-md-12 .ts-div3 .ts-p2 {
        font-size: 1.5rem;
    }

    .nos-div {
        width: 90%;
    }

    .nos-img {
        width: 50px;
    }

    .nos-p {
        font-size: 0.9rem;
        text-align: center;
    }

}

@media screen and (max-width: 767px) {
    .nav {
        width: 90%;
        padding: 20px 0 !important;
    }

    .nav-logo {
        top: 28px;
        width: 150px;
        left: 70%;
    }

    .nav-div {
        display: none;
    }

    .nav-btn2 {
        margin-left: 0;
    }

    .sidebar,
    .contact-sidebar {
        width: 100%;
        right: -100%;
    }

    .sidebar-p {
        font-size: 0.8rem;
        white-space: normal;
    }

    .sidebar-btn {
        font-size: 0.5rem;
        white-space: nowrap;
    }

    .contact-sidebar-close {
        top: 29%;
        left: 10px;
    }
    
    .os-div {
        width: 90%;
        top: 70%;
    }

    .os-p {
        font-size: 1rem;
    }

    .os-p2 {
        font-size: 1.3rem;
    }

    .ts-a,
    .ts-a-link {
        font-size: 0.5rem;
    }

    .ts-p,
    .ts-p4 {
        font-size: 1rem;
        white-space: normal;
    }

    .row .col-md-4:nth-child(2),
    .row .col-md-4:nth-child(3),
    .row .col-md-4:nth-child(4),
    .row .col-md-4:nth-child(5),
    .row .col-md-4:nth-child(6) {
        margin-top: 0;
    }

    .ths-img {
        width: 450px;
    }

    .ths-p2 {
        font-size: 1.5rem;
        white-space: normal;
        text-align: center;
        margin-bottom: 25px;
    }

    .ths-p4 {
        font-size: 0.6rem;
        margin-bottom: 20px;
    }

    .fs-p {
        font-size: 0.9rem;
        text-align: center;
    }

    .fs-hr {
        display: none;
    }

    .fs-div .ts-a-link {
        font-size: 0.5rem;
        margin-bottom: 0 !important;
    }

    .ts-div3 {
        bottom: 15px;
    }

    .col-md-12 .ts-div3 .ts-p2 {
        font-size: 1rem;
    }

    .ts-p2 {
        font-size: 0.8rem;
    }

    .ts-p3 {
        font-size: 0.6rem;
        margin-bottom: 0;
        white-space: nowrap;
    }

    .ts-div5 {
        width: 60%;
    }

    .ts-img3 {
        width: 150px;
    }

    .fis-p {
        font-size: 4rem;
    }

    .footer-div {
        width: 90%;
        flex-direction: column;
    }

    .footer-img {
        width: 150px;
        display: block;
        margin: 0 auto 30px;
    }

    .footer-div2 {
        width: 100%;
    }

    .footer-ul {
        padding: 0 5px;
    }

    .footer-ul li b {
        font-size: 0.9rem;
        text-align: center;
    }

    .footer-ul li,
    .footer-ul li a {
        font-size: 0.7rem;
        text-align: center;
        line-height: 1.2;
        display: block;
        margin-bottom: 10px;
    }

    .footer-div4 img {
        width: 20px;
    }

    .footer-div3 a {
        font-size: 0.5rem;
    }

    img.os-img {
        height: 300px;
    }

    .sos-div {
        width: 80%;
        bottom: 0;
    }

    .sos-p {
        font-size: 1.5rem;
        text-align: center;
    }

    .sos-hr {
        margin: 10px auto;
    }

    .sos-p2 {
        font-size: .7rem;
        white-space: normal;
    }

    .sts-img {
        width: 40px;
    }

    .sts-p {
        font-size: 1rem;
        white-space: normal;
    }

    .sts-p3 {
        font-size: 0.8rem;
        margin-top: 10px;
    }

    .sts-p3 img {
        width: 15px;
    }

    .ts-img-container {
        margin-top: 20px;
    }

    .sts-row {
        flex-direction: column-reverse;
    }

    .sts-p2 {
        white-space: normal;
        text-align: justify;
        margin-top: 10px;
    }

    .pos-div {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
        width: 100%;
        margin: 0 auto 5%;
        justify-items: center;
    }

    .pos-div .ts-a-link:nth-child(1),
    .pos-div .ts-a-link:nth-child(2),
    .pos-div .ts-a-link:nth-child(3) {
        grid-column: span 2;
    }

    .pos-div .ts-a-link:nth-child(4) {
        grid-column: 2 / 4;
    }

    .pos-div .ts-a-link:nth-child(5) {
        grid-column: 4 / 6;
    }

    .pos-div .ts-a-link {
        font-size: 0.5rem;
    }

    .col-md-12 .ts-div3 {
        display: flex;
        width: 90%;
        align-items: center;
        justify-content: space-around;
        left: 50%;
        transform: translateX(-50%);
    }

    .col-md-12 .ts-div3 .ts-p2,
    .ts-p2 {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .nos-div {
        width: 100%;
        margin: 10% auto 5%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        justify-items: center;
        align-items: start;
    }

    .nos-div .nos-div2:nth-child(4) {
        grid-column: 1 / 2;
        justify-self: center;
    }

    .nos-div .nos-div2:nth-child(5) {
        grid-column: 2 / 3;
        justify-self: center;
    }

    .nos-img {
        width: 50px;
    }

    .nos-p {
        font-size: 0.8rem;
    }
}