/* Personal CSS Styles */
/* ----- General Styles ----- */
:root {
    --main-white: #ffffff;
    --main-black: #333333;
    --main-red: #ff0000;
    --main-yellow: #fcd503;
    --main-blue: #256aad;
    --main-green: #60a802;
    --main-grey: #eae5e5;
}
body::-webkit-scrollbar {
    width: 9px;
}
body::-webkit-scrollbar-thumb {
    background: var(--main-red);
    background: linear-gradient(0deg, rgba(255, 0, 0, 1) 0%, rgba(255, 187, 187, 1) 50%, rgba(255, 0, 0, 1) 100%);
	border-right: 1px solid var(--main-white);
	border-left: 1px solid var(--main-white);
}
body::-webkit-scrollbar-track {
    background-color: rgba(255, 0, 0, .15);
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    background-color: transparent;
    overflow-x: hidden;
    cursor: default;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
a:focus-visible {
    outline: none;
}
/* --- Padding Orfila --- */
@media screen and (max-width: 575.99px) {
    .pad-orfila {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    .pad-orfila {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    .pad-orfila {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    .pad-orfila {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    .pad-orfila {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
@media screen and (min-width: 1400px) {
    .pad-orfila {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
/* ----- Header ----- */
#header-wrapper {
    padding-top: 0;
    background-color: var(--main-white);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff0000' fill-opacity='0.3' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
.header-wrapper-projecte-educatiu {
    background-color: var(--main-white) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2360a802' fill-opacity='0.5' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E") !important;
}
.header-wrapper-el-dia-a-dia,
.header-wrapper-contacte {
    background-color: var(--main-white) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23256aad' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E") !important;
}
.header-wrapper-families {
    background-color: var(--main-white) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fcd503' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E") !important;
}
#header-wrapper > div,
#header-wrapper .header-logo,
#header-wrapper .header-links,
#header-wrapper .header-links div:last-child a,
#header-wrapper .header-social-square {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
#header-wrapper > div,
#header-wrapper .header-logo {
    justify-content: space-between;
}
#header-wrapper .header-links,
#header-wrapper .header-links div:last-child a,
#header-wrapper .header-social-square {
    justify-content: center;
}
#header-wrapper .header-logo .text-logo {
    position: relative;
}
#header-wrapper .header-logo p {
    font-family: "Dekko", cursive;
    font-weight: bold;
    font-style: normal;
    color: var(--main-black);
    text-transform: uppercase;
    margin: 0;
}
#header-wrapper .header-logo p:first-child {
    display: inline;
    color: var(--main-red);
}
#header-wrapper .header-logo p:last-child {
    position: absolute;
    color: var(--main-green);
    transform: rotate(15deg);
}
#header-wrapper .header-links div:nth-child(-n+3) {
    display: flex;
    flex-direction: column;
}
#header-wrapper .header-links div:nth-child(4) {
    display: flex;
}
#header-wrapper .header-links .header-div-links span,
#header-wrapper .header-links .header-div-links a {
    color: var(--main-black);
}
#header-wrapper .header-links .header-div-links span {
    font-weight: 400;
}
#header-wrapper .header-links .header-div-links a {
    font-weight: bold;
    text-decoration: none;
    transition: color .5s ease;
}
#header-wrapper .header-links .header-div-links a:hover {
    color: var(--main-red);
}
.header-wrapper-projecte-educatiu .header-links .header-div-links a:hover {
    color: var(--main-green) !important;
}
.header-wrapper-el-dia-a-dia .header-links .header-div-links a:hover,
.header-wrapper-contacte .header-links .header-div-links a:hover {
    color: var(--main-blue) !important;
}
.header-wrapper-families .header-links .header-div-links a:hover {
    color: var(--main-yellow) !important;
}
#header-wrapper .header-social-square {
    border: none;
    border-radius: 6px;
    padding: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
#header-wrapper .header-social-square i {
    color: #ffffff;
    transition: transform 0.1s ease;
}
#header-wrapper .header-social-square:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
}
#header-wrapper .fb-btn {
    background: linear-gradient(135deg, #1877f2, #0d47a1);
}
#header-wrapper .fb-btn:hover i {
    transform: rotate(-8deg) scale(1.05);
}
#header-wrapper .ig-btn {
    background: linear-gradient(135deg, #833ab4, #fd1f1f, #fcb045);
}
#header-wrapper .ig-btn:hover i {
    transform: rotate(8deg) scale(1.05);
}
@media screen and (max-width: 767.99px) {
    #header-wrapper > div,
    #header-wrapper .header-links {
        flex-direction: column;
    }
    #header-wrapper .header-links {
        margin: 0 auto;
        text-align: center;
    }
    #header-wrapper .header-links div:nth-child(-n+3) {
        margin-right: 0px !important;
    }
    #header-wrapper .header-links .header-div-links {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 991.99px) {
    #header-wrapper {
        padding-bottom: 10px;
    }
    #header-wrapper .header-logo {
        margin: 5px auto 8px;
    }
    #header-wrapper .header-logo img {
        height: 60px;
        margin-right: 10px;
    }
    #header-wrapper .header-logo p {
        line-height: 27px;
    }
    #header-wrapper .header-logo p:first-child {
        font-size: 18px;
    }
    #header-wrapper .header-logo p:nth-child(2) {
        font-size: 39px;
    }
    #header-wrapper .header-logo p:last-child {
        top: 39px;
        left: 106px;
        font-size: 28px;
    }
    #header-wrapper .header-links {
        margin-right: auto;
        margin-left: auto;
    }
    #header-wrapper .header-links div:nth-child(-n+3) {
        margin-right: 25px;
    }
    #header-wrapper .header-links .header-div-links span {
        font-size: 13px;
    }
    #header-wrapper .header-links .header-div-links span i {
        font-size: 12px;
        margin-right: 5px;
    }
    #header-wrapper .header-links .header-div-links a {
        font-size: 13px;
    }
    #header-wrapper .header-social-square {
        width: 30px;
        height: 30px;
    }
    #header-wrapper .header-social-square:first-child {
        margin-right: 8px;
    }
    #header-wrapper .header-social-square i {
        font-size: 19px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #header-wrapper {
        padding-bottom: 3px;
    }
    #header-wrapper .header-logo img {
        height: 80px;
        margin-right: 8px;
    }
    #header-wrapper .header-logo p {
        line-height: 27px;
    }
    #header-wrapper .header-logo p:first-child {
        font-size: 20px;
    }
    #header-wrapper .header-logo p:nth-child(2) {
        font-size: 43px;
    }
    #header-wrapper .header-logo p:last-child {
        top: 38px;
        left: 119px;
        font-size: 30px;
    }
    #header-wrapper .header-links div:nth-child(-n+3) {
        margin-right: 20px;
    }
    #header-wrapper .header-links .header-div-links span {
        font-size: 14px;
    }
    #header-wrapper .header-links .header-div-links span i {
        font-size: 13px;
        margin-right: 5px;
    }
    #header-wrapper .header-links .header-div-links a {
        font-size: 14px;
    }
    #header-wrapper .header-social-square {
        width: 30px;
        height: 30px;
    }
    #header-wrapper .header-social-square:first-child {
        margin-right: 6px;
    }
    #header-wrapper .header-social-square i {
        font-size: 19px;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #header-wrapper {
        padding-bottom: 3px;
    }
    #header-wrapper .header-logo img {
        height: 90px;
        margin-right: 10px;
    }
    #header-wrapper .header-logo p {
        line-height: 30px;
    }
    #header-wrapper .header-logo p:first-child {
        font-size: 22px;
    }
    #header-wrapper .header-logo p:nth-child(2) {
        font-size: 48px;
    }
    #header-wrapper .header-logo p:last-child {
        top: 41px;
        left: 131px;
        font-size: 32px;
    }
    #header-wrapper .header-links div:nth-child(-n+3) {
        margin-right: 35px;
    }
    #header-wrapper .header-links .header-div-links span {
        font-size: 15px;
    }
    #header-wrapper .header-links .header-div-links span i {
        font-size: 14px;
        margin-right: 5px;
    }
    #header-wrapper .header-links .header-div-links a {
        font-size: 14px;
    }
    #header-wrapper .header-social-square {
        width: 32px;
        height: 32px;
    }
    #header-wrapper .header-social-square:first-child {
        margin-right: 6px;
    }
    #header-wrapper .header-social-square i {
        font-size: 19px;
    }
}
@media screen and (min-width: 1400px) {
    #header-wrapper {
        padding-bottom: 5px;
    }
    #header-wrapper .header-logo img {
        height: 100px;
        margin-right: 12px;
    }
    #header-wrapper .header-logo p {
        line-height: 32px;
    }
    #header-wrapper .header-logo p:first-child {
        font-size: 24px;
    }
    #header-wrapper .header-logo p:nth-child(2) {
        font-size: 52px;
    }
    #header-wrapper .header-logo p:last-child {
        top: 44px;
        left: 142px;
        font-size: 36px;
    }
    #header-wrapper .header-links div:nth-child(-n+3) {
        margin-right: 30px;
    }
    #header-wrapper .header-links .header-div-links span {
        font-size: 16px;
    }
    #header-wrapper .header-links .header-div-links span i {
        font-size: 15px;
        margin-right: 5px;
    }
    #header-wrapper .header-links .header-div-links a {
        font-size: 14px;
    }
    #header-wrapper .header-social-square {
        width: 35px;
        height: 35px;
    }
    #header-wrapper .header-social-square:first-child {
        margin-right: 8px;
    }
    #header-wrapper .header-social-square i {
        font-size: 22px;
    }
}
/* ----- Navbar ----- */
.custom-navbar {
    font-weight: bold;
    background-color: var(--main-white);
    box-shadow: 0px 5px 10px -10px rgba(51, 51, 51, 1);
    border-top: 1px solid var(--main-grey);
    border-bottom: 1px solid var(--main-grey);
    padding: 0 !important;
}
.navbar-toggler:focus,
.navbar-toggler:focus-visible,
.navbar-toggler-icon {
    box-shadow: none !important;
    outline: 0 !important;
}
#mainNavbar > div {
    width: 180px;
}
.navbar-nav .nav-link {
    color: var(--main-black);
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    font-size: 15px;
}
.navbar-nav .nav-link:hover, 
.navbar-nav .show > .nav-link {
    color: var(--main-blue) !important;
}
.navbar-nav .active {
    color: var(--main-green) !important;
}
.dropdown-menu {
    border: 1px solid var(--main-grey);
    box-shadow: 0 10px 25px rgba(51, 51, 51, 0.1);
    border-radius: 6px;
}
.dropdown-item {
    color: var(--main-black) !important;
    transition: all 0.2s ease;
}
.navbar-nav > .nav-item:nth-child(2) .dropdown-item:hover {
    background-color: var(--main-red) !important;
    color: var(--main-white) !important;
}
.navbar-nav > .nav-item:nth-child(3) .dropdown-item:hover {
    background-color: var(--main-green) !important;
    color: var(--main-white) !important;
}
.navbar-nav > .nav-item:nth-child(4) .dropdown-item:hover {
    background-color: var(--main-blue) !important;
    color: var(--main-white) !important;
}
.navbar-nav > .nav-item:nth-child(5) .dropdown-item:hover {
    background-color: var(--main-yellow) !important;
    color: var(--main-black) !important;
}
.btn-cta {
    background-color: var(--main-red) !important;
    color: var(--main-white) !important;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    padding: 2px 15px !important;
    border-radius: 20px;
    border: 2px solid #b32424 !important;
    border-bottom: 5px solid #b32424 !important;
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
    transition: all 0.3s ease-in-out !important;
}
.btn-cta:hover,
.btnc-cta:hover i {
    background-color: var(--main-white) !important;
    color: #b32424 !important;
}
@media screen and (max-width: 991.99px) {
    .custom-navbar {
        padding: 6px 0 !important;
    }
    .navbar-toggler {
        background-color: var(--main-green) !important;
    }
    .navbar-toggler-menu {
        font-family: "Dekko", cursive;
        font-weight: bold;
        font-style: normal;
        color: var(--main-white);
        font-size: 20px;
        margin-right: 3px;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
        margin-right: -2px;
    }
    .custom-navbar .dropdown-menu {
        text-align: center;
    }
    .custom-navbar .text-center {
        margin: 5px auto !important;
    }
}
@media screen and (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        justify-content: space-between;
        width: 100%;
    }
    .navbar-nav {
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    .navbar-collapse {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .navbar-nav .nav-link {
        font-size: 13px;
        padding: 0 15px !important;
    }
    .dropdown-menu a {
        font-size: 15px;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    .navbar-collapse {
        margin-top: 6px;
        margin-bottom: 6px;
    }
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 0 20px !important;
    }
    .dropdown-menu a {
        font-size: 15px;
    }
}
@media (min-width: 1400px) {
    .navbar-collapse {
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .navbar-nav .nav-link {
        font-size: 15px;
        padding: 0 15px !important;
    }
    .dropdown-menu a {
        font-size: 16px;
    }
}
/* ----- Carousel ----- */
#customCarousel {
    color: var(--main-black);
    width: 100%;
    overflow: hidden;
}
#customCarousel .carousel-item {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 1s ease-in-out, opacity 1.2s ease-in-out;
}
#customCarousel .carousel-item:first-child {
    background-image: url("../images/carousel/slide-1.jpg");
}
#customCarousel .carousel-item:nth-child(2) {
    background-image: url("../images/carousel/slide-2.jpg");
}
#customCarousel .carousel-item:nth-child(3) {
    background-image: url("../images/carousel/slide-3.jpg");
}
#customCarousel .carousel-item:nth-child(4) {
    background-image: url("../images/carousel/slide-4.jpg");
}
#customCarousel .carousel-item:last-child {
    background-image: url("../images/carousel/slide-5.jpg");
}
#customCarousel .carousel-item.active .slide-title,
#customCarousel .carousel-item.active .slide-text,
#customCarousel .carousel-item.active .slide-btn {
    animation: fadeInUp 0.8s ease forwards;
}
#customCarousel .slide-title {
    font-weight: bold;
    color: var(--main-white);
    letter-spacing: -1px;
    text-transform: uppercase;
    opacity: 0;
    animation-delay: 0.2s;
    text-shadow: 0px 5px 12px rgba(51, 51, 51, 0.3);
}
#customCarousel .slide-text {
    color: var(--main-white);
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    animation-delay: 0.4s;
}
#customCarousel .slide-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 15px 5px 15px 5px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
    opacity: 0;
    animation-delay: 0.6s;
}
#customCarousel .slide-btn i {
    margin-left: 8px;
}
#customCarousel .carousel-item:first-child .slide-btn {
    background-color: var(--main-black);
    color: var(--main-white);
    border: 2px solid var(--main-white);
}
#customCarousel .carousel-item:first-child .slide-btn:hover {
    background-color: var(--main-white);
    color: var(--main-black);
    border: 2px solid var(--main-black);
}
#customCarousel .carousel-item:nth-child(2) .slide-btn {
    background-color: var(--main-red);
    color: var(--main-white);
    border: 2px solid var(--main-white);
}
#customCarousel .carousel-item:nth-child(2) .slide-btn:hover {
    background-color: var(--main-white);
    color: var(--main-red);
    border: 2px solid var(--main-red);
}
#customCarousel .carousel-item:nth-child(3) .slide-btn {
    background-color: var(--main-green);
    color: var(--main-white);
    border: 2px solid var(--main-white);
}
#customCarousel .carousel-item:nth-child(3) .slide-btn:hover {
    background-color: var(--main-white);
    color: var(--main-green);
    border: 2px solid var(--main-green);
}
#customCarousel .carousel-item:nth-child(4) .slide-btn {
    background-color: var(--main-blue);
    color: var(--main-white);
    border: 2px solid var(--main-white);
}
#customCarousel .carousel-item:nth-child(4) .slide-btn:hover {
    background-color: var(--main-white);
    color: var(--main-blue);
    border: 2px solid var(--main-blue);
}
#customCarousel .carousel-item:last-child .slide-btn {
    background-color: var(--main-yellow);
    color: var(--main-black);
    border: 2px solid var(--main-white);
}
#customCarousel .carousel-item:last-child .slide-btn:hover {
    background-color: var(--main-white);
    color: var(--main-black);
    border: 2px solid var(--main-yellow);
}
#customCarousel .carousel-indicators [data-bs-target] {
    width: 45px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 2px;
    transition: all 0.4s ease;
}
#customCarousel .carousel-indicators .active {
    background-color: var(--main-white);
    width: 70px;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media screen and (max-width: 575.99px) {
    #customCarousel .carousel-item {
        height: 70vh;
    }
    #customCarousel .slide-title {
        font-size: 28px;
        margin-right: 10px;
        margin-left: 10px;
    }
    #customCarousel .slide-text {
        font-size: 18px;
        margin-right: 60px;
        margin-left: 60px;
    }
    #customCarousel .slide-btn {
        font-size: 16px;
        padding: 5px 15px 6px;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    #customCarousel .carousel-item {
        height: 350px;
    }
    #customCarousel .slide-title {
        font-size: 20px;
    }
    #customCarousel .slide-text {
        font-size: 18px;
        margin-right: 80px;
        margin-left: 80px;
    }
    #customCarousel .slide-btn {
        font-size: 14px;
        padding: 5px 15px 6px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    #customCarousel .carousel-item {
        height: 400px;
    }
    #customCarousel .slide-title {
        font-size: 24px;
    }
    #customCarousel .slide-text {
        font-size: 20px;
        margin-right: 90px;
        margin-left: 90px;
    }
    #customCarousel .slide-btn {
        font-size: 16px;
        padding: 5px 15px 6px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    #customCarousel .carousel-item {
        height: 400px;
    }
    #customCarousel .slide-title {
        font-size: 28px;
    }
    #customCarousel .slide-text {
        font-size: 20px;
        margin-right: 100px;
        margin-left: 100px;
    }
    #customCarousel .slide-btn {
        font-size: 16px;
        padding: 5px 15px 6px;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    #customCarousel .carousel-item {
        height: 450px;
    }
    #customCarousel .slide-title {
        font-size: 36px;
    }
    #customCarousel .slide-text {
        font-size: 24px;
        margin-right: 150px;
        margin-left: 150px;
    }
    #customCarousel .slide-btn {
        font-size: 18px;
        padding: 5px 20px;
    }
}
@media screen and (min-width: 1400px) {
    #customCarousel .carousel-item {
        height: 500px;
    }
    #customCarousel .slide-title {
        font-size: 36px;
    }
    #customCarousel .slide-text {
        font-size: 28px;
        margin-right: 200px;
        margin-left: 200px;
    }
    #customCarousel .slide-btn {
        font-size: 20px;
        padding: 5px 25px 8px;
    }
}
/* ----- Welcome Message ----- */
.welcome-message {
    text-align: center;
    color: var(--main-black);
    background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)), url("../images/welcome-message.png");
}
.welcome-message > div {
    position: relative;
}
.welcome-message h1 {
    font-weight: bold;
}
.welcome-message p {
    margin-bottom: 0;
}
.tail {
    position: absolute;
    background-image: url(../images/balloons.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100.5px;
    height: 130px;
    top: 0;
    left: 0;
    animation: flyingBalloons 5s ease-in-out infinite;
}
@keyframes flyingBalloons {
    0%, 100% {
        top: 0px;
        left: 0px;
    }
    25% {
        top: -15px;
        left: 10px;
    }
    50% {
        top: -30px;
        left: 30px;
    }
    75% {
        top: 30px;
        left: 15px;
    }
}
@media screen and (max-width: 575.99px) {
    .welcome-message {
        padding: 40px 0;
    }
    .welcome-message h1 {
        font-size: 18px;
    }
    .welcome-message p {
        font-size: 14px;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    .welcome-message {
        padding: 40px 0;
    }
    .welcome-message h1 {
        font-size: 24px;
    }
    .welcome-message p {
        font-size: 14px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    .welcome-message {
        padding: 30px 100px;
    }
    .welcome-message h1 {
        font-size: 24px;
    }
    .welcome-message p {
        font-size: 16px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    .welcome-message {
        padding: 30px 0;
    }
    .welcome-message h1 {
        font-size: 28px;
    }
    .welcome-message p {
        font-size: 16px;
    }
}
@media screen and (max-width: 1199.99px) {
    .balloons {
        display: none;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    .welcome-message {
        padding: 40px 0;
    }
    .welcome-message h1 {
        font-size: 32px;
    }
    .welcome-message p {
        font-size: 16px;
    }
}
@media screen and (min-width: 1400px) {
    .welcome-message {
        padding: 50px 0;
    }
    .welcome-message h1 {
        font-size: 36px;
    }
    .welcome-message p {
        font-size: 18px;
    }
}
/* ----- Brief Presentation ----- */
.brief-presentation {
    background-color: rgba(255, 0, 0, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff0000' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
.brief-presentation .container {
    background-image: url(../images/brief-presentation.png);
    background-repeat: no-repeat;
}
.brief-presentation p {
    text-align: justify;
}
.video-decorated-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0;
    background-color: var(--main-white);
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid var(--main-white);
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
}
.video-decorated-container video {
    width: 100%;
    display: block;
}
.orfila-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #007bff;
    color: #fff;
    padding: 8px 20px 10px 15px;
    font-size: 15px;
    font-weight: 600;
    z-index: 10;
    border-radius: 0 0 30px 0;  
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 575.99px) {
    .brief-presentation p {
        font-size: 15px;
    }
    .brief-presentation .container {
        background-position: 85% 85%;
        background-size: 50%;
    }
    .brief-presentation .orfila-badge {
        display: none;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    .brief-presentation p {
        font-size: 15px;
    }
    .brief-presentation .container {
        background-position: 95% 90%;
        background-size: 40%;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    .brief-presentation p {
        font-size: 16px;
    }
    .brief-presentation .container {
        background-position: 95% 95%;
        background-size: 30%;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    .brief-presentation p {
        font-size: 16px;
    }
    .brief-presentation .container {
        background-position: 90% 95%;
        background-size: 20%;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    .brief-presentation p {
        font-size: 16px;
    }
    .brief-presentation .container {
        background-position: 92.5% 95%;
        background-size: 15%;
    }
}
@media screen and (min-width: 1400px) {
    .brief-presentation p {
        font-size: 18px;
    }
    .brief-presentation .container {
        background-position: 100% 90%;
        background-size: 15%;
    }
}
/* ----- Strengths ----- */
.strengths {
    background-color: #fcf9f5;
    text-align: center;
}
.strengths h2 {
    font-weight: bold;
}
.strengths h2 + p {
    margin-bottom: 30px;
}
.strengths-card .col .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important
}
.strengths-card .col .card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}
.strengths-card .col > div {
    height: 100% !important;
    border: 0 !important;
}
.strengths-card .col > div > div {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}
.strengths-card .col > div > div i {
    font-size: 30px;
}
.strengths-card .col:first-child > div > div i {
    margin-top: 5px;
    color: var(--main-red);
}
.strengths-card .col:nth-child(2) > div > div i {
    margin-top: 1px;
    color: var(--main-green);
}
.strengths-card .col:nth-child(3) > div > div i {
    margin-top: 0;
    color: var(--main-blue);
}
.strengths-card .col:nth-child(4) > div > div i {
    margin-top: 0;
    color: var(--main-yellow);
}
.strengths-card .col:nth-child(5) > div > div {
    background-color: pink;
}
.strengths-card .col:nth-child(5) > div > div i {
    margin-top: 3px;
    color: var(--main-white);
}
.strengths-card .col:last-child > div > div i {
    margin-top: 2px;
    color: var(--main-black);
}
@media screen and (max-width: 575.99px) {
    .strengths h2 {
        font-size: 18px;
    }
    .strengths h2 + p {
        font-size: 14px;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    .strengths h2 {
        font-size: 24px;
    }
    .strengths h2 + p {
        font-size: 14px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    .strengths h2 {
        font-size: 24px;
    }
    .strengths h2 + p {
        font-size: 14px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    .strengths h2 {
        font-size: 28px;
    }
    .strengths h2 + p {
        font-size: 16px;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    .strengths h2 {
        font-size: 32px;
    }
    .strengths h2 + p {
        font-size: 16px;
    }
}
@media screen and (min-width: 1400px) {
    .strengths h2 {
        font-size: 36px;
    }
    .strengths h2 + p {
        font-size: 18px;
    }
}
/* ----- Shortcuts ----- */
.shortcuts {
    background-color: rgba(37, 106, 173, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23256aad' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
.shortcuts .card-guarderia {
    border: none;
    border-radius: 25px;
    overflow: hidden;
    background-color: var(--main-white);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
    width: 100%;
}
.shortcuts .card-guarderia:hover {
    transform: translateY(-7px);
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
}
.shortcuts .wrap-imagen {
    position: relative;
    overflow: hidden;
    clip-path: ellipse(116% 100% at 50% 0%); 
}
.shortcuts .card-guarderia .card-img-top {
    transition: transform 0.6s ease;
    height: 220px;
    object-fit: cover;
}
.shortcuts .card-guarderia:hover .card-img-top {
    transform: scale(1.1);
}
.shortcuts .card-guarderia .card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ocupa todo el espacio vertical restante */
}
.shortcuts .card-guarderia .card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}
.shortcuts .card-guarderia .card-text {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.shortcuts .btn-guarderia {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    margin-top: auto;
    align-self: center;
}
.shortcuts .card-instalacions .btn-guarderia {
    color: var(--main-red);
    border-color: var(--main-red);
}
.shortcuts .card-instalacions .btn-guarderia:hover {
    background-color: var(--main-red);
    color: var(--main-white);
}
.shortcuts .card-projecte .btn-guarderia {
    color: var(--main-green);
    border-color: var(--main-green);
}
.shortcuts .card-projecte .btn-guarderia:hover {
    background-color: var(--main-green);
    color: var(--main-white);
}
.shortcuts .card-activitats .btn-guarderia {
    color: var(--main-blue);
    border-color: var(--main-blue);
}
.shortcuts .card-activitats .btn-guarderia:hover {
    background-color: var(--main-blue);
    color: var(--main-white);
}
.shortcuts .card-ajudes .btn-guarderia {
    color: var(--main-yellow);
    border-color: var(--main-yellow);
}
.shortcuts .card-ajudes .btn-guarderia:hover {
    background-color: var(--main-yellow);
    color: var(--main-white);
}
/* ----- Hero ----- */
.hero-escola {
    background-image: url(../images/hero/hero-escola.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-projecte-educatiu {
    background-image: url(../images/hero/hero-projecte-educatiu.jpg);
}
.hero-el-dia-a-dia {
    background-image: url(../images/hero/hero-el-dia-a-dia.jpg);
}
.hero-families {
    background-image: url(../images/hero/hero-families.jpg);
}
.badge-registration {
    background-color: #fff3cd;
    color: #664d03 !important;
    font-size: 13px !important;
}
.hero-escola h1 {
    color: var(--main-black);
}
.hero-escola p {
    color: var(--main-black);
}
.hero-escola h1 span {
    color: var(--main-blue) !important;
}
.decorative-underline::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--main-yellow);
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-1deg);
    z-index: 0;
}
.hero-escola .btn-primary {
    background-color: var(--main-red);
    border: 1px solid var(--main-red);
}
.hero-escola .btn-custom-hover {
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.hero-escola .btn-custom-hover:hover {
    background-color: transparent;
    border: 1px solid #b32424;
    color: #b32424;
    transform: translateY(-3px);
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
}
.hero-escola .btn-outline-secondary {
    border: 1px solid var(--main-red);
    color: var(--main-red);
}
.hero-escola .btn-outline-secondary:hover {
    background-color: #b32424;
    border: 1px solid #b32424;
    color: var(--main-white);
}
.hero-escola .text-start {
    color: var(--main-black);
}
.avatar-sm {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
}
.ms-n2 {
    margin-left: -0.5rem !important;
}
.hero-image-container .card {
    animation: floatingImage 6s ease-in-out infinite;
}
.hero-escola img {
    height: 480px;
    width: 100%;
}
@keyframes floatingImage {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}
@media screen and (max-width: 575.99px) {
    .hero-escola h1 {
        font-size: 32px;
    }
    .decorative-underline::after {
        height: 3px;
    }
    .hero-escola p {
        font-size: 18px;
    }
    .hero-escola .btn-primary,
    .hero-escola .btn-outline-secondary {
        font-size: 18px;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    .hero-escola h1 {
        font-size: 36px;
    }
    .decorative-underline::after {
        height: 4px;
    }
    .hero-escola p {
        font-size: 24px;
    }
    .hero-escola .btn-primary,
    .hero-escola .btn-outline-secondary {
        font-size: 18px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    .hero-escola h1 {
        font-size: 48px;
    }
    .decorative-underline::after {
        height: 5px;
    }
    .hero-escola p {
        font-size: 30px;
    }
    .hero-escola .btn-primary,
    .hero-escola .btn-outline-secondary {
        font-size: 18px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    .hero-escola h1 {
        font-size: 52px;
    }
    .decorative-underline::after {
        height: 6px;
    }
    .hero-escola p {
        font-size: 24px;
    }
    .hero-escola .btn-primary,
    .hero-escola .btn-outline-secondary {
        font-size: 16px;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    .hero-escola h1 {
        font-size: 64px;
    }
    .decorative-underline::after {
        height: 7px;
    }
    .hero-escola p {
        font-size: 24px;
    }
    .hero-escola .btn-primary,
    .hero-escola .btn-outline-secondary {
        font-size: 20px;
    }
}
@media screen and (min-width: 1400px) {
    .hero-escola h1 {
        font-size: 72px;
    }
    .decorative-underline::after {
        height: 8px;
    }
    .hero-escola p {
        font-size: 24px;
    }
    .hero-escola .btn-primary,
    .hero-escola .btn-outline-secondary {
        font-size: 20px;
    }
}
/* --- Qui som, Historia, Missio, Valors i Proximitat --- */
#qui-som {
    background-color: rgba(255, 0, 0, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff0000' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    text-align: justify;
}
#qui-som a {
    text-decoration: none;
    color: var(--main-black);
}
.escola-img-wrapper img {
    border: 5px solid var(--main-white, #ffffff);
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}
#qui-som .badge-icon {
    width: 45px;
    height: 45px;
}
#qui-som .bg-danger-subtle {
    background-color: var(--main-white) !important;
}
#historia {
    background-color: #fcf9f5;
    text-align: justify;
}
#missio {
    background-color: rgba(37, 106, 173, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23256aad' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
#missio > div {
    position: relative;
}
.pieces {
    position: absolute;
    background-image: url(../images/puzzle.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 134px;
    height: 173.33333333px;
    top: 0;
    left: 0;
    animation: flyingPuzzle 5s ease-in-out infinite;
}
@keyframes flyingPuzzle {
    0%, 100% {
        top: 0px;
        left: 0px;
    }
    25% {
        top: -20px;
        left: 10px;
    }
    50% {
        top: 50px;
        left: 20px;
    }
    75% {
        top: 80px;
        left: 15px;
    }
}
.escola-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 65px;
    height: 65px;
    border: 3px solid var(--main-white, #ffffff);
}
.escola-year-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    border: 3px solid var(--main-white, #ffffff);
    text-align: center;
}
#valors {
    background-color: #fcf9f5;
}
#valors .container .row {
    padding-bottom: 24px;
}
.valor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}
.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}
.valor-icon {
    width: 60px;
    height: 60px;
}
#qui-som p, 
#historia p, 
#missio p, 
#valors p {
    line-height: 1.7;
}
@media screen and (max-width: 1199.99px) {
    .puzzle {
        display: none;
    }
}
/* ----- Equip ----- */
#equip {
    background-color: rgba(96, 168, 2, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2360a802' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
#equip .container > div p {
    max-width: 650px;
}
.equip-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}
.equip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}
.equip-avatar-wrapper {
    width: 260px;
    height: 260px;
}
.equip-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid var(--main-white, #ffffff);
}
.equip-badge {
    position: absolute;
    bottom: 0;
    right: 40px;
    width: 35px;
    height: 35px;
    border: 2px solid #ffffff;
}
#equip .row > div:first-child i {
    margin-top: 0px;
}
#equip .row > div:nth-child(2) i {
    margin-top: 2px;
}
#equip .row > div:last-child i {
    margin-top: -1px;
}
#equip p {
    line-height: 1.6;
}
/* ----- Instalacions ----- */
#instal-lacions {
    background-color: #fcf9f5;
}
#instal-lacions .container > div:first-child > div {
    max-width: 800px;
}
#instal-lacions .container > div:last-child {
    padding-bottom: 24px;
}
.instalacio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}
.instalacio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}
.border-top-danger {
    border-top: 4px solid var(--bs-danger) !important;
}
.border-top-primary {
    border-top: 4px solid var(--bs-primary) !important;
}
.border-top-success {
    border-top: 4px solid var(--bs-success) !important;
}
.espai-comu-icon {
    width: 55px;
    height: 55px;
}
.italic-quote {
    font-style: italic;
    color: #555555;
}
#instal-lacions p {
    line-height: 1.6;
}
/* ----- Filosofia Educativa ----- */
#filosofia-educativa {
    background-color: rgba(96, 168, 2, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2360a802' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
#filosofia-educativa > div {
    position: relative;
}
.book {
    position: absolute;
    background-image: url(../images/tale.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 134px;
    height: 173.33333333px;
    top: 0;
    left: 0;
    animation: flyingTale 5s ease-in-out infinite;
}
@keyframes flyingTale {
    0%, 100% {
        top: 0px;
        left: 0px;
    }
    25% {
        top: -20px;
        left: 5px;
    }
    50% {
        top: 20px;
        left: 10px;
    }
    75% {
        top: 10px;
        left: 5px;
    }
}
@media screen and (max-width: 1199.99px) {
    .tale {
        display: none;
    }
}
/* ----- Filosofia educativa card ----- */
#filosofia-educativa-card {
    background-color: #fcf9f5;
}
#filosofia-educativa-card .row div div {
    background-color: var(--main-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin: 0 auto;
}
#filosofia-educativa-card .row div div:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}
#filosofia-educativa-card p {
    text-align: justify;
}
.badge-icon {
    width: 55px;
    height: 55px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}
/* ----- Metodologia ----- */
#metodologia {
    background-color: rgba(37, 106, 173, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23256aad' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
/* ----- Pilars ----- */
#pilars {
    background-color: #fcf9f5;
}
#pilars .row .card div {
    margin: 0 auto;
}
#pilars h3 {
    text-align: center;
}
#pilars p {
    text-align: justify;
}
#pilars .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#pilars .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}
/* ----- Frase emocional ----- */
#frase-emocional {
    background-color: rgba(255, 0, 0, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff0000' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    text-align: center;
}
#frase-emocional i {
    color: var(--main-red);
}
#frase-emocional h3 {
    color: rgba(255, 0, 0, .5);
}
/* ----- Horari ----- */
#horari {
    background-color: #fcf9f5;
}
#horari > div {
    position: relative;
}
#horari .row > div > div {
    background-color: var(--main-white);
}
#horari .row > div > div div:last-child {
    background-color: #fcf9f5 !important;
}
#horari .row > div > div > div:first-child {
    margin-right: auto !important;
    margin-left: auto !important;
}
.brush {
    position: absolute;
    background-image: url(../images/color-palette.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100.5px;
    height: 83px;
    top: 0;
    left: 0;
    animation: flyingColorPallette 5s ease-in-out infinite;
}
@keyframes flyingColorPallette {
    0%, 100% {
        top: 0px;
        left: 0px;
    }
    25% {
        top: -15px;
        left: 35px;
    }
    50% {
        top: -5px;
        left: 60px;
    }
    75% {
        top: 20px;
        left: 15px;
    }
}
@media screen and (max-width: 1199.99px) {
    .color-pallette {
        display: none;
    }
}
/* ----- Calendari escolar ----- */
#calendari-escolar {
    background-color: rgba(37, 106, 173, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23256aad' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    text-align: center;
}
#calendari-escolar .row > div > div > div:first-child {
    margin-right: auto !important;
    margin-left: auto !important;
}
.bg-primary-soft {
    background-color: #f0f7ff;
}
/* ----- Activitats ----- */
#activitats {
    background-color: #fcf9f5;
    text-align: center;
}
#activitats .row > div > div > div {
    margin-right: auto !important;
    margin-left: auto !important;
}
#activitats > div > div p {
    max-width: 750px;
}
.activitat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}
.activitat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}
/* ----- Cuina propia i menjador ----- */
#menjador {
    background-color: rgba(252, 213, 3, .25);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fcd503' fill-opacity='0.7' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    text-align: center;
}
#menjador .container > div {
    background-color: var(--main-white);
}
#menjador .row div:first-child p {
    text-align: justify;
}
#menjador .row div:last-child > div {
    background-color: rgba(252, 213, 3, .25);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fcd503' fill-opacity='0.7' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
#menjador h2 {
    text-align: left !important;
}
/* ----- Preus ----- */
#preus {
    background-color: rgba(252, 213, 3, .25);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fcd503' fill-opacity='0.7' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
#preus > div {
    position: relative;
}
#preus table {
    text-align: center;
}
.block {
    position: absolute;
    background-image: url(../images/building.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100.5px;
    height: 83px;
    top: 0;
    left: 0;
    animation: flyingColorBuilding 5s ease-in-out infinite;
}
@keyframes flyingColorBuilding {
    0%, 100% {
        top: 0px;
        left: 0px;
    }
    25% {
        top: -30px;
        left: 50px;
    }
    50% {
        top: -5px;
        left: 90px;
    }
    75% {
        top: 20px;
        left: 15px;
    }
}
@media screen and (max-width: 1199.99px) {
    .building {
        display: none;
    }
}
/* ----- Ajuts, subvencions i deduccions ----- */
#ajuts-subvencions {
    background-color: #fcf9f5;
}
#ajuts-subvencions .card {
    text-align: center !important;
}
#ajuts-subvencions .card > div {
    margin-right: auto !important;
    margin-left: auto !important;
}
.max-w-750 {
    max-width: 750px;
}
.ajut-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ajut-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}
.opacity-90 {
    opacity: 0.9;
}
/* ----- Informació gràfica d'interès ----- */
#informacio-grafica-interes {
    background-color: rgba(96, 168, 2, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2360a802' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
/* ----- Equipació ----- */
#equipacio {
    background-color: #fcf9f5;
}
/* ----- FAQS ----- */
#faqs {
    background-color: rgba(255, 0, 0, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff0000' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
#faqs p {
    margin-bottom: 0 !important;
}
.custom-accordion .accordion-button {
    background-color: var(--main-white);
    box-shadow: none;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #fdf8f3;
    color: var(--bs-primary);
}
.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.05);
}
.custom-accordion .accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
/* ----- Contacte ----- */
#contacte {
    background-color: rgba(37, 106, 173, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23256aad' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
#contacte iframe {
    width: 100%;
    height: 350px;
}
/* ----- Matricula't ----- */
#matriculat {
    background-color: rgba(255, 0, 0, .15);
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff0000' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
/* ----- Certificates ----- */
.certificates {
    background-color: #fcf9f5;
}
.card-certificate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main-white);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-certificate:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
}
.text-certificate {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-black);
    margin-bottom: 20px;
    text-align: center;
}
.card-certificate img {
    max-height: 85px;
    width: auto;
    object-fit: contain;
}
/* ----- Carousel Images ----- */
.slick-slide {
	margin: 0px 10px;
}
.slick-slide * { 
	outline: none !important;
}
.slick-slide img {
	width: 100%;
    border-radius: 8px;
}
.slick-slide img:focus {
	outline: none;
}
.slick-prev:before,
.slick-next:before {
	color: #000000;
}
.slick-slide {
	transition: all ease-in-out .3s;
}
.slick-lightbox-slick-item-inner img {
	width: 100%;
}
.slick-lightbox-slick-item-inner img:focus {
	outline: 0 !important;
	border: 0 !important;
}
.slick-lightbox-close {
	top: 2.5% !important;
	right: 5% !important;
}
.slick-lightbox-close:before {
	font-size: 50px !important;
}
@media(max-width: 575.99px) {
	.slick-lightbox-close {
		top: 2.5% !important;
		right: 5% !important;
	}
	.slick-lightbox-close:before {
		font-size: 50px !important;
	}
    .carousel-image {
        margin-top: 35px;
    }
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    .carousel-image {
        margin-top: 35px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    .carousel-image {
        margin-top: 30px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    .carousel-image {
        margin-top: 30px;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    .carousel-image {
        margin-top: 35px;
    }
}
@media screen and (min-width: 1400px) {
    .carousel-image {
        margin-top: 40px;
    }
}
@media (min-width: 2560px) {
	.slick-lightbox-close {
		top: 10%;
		right: 2.5% !important;
	}
	.slick-lightbox-close:before {
		font-size: 100px !important;
	}
}
/* ----- Stalk Image ----- */
.stalker-image-1,
.stalker-image-2,
.stalker-image-3,
.stalker-image-4,
.stalker-image-5,
.stalker-image-6,
.stalker-image-7 {
    width: 100%;
    height: 50vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.stalker-image-1 {
    background-image: url("../images/stalkers/stalker-image-1.jpg");
}
.stalker-image-2 {
    background-image: url("../images/stalkers/stalker-image-2.jpg");
}
.stalker-image-3 {
    background-image: url("../images/stalkers/stalker-image-3.jpg");
}
.stalker-image-4 {
    background-image: url("../images/stalkers/stalker-image-4.jpg");
}
.stalker-image-5 {
    background-image: url("../images/stalkers/stalker-image-5.jpg");
}
.stalker-image-6 {
    background-image: url("../images/stalkers/stalker-image-6.jpg");
}
.stalker-image-7 {
    background-image: url("../images/stalkers/stalker-image-7.jpg");
}
.st-img-1,
.st-img-2,
.st-img-3,
.st-img-4,
.st-img-5,
.st-img-6,
.st-img-7 {
    text-align: center;
}
.st-img-1 img,
.st-img-2 img,
.st-img-3 img,
.st-img-4 img,
.st-img-5 img,
.st-img-6 img,
.st-img-7 img {
    height: 20vh;
}
.st-img-1 img {
    filter: drop-shadow(0 8px 20px rgba(255, 0, 0, 1));
}
.st-img-2 img {
    filter: drop-shadow(0 8px 20px rgba(96, 168, 2, 1));
}
.st-img-3 img {
    filter: drop-shadow(0 8px 20px rgba(37, 106, 173, 1));
}
.st-img-4 img {
    filter: drop-shadow(0 8px 20px rgba(252, 213, 3, 1));
}
.st-img-5 img {
    filter: drop-shadow(0 8px 20px rgba(37, 106, 173, 1));
}
.st-img-6 img {
    filter: drop-shadow(0 8px 20px rgba(96, 168, 2, 1));
}
.st-img-7 img {
    filter: drop-shadow(0 8px 20px rgba(252, 213, 3, 1));
}
/* ----- Footer ----- */
.wave-box {
    width: 100%;
    height: 80px;
    background-color: #fcf9f5;
    position: relative;
    overflow: hidden;
}
.wave-svg {
    width: 200%;
    height: 100%;
    position: absolute;
    bottom: -1px;
    left: 0;
}
.wave-back {
    animation: waveLoop 12s linear infinite;
}
.wave-front {
    animation: waveLoop 8s linear infinite;
}
@keyframes waveLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.footer-guarderia {
    background-color: var(--main-red);
    color: var(--main-white);
    position: relative;
    font-size: 1rem;
}
.footer-logo {
    max-height: 80px;
    width: auto;
}
.footer-guarderia .contact-item i {
    margin-top: 0 !important;
}
.footer-guarderia .contact-item a {
    color: var(--main-white);
    text-decoration: none;
    font-weight: bold;
    transition: color .5s ease;
}
.footer-guarderia .contact-item a:hover {
    color: #b32424;
}
.footer-guarderia h6 {
    color: var(--main-white);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    position: relative;
}
.footer-guarderia h6::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 30px;
    height: 3px;
    background-color: var(--main-white);
    border-radius: 2px;
}
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: var(--main-white);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover {
    color: #b32424;
    padding-left: 4px;
}
.sub-links {
    list-style: none;
    padding-left: 0.85rem;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
    border-left: 2px solid var(--main-white);
}
.sub-links a {
    font-size: 0.88rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.contact-icon {
    color: var(--accent-footer);
    font-size: 1.1rem;
    margin-top: 2px;
}
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--main-white);
    color: var(--main-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
    transition: all 0.3s ease;
}
.social-btn:first-child {
    background: linear-gradient(135deg, #1877f2, #0d47a1);
}
.social-btn:nth-child(2) {
    background: linear-gradient(135deg, #833ab4, #fd1f1f, #fcb045);
}
.social-btn:last-child {
    background: linear-gradient(135deg, #075e54, #128c7e, #25d366);
}
.social-btn:hover {
    transform: translateY(-3px);
}
.social-btn i {
    font-size: 20px;
}
.footer-bottom {
    border-top: 1px solid var(--main-white);
    background-color: var(--main-red);
    font-size: 0.85rem;
    color: var(--main-white);
}
.footer-bottom a {
    color: var(--main-white) !important;
}
/* ----- Whatsapp Icon ----- */
.whatsapp-icon {
    position: fixed;
    z-index: 1000;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-icon img {
    display: block;
    transition: filter 0.4s ease, transform 0.4s ease;
}
.whatsapp-icon:hover {
    transform: translateY(-1px) scale(1.1) rotate(3deg);
}
.whatsapp-icon:hover img {
    filter: drop-shadow(0 2px 4px rgba(37, 211, 102, 0.6))
            drop-shadow(0 0 6px rgba(37, 211, 102, 0.4));
}
.whatsapp-icon:active {
    transform: translateY(-2px) scale(1);
}
@media screen and (max-width: 1399.99px) {
    .whatsapp-icon {
        bottom: 10px;
        left: 10px;
    }
    .whatsapp-icon img {
        width: 40px;
        height: 40px;
    }
}
@media (min-width: 1400px) {
	.whatsapp-icon {
		bottom: 5px;
		left: 5px;
		padding: 6px;
	}
	.whatsapp-icon img {
		width: 50px;
		height: 50px;
	}
}
/* ----- Help Button ----- */
.help-btn {
    border: 2px solid var(--main-white) !important;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}
.help-btn i {
    margin-right: 8px;
}
@media screen and (max-width: 1399.99px) {
    .help-btn {
        font-size: 13px !important;
		bottom: 9px;
    }
}
@media (min-width: 1400px) {
	.help-btn {
        font-size: 14px !important;
		bottom: 8px;
	}
}
/* ----- Arrow Back to Top ----- */
#btnBackToTop {
    position: fixed;
    width: 40px;
    height: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease, border 0.3s ease;
    z-index: 1080;
    border: 1px solid var(--main-white);
    background-color: #b32424; 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 3px rgba(51, 51, 51, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
#btnBackToTop.show {
    opacity: 1;
    visibility: visible;
}
#btnBackToTop:hover {
    background-color: var(--main-white);
    border: 1px solid #b32424;
}
#btnBackToTop:active {
    transform: translateY(-1px) scale(0.96);
}
#btnBackToTop svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    transition: fill 0.3s ease;
}
#btnBackToTop:hover svg {
    fill: #b32424;
}
@media screen and (max-width: 1399.99px) {
    #btnBackToTop {
        bottom: 7px;
        right: 10px;
    }
}
@media (min-width: 1400px) {
	#btnBackToTop {
		bottom: 7px;
		right: 11px;
	}
}

/*
@media screen and (max-width: 575.99px) {
    
}
@media screen and (min-width: 576px) and (max-width: 767.99px) {
    
}
@media screen and (min-width: 768px) and (max-width: 991.99px) {
    
}
@media screen and (min-width: 992px) and (max-width: 1199.99px) {
    
}
@media screen and (min-width: 1200px) and (max-width: 1399.99px) {
    
}
@media screen and (min-width: 1400px) {

}
*/