/* General */
body {
    font-family: "Josefin Sans", sans-serif;
    background-color: #fffcf5;
}

/* Header */
header {
    background-color: #6773c9;
    padding: 20px 0;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 100;
}

header,
header a.nav-link {
    font-family: "Fredoka", sans-serif !important;
	transition: all 0.3s ease;
}

header a.nav-link:hover {	
	text-shadow: 0 0 4px #fff;
	letter-spacing: 1px;
}

.navbar-light .navbar-brand {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 3px;
}

/* Language Switcher */
.language-switcher {
    margin-left: auto;
}

.language-flags {
    gap: 8px;
}

.lang-flag {
    display: inline-block;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.lang-flag:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.lang-flag.active {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.lang-flag img {
    display: block;
    border-radius: 2px;
}

/* qTranslate XT Language Chooser Styles */
#header-lang-chooser {
    display: flex;
    gap: 8px;
	margin: 0;
    list-style: none;
}

#header-lang-chooser a {
    display: inline-block;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

#header-lang-chooser a:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

#header-lang-chooser a.active {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

#header-lang-chooser img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

/* Hero Section */
.hero-bg {
    background-color: #6773c9;
    border-bottom-left-radius: 250px;
    border-bottom-right-radius: 250px;
}

.hero-bg svg {
    width: 100%;
    max-width: 270px;
    height: auto;
}

.hero-bg img {
	max-width: 230px;
	right: 40px;
	bottom: -110px;
}

.hero-bg h1 {
    color: #fff;
    font-size: 2.5rem;
    line-height: 2.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    font-family: "Fredoka", sans-serif;
}

.hero-bg .lead {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Team Section */
.rounded-circle-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Services Section */
.service-icon {
    width: 80px;
}

#servicios {
    font-size: 2.5rem;
    line-height: 2.5rem;
    font-family: "Fredoka", sans-serif;
    font-weight: 600;
}

#servicios img {
    max-width: 130px;
}

#servicios img.arrow {
    max-width: 210px;
}

/* Nosotros Section */
#nosotros .card .card-title {
    font-size: 1.8rem;
    font-family: "Fredoka", sans-serif;
    font-weight: 600;
    color: #6773c9;
}

/* Sello Section */
#sello p {
    font-size: 1.5rem;    
    color: #000;
    line-height: 1.6rem;
}

/* Logos Section */
#logos {
    background: #6773c9;
}

/* Pilares Section */
#pilares h2 {
    font-size: 2.5rem;
    line-height: 2.5rem;
    font-family: "Fredoka", sans-serif;
    font-weight: 700;
    color: #6773c9;
    margin-top: 30px;
    margin-bottom: 80px;
}

#pilares .card {
    border-radius: 0;
    border: 0;
    background: transparent;
}

#pilares .card-body {
    display: flex;
    flex-direction: row;
    padding: .5rem;
    gap: 20px;
}

#pilares .card-text {
    font-family: "Josefin Sans", sans-serif;
    line-height: 1.3em;
    font-size: 1.1em;
}

#pilares .card-text b {
    color: #6773c9;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1rem;
    font-family: "Fredoka", sans-serif;
}

#pilares .card-title {
    font-size: 3.7rem;
    line-height: 3rem;
    font-family: "Fredoka", sans-serif;
    font-weight: 600;
    color: #6773c9;
    margin-bottom: 0px;
    width: 64px;
    flex-shrink: 0;
    text-align: right;
}

/* Pilares Colors */
#pilares .card-text-orange .card-text b,
#pilares .card-text-orange .card-title {
    color: #e2733b;
}

#pilares .card-text-green .card-text b,
#pilares .card-text-green .card-title {
    color: #56c1a5;
}

#pilares .card-text-yellow .card-text b,
#pilares .card-text-yellow .card-title {
    color: #f4b456;
}

#pilares .card-text-red .card-text b,
#pilares .card-text-red .card-title {
    color: #dd4b4b;
}

/* Contacto Section */
#contacto {
    overflow: hidden;
}

#contacto h2 {
    font-size: 2.5rem;
    line-height: 2.5rem;
    font-family: "Fredoka", sans-serif;
    font-weight: 800;
    color: #6773c9;
    margin-bottom: 60px;
}

#contacto p {
    font-size: 1.8rem;
    line-height: 2rem;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    color: #6773c9;
    margin-bottom: 20px;
    margin-right: 60px;
}

#contacto h4 {
    font-size: 1.8rem;
    line-height: 2rem;
    font-family: "Fredoka", sans-serif;
    font-weight: 800;
    color: #6773c9;
    margin-bottom: 50px;
}

#contacto input,
#contacto textarea {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 3px solid #6773c9;
    border-radius: 0;
    background: transparent;
    color: #6773c9;
    font-family: "Fredoka", sans-serif !important;
}

/* Footer */
footer {
    padding: 60px 0;
    background-color: #6773c9;
}

footer p {
    margin: 0;
}

footer p a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
}

footer p a,
footer a {
	opacity: 1;
	transition: all 500ms;
}

footer p a:hover,
footer a:hover {
	opacity: 0.8;
}

footer svg {
    max-width: 200px;
}

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item img {
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Equipo Swiper */
.equipoSwiper .card {
    background: transparent;
}

/* Colors */
.text-amarillo {
    color: #f4b456;
    font-weight: 600;
}

.text-rojo {
    color: #dd4b4b;
    font-weight: 600;
}

.text-cian {
    color: #56c1a5;
    font-weight: 600;
}

.text-purpura {
    color: #6773c9;
    font-weight: 600;
}

.text-naranja {
    color: #e2733b;
    font-weight: 600;
}

/* Media Queries */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .hero-bg h1 {
        font-size: 2.5rem;
    }

    .hero-bg {
        border-bottom-left-radius: 90px;
        border-bottom-right-radius: 90px;
    }

    .hero-bg .lead {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }

	.hero-bg img {
		max-width: 130px;
		right: 0px;
		bottom: -70px;
	}

    img.arrow {
        display: none;
    }

    #pilares h2 {
        margin-top: 0px;
        margin-bottom: 40px;
    }

    #servicios .d-flex {
        min-height: 160px;
    }
}

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