html {
	scroll-behavior: smooth; /* Suaviza el desplazamiento */
	scroll-padding-top: 80px; /* Altura aproximada del navbar */
}

/* NAVBAR */
.landing-navbar {
	background-color: #0f172a;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.landing-navbar .navbar-brand i {
	margin-right: 5px;
	color: #38bdf8;
}

.navbar-logo {
	height: 50px;
	width: auto;
}

.navbar-brand span {
	font-weight: 600;
	color: #ffffff;
}

.dropdown-menu {
	background-color: #0f172a;
	border: none;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dropdown-menu .dropdown-item {
	color: #f8fafc;
	transition: background-color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
	background-color: #1e293b;
	color: #38bdf8;
}

/* HERO */
.landing-hero {
	position: relative;
	background: url('/votacion/images/portada.png') no-repeat center center;
	background-size: cover;
	background-attachment: scroll;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-align: center;
	padding: 2rem;
}

.landing-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 0;
}

/* Caja de contenido tipo "vidrio" */
.landing-hero .container {
	position: relative;
	z-index: 1;
}

.landing-hero h1, .landing-hero p {
	color: #fff;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.landing-hero .landing-title {
	color: #ffffff;
}

.landing-hero .landing-title span {
	color: #38bdf8;
}

.landing-hero .landing-subtitle {
	color: #f1f5f9;
}

.btn-hero {
	background: linear-gradient(to right, #0ea5e9, #38bdf8);
	border: none;
	color: #fff;
	font-weight: 600;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(14, 165, 233, 0.5);
}
/* Ajustes de las tarjetas */
#vision-mision .landing-card {
	background: #ffffff;
	border-radius: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#vision-mision .landing-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

#vision-mision h4 {
	font-weight: 700;
	color: #0f172a;
}

/* Logo animado */
.logo-animado img {
	width: 300px;
	max-width: 100%;
	animation: floatRobot 3s ease-in-out infinite;
	transition: transform 0.3s ease;
}

/* Animación flotante */
@keyframes floatRobot { 
	0%, 100% {
		transform: translateY(0);
	}
	50%{
		transform:translateY(-10px);
	}
}

/* Efecto hover para hacerlo más dinámico */
.logo-animado :hover {
	transform: scale(1.05);
}

/* SECCIONES */
.section-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #0f172a;
	position: relative;
}

.section-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	margin: 0.5rem auto 0;
	background: #0ea5e9;
	border-radius: 4px;
}

/* CARD */
.landing-card {
	border: none;
	border-radius: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	padding: 1rem;
	text-align: center;
}

.landing-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
.landing-footer {
	background: #0f172a;
	color: #f8fafc;
	font-size: 0.9rem;
}
/* Sección Cómo Funciona */
#como-funciona {
	background-color: #ffffff;
}

.funciona-card {
	background: #f9fafb;
	border-radius: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.funciona-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.funciona-icon i {
	transition: transform 0.3s ease;
}

.funciona-card:hover .funciona-icon i {
	transform: scale(1.1);
}

#como-funciona h5 {
	font-weight: 700;
	color: #0f172a;
}

#como-funciona p {
	color: #4b5563;
	font-size: 0.95rem;
}

#caract-benef {
	background-color: #f8fafc;
}

.caract-card {
	background: #ffffff;
	border-radius: 14px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.caract-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.caract-card i {
	transition: transform 0.3s ease;
}

.caract-card:hover i {
	transform: scale(1.1);
}

.caract-card h5 {
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.5rem;
}

.caract-card p {
	color: #4b5563;
	font-size: 0.95rem;
}
/* Fondo degradado para diferenciarla */
#testimonios {
	background: linear-gradient(to right, #0f172a, #063158);
}

.testimonio-card {
	background: #0f172a;;
	border-radius: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	backdrop-filter: blur(8px); /* Efecto vidrio */
	color: #f1f5f9;
}

.testimonio-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.testimonio-text {
	font-size: 0.95rem;
	font-style: italic;
	color: #f8fafc;
}

.testimonio-img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 2px solid #fff;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.testimonio-card:hover .testimonio-img {
	transform: scale(1.05);
}

#estadisticas {
	background: #0f172a;;
}

.estadistica-card {
	background: #0f172a;;
	border-radius: 14px;
	padding: 2rem;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.estadistica-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.estadistica-card h3 {
	font-size: 2.5rem;
	font-weight: bold;
	margin: 0.5rem 0;
	color: #fff;
}

/***Sección Nuestro impacto ***/
.impacto-section {
	background: linear-gradient(to right, #0f172a, #063158);
}

.impacto-section h2 {
	color: #ffffff;
	font-size: 2.5rem;
}

.impacto-section p {
	color: #e2e8f0;
	font-size: 1.1rem;
}

.impacto-card {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	transition: transform 0.3s ease, background 0.3s ease;
}

.impacto-card:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-5px);
}

.impacto-card i {
	color: #ffffff /**Sección de preguntas frecuentes**/ 
 #faq .card{
  border: none;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	margin-bottom: 1rem;
}

#faq .card-header {
	background: #ffffff;
	border-bottom: 0;
}

#faq .btn-link {
	text-decoration: none;
	color: #0f172a;
	font-weight: 600;
	width: 100%;
	text-align: left;
}

#faq .btn-link i {
	margin-right: 8px;
	transition: transform 0.3s ease;
}

#faq .btn-link.collapsed i {
	transform: rotate(0deg);
}

#faq .btn-link:not (.collapsed ) i {
	transform: rotate(90deg);
}

/** Sección de contacto **/
#contacto .contact-info {
	border-radius: 10px;
	background: #fff;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contacto .contact-info:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#contacto .map-wrapper {
	border-radius: 10px;
	overflow: hidden;
}

/** seccion footer**/
.landing-footer {
	background-color: #0f172a;
	color: #f8fafc;
	font-size: 0.95rem;
}

.landing-footer h5 {
	font-weight: 700;
	color: #38bdf8;
}

.landing-footer a {
	color: #f8fafc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.landing-footer a:hover {
	color: #38bdf8;
}

.landing-footer .social-links a {
	display: inline-block;
	margin-right: 10px;
	font-size: 1.2rem;
	color: #f8fafc;
	transition: transform 0.3s ease, color 0.3s ease;
}

.landing-footer .social-links a:hover {
	color: #38bdf8;
	transform: scale(1.1);
}

.landing-footer p {
	margin-bottom: 0.5rem;
}

/* === RESPONSIVE DESIGN === */

/* Ultra grandes: > 1600px */
@media ( min-width : 1600px) {
	.landing-hero {
		min-height: 850px;
		padding: 5rem;
	}
	.landing-hero h1 {
		font-size: 4rem;
	}
	.landing-hero p {
		font-size: 1.5rem;
	}
	.btn-hero {
		font-size: 1.2rem;
		padding: 0.8rem 1.8rem;
	}
	.logo-animado img {
		width: 400px;
	}
	.section-title {
		font-size: 2.5rem;
	}
	.estadistica-card h3 {
		font-size: 3.5rem;
	}
	.landing-card, .funciona-card, .caract-card, .testimonio-card,
		.impacto-card {
		padding: 2.5rem;
	}
}

/* Pantallas grandes: > 1200px */
@media ( min-width : 1200px) and (max-width: 1599px) {
	.landing-hero {
		min-height: 750px;
		padding: 4rem;
	}
	.landing-hero h1 {
		font-size: 3.2rem;
	}
	.landing-hero p {
		font-size: 1.3rem;
	}
	.btn-hero {
		font-size: 1.1rem;
		padding: 0.7rem 1.5rem;
	}
	.logo-animado img {
		width: 350px;
	}
	.section-title {
		font-size: 2.2rem;
	}
	.estadistica-card h3 {
		font-size: 3rem;
	}
	.landing-card, .funciona-card, .caract-card, .testimonio-card,
		.impacto-card {
		padding: 2rem;
	}
}

/* Tablets y pantallas medianas */
@media ( max-width : 991.98px) {
	.landing-navbar .navbar-brand span {
		font-size: 1rem;
	}
	.navbar-logo {
		height: 40px;
	}
	.landing-hero {
		min-height: 500px;
		padding: 1.5rem;
	}
	.landing-hero h1 {
		font-size: 2rem;
	}
	.landing-hero p {
		font-size: 1rem;
	}
	.btn-hero {
		font-size: 0.95rem;
		padding: 0.5rem 1.2rem;
	}
	.logo-animado img {
		width: 220px;
	}
	.section-title {
		font-size: 1.5rem;
	}
	.estadistica-card h3 {
		font-size: 2rem;
	}
}

/* Teléfonos grandes */
@media ( max-width : 767.98px) {
	.landing-hero {
		min-height: 400px;
		padding: 1rem;
	}
	.landing-hero h1 {
		font-size: 1.8rem;
	}
	.landing-hero p {
		font-size: 0.9rem;
	}
	.btn-hero {
		font-size: 0.9rem;
		padding: 0.45rem 1rem;
	}
	.logo-animado img {
		width: 180px;
	}
	.landing-card, .funciona-card, .caract-card, .testimonio-card,
		.estadistica-card, .impacto-card {
		padding: 1rem;
		text-align: center;
	}
	.landing-navbar {
		padding: 0.5rem 1rem;
	}
	.map-wrapper iframe {
		width: 100%;
		height: 300px;
	}
}

/* Teléfonos pequeños */
@media ( max-width : 575.98px) {
	.landing-hero h1 {
		font-size: 1.5rem;
	}
	.landing-hero p {
		font-size: 0.85rem;
	}
	.btn-hero {
		font-size: 0.85rem;
		padding: 0.4rem 0.9rem;
	}
	.section-title {
		font-size: 1.3rem;
	}
	.navbar-logo {
		height: 35px;
	}
	.logo-animado img {
		width: 150px;
	}
	.testimonio-img {
		width: 50px;
		height: 50px;
	}
	.map-wrapper iframe {
		width: 100%;
		height: 300px;
	}
}