/* =========================
   GENERAL RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    margin-top: 60px; /* Push content below fixed navbar */
}

/* Smooth scrolling for the document */
html {
    scroll-behavior: auto;
}

/* Back-to-top button centered along bottom with fade-in */
.back-to-top {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    bottom: 28px;
    background: #fc6a02;
    color: #ffffff;
    border: none;
    width: 110px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.20);
    cursor: pointer;
    z-index: 2000;
    font-weight: 800;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 420ms cubic-bezier(.2,.8,.2,1), transform 420ms cubic-bezier(.2,.8,.2,1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.back-to-top:hover {
    background: #f75d0a;
}

/* =========================
   NAVBAR
========================= */
nav {
    background-color: #0c121e;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav .logo h2 {
    color: white;
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #f75d0a;
    border-radius: 4px;
}

/* =========================
   HEADER
========================= */
header {
    text-align: center;
    padding: 80px 20px 40px 20px; /* Top padding accounts for navbar */
    background-color: #060d41;
}

header h1 {
    font-size: 2.5rem;
    color: #f8f8ff;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
}

/* =========================
   SECTIONS
========================= */
section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

h2 {
    color: #000000;
    font-size: 2rem;
    margin-bottom: 20px;
}

ul {
    list-style: disc;
    margin-left: 20px;
}

p {
    margin-bottom: 15px;
}

/* =========================
   TEAM CARDS
========================= */
#team div {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =========================
   LINKS
========================= */
a {
    color: #fc6a02;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   FOOTER
========================= */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.logo img {
    height: 50px;   /* Adjust size */
    width: auto;
    position: relative;
    top: 3px;       /* Slightly align with text */
}


/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        display: none; /* Hidden by default, can be toggled with JS if needed */
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    header h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

.hero {
    background: url("images/header.jpeg") center/cover no-repeat;
    background-size: cover;
    margin-bottom: 24px; /* space between header image and following title/content */
}

/* Large hero: used on index page, shows overlay + centered box */
.hero.hero--large {
    position: relative;
    height: 80vh; /* big header for index */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero.hero--large::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero.hero--large .hero-content {
    position: relative;
    background: rgba(79, 97, 178, 0.85);
    padding: 40px 60px;
    border-radius: 12px;
    text-align: center;
    max-width: 700px;
    color: #f8f8ff;
}

.hero.hero--large .hero-content h1 {
    margin-bottom: 15px;
}

.hero.hero--large .hero-content p {
    font-size: 1.2rem;
}

/* Small hero: used on project page, no overlay, smaller height */
.hero.hero--small {
    position: relative;
    height: 40vh; /* reduced height for project */
    display: block;
}

/* Generic hero-content when used outside header (project page) */
.hero-content {
    margin: 20px auto;
    text-align: center;
    max-width: 900px;
    padding: 18px 20px;
    color: #060d41;
}

.hero-content h1 {
    margin-bottom: 8px;
}

.hero-content p {
    font-size: 1.05rem;
    color: #333;
}

.team {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.team h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

/* Flex container for cards */
.team-cards {
    display: flex;
    flex-wrap: wrap; /* wrap to second row */
    gap: 30px;
    justify-content: center;
}

/* Each card will take ~1/3 of container width minus gaps */
.team-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    flex: 0 1 calc(33.333% - 20px); /* 3 per row with gap adjustment */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-card h3 {
    margin: 10px 0 5px;
}

.team-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
    .team-card {
        flex: 0 1 calc(50% - 20px); /* 2 per row */
    }
}

@media (max-width: 600px) {
    .team-card {
        flex: 0 1 100%; /* 1 per row */
    }
}

/* Team hero section */
.team-hero {
    position: relative;
    background: #f1f4ff;
    min-height: auto;
    display: block;
    padding: 50px 20px 30px;
}

.team-hero h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Team page alternating member rows */
.team-section {
    max-width: 1100px;
    margin: 80px auto 40px;
    padding: 0 16px;
}

.team-top-row {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 440px);
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}

.team-intro-block h2 {
    margin: 0 0 12px;
    font-size: 2rem;
    color: #0c121e;
}

.team-intro-block p {
    font-size: 1rem;
    color: #2f3858;
    line-height: 1.4;
    max-width: 640px;
}

.team-group-photo {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.team-group-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.meet-team-title {
    text-align: left;
    margin: 20px 0 10px;
    font-size: 2rem;
    color: #0b173f;
}

.team-alternate {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.member-row {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    grid-template-areas: "photo info";
    gap: 24px;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e6e9f5;
    padding: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.member-row .member-photo {
    grid-area: photo;
}

.member-row .member-info {
    grid-area: info;
}

.member-row .member-photo img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.member-row.reverse {
    grid-template-columns: 1fr minmax(260px, 420px);
    grid-template-areas: "info photo";
}

.member-row .member-info h3 {
    margin: 0 0 8px;
    font-size: 1.6rem;
    color: #0d1a45;
}

.member-row .member-info p {
    margin: 0;
    color: #293a6f;
    font-size: 1.05rem;
    line-height: 1.45;
}

.team-alternate .member-row:nth-child(odd) {
    background: #ffffff;
}

.team-alternate .member-row:nth-child(even) {
    background: #f8fbff;
}

@media (max-width: 950px) {
    .team-top-row {
        grid-template-columns: 1fr;
    }

    .member-row,
    .member-row.reverse {
        grid-template-columns: 1fr;
    }

    .member-row .member-photo img {
        height: 300px;
    }
}

.overlay-box {
    /* wider but responsive: use up to 1200px or 92% of viewport */
    width: min(1200px, 92%);
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 36px 36px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(10,20,40,0.12);
}

.overlay-box h2 {
    margin-bottom: 18px;
    font-size: 2rem;
    text-align: center;
}


.member-card {
    background: #f9fbff;
    border-radius: 8px;
    padding: 14px;
    width: 100%;
    max-width: 220px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(10,20,40,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease, background-color 260ms ease;
}

.member-card img {
    width: 100px;
    height: 100px;
    border-radius: 8px; /* small rectangle look */
    object-fit: cover;
    margin-bottom: 10px;
}

/* Hover effect: subtle lift, scale and deeper shadow */
.member-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 18px 40px rgba(10,20,40,0.16);
    background: #ffffff;
}

.member-card h4 {
    margin: 6px 0 4px;
    font-size: 1rem;
}

.member-card p {
    font-size: 0.9rem;
    color: #555;
}


@media (max-width: 900px) {
    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }

    .overlay-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .team-members {
        grid-template-columns: 1fr;
    }
}

.blog-post {
    max-width: 900px;
    margin: 90px auto 40px;
    padding: 0 16px;
}

.blog-post-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e5f0;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.blog-hero-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 22px 24px;
}

.blog-content h1 {
    margin: 0 0 14px;
    font-size: 2rem;
    color: #0b173f;
}

.blog-content p {
    margin-bottom: 14px;
    color: #2f3858;
    line-height: 1.6;
    font-size: 1rem;
}

.blog-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #f5f7ff;
    border-top: 1px solid #e6e9f5;
    padding: 12px 24px;
    gap: 12px;
    font-size: 0.95rem;
    color: #334169;
}

.post-date {
    font-weight: 700;
}

.share-options {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-options a {
    color: #0a51d6;
    text-decoration: none;
    border: 1px solid #c9d1f0;
    border-radius: 999px;
    padding: 4px 10px;
    background: #fff;
    transition: background 160ms ease, color 160ms ease;
}

.share-options a:hover {
    background: #0a51d6;
    color: #fff;
}

@media (max-width: 700px) {
    .blog-hero-image img {
        height: 260px;
    }

    .blog-content h1 {
        font-size: 1.6rem;
    }
}

/* =========================
   BLOG PREVIEW CARDS
   Display two rectangular post cards side-by-side
========================= */

.blog-preview .blog-cards {
    display: flex;
    gap: 16px;
    align-items: stretch;
    justify-content: space-between;
}

.blog-preview .blog-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(12,18,30,0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(0,0,0,0.1);
    flex: 0 1 calc(24% - 12px);
    display: block;
    text-decoration: none;
    color: inherit;
    min-height: 220px;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.blog-preview .blog-cards {
    justify-content: flex-start;
    align-items: flex-start;
}

@media (max-width: 1000px) {
    .blog-preview .blog-card {
        flex: 0 1 calc(50% - 10px);
    }
}

@media (max-width: 700px) {
    .blog-preview .blog-card {
        flex: 0 1 100%;
    }
}

.blog-preview .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

.blog-preview .blog-card .card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.blog-preview .blog-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.5));
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

.blog-preview .blog-card:hover .card-overlay {
    opacity: 1;
}

.blog-preview .blog-card .card-copy {
    position: relative;
    padding: 14px 12px 16px;
    background: #fff;
}

.blog-preview .blog-card h3 {
    margin: 0;
    font-size: 1rem;
    color: #0b173f;
    line-height: 1.3;
}

.blog-preview .blog-card .date {
    margin-top: 6px;
    color: #565a6b;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.blog-preview .card-copy::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, #fc6a02, #ff9f43, #fc6a02);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.blog-preview .blog-card:hover .card-copy::before {
    transform: scaleX(1);
}

/* Space multiple .blog-cards groups and center single-card rows */
.blog-preview .blog-cards + .blog-cards {
    margin-top: 22px; /* vertical gap between rows of cards */
}

.blog-preview .blog-cards {
    /* when a group has only one card, center it */
    justify-content: flex-start;
}

.blog-preview .blog-cards:only-child,
.blog-preview .blog-cards:only-of-type {
    justify-content: center;
}

.blog-preview .blog-cards > .blog-card:only-child {
    margin-left: auto;
    margin-right: auto;
    flex: 0 1 60%; /* make single card a bit narrower and centered */
}

/* Two-column variant: allow stacking one card under another in left column */
.blog-preview .blog-cards.columns {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.blog-preview .blog-cards.columns .col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 1 48%;
}

/* Make stacked cards in each column match width and spacing */
.blog-preview .blog-cards.columns .col .blog-card {
    min-height: unset; /* allow individual cards to size naturally when stacked */
    flex: none;
    width: 100%;
}

@media (max-width: 720px) {
    .blog-preview .blog-cards.columns {
        flex-direction: column;
        gap: 18px;
    }

    .blog-preview .blog-cards.columns .col {
        flex: 0 1 100%;
    }
}

@media (max-width: 720px) {
    .blog-preview .blog-cards {
        flex-direction: column;
    }

    .blog-preview .blog-card {
        flex: 0 1 100%;
    }
}

/* =========================
   PROJECT SECTIONS - Alternate Text & Images
========================= */
/* =========================
   WHO ARE WE SECTION
========================= */
.who-are-we {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.who-content {
    flex: 1;
    min-width: 300px;
}

.who-content h2 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 20px;
}

.who-content p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.who-image {
    flex: 1;
    min-width: 300px;
}

.who-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* =========================
   PROJECT SECTIONS
========================= */
.project-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 40px auto;
}

.project-row {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: space-between;
}

.project-row.reverse {
    flex-direction: row-reverse;
}

.project-text {
    flex: 1;
    min-width: 300px;
}

.project-text h2 {
    font-size: 2rem;
    color: #0c121e;
    margin-bottom: 20px;
}

.project-text p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.project-image {
    flex: 1;
    min-width: 300px;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    object-fit: cover;
}

.key-features {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 60px auto;
    background-color: #f5f5f5;
    border-radius: 12px;
}

.key-features h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.key-features ul {
    list-style: none;
    margin-left: 0;
}

.key-features li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 1.05rem;
    color: #333;
}

.key-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fc6a02;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Design for Project Sections */
@media (max-width: 900px) {
    .who-are-we {
        flex-direction: column;
        gap: 30px;
    }

    .who-content,
    .who-image {
        min-width: 100%;
    }

    .project-row {
        flex-direction: column;
        gap: 30px;
    }

    .project-row.reverse {
        flex-direction: column;
    }

    .project-text,
    .project-image {
        min-width: 100%;
    }

    .project-row {
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .project-section {
        padding: 40px 15px;
    }

    .project-text h2 {
        font-size: 1.5rem;
    }

    .project-text p {
        font-size: 1rem;
    }
}

/* =========================
   CONTACT PAGE STYLES
========================= */
.contact-page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-info,
.location {
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.map-container {
            width: 100%;
            height: 400px;
            border-radius: 12px;
            overflow: hidden;
            margin-top: 20px;
        }

        /* Back-to-top button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #222;
            color: #fff;
            border: none;
            padding: 12px 16px;
            border-radius: 50%;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 1000;
        }

        .back-to-top.show {
            opacity: 1;
        }

.contact-info h2,
.location h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #0c121e;
}

.contact-info ul {
    list-style: none;
    padding-left: 0;
}

.contact-info li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================
   404 ERROR PAGE
========================= */
.error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px 20px;
    min-height: 60vh;
}

.error-content {
    flex: 1;
    min-width: 300px;
}

.error-content h1 {
    font-size: 8rem;
    font-weight: 900;
    color: #fc6a02;
    line-height: 1;
    margin-bottom: 10px;
}

.error-content h2 {
    font-size: 2.5rem;
    color: #0c121e;
    margin-bottom: 20px;
}

.error-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.error-btn {
    display: inline-block;
    background: #fc6a02;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: background 0.3s ease;
}

.error-btn:hover {
    background: #f75d0a;
    text-decoration: none;
}

.error-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.error-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.contact-btn {
    display: inline-block;
    background: #fc6a02;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: background 0.3s ease;
}

.team-btn {
    display: inline-block;
    background: #fc6a02;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: background 0.3s ease;
}

.project-btn {
    display: inline-block;
    background: #fc6a02;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: background 0.3s ease;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
    .error-404 {
        flex-direction: column;
        gap: 40px;
        margin: 60px auto;
    }

    .error-content h1 {
        font-size: 6rem;
    }

    .error-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .error-404 {
        margin: 40px auto;
        padding: 20px 15px;
    }

    .error-content h1 {
        font-size: 4rem;
    }

    .error-content h2 {
        font-size: 1.5rem;
    }

    .error-content p {
        font-size: 1rem;
    }
}

#intro {
    position: fixed;
    inset: 0;
    background: #0b2540;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

#introLogo {
    width: 140px;
    opacity: 0;
    transform: scale(0.8);
}

/* entrada */
#intro.show #introLogo {
    animation: introIn 1s ease forwards;
}

/* movimento para navbar */
#intro.move #introLogo {
    animation: moveToCorner 1s ease forwards;
}

/* fade out final */
#intro.hide {
    opacity: 0;
}

@keyframes introIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes moveToCorner {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(0.4) translate(-300px, -200px);
    }
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}