@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {

    background: #f8fafc;

    overflow-x: hidden;

}

/* Header */

.contact-header {

    position: fixed;

    top: 15px;
    left: 15px;
    right: 15px;

    height: 60px;

    z-index: 999;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 18px;

    border-radius: 22px;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, .2);

}

.contact-header h2 {

    color: #fff;

    font-size: 18px;

}

.back-btn {

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 14px;

    background: rgba(255, 255, 255, .2);

    color: #fff;

    font-size: 20px;

}

.header-space {

    width: 42px;

}

/* Hero */

.hero {

    height: 330px;

    background:
        linear-gradient(135deg,
            #16a34a,
            #0ea5e9);

    border-radius: 0 0 40px 40px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    color: #fff;

    padding: 20px;

    text-align: center;

}

.hero-icon {

    width: 100px;
    height: 100px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .15);

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 50px;

    margin-bottom: 20px;

    animation: float 3s infinite ease-in-out;

}

@keyframes float {

    50% {

        transform:
            translateY(-10px);

    }

}

.hero h1 {

    font-size: 28px;

    font-weight: 800;

    margin-bottom: 12px;

}

.hero p {

    opacity: .9;

}

/* Cards */

.container {

    padding: 25px 18px;

    margin-top: -50px;

}

.contact-card {

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 20px;

    background: #fff;

    border-radius: 28px;

    text-decoration: none;

    color: #111827;

    margin-bottom: 16px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .06);

    transition: .3s;

}

.contact-card:hover {

    transform:
        translateY(-5px);

}

.icon {

    width: 65px;
    height: 65px;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    color: #fff;

    flex-shrink: 0;

}

.email {

    background:
        linear-gradient(135deg,
            #ef4444,
            #f97316);

}

.instagram {

    background:
        linear-gradient(135deg,
            #d946ef,
            #f97316);

}

.telegram {

    background:
        linear-gradient(135deg,
            #0ea5e9,
            #2563eb);

}

.contact-card h3 {

    font-size: 17px;

    margin-bottom: 5px;

}

.contact-card span {

    font-size: 13px;

    color: #64748b;

}

.arrow {

    margin-right: auto;

    font-size: 20px;

    color: #94a3b8;

}

/* Footer */

footer {

    padding: 30px;

    text-align: center;

    color: #64748b;

}

footer p {

    font-weight: 700;

    margin-bottom: 8px;

}

/* Reveal */
/* 
.reveal{

opacity:0;

transform:
translateY(40px);

transition:.8s;

}

.reveal.active{

opacity:1;

transform:
translateY(0);

} */

@media(max-width:380px) {

    .hero h1 {

        font-size: 23px;

    }

    .contact-card {

        padding: 16px;

    }

}