@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
body {
    background: radial-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/about_banner.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a{
    text-decoration: none;
    color: #fff;
}

.about-section h1{
    font-size: 10rem;
    padding-top: 210px;
    text-shadow: 5px 8px 5px rgba(255, 255, 255, 0.5);
}
.flex{
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-icon {
    animation: fadeIn 1s ease-in-out;
}

.about-icon img{
    width: 200px;
}

.about-content {
    width: 80%;
    margin: 100px auto 50px auto;
    background: #fff;
    color: #000;
    padding: 50px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;

    /* Creates a V-shaped top */
    clip-path: polygon(0 0, 50% 50px, 100% 0, 100% 100%, 0 100%);
}

.about-text{
    padding-top: 50px;
    font-family: "Poppins", sans-serif;
    text-align: justify;
}

.cards{
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding-bottom: 100px;
}

.back-card{
    width: 300px;
    height: 250px;
    margin-top: -80px;
    z-index: 1;
    border-radius: 10px;
    background: linear-gradient(145deg, rgb(0, 0, 0) 0%, rgb(1, 163, 171) 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 8px;
}

.card {
    background: rgba(255, 255, 255, 0.5);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    overflow: hidden;
}

.card .card-content {
    position: absolute; 
    opacity: 0.2;
}

.card h2 {
    font-size: 2rem;
    text-align: center;
    filter: blur(0);
    z-index: 99;
    color: #fff;
    text-shadow: 4px 4px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .cards{
        width: 95%;
    }
    .back-card {
        width: 200px;
        height: 250px;
    }
    .card h2 {
        font-size: 1.7rem;
    }
    .about-section h1 {
        font-size: 8rem;
        padding-top: 120px;
    }
    .about-content{
        width: 85%;
    }
}

@media (max-width: 768px) {
    .about-section h1 {
        font-size: 8rem;
        padding-top: 120px;
    }
    .cards{
        width: 80%;
       margin-top: -90px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .back-card{
        margin: 0 auto;
        width: 100%;
        height: 200px;
    }
    .about-icon img {
        width: 130px;
    }
    .about-content {
        width: 90%;
    }
}

@media (max-width: 426px) {
    .about-section h1 {
        font-size: 4rem;
        padding-top: 120px;
    }
    .about-icon img {
        width: 100px;
    }
    .cards{
        width: 80%;
       margin-top: -90px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }
}