/* Variables CSS */
:root {
    --negro: #3b3b3b;
    --blanco: #f2f2f2;
    --gris: #8f8f8c;
    --rojo: #bc2a10;

    --azul-claro: #2f5ad0;
    --azul-obscuro: #1e3a8a;
    --naranja: #ff6900;
    --amarillo: #fcb900;
    --verde: #00FF00;
    --verde-oscuro: #3c3c3c;
    --background: #f9fafb;

    /* Para la marquesina de clientes */
	/* --marquee-width: 1600px; */
	--marquee-width: 100%;
	--marquee-height: 20vh;
	--marquee-elements: 13; /* defined with JavaScript */
	--marquee-elements-displayed: 4;
	--marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
	--marquee-animation-duration: calc(var(--marquee-elements) * 1.5s);
}

@font-face {
    font-family: 'futuramedium';
    src: url('../fonts/futura_medium-webfont.woff2') format('woff2'),
         url('../fonts/futura_medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'futurabold';
    src: url('../fonts/futura_bold-webfont.woff2') format('woff2'),
         url('../fonts/futura_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  
    /* for debugging */
    /*
    outline: 2px solid limegreen !important;
    background-color: rgb(0 100 0 / 0.1) !important;
    */
}
  
html {
    scroll-behavior: smooth;

    /* Para evitar que el navbar cubra el contenido al dar clic en una opcion del menu */
    /* scroll-padding-top: 138.8px; */
}

img {
    max-width: 100%;
    display: block;
}
  
a {
    text-decoration: none;
}

/* Divide el contenido en columnas iguales */
.even-columns {
    color: #1e3a8a;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}

.split-columns {
    display: flex;
    flex-direction: column;
}
@media (min-width: 40em) {

    /* 40em = 640px */
    .split-columns {
        flex-direction: row;
    }

    .split-columns>* {
        flex-basis: 100%;
    }
}


body {
    font-family: 'futuramedium', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'futurabold', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* Top header */
.top-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 101;
}

.top-header-content {
    margin: 0 2.5rem;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-header-info {
    cursor: pointer;
    color: var(--negro);
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
}
.text-info {
    margin: 0 1rem;
}
.top-header-info:hover .text-info {
    color: var(--gris);
}

/* Header Styles */
header {
    position: relative;
    min-height: 170px;
    width: 100%;
    /* background-color: var(--azul-claro); */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.header-container {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: end;
    padding: 0px 5%;
    z-index: 100;
}

.logo {
    position: absolute;
    top: .5rem;
    left: 5%;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 130px;
}

.top-header-info-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--negro);
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: color 0.3s;
    display: block;
}

nav ul li a:hover {
    color: #e74c3c;
}

.menu-active {
    color: #fff !important;
    background-color: #e74c3c !important;
    padding: 4px 8px !important;
    border-radius: 3px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: #444;
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown indicator */
.dropdown>a:after {
    content: "▼";
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.3s;
}

/* Hamburger Icon */
.hamburger-icon {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Close Icon (X) */
.hamburger-icon.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

/* Hero Section */
.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/api/placeholder/1200/600');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 150px 5% 100px;
    text-align: center; */
}

.swiper {
    width: 100%;
    height: 90vh;
}

.slide1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/trailer-quimicos-2.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 150px 5% 100px;
    text-align: center;
}

.slide2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url('../images/trailers-tecnocargo.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 150px 5% 100px;
    text-align: center;
}

.slide3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.9)), url('../images/trailers-sustenabilidad.jpeg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 150px 5% 100px;
    text-align: center;
}


.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    text-align: left;
    color: var(--blanco) !important;
    /* max-width: 800px; */
    margin: 0 auto 30px;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: var(--blanco);
    background-color: var(--rojo);
    border: none;
    border-radius: 6px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
}

.btn:hover,
.btn:focus {
    background-color: var(--naranja);
    box-shadow: 0px 12px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-7px);
}

.btn:active {
    transform: translateY(-1px);
}


.hero-text {
    display: flex;
    width: 55%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--blanco);
    padding: 0 2rem;
    /* margin-top: 7rem; */
}

.hero-text h2 {
    text-align: left;
    font-size: clamp(2.5rem, calc(1rem + 4vw), 3.5rem);
    font-weight: 700;
    line-height: 1;
    margin: 1rem 0;
}

.hero-text h2 span {
    color: var(--rojo);
    text-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

.hero-text p {
    color: var(--naranja);
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60% !important;
    z-index: 10;
}

.cta-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background-color: var(--rojo);
    color: var(--blanco);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
    background-color: var(--naranja);
    box-shadow: 0px 12px 15px rgba(0, 0, 0, 0.3);
}

/*
    Formularios
*/
input {
    color: var(--negro);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    padding: .5rem;
    width: 100%;
    outline: none;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid var(--negro);
    margin-bottom: 1.5rem;
}

input:focus {
    border-bottom: 1px solid var(--amarillo);
}

/* remove background on autofill */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px var(--azul-obscuro) inset !important;
    -webkit-text-fill-color: var(--gris) !important;
}

textarea {
    color: var(--negro);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    padding: .5rem;
    width: 100%;
    outline: none;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid var(--negro);
    margin-bottom: 1.5rem;
    resize: none;
    field-sizing: content;
}

textarea:focus {
    border-bottom: 1px solid var(--amarillo);
}


/* Pop-up styles */
.overlay-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 102;
    opacity: 0;
    overflow-x: hidden;
    transition: opacity 0.3s ease-in-out;
}

.popup {
    background-color: var(--blanco);
    width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease-in-out;
}

.popup-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    margin: 0;
    font-size: 1.6rem;
    color: #333;
    text-align: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #333;
}

.popup-content {
    padding: 1rem;
}

.popup-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    text-align: right;
}

/* Show classes for animation */
.overlay-popup.show {
    display: flex;
    opacity: 1;
}

.popup.show {
    transform: scale(1);
}    


/* Services Section */
.services {
    padding: 80px 5%;
    background-color: #f9f9f9;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.section-heading p {
    font-size: 1.3em;
    color: #666;
    /* max-width: 800px; */
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.service-card {
    position: relative;
    min-height: calc(100% + 3rem);
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    text-wrap: pretty;
    color: #666;
    font-size: 1.3em;
    margin-bottom: 2rem;
}

.service-card a {
    position: absolute;
    bottom: 2rem;
    left: 1.5rem;
}

/* About Section */
.about {
    padding: 80px 5%;
}

.about-container {
    display: flex;
    align-items: center;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.about-content {
    flex: 1;
    padding-right: 2rem;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.about-content p {
    text-wrap: pretty;
    margin-bottom: 20px;
    color: #666;
    font-size: 1.3em;
}

.about-img {
    flex: 1;
    height: 400px;
    background-color: #ddd;
    background-image: url('/api/placeholder/600/400');
    background-size: cover;
    background-position: center;
    border-radius: 6px;
}

.cert-img {
    flex: 1;
}

.cert-img img {
    max-width: 100%;
    height: 100px !important; /* Ajusta la altura según tus necesidades */;
}

.top-cert-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 4rem;
}
.center-cert-img {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}
.bottom-cert-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 4rem;
}

.diferenciadores {
    width: 100%;
    position: relative;
    background: linear-gradient(90deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%),  no-repeat center/100% fixed url('../images/world_background.jpg');
    background-size: cover;
    padding: 4rem 0;
    margin: 6rem 0 2rem 0;
}

.diferenciadores h2 {
    font-size: 36px;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
}

.tecnocargo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    row-gap: 4rem;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.3s;
    -ms-transition: transform 0.3s;
}
.feature:hover {

    .feature-icon {
        background-color: rgba(249, 249, 249, 0.5);
        transform: translateY(-10px);
    }

    img {
        transform: scale(1.5);
    }
}

.feature-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(249, 249, 249, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.feature img {
    width: 100px;
    height: 100px;
    transition: transform 0.5s;
    -ms-transition: transform 0.5s;
}

.feature h3 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-top: 20px;
    color: var(--blanco);
    text-align: center;
    line-height: 1.2;
}

/* contadores */
.contadores {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 6rem 0;
}

.contador {
    display: inline-block;
    width: 24.7%;
    text-align: center;
}

.contador-cant {
    position: relative;
    color: var(--azul-claro);
    display: inline-block;
    font-size: 2.5em;
    margin: 10px 0;
}
.contador-cant::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--rojo);
}
.signo-mas {
    color: var(--azul-claro);
    display: inline-block;
    font-size: 2.5em;
}
.contador img {
    margin: 0 auto;
    display: block;
    max-height: 100px;
}

@keyframes mostrar-contador {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contador h3 {
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-top: 20px;
    text-align: center;
    line-height: 1.2;
}

.ocultar-contador {
    opacity: 0;
}

.animar {
    animation: mostrar-contador 1.3s;
}


/*
    Marquesina de clientes
*/
#clientes {
    padding: 4rem 2rem;
    background-color: var(--background);
}
.marquee {
    display: flex;
	justify-content: center;
	padding: 0 0 4rem 0;
	background-color: transparent;

	width: var(--marquee-width);
	height: var(--marquee-height);
	overflow: hidden;
	position: relative;
}
.marquee:before, .marquee:after {
	position: absolute;
	top: 0;
	width: 10rem;
	height: 100%;
	content: "";
	z-index: 1;
}

.marquee:before {
	left: 0;
	background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, transparent 100%);
}
.marquee:after {
	right: 0;
	background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, transparent 100%);
}

.marquee-content {
	list-style: none;
	height: 100%;
	display: flex;
	animation: scrolling var(--marquee-animation-duration) linear infinite;
}

/* .marquee-content:hover {
animation-play-state: paused;
} */
@keyframes scrolling {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements))); }
}

.marquee-content li {
	display: flex;
	justify-content: center;
	/* align-items: center; */
	/* text-align: center; */
	flex-shrink: 0;
	/* width: var(--marquee-element-width); */
    padding: 0 2rem;
	/* max-height: 100%; */
	/*font-size: calc(var(--marquee-height)*3/4);*/ /* 5rem; */
	/* white-space: nowrap; */
}
.marquee-content li img {
    object-fit: cover;
}
.marquee-content li p {
	font-size: 4.5rem;
	line-height: 1.1;
	color: var(--color-rojo);
	border-bottom: 2px solid var(--color-rojo);
	letter-spacing: -1px;
	padding: 0 2rem;
	margin: 0;
}
@media (max-width: 600px) {
	:root {
	  --marquee-width: 100vw;
	  --marquee-height: 14vh;
	  --marquee-elements-displayed: 3;
	}
	.marquee:before, .marquee:after { width: 5rem; }
}


/* Testimonials */
.testimonials {
    padding: 80px 5%;
    background-color: #f9f9f9;
}

.testimonial-slider {
    /* max-width: 900px; */
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
    text-align: center;
}

.testimonial-content {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-author {
    font-weight: 600;
    color: #333;
}

.testimonial-company {
    color: #777;
    font-size: 14px;
}

/* Call to Action */
.cta {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/api/placeholder/1200/400');
    background-size: cover;
    background-position: center;
    padding: 80px 5%;
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    /* max-width: 800px; */
    margin: 0 auto 30px;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 5% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #e74c3c;
}

.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.contact-info {
    color: #aaa;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #888;
}

/*
    Politica de sustentabilidad
*/
#sustentabilidad {
    padding: 80px 5%;
}

.sustentabilidad {
    position: relative;
    width: 100%;
    min-height: 100vh;
    border-radius: 0 0 10px 10px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(0, 51, 0, 0.1)), url('../images/forest-background.jpeg');
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
}

.sustentabilidad h1 {
    font-size: 2.5rem;
    padding: 0 0 4rem 4rem;
    color: var(--verde-oscuro);
}

.sustentabilidad-container {
    color: var(--verde-oscuro);
    padding: 0 4rem;
}

.sustentabilidad-container h3 {
    font-size: 1.8rem;
}

.sustentabilidad-container p {
    font-size: 1.2rem;
}

.sustentabilidad-cards {
    margin: 4rem 2rem;
    display: flex;
}

.sust-cols {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.sust-card {
    width: calc(25% - 2rem);
    margin: 1rem;
    cursor: pointer;
}

.sust-container {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.sust-front,
.sust-back {
    background-size: cover;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    background-position: center;
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-align: center;
    min-height: 280px;
    height: auto;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1rem;
}

.sust-back {
    background: #cedce7;
    background: -webkit-linear-gradient(45deg, #cedce7 0%, #003300 100%);
    background: -o-linear-gradient(45deg, #cedce7 0%, #003300 100%);
    background: linear-gradient(45deg, #cedce7 0%, #003300 100%);
}

.sust-front:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    opacity: .6;
    background-color: #000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
}

.sust-container:hover .sust-front,
.sust-container:hover .sust-back {
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.sust-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.sust-inner {
    -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
    transform: translateY(-50%) translateZ(60px) scale(0.94);
    top: 50%;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 1px solid transparent;
    -webkit-perspective: inherit;
    perspective: inherit;
    z-index: 2;
}

.sust-container .sust-back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.sust-container .sust-front {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.sust-container:hover .sust-back {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.sust-container:hover .sust-front {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.sust-front .sust-inner p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.sust-front .sust-inner p:after {
    content: '';
    width: 4rem;
    height: 2px;
    position: absolute;
    background: #C6D4DF;
    display: block;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -.75rem;
}

.sust-front .sust-inner span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    letter-spacing: 2px;
}

@media screen and (max-width: 64rem) {
    .sust-card {
        width: calc(33.333333% - 2rem);
    }
}

@media screen and (max-width: 48rem) {
    .sust-card {
        width: calc(50% - 2rem);
    }
}

@media screen and (max-width: 32rem) {
    .sust-card {
        width: 100%;
        margin: 0 0 2rem 0;
    }
}

.principios-accion {
    padding: 0 5%;
}
.principios-accion h2 {
    color: var(--verde-oscuro);
    text-align: center;
    margin-bottom: 4rem;
}
.mejora-continua {
    color: var(--blanco);
    padding: 0 5%;
    margin: 4rem 0;
    padding-bottom: 4rem;
}

.mejora-continua h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.mejora-continua p {
    font-size: 1.4rem;
    text-align: justify;
}

.accordion-container {
    width: 100%;
    margin: auto;
}

.accordion-container .acc-body {
    width: 98%;
    width: calc(100% - 20px);
    margin: 0 auto;
    height: 0;
    color: rgba(0, 0, 0, 0);
    background-color: rgba(255, 255, 255, 0.8);
    line-height: 28px;
    padding: 0 20px;
    box-sizing: border-box;
    transition: 0.5s;
}

.accordion-container label {
    cursor: pointer;
    background-color: rgba(0, 51, 0, 0.7);
    border-bottom: 1px solid rgba(0, 51, 0, 0.9);
    display: block;
    padding: 15px;
    margin: 1rem 0 0 0;
    width: 100%;
    color: var(--blanco);
    font-size: 1.2rem;
    box-sizing: border-box;
    z-index: 100;
}

.accordion-container input {
    display: none;
}

.accordion-container label:before {
    content: '\002B';
    font-weight: bolder;
    float: right;
}

.accordion-container input:checked+label {
    background-color: rgba(0, 51, 0, 0.9);
}

.accordion-container input:checked+label:before {
    content: '\0078';
    font-weight: bolder;
    transition: 0.5s;
}

.accordion-container input:checked~.acc-body {
    height: auto;
    color: var(--verde-oscuro);
    font-size: 1.2rem;
    padding: 20px;
    transition: 0.5s;
}


.video-slogan {
    position: relative;
    /* max-width: 48%;
    min-height: 450px; */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-slogan video {
    /* position: absolute;
    top: 0rem;
    left: 0rem; */
    height: 100%;
    width: 100%;
    object-fit: cover;
}
  
  

/*
    Responsive Design
*/

/* Tablet */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .about-img {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }

    nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    /* Mobile dropdown */
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        width: 100%;
        padding-left: 20px;
        background-color: #f9f9f9;
    }

    .dropdown-content.active {
        display: block;
    }

    .dropdown-content a {
        padding: 12px 20px;
    }

    .dropdown>a:after {
        position: absolute;
        right: 20px;
        top: 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .popup {
        position: absolute;
        top: 4rem;
        left: 0rem;
        width: 100dvw;
    }
}