/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

body {
    background-color: #f8f9fa;
    font-family: "Montserrat", sans-serif;
}
.custom-position {
    position:absolute;
    bottom: 30px; /* Ajusta este valor según sea necesario */
    right: 40px;   /* Ajusta este valor según sea necesario */
    text-align: right; /* Alinea el texto a la izquierda */
}
.btn-primary {
    background-color: #6c63ff;
    border-color: #6c63ff;
    border-radius: 30px;
    padding: 0.75rem 1rem;

}


/*/////////////////////////*/
.cards-section {
	position: relative;
	width: 100%;
	padding: 50px 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.card.custom {
	position: relative;
	width: 150px;
	height: 150px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}

.card.custom img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card.custom:hover {
	transform: scale(1.05);
}

.card.custom:nth-child(1) {
	z-index: 6;
	transform: rotate(-5deg);
	margin-top: 30px;
}
.card.custom:nth-child(2) {
	z-index: 5;
	transform: rotate(-5deg);
	margin-top: 30px;
}

.card.custom:nth-child(3) {
	z-index: 4;
	transform: rotate(5deg);
	margin-top: 30px;
}

.card.custom:nth-child(4) {
	z-index: 3;
	transform: rotate(-5deg);
	margin-top: 20px;
}

.card.custom:nth-child(5) {
	z-index: 2;
	transform: rotate(5deg);
	margin-top: 30px;
}
.card.custom:nth-child(6) {
	z-index: 1;
	transform: rotate(-10deg);
	margin-top: 10px;
}

@media (max-width: 368px) {     /* 768 Mantener la rotación en móviles */
	.card.custom {
		width: 90%;
		height: auto;
		margin: 10px 0;
		transform: rotate(5deg) !important; /* Mantener la rotación en móviles */
		z-index: auto !important;
	}

	.card.custom:nth-child(1) {
		transform: rotate(-5deg) !important;
	}

	.card.custom:nth-child(2) {
		transform: rotate(5deg) !important;
	}

	.card.custom:nth-child(3) {
		transform: rotate(-5deg) !important;
	}

	.card.custom:nth-child(4) {
		transform: rotate(5deg) !important;
	}
	.card.custom:nth-child(5) {
		transform: rotate(5deg) !important;
	}
}



.container.custom {
    max-width: 800px;
    margin-top: 50px;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    text-align: center;
}

/* FAB */

.fab {
	position: fixed;
	top: 20px;
	right: 20px;
	background-color: #6c63ff;
	color: white;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	transition: background-color 0.3s;
	cursor: pointer;
}

.fab:hover {
	background-color: #5552e3;
}

.fab-menu {
	display: none;
	position: fixed;
	top: 90px; /* Adjusted to be just below the FAB */
	right: 20px;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.fab-menu.active {
	display: block;
}

.fab-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fab-menu ul li {
	border-bottom: 1px solid #e7e7e7;
}

.fab-menu ul li:last-child {
	border-bottom: none;
}

.fab-menu ul li a {
	display: block;
	padding: 10px 20px;
	color: #333;
	text-decoration: none;
	transition: background-color 0.3s;
}

.fab-menu ul li a:hover {
	background-color: #f8f9fa;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Ajusta la opacidad según necesites */
    z-index: 1;
}
.responsive-logo {
    max-width: 25%; 
    height: auto; 
}


.counter-box {
    text-align: center;
    margin: 20px;
    padding: 20px;
}

.counter-box h2 {
    font-size: 48px;
    margin: 0;
    color: #5953cc; /* Cambia el color según tus necesidades */
}

.counter-box p {
    margin: 10px 0 0;
    font-size: 18px;
    color: #333; /* Cambia el color según tus necesidades */
}

.counter-box i {
    font-size: 48px; /* Tamaño del icono */
    margin-bottom: 10px; /* Espacio entre el icono y el texto */
    color: #333; /* Cambia el color según tus necesidades */
}

.d-flex {
    display: flex;
    justify-content: center;
    gap: 60px; /* Ajuste para separar los contadores */
}


	/* Estilos para el botón flotante */
	.boton-flotante  {
		position: fixed;
		bottom: 20px;
		left: 20px;
		background-color: white;
		border: none;
		border-radius: 50%;
		padding: 0;
		z-index: 1000;
		cursor: pointer;
		box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombra del borde */
	}
	
	.boton-flotante  img {
		width: 60px;  /* Tamaño de la imagen */
		height: 60px;
		border-radius: 50%;
		object-fit: cover;  /* Hace que la imagen cubra todo el círculo */
		border: 2px solid white; /* Añadir borde blanco alrededor de la imagen */
	}