@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

/* Define the fade-in animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        /* Start slightly below */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* End at the original position */
    }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: white;
    animation: fadeUp 1.5s ease-in-out;

}

.hero {
    position: relative;
    height: 90vh;
    /* zAdjust as needed */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../images/contact_page/contact_hero_bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-text {
    position: absolute;
    font-size: 4rem;
    font-weight: bold;
    z-index: 1;
    margin: 0 10px;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.card {
    /* background: white; */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #e0ecde
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #061d3c;
}

.card p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.card a {
    display: inline-block;
    text-decoration: none;
    color: white;
    background: #87b1ab;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.card a:hover {
    background: #061d3c;
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.social-container a {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-container a:hover {
    background: #0056b3;
    transform: scale(1.1);
}

iframe {
    border: 0;
    /* border-radius: 10px; */
    width: 100%;
    height: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}


@media screen and (max-width: 590px) {
    .hero-text {
        font-size: 3.5rem;
    }

}

@media screen and (max-width: 430px) {
    .hero-text {
        font-size: 3rem;
        padding: 20px;
    }

    .card h2 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .social-container a {
        font-size: 1.2rem;
    }

    .container {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }
}

@media screen and (max-width:340px) {
    .hero-text {
        font-size: 2.5rem;
        /* padding: 20px; */
    }
}