@font-face {
    font-family: 'Janna LT';
    src: url('../fonts/JannaLTRegular.ttf') format('truetype');
}

body {
    font-family: 'Janna LT', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #0058A2, #07B4DF);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #07B4DF, #0058A2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* portafolio card effects */
/* portafolio card effects */
.portafolio-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Flip card effect */
.flip-card {
    perspective: 1000px;
    /* height: 100%; */
    min-height: 350px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}
.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #0058A2, #07B4DF);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}
.portafolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.portafolio-card:hover::before {
    opacity: 1;
}
.portafolio-card img {
    transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.portafolio-card:hover img {
    transform: scale(1.1);
}
.portafolio-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 2;
    color: white;
}
.portafolio-card:hover .portafolio-card-content {
    transform: translateY(0);
}

.nav-link {
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0058A2;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}