html {
	scroll-behavior: smooth;
}
:root {
--primary-pink: #F1B9DF;
--primary-white: #FFFFFF;
--primary-blue: #223A8C;
--primary-black: #000000;
font-family: "Rubik", serif;
--section-bg-color: var(--primary-pink);
--header-text-color: var(--primary-blue);
--content-text-color: var(--primary-blue);
--highlight-color: var(--primary-blue);
}
body {
	font-family: "Rubik", serif;
	margin: 0;
	background-color: #f0f0f0;
}
p {
	margin: 0;
}

/* Header content */
.header-content {
	position: relative;
	min-height: 769px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
}
.header-content .background-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.header-overlay {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
	color: var(--primary-white);
}
.header-content::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #223A8C;
	opacity: 0.7;
	z-index: 2;
}
.header-content h1 {
	position: relative;
	z-index: 2;
	padding: 0 60px;
	font-size: 5.2rem;
	font-weight: 850;
	color: var(--primary-white);
}
.header-content span {
	color: var(--primary-pink);
}


.header-base {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 60px;
	z-index: 2;
	margin-bottom: 2%;
	width: 100vw;
	div {
			display: flex;
			align-items: center;
			justify-content: space-between;
			z-index: 2;
			width: 12%;
			p {
					color: white;
					font-weight: 300;
					font-size: 1.125rem;
					margin-right: 5px;
			}
			img {
					width: 2rem;
					height: auto;
					margin-top: 2%;
					cursor: pointer;
			}
	}
}
.header-base .whats-logo {
	width: 3.43rem;
	height: 3.43rem;
	z-index: 900;
	position: fixed;
	right: 0;
	padding-right: 3.75rem;
	cursor: pointer;
}
@media only screen and (max-width: 600px) {
	.header-base {
		padding: 150px 4%;
	}
	.header-base div p{
		font-size: .9rem;
	}
	.header-base div {
		width: auto;
	}
	.header-base .whats-logo {
		padding-right: 5%;
		width: 3rem;
		height: 3rem;
		z-index: 1100;
	}
	.header-content h1 {
		font-size: 2.2rem;
		padding: 150px 3%;
		font-weight: 650;
	}
}
@media only screen and (min-width:600px) and (max-width:768px) {
	.header-base div{
		width: auto;
		padding: 0 2%;
	}
	.header-base {
		padding: 0 1%;
	}
	.header-base div p{
		font-size: .9rem;
	}
	.header-content h1 {
		font-size: 3.5rem;
		padding: 0 2%;
	}
}
@media only screen and (min-width:600px) and (max-width:1024px){
	.header-base div p{
		font-size: 1.2rem;
	}
}

@media only screen and (min-width:769px){
	.header-base  div{
		width: auto;
	}
}

/* Navbar content */
.navbar-content {
	display: flex;
	justify-content: space-between;
	align-items:flex-start;
	padding: 40px 60px;
	z-index: 100;
	width: 100vw;
	transition: background-color 0.3s ease;
	background-color: transparent;
	position: fixed;
}
.navbar-content.scrolled {
    background-color: var(--primary-blue); 
	opacity: .9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-links {
	display: flex;
	margin-right: 25%;
	justify-content: space-between;
	z-index: 2;
	a {
		margin: 0 10px;
		font-size: .87rem;
		color: var(--primary-pink);
		font-weight: 450;
		text-decoration: none;
		cursor: pointer;
	}
}
@media only screen and (max-width: 600px) {
	.navbar-content {
		padding: 3%;
	}
}
@media only screen and (min-width:600px) and (max-width:768px){
	.navbar-content {
		padding: 2%;
	}
}

.hamburger-menu {
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1100;;
	position: fixed;
	top: 0;
	right: 0;
	margin: 5% 5% 0 0;
	background-color: transparent;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
	height: 100vh;
	background-color:var(--primary-blue);;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
	transform: translateX(100%);
	overflow-y: auto; /* Add vertical scrolling if content overflows */
    overflow-x: hidden; /* Disable horizontal scrolling */
    scroll-behavior: smooth; /* Smooth scrolling */
}
.mobile-menu.open {
    animation: slideIn 0.3s ease-in-out forwards;
}
.mobile-menu.closing {
    animation: slideOut 0.3s ease-in-out forwards;
}

.mobile-menu .close-menu-icon{
	position: relative;
    width: 36px;
    height: 36px;
    align-self: flex-end;
    margin: 10%;
    cursor: pointer;
    z-index: 10005;
	pointer-events: auto;
}

.mobile-menu .whatsLogo-menu {
    width: 3rem;
    height: 3rem;
    align-self: flex-end;
    cursor: pointer;
	padding-right: 10%;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--primary-pink);
	width: 90%;
	text-align: right;
    font-weight: 450;
    font-size: 1.75rem;
    cursor: pointer;
	/* margin-bottom: 5%; */
	padding: 2rem 17% 2rem 0;
}
.mobile-menu a:hover {
    text-decoration: none;
	background-color: var(--primary-pink);
    color: var(--primary-blue);
	width: 90%;
	text-align: right;
    font-weight: 450;
    font-size: 1.75rem;
    cursor: pointer;
	/* margin-bottom: 10%; */
	padding: 2rem 15% 2rem 0;
}
.mobile-menu a:nth-child(6) {
	margin-bottom: 0;
}

@media only screen and (min-width:600px) and (max-width:768px){
	.navbar-links {
		margin-right: 15%;
	}
}
@media only screen and (min-width:1440px){
	.navbar-links {
		margin-right: 25%;
		width: 45%;
	}
}

/* About us Section One and Two */

.about-general--pink {
	--section-bg-color: var(--primary-pink);
	--header-text-color: var(--primary-blue);
	--content-text-color: var(--primary-blue);
	--highlight-color: var(--primary-blue);
	--section-arrow-color: var(--primary-blue);
	--left-arrow-rotation: 0deg;
	--right-arrow-rotation: 180deg;
	--margin-text: 0;
	--section-bg-image: url("https://amatlan.s3.us-east-1.amazonaws.com/IMG_20240424_110457%402x.png");
}
.about-general--blue {
	--section-bg-color: var(--primary-blue);
	--header-text-color: var(--primary-pink);
	--content-text-color: var(--primary-pink);
	--highlight-color: var(--primary-pink);
	--section-arrow-color: var(--primary-pink);
	--left-arrow-rotation: 180deg;
	--right-arrow-rotation: 0deg;
	--margin-text: 5%;
	--section-bg-image: url("https://amatlan.s3.us-east-1.amazonaws.com/IMG_20240424_1104572%402x.png");
}
.about-general {
	display: flex;
	flex-wrap: wrap;
	background-color: var(--section-bg-color);
}
.about-description {
	width: 55%;
}
.about-header {
	width: 90%;
	margin: auto;
	display: flex;
	justify-content: space-between;
	padding-top: 4%;
	border-bottom: 2px solid var(--primary-white);
}
.about-header h3{
	color: var(--header-text-color);
	font-weight: 500;
}
.about-content {
	padding: 5% 8% 15% 12%;
	width: 80%;
}
.about-content h2{
	color: var(--content-text-color);
	font-weight: 800;
	font-size: 2.75rem;
}
.about-content h2 span{
	color: var(--primary-white);
	font-weight: 800;
	font-size: 2.75rem;
}
.about-content p{
	color: var(--content-text-color);
	font-weight: 200;
	font-size: 1.25rem;
	margin-bottom: 5%;
	width: 100%;
}
.about-content p:nth-child(3){
	margin-bottom: var(--margin-text);
}
.about-content h3{
	color: var(--primary-white);
	font-weight: 800;
	font-size: 1.85rem;
	margin: 0;
}
.about-content h3 span{
	color: var(--highlight-color);
	font-weight: 800;
	font-size: 1.85rem;
	margin: 0;
}
.carousel-aboutUs {
	position: relative;
	background-image: var(--section-bg-image);
	background-size: cover;
	width: 45%;
	display: flex;
	justify-content: space-between;
	align-items: end;
	overflow: hidden;
	transition: background-image 0.5s ease;
}
@media only screen and (max-width: 600px) {
	.about-general {
		flex-direction: column;
	}
	.about-description {
		width: 100%;
		order: 1;
	}
	.carousel-aboutUs {
		width: 100%;
		min-height: 60vh;
		order: 2;
	}
	.about-general--blue .about-description {
		order: 1; /* Description first for blue section on mobile */
	}
	.about-general--blue .carousel-aboutUs {
		order: 2; /* Carousel second for blue section on mobile */
	}
	.about-content p{
		font-size: .9rem;
	}
	.about-content h3{
		font-size: 1.5rem;
	}
	.about-content h3 span{
		font-size: 1.5rem;
	}
}
.carousel-arrow {
	background-color: var(--section-arrow-color);
	width: 35px;
	display: flex;
	justify-content: center;
	align-content: center;
	padding: 3%;
	z-index: 4;
}
.carousel-left-arrow {
	rotate: var(--left-arrow-rotation);
	cursor: pointer;
}
.carousel-right-arrow {
	rotate: var(--right-arrow-rotation);
	cursor: pointer;
}

/* Our services */
.services-amatlan--blue {
	--section-bg-color: var(--primary-blue);
	--border-header-color: var(--primary-pink);
	--header-text-color: var(--primary-pink);
	--card-text-color: var(--primary-pink);
	--border-card-color: var(--primary-pink);
}

.services-amatlan--white {
	--section-bg-color: var(--primary-white);
	--border-header-color: var(--primary-black);
	--header-text-color: var(--primary-black);
	--card-text-color: var(--primary-black);
	--border-card-color: var(--primary-black);
}
.services{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 5% 5% 3% 5%;
	background-color: var(--section-bg-color);
}
.services-header{
	display: flex;
	width: 100%;
	justify-content: space-between;
	border-bottom: 2px solid var(--border-header-color);
	h3 {
		font-size: 1.125rem;
		color: var(--header-text-color)
	}
}
.services h2{
	width: 100%;
	font-size: 2.75rem;
	color: var(--card-text-color)
}
@media only screen and (max-width: 600px) {
	.services h2{
		font-size: 2.1rem;
	}
}
.services-card{
	width: 30%;
}
@media only screen and (max-width: 600px) {
	.services-card {
		width: 100%;
	}
}
.services-card img{
	width: 100%;
}
.services-card h3{
	font-size: 1.5rem;
	font-weight: 500;
	padding-bottom: 1%;
	border-bottom: 2px solid var(--border-card-color);
	color: var(--card-text-color)
}
@media only screen and (max-width: 600px) {
	.services-card h3{
		font-size: 1.1rem;
		font-weight: 600;
	}
}
@media only screen and (min-width:600px) and (max-width:1024px){
	.services-card h3{
		font-size: 1.2rem;
	}
}
.social-media a {
    display: inline-block;
}
.social-media{
	display: flex;
	width: 25%;
	justify-content: space-between;
	align-items: center;
}
@media only screen and (max-width: 600px) {
	.social-media{
		width: 100%;
	}
}
@media only screen and (min-width:600px) and (max-width:1024px){
	.social-media{
		width: 40%;
	}
}
.social-media div {
	display: flex;
	width: 20%;
	justify-content: space-between;
}
.social-media h3{
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--card-text-color);
}
@media only screen and (max-width: 600px) {
	.social-media h3{
		font-size: 1rem;
	}
}
@media only screen and (min-width:600px) and (max-width:768px){
	.social-media h3{
		font-size: 1.2rem;
	}
}

/* Events Section */
.events{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 5% 5% 3% 5%;
	background-color: var(--section-bg-color);
}
.events-amatlan--white {
	--section-bg-color: var(--primary-white);
	--border-header-color: var(--primary-black);
	--header-text-color: var(--primary-black);
	--card-text-color: var(--primary-black);
	--border-card-color: var(--primary-black);
}
.events-header{
	display: flex;
	width: 100%;
	justify-content: space-between;
	border-bottom: 2px solid var(--border-header-color);
	h3 {
		font-size: 1.125rem;
		color: var(--header-text-color)
	}
}
.events-carousel-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	overflow: hidden;
}
.events-cards {
	display: flex;
	justify-content: space-between;
    flex-wrap: nowrap; /* Ensure cards stay in one row */
    transition: transform 0.5s ease;
    width: 100%; /* Container width */
    overflow: hidden; /* Hide overflowed cards */
}
.events-card--white{
	--events-cards-color: var(--primary-white);
	--button-border-color: var(--primary-black);
	--button-text-color: var(--primary-black);
	--events-card-text-color: var(--primary-black);
	--events-card-text2-color: var(--primary-black);
	--events-card-text3-color: var(--primary-black);
	--square-border-color: var(--primary-black);
}
.events-card--pink{
	--events-cards-color: var(--primary-pink);
	--button-border-color: var(--primary-white);
	--button-text-color: var(--primary-white);
	--events-card-text-color: var(--primary-white);
	--events-card-text2-color: var(--primary-blue);
	--events-card-text3-color: var(--primary-blue);
	--square-border-color: var(--primary-white);
}
.events-card {
	width: 28%;
	padding: 1% 2%;
	background-color: var(--events-cards-color);
	box-shadow: 0px 6px 6px #00000029;
	position: relative;
}
.image-container{
	cursor: pointer;
	width: 90%;
	margin: 10% auto;
	position: relative; /* Ensures the image is above the pseudo-element */
	z-index: 1; /* Keeps the image above the border square */
}
.image-container::before {
	content: '';
	position: absolute;
	top: 10%;
	left: calc(20% - 5px); /* Adjust to account for the border thickness */
	width: calc(60% + 10px); /* Match the image size plus border thickness */
	height: calc(60% + 10px); /* Match the image size plus border thickness */
	border: 5px solid var(--square-border-color);
	z-index: 0; /* Ensure it appears behind the image */
}

.image-container img {
	width: 100%;
	position: relative;
	z-index: 1;
	transition: transform 0.4s ease;
}
.image-container:hover {
	transform: scale(1.1); /* Slightly enlarges the container and border */
}

.image-container:hover img {
	transform: scale(1.1); /* Enlarges the image beyond the square border */
}

.image-container:hover::before {
	transform: scale(1.05); /* Optional: Slightly enlarges the border for a subtle effect */
}
.button-section{
	width: 90%;
	display: flex;
	justify-content: flex-end;
	padding: 3% 5%;
}
.button-section button{
	background-color: transparent;
	border: 1px solid var(--button-border-color);
	padding: 3%;
	color: var(--button-text-color);
	width: 40%;
	cursor: pointer;
}
@media only screen and (min-width:600px) and (max-width:1024px){
	.button-section button{
		width: 80%;
		padding: 3% 1%;
	}
}

.events-card h3{
	color: var(--events-card-text-color);
	margin: 0;
	font-size: 1.25rem;
}
.events-card p{
	color: var(--events-card-text2-color);
	margin: 3% 0;
	letter-spacing: .25rem;
}
.events-card h4{
	color: var(--events-card-text3-color);
	font-size: 1.85rem;
	margin-top: 0;
	width: 90%;
}
@media only screen and (min-width:600px) and (max-width:1024px){
	.events-card h4{
		font-size: 1.9rem;
	}
}

.events-carousel{
	width: 100%;
	margin: 3% 0;
	padding: 1% 0;
	display: flex;
	justify-content: center;
	border-top: 1px solid var(--primary-pink);
	cursor: pointer;
	z-index: 8;
}
.events-carousel img{
	margin: 0 2%;
	width: 2.5rem;
}
.events-carousel img:nth-child(2){
	rotate: 180deg;
}
@media only screen and (max-width: 600px) {
	.events-cards {
        display: flex;
        flex-wrap: nowrap;
        overflow: hidden;
        width: 100%;
    }
	.events-card h4{
		font-size: 1.7rem;
	}
	.events-card h3{
		font-size: 1rem;
	}
	.events-card {
		width: 100%;
		margin-bottom: 5%;
	}
	.events-carousel {
        left: 0;
        right: 0;
        justify-content: space-evenly;
        padding: 5% 0; /* Space for arrows */
    }
}

/* Contacto */
.contact-section{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 2% 5%;
	background-color: var(--primary-blue);
}

.contact-section-header{
	display: flex;
	width: 100%;
	justify-content: space-between;
	border-bottom: 1px solid var(--primary-white);
	h3 {
		font-size: 1.125rem;
		color: var(--primary-white)
	}
}
.contact-form{
	width: 50%;
	padding: 5% 0;
}
@media only screen and (max-width: 600px) {
	.contact-form{
		width: 100%;
	}
}
.contact-form h2{
	color: var(--primary-pink);
	font-size: 3rem;
	width: 90%;
	padding-right: 10%;
	margin: 0;
	font-weight: 800;
}
@media only screen and (max-width: 600px) {
	.contact-form h2{
		font-size: 2.5rem;
		text-align: center;
		padding: 0;
		width: 100%;
	}
}
.contact-form h3{
	color: var(--primary-white);
	font-size: 2.75rem;
	width: 80%;
	font-weight: 500;
	letter-spacing: .1rem;
	margin: 10% 0 5% 0;
}
@media only screen and (max-width: 600px) {
	.contact-form h3{
		font-size: 1.5rem;
		text-align: center;
		width: 100%;
	}
}
.form-items{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: space-evenly;
}
.form-items div{
	width: 80%;
	margin: 2% 0;
}
@media only screen and (max-width: 600px) {
	.form-items div{
		width: 100%;
	}
}
.form-items div input{
	width: 95%;
	height: 2.75rem;
	border: none;
}
@media only screen and (max-width: 600px) {
	.form-items div input{
		width: 100%;
	}
}
.form-items p{
	color: var(--primary-white);
	margin-bottom: 5%;
	font-size: 1.125rem;
	font-weight: 300;
}
.form-items button{
	color: var(--primary-blue);
	background-color: var(--primary-pink);
	border: none;
	padding: 2% 10%;
	font-weight: 600;
	font-size: 1.125rem;
	margin-top: 5%;
	cursor: pointer;
}

.form-items button:disabled {
	background-color: var(--primary-pink);
	color: var(--primary-blue);
	/* background-color: #ccc; */
	cursor: not-allowed;
	/* color: #999; */
}
@media only screen and (max-width: 600px) {
	.form-items button{
		width: 50%;
		margin: 5% auto 0 auto;
	}
}
.contact-images{
	display: flex;
	width: 45%;
	padding: 5% 0;
	align-items: center;
}
@media only screen and (max-width: 600px) {
	.contact-images{
		width: 100%;
	}
}
.contact-image{
	width: 100%;
	height: auto;
}
.contact-whats-image{
	width: auto;
	height: 215px;
	margin-bottom: 150px;;
}

/* Footer section */
.footer{
	background-color: var(--primary-blue);
	color: var(--primary-white);
	padding: 0 5%;
}
.footer div{
	border-top: 1px solid var(--primary-white);
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.footer p{
	margin: 3% 0;
	font-size: 0.95rem;
}
@media only screen and (max-width: 600px) {
	.footer p{
		font-size: .7rem;
	}
}
.footer p:nth-child(2){
	cursor: pointer;
}
/* Modal  */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Absolute to allow dynamic positioning */
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5); /* Dim background */
	justify-content: center;
	align-items: center;
	z-index: 1000;
	transition: opacity 0.3s ease;
	opacity: 0;
}
.modal.open {
	display: flex;
	opacity: 1;
}

.modal-content {
	background: var(--primary-pink);
	border: 10px solid var(--primary-white);
	padding: 20px;
	text-align: center;
	box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.15);
	width: 70%;
	position:relative;
	left: -15%;
}
.modal-content div{
	width: 100%;
	display: flex;
	justify-content: end;
}
.modal-content h2{
	color: var(--primary-blue);
	font-size: 2.75rem;
	font-weight: 900;
	margin: 5% 0 0 35%;
	text-align: left;
}
@media only screen and (max-width: 600px) {
.modal-content h2{
		font-size: 1.3rem;
		margin: 10% 0 40% 0;
		text-align: center;
	}
}
@media only screen and (min-width:600px) and (max-width:768px){
	.modal-content h2{
			font-size: 1.7rem;
			margin: 10% 0 0 10%;
			text-align: center;
		}
	}

@media only screen and (min-width:769px) and (max-width:1024px){
	.modal-content h2{
			font-size: 2.5rem;
			margin: 5% 0 0 25%;
		}
	}

.modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	font-size: 20px;
	font-weight: bold;
}

.modal-message {
	font-size: 2.5rem;
	color: var(--primary-blue);
	margin: 5% auto 10% 28%;
}
@media only screen and (max-width: 600px) {
	.modal-message {
			font-size: 1.2rem;
			margin: 40% 0 0 0;
			text-align: center;
		}
	}
	@media only screen and (min-width:600px) and (max-width:768px){
		.modal-message {
				font-size: 1.5rem;
				margin: 10% 0 0 20%;
				text-align: center;
			}
		}
	
	@media only screen and (min-width:769px) and (max-width:1024px){
		.modal-message {
				font-size: 2rem;
				margin: 5% 0 10% 25%;
			}
		}

.modal-image {
	position: relative;
	left: 10%;
	width: 33.33%;
	height: auto;
	z-index: 3;
}
@media only screen and (max-width: 600px) {
	.modal-image {
		left: 35%;
		width: 35%;
		}
	}

.modal-close-icon {
	width:auto;
}
@media only screen and (max-width: 600px) {
	.modal-close-icon {
	width: 10%;
		}
	}