* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    flex-wrap: wrap;

}


.header {
    text-align: center;
    padding: 2rem 3rem;
    background-size: contain;
    background-color: #e072c9;
    background: linear-gradient(-45deg, #cd60a1, #9f9de6, #71b289, #cece81);
    color: white;
    font-style: italic;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header p {
    font-size: 1.2rem;

}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    padding: 3rem;
    max-width: 1200px;
    margin: auto;
}

.card {
    background-color: #f6ededcc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: rgb(11, 2, 2) transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 10px 1px 60px 20px rgb(50, 37, 37);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
}

.card-content h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d3436;
}

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #01020e;
}

.btn {
    cursor: pointer;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #6c5ce7;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s;
}

.btn:hover {
    background-color: #2302f9;
    box-shadow: 1px 1px 8px 8px rgb(97, 132, 235);

}


.footer {
    display: flexbox;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background-color: #465356;
    color: rgb(223, 223, 223);
    padding: 40px;
    max-width: 800%;
    height: fit-content;

}

@media(max-width: 600px) {
    .footer {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    to {
        opacity: 4;
    }
}

body {
    margin: 0;
    padding: 0;
    max-height: fit-content;
    background-color: rgb(237, 210, 230);
    background-size: 800% 800%;
    background: linear-gradient(-45deg, #ff6ec4, #7873f5, #4ade80, #fdff00);
    background-size: 400% 400%;
    animation: gradientMove 3s ease infinite;
    font-family: 'Segoe UI', sans-serif;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.card-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    flex-wrap: wrap;
}

.card {
    color: rgb(254, 254, 254);
    display: flex;
    border-radius: 15px;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideIn 0.7s forwards;
}

@keyframes slideIn {
    to {
        opacity: 5;
        transform: translateX(0);
    }
}