body {
    margin: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3c3c3c;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#content {
    text-align: center;
    background-color: rgba(60, 60, 60, 0.5);
    box-shadow: 0px 0px 50px -5px rgba(60, 60, 60, 0.5);
    padding: 20px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

#content h1 {
    font-size: 1.85em;
}

p {
    font-size: 1.2em;
}

#overlay img {
    width: 100%;
    max-width: 250px;
}

#overlay button {
    --b: 3px;
    /* border thickness */
    --s: 8px;
    /* size of the corner */
    --c: #fff;

    padding: calc(0.05em + var(--s)) calc(0.3em + var(--s));
    color: var(--c);
    --_p: var(--s);
    background: conic-gradient(from 90deg at var(--b) var(--b),
            #0000 90deg,
            var(--c) 0) var(--_p) var(--_p) / calc(100% - var(--b) - 2 * var(--_p)) calc(100% - var(--b) - 2 * var(--_p));
    transition: 0.3s linear, color 0s, background-color 0s;
    outline: var(--b) solid #0000;
    outline-offset: 0.2em;
}

#overlay button:hover,
#overlay button:focus-visible {
    --_p: 0px;
    outline-color: var(--c);
    outline-offset: 0.05em;
}

#overlay button:active {
    background: var(--c);
    color: #fff;
}

#overlay button {
    font-weight: 700;
    font-size: 1.85em;
    cursor: pointer;
    border: none;
    margin: 0.1em;
}


/**/

/* Reset */
*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#navbar {
    /* position: fixed;
    top: 0;
    left: 0; */
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
    text-align: center;
    transition: background-color 0.3s ease-in-out;
}

#navbar #logo-container {
    margin-bottom: 10px;
}

#navbar #logo-container img {
    width: 100%;
    max-width: 350px;
}

#menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

#menu li {
    margin: 0 15px;
}

#menu a {
    text-decoration: none;
    color: #3c3c3c;
    font-size: 1.2em;
    transition: color 0.3s ease-in-out;
}

#menu a:hover {
    color: #1a1a1a;
}

.navbar-hidden {
    transform: translateY(-100%);
}

#scroll-navbar {
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
}

#mobile-navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
    color: #333;
    border-bottom: 1px solid #333;
    z-index: 1000;
    font-size: 28px;
    font-weight: bold;
    /* transition: top 0.3s ease-in-out; */
}

#navbar-toggle {
    position: absolute;
    left: 15px;
    cursor: pointer;
    top: 50%;
    height: 30px;
    transform: translateY(-50%);
}

#logo {
    text-align: center;
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
}

#logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

#sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    padding: 20px;
}

#sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    height: 60px;
    color: #000;
    position: relative;
}

#sidebar-header #logo-container {
    height: 100%;
}

#sidebar-header #logo-container img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: 100%;
    object-fit: contain;
}

#close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

#sidebar-menu {
    list-style: none;
    padding: 0;
}

#sidebar-menu li {
    padding: 15px;
}

#sidebar-menu li a {
    color: #000;
    text-decoration: none;
}

@media only screen and (max-width: 767px) {

    #navbar,
    #scroll-navbar {
        display: none;
    }

    #mobile-navbar {
        display: block;
    }

}

/*

#contenedor_principal section:nth-child(odd) {
    background-color: white;
}

#contenedor_principal section:nth-child(even) {
    background-color: black;
    color: white;
}
*/

/* Style for Carousel section*/

ul.slides {
    display: flex;
    position: relative;
    height: 700px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

.slides * {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

ul.slides input {
    display: none;
}

.slide-content {
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
}

.slide-container {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.7s ease-in-out;
}

.slide-text {
    text-align: center;
    color: #fff;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slide-text h2 {
    font-size: 2em;
    margin: 0;
}

.slide-image {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.7s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d8cbc6;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-controls {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.carousel-controls-content {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.carousel-controls-content label {
    display: none;
    position: absolute;
    padding: 0 20px;
    opacity: 0.5;
    transition: opacity 0.2s;
    cursor: pointer;
    color: #fff;
    top: 0;
    bottom: 0;
}

.carousel-controls-content label .icon i {
    width: 50px !important;
    height: 50px !important;
    font-size: 30px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

.slide-image:hover+.carousel-controls-content label {
    opacity: 0.5;
}

.carousel-controls-content label:hover {
    opacity: 1;
}

.carousel-controls-content .prev-slide {
    width: 49%;
    left: 0;
}

.carousel-controls-content .prev-slide .icon i {
    left: 0;
}

.carousel-controls-content label .icon {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-controls-content .next-slide {
    width: 49%;
    right: 0;
}

.carousel-controls-content .next-slide .icon i {
    right: 0;
}

input:checked+.slide-content {
    display: block;
}

input:checked+.slide-content .slide-container,
input:checked+.slide-content .slide-container .slide-image {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease-in-out;
}

input:checked+.slide-content .carousel-controls .carousel-controls-content label {
    display: block;
}

/* Style for About Me section */

.about-me {
    width: 100%;
    height: auto;
    max-height: 600px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.about-me .image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-me .image img {
    width: 100%;
    height: auto;
    max-height: 800px;
    min-height: 300px;
    object-fit: cover;
}

.about-me .information {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--white-50) !important;
    padding: 80px 10px;
    box-sizing: border-box;
}

.container-header {
    position: relative;
    max-width: 850px;
    text-align: center;
    border-radius: 2px;
    color: var(--white);
    padding: 32px;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin: auto;
}

.container-header .header {
    position: absolute;
    top: 31px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-header .header .image {
    width: 50%;
    height: auto;
}

.announcement {
    position: relative;
    border: 3px solid currentColor;
    border-top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.announcement:before,
.announcement:after {
    content: '';
    position: absolute;
    top: 0;
    border-top: 3px solid currentColor;
    height: 0;
    width: calc(50px + (50 - 5) * ((100vw - 750px) / (768 - 320)));
}

.announcement:before {
    left: -3px;
}

.announcement:after {
    right: -3px;
}

.announcement .center-text {
    margin-top: 40px;
}

.announcement .center-text p {
    font-size: calc(1vw + 0.5em);
    font-weight: 400;
    line-height: 1.125em;
}

/* mission */

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.grid-item {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(2);
    transition: transform 0.6s ease, opacity 0.6s ease;
    aspect-ratio: 1/1;
}

.grid-item.visible {
    opacity: 1;
    transform: scale(1);
}

.grid-item.hidden {
    transform: scale(0);
    opacity: 0;
}

.grid-item[data-delay="0"] {
    transition-delay: 0s;
}
.grid-item[data-delay="100"] {
    transition-delay: 0.3s;
}
.grid-item[data-delay="200"] {
    transition-delay: 0.6s;
}
.grid-item[data-delay="300"] {
    transition-delay: 0.9s;
}

.grid-item-texts {
    padding: 20px;
    background-color: #fafafa;
    flex-direction: column;
    text-align: center;
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.grid-item-texts p {
    font-size: 1em;
}

.placeholder-text {
    font-weight: bold;
    font-size: 1.5em;
    text-align: center;
}


@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-item[data-delay="0"] {
        order: 1;
    }

    .grid-item-texts[data-delay="100"] {
        order: 2;
    }

    .grid-item[data-delay="300"] {
        order: 3;
    }

    .grid-item-texts[data-delay="200"] {
        order: 4;
    }
}

.mission_vision video {
    width: 100%;
    height: auto;
}

/** Products **/
:root {
    --main-image-width: 600px;
    --main-image-height: 500px;
    --thumbnail-track-width: 90px;
}

.product-image-carousels {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/** Thumbnails carousel */
.thumbnails-slider {
    width: 100%;
    max-width: var(--main-image-width);
    height: var(--thumbnail-track-width);
    padding: 0 30px;
}

.thumbnails-slider button {
    height: var(--thumbnail-track-width) !important;
    width: auto !important;
    padding: 5px;
    margin: 0;
    font-size: 30px;
}

.thumbnails-slider .thumbnail-button:not([disabled]):hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: black;
}

/* .thumbnails-slider .thumbnail-button:focus {
    background-color: royalblue;
} */

.thumbnails-slider button:focus .slick-prev-icon,
.thumbnails-slider button:focus .slick-next-icon {
    color: white !important;
}

.thumbnails-slider button.slick-prev {
    left: 0;
    width: 30px !important;
}

.thumbnails-slider button.slick-prev .slick-prev-icon {
    display: inline-block;
    color: black;
}

.thumbnails-slider button.slick-next {
    right: 0;
    width: 30px !important;
}

.thumbnails-slider button.slick-next .slick-next-icon {
    display: inline-block;
    color: black;
}

.thumbnails-slider .thumbnail-button {
    display: block;
    height: var(--thumbnail-track-width) !important;
    cursor: pointer;
    border: 0;
    background: none;
    /* background-color: rgba(0, 0, 0, 0.4); */
    /* transition: opacity 0.1s linear; */
}

/* .thumbnails-slider .thumbnail-button:focus img, */
/* .thumbnails-slider .thumbnail-button:hover img, */
.thumbnails-slider .thumbnail-button[aria-current="true"] {
    /* opacity: 1;
    filter: grayscale(0); */
    border: 2px solid;
}

/* .thumbnails-slider .thumbnail-button:focus img {
    outline: 3px dashed white;
    outline-offset: -4px;
} */

.thumbnails-slider .thumbnail-button img {
    display: block;
    width: 100%;
    height: 100%;
    /* opacity: 0.3; */
    object-fit: contain;
    /* filter: grayscale(0.6); */
    transition: all 0.1s linear;
}

/** Main image carousel */
.main-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: var(--main-image-width);
    max-height: var(--main-image-height);
    position: relative;
    margin-bottom: 10px;
}

.main-image-slider button {
    z-index: 1;
}

.main-image-slider button.slick-prev {
    left: 10px;
}

.main-image-slider button.slick-prev .slick-prev-icon {
    opacity: 1;
}

.main-image-slider button.slick-next {
    right: 10px;
}

.main-image-slider button.slick-next .slick-next-icon {
    opacity: 1;
}

.main-image-slider .slick-slide {
    width: var(--main-image-width);
}

.main-image-slider .slick-slide .image-link {
    height: var(--main-image-height);
    overflow: hidden;
    transition: outline 0.1s linear;
}

.main-image-slider .slick-slide .image-link img {
    display: block;
    object-fit: contain;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/** Demo only */
.note {
    text-align: center;
    font-size: 14px;
    width: var(--main-image-width);
    padding: 0 20px;
    margin: 0 auto;
    opacity: 0.8;
}

.note a {
    color: black;
    font-weight: bold;
}

.products {
    width: 100%;
    height: auto;
    padding: 100px 0;
    display: flex;
    justify-content: center;
}

.carousel-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.slick-carousel {
    width: 80%;
    height: 100%;
}

.slick-carousel .slick-list,
.slick-carousel .slick-list .slick-track,
.slick-carousel .slick-list .slick-track .slick-slide {
    height: 100%;
}

.slick-carousel .carousel-item {
    text-align: center;
    transform: scale(0.95);
    transition: transform 1s ease;
    cursor: pointer;
}

.slick-carousel .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 550px;
}

.slick-carousel .carousel-item .item-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    margin-top: 25px;
}

.slick-carousel .carousel-item:hover {
    transform: scale(1);
}

.products .slick-prev-icon,
.products .slick-next-icon {
    background: transparent;
    border: none;
    z-index: 1;
}

/* .product {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.product img {
    width: 100%;
    height: auto;
    max-height: 100%;
    cursor: pointer;
    object-fit: contain;
    transition: transform 0.3s;
}

.product:hover img {
    transform: scale(1.1);
}

.product-name {
    width: 100%;
    font-size: 16px;
    margin-top: 10px;
    padding: 10px;
    text-align: center;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.5;
    height: calc(1.5 * 2 * 16px);
} */

/** Politicas **/

.politics {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 10px;
    flex-direction: column;
    gap: 25px;
    background-color: #000;
}

.content-politics {
    width: 100%;
    max-width: 1000px;
}

.m-d.expand-list {
    margin: 0;
    padding: 0;
}

.m-d.expand-list>li {
    list-style-type: none;
    padding: 5px 0;
    border-bottom: 1px solid #212121;
    position: relative;
}

.m-d label[class^="tab"]:hover {
    cursor: pointer;
}

.m-d input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.m-d input[class^="tab"] {
    width: 100%;
    height: 30px;
    position: absolute;
    left: 0;
    top: 0;
}

.m-d input[class^="tab"]:hover {
    cursor: pointer;
}

.m-d label[class^="tab"] {
    font-weight: bold;
}

.m-d .content {
    height: auto;
    max-height: 0;
    max-width: 80%;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 180ms ease-in-out 0ms;
}

.m-d li[data-md-content="100"] input[class^="tab"]:checked~.content {
    max-height: 100px;
    transition: all 150ms ease-in-out 0ms;
}

.m-d li[data-md-content="200"] input[class^="tab"]:checked~.content {
    max-height: 200px;
    transition: all 200ms ease-in-out 0ms;
}

.m-d li[data-md-content="300"] input[class^="tab"]:checked~.content {
    max-height: 300px;
    transition: all 250ms ease-in-out 0ms;
}

.m-d li[data-md-content="400"] input[class^="tab"]:checked~.content {
    max-height: 400px;
    transition: all 250ms ease-in-out 0ms;
}

.m-d li[data-md-content="500"] input[class^="tab"]:checked~.content {
    max-height: 500px;
    transition: all 250ms ease-in-out 0ms;
}

.m-d li[data-md-content="600"] input[class^="tab"]:checked~.content {
    max-height: 600px;
    transition: all 250ms ease-in-out 0ms;
}

.m-d li[data-md-content="700"] input[class^="tab"]:checked~.content {
    max-height: 700px;
    transition: all 300ms ease-in-out 0ms;
}

.m-d li[data-md-content="800"] input[class^="tab"]:checked~.content {
    max-height: 800px;
    transition: all 300ms ease-in-out 0ms;
}

.m-d li[data-md-content="900"] input[class^="tab"]:checked~.content {
    max-height: 900px;
    transition: all 300ms ease-in-out 0ms;
}

.m-d li[data-md-content="1000"] input[class^="tab"]:checked~.content {
    max-height: 1000px;
    transition: all 350ms ease-in-out 0ms;
}

.m-d li[data-md-content=""] input[class^="tab"]:checked~.content {
    max-height: 1000px;
    transition: all 250ms ease-in-out 0ms;
}

.m-d input[class^="tab"]:checked~.content {
    margin-bottom: 20px;
}

.m-d .open-close-icon {
    display: inline-block;
    position: absolute;
    right: 20px;
    transform: translatey(2px);
}

.m-d .open-close-icon i {
    position: absolute;
    left: 0;
}

.m-d .open-close-icon .fa-minus {
    transform: rotate(-90deg);
    transition: transform 150ms ease-in-out 0ms;
}

.m-d input[class^="tab"]:checked~.open-close-icon .fa-minus {
    transform: rotate(0deg);
    transition: transform 150ms ease-in-out 0ms;
}

.m-d .open-close-icon .fa-plus {
    opacity: 1;
    transform: rotate(-90deg);
    transition: opacity 50ms linear 0ms, transform 150ms ease-in-out 0ms;
}

.m-d input[class^="tab"]:checked~.open-close-icon .fa-plus {
    opacity: 0;
    transform: rotate(0deg);
    transition: opacity 50ms linear 0ms, transform 150ms ease-in-out 0ms;
}

.effect {
    width: 100%;
}

.effect .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.effect a {
    text-decoration: none !important;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 25px;
    overflow: hidden;
    position: relative;
    color: #fff;
    border: 2px solid #fff;
}

.effect a i {
    position: relative;
    z-index: 3;
}

.effect a:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.effect a i {
    display: inline-block;
    vertical-align: middle;
}

.effect a {
    transition: border-radius 0.2s linear 0s;
    transform: rotate(45deg);
}

.effect a i {
    transition: transform 0.01s linear 0s;
    transform: rotate(-45deg);
}

.effect a:hover {
    border-radius: 0px;
    color: #fff;
}

@media screen and (max-width: 768px) {

    .effect a {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .effect a:hover {
        border-radius: 50%;
    }
}

/** Contact Us **/

.contact_us {
    width: 100%;
    height: auto;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper {
    max-width: 600px;
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 4px 4px 2px rgba(254, 254, 254, 0.5);
}

.wrapper h2 {
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #000;
}

/* Custom CSS styles for WhatsApp Button */
.correo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 10px 20px;
    background-color: #4caf50;
    color: #fff;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
    cursor: pointer;
    height: auto;
    width: auto;
    border: none;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 10px 20px;
    background-color: #4caf50;
    color: #fff;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
    cursor: default;
    height: auto;
    width: auto;
    cursor: pointer;
}

.whatsapp-link svg {
    fill: #fff;
    width: 22px;
    height: 22px;
}

.whatsapp-link:hover {
    background-color: #45a049;
    color: #fff;
}

/* Custom CSS styles for WhatsApp Form */
.waform-IT .form-container {
    width: 100%;
}

.form-container .formC:nth-child(1) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    --gap: 1rem;
}

.formC .Fcontrol {
    position: relative;
}

.formC .Fcontrol input:focus,
.formC .Fcontrol textarea:focus {
    border-color: #4caf50;
}

.Fcontrol .cSubject,
.Fcontrol input[type="text"],
.Fcontrol input[type="email"],
.Fcontrol textarea {
    width: 100%;
    height: calc(3.5rem + calc(1px * 2));
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    padding-top: 1.625rem;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.5);
}

.Fcontrol textarea {
    height: 150px;
}

.Fcontrol .subjectC,
.nameC,
.emailC,
.messageC {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    height: auto;
    padding: 1rem 0.75rem;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    transform-origin: 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    white-space: nowrap;
    color: rgba(33, 37, 41, 0.65);
    transition: 0.1s ease;
}

.Fcontrol .cSubject {
    display: block;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.75rem center/16px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Validation */
.valid[data-text]:before {
    position: absolute;
    bottom: 100%;
    left: 12px;
    content: "";
    border: 8px solid;
    border-color: transparent transparent #ffd91a transparent;
    top: calc(100% - 21px);
}

.valid[data-text]:after,
.valid[data-text]:before {
    opacity: 1;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 3;
}

.valid[data-text]:after {
    content: attr(data-text);
    position: absolute;
    background: #ffd91a;
    left: 0;
    top: calc(100% - 5px);
    font-size: 12px;
    padding: 0 5px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 8%);
}

.show#cName~.valid:after,
.show#cEmail~.valid:after,
.show#cMessage~.valid:after,
.show#cName~.valid[data-text]:before,
.show#cEmail~.valid[data-text]:before,
.show#cMessage~.valid[data-text]:before,
.none#cName~.valid:after,
.none#cEmail~.valid:after,
.none#cMessage~.valid:after,
.none#cName~.valid[data-text]:before,
.none#cEmail~.valid[data-text]:before,
.none#cMessage~.valid[data-text]:before {
    opacity: 0;
}

.Fcontrol input:focus~.nameC,
.Fcontrol input:focus~.emailC,
.Fcontrol textarea:focus~.messageC {
    top: -5px;
}

/* Remove IE arrow */
select:focus {
    outline: none;
}

select::-ms-expand {
    display: none;
}

@media screen and (max-width: 620px) {
    .formC:nth-child(1) {
        gap: 0;
    }
}

/* Fondo transparente negro */
#zoomModal .modal-content {
    background: #fff;
    border: none;
    width: 100%;
    height: 100%;
}

#zoomModal .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo para el botón de cerrar */
.zoom-close-btn {
    position: absolute;
    top: 50px;
    right: 50px;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

.zoom-close-btn:hover {
    background-color: #ddd;
}

/* Estilo para la imagen */
.zoomed-image {
    width: 100%;
    height: 100%;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}
