#primary-nav-section .card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s ease;
}

#primary-nav-section .card:hover {
    box-shadow: 0 4px 16px #2B4181;
}

#projects-section .column.is-one-seventh {
    flex: none;
    width: calc(100% / 7);
}

@media screen and (max-width: 768px) {
    #projects-section .column.is-one-seventh {
        width: 50%;
    }
}

@media screen and (max-width: 480px) {
    #projects-section .column.is-one-seventh {
        width: 100%;
    }
}

#projects-section {
    background: linear-gradient(to bottom, #fff, #67b5e4);
}

#projects-section .card {
    position: relative;
    overflow: hidden;
}

#projects-section .card-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65%;
    background: linear-gradient(to top, rgb(0, 0, 0), transparent);
    pointer-events: none;
    z-index: 1;
}

#projects-section .card-image img {
    object-fit: cover;
}

#projects-section .card-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    padding: 0.75rem;
    z-index: 2;
}

#projects-section .card-content .title {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 0;
}

#projects-section .card-content .content {
    color: #fff;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}

#logo {
    padding-left: 25pt;
    font-family: 'Pushkin', serif;
    color: #67b5e4;
    font-weight: 400;
    font-size: 2rem;
}

#projects-section + .section {
    background: linear-gradient(to bottom, #67b5e4, #e3edfa);
    overflow: hidden;
    padding: 2rem 0;
}

#projects-section + .section h2.title {
    color: #fff;
    font-family: 'Pushkin', serif;
    font-weight: 400;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    animation: scroll-carousel 30s linear infinite;
    width: max-content;
}

.carousel-item {
    flex-shrink: 0;
}

.carousel-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #67b5e4;
}

.contact-hero {
    background: url('/images/elback.png') bottom/cover no-repeat;
}

.contact-form-box {
    background: linear-gradient(to bottom, #fff, #67b5e4);
    border-radius: 4rem;
    padding: 2.5rem;
    max-width: 32rem;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.section-title {
    font-family: 'Pushkin', serif;
    color: #67b5e4;
    font-weight: 400;
    font-size: 2rem;
}

@keyframes scroll-carousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}