/* @import url("fonts.css"); */

:root {
	--azul-principal: #478EFF;
	--azul-oscuro: #3366cc;
	--azul-marino: #142852;
	--negro: #000;
    --text: rgb(33, 37, 41);
	--gris: #f8f9fa;
}

body {
	font-family: 'Mozilla Text', sans-serif;
    color: var(--text);
}

.navbar {
	background-color: var(--azul-principal);
}

.navbar-brand,
.nav-link {
	color: white !important;
}

.logo-container {
  position: relative;
  width: 150px;
  height: auto;
}

.logo-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity 0.5s ease;
}

#logo-1 {
  opacity: 0;
  z-index: 1;
}

#logo-2 {
  opacity: 1;
  z-index: 2;
}

.hero {
	background: linear-gradient(var(--azul-oscuro) 0%, var(--azul-oscuro) 55%, var(--azul-principal) 100%);
    z-index: 100;
	color: white;
	padding: 100px 20px;
	text-align: center;
}

.border-color-1{
    border-color: var(--azul-principal);
}

.border-color-2{
    border-color: var(--azul-oscuro);
}

.border-color-3{
    border-color: var(--azul-marino);
}

.btn-contacto {
    color: white;
    background-color: var(--azul-principal);
}

.btn-contacto:hover {
    color: white;
    background-color: var(--azul-oscuro);
}

.form-control{
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  box-shadow: 0 0 15px rgba(20, 40, 82, 0.35);
  border-color: var(--azul-marino); /* opcional, para mantener estilo bootstrap */
}

.card-servicio {
	position: relative;
	overflow: hidden;
	border: none;
	transition: transform 0.3s;
}

.card-servicio:hover {
	transform: scale(1.03);
}

.card-servicio .card-body {
	background-color: var(--gris);
	transition: 0.3s;
}

.card-servicio:hover .card-overlay {
	opacity: 1;
}

.card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(71, 142, 255, 0.9);
	color: white;
	width: 100%;
	height: 100%;
	opacity: 0;
	padding: 20px;
	transition: 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.swiper {
	width: 100%;
	padding: 40px 0;
}

.swiper-slide {
	background-color: var(--gris);
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #25D366;
	color: white;
	border-radius: 50%;
	padding: 7px 18px;
	font-size: 34px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	text-decoration: none;
	width: 65px;
	height: 65px;
}

#mainNavbar {
	transition: background-color 0.3s ease;
	background-color: rgba(14, 26, 43, 0);
	/* inicial transparente */
	backdrop-filter: blur(4px);
}

footer{
    font-size: 20px;
    background: linear-gradient(var(--azul-principal) 0%, var(--azul-oscuro) 75%, var(--azul-oscuro) 100%);
}

.footer {
	background: linear-gradient(var(--azul-principal) 0%, var(--azul-oscuro) 75%, var(--azul-oscuro) 100%);
	color: white;
	padding: 40px 0;
    box-shadow: 0 0 75px rgba(20, 40, 82, 0.35);
}

.footer-link {
    text-decoration: none;
 	color: white;
}
.footer-link:hover {
    text-decoration: none;
 	color: var(--azul-marino);
}

section {
  scroll-margin-top: 15px;
}