
:root {
    --glass-bg: rgba(255,255,255,0.08);
    --glass-border: rgba(255,255,255,0.15);
    --neon: #f4bf35;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* کارت‌ها (همه یکدست) */
.card, .counter-card, .about-card, .contact-header {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: var(--text-primary);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

/* hover مثل news-card */
.card:hover, .counter-card:hover, .about-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.5),
        0 0 25px rgba(0,255,213,0.3);
}

/* هدر */
.contact-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--neon);
    margin-bottom: 1rem;
}

/* متن */
.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 2;
}

/* شمارنده */
.counter-card .counter {
    font-size: 3rem;
    font-weight: bold;
    color: var(--neon);
}

/* افکت شناور نرم */
@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.counter-card, .about-card {
    animation: floatSoft 6s ease-in-out infinite;
}

/* کمی padding بهتر */
.about-card {
    padding: 25px;
}

.counter-card {
    padding: 25px;
}

/* glow داخلی خیلی subtle */
.counter-card::after,
.about-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: radial-gradient(circle at top, rgba(0,255,213,0.15), transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.counter-card:hover::after,
.about-card:hover::after {
    opacity: 1;
}


  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.counter-card{
            animation: fadeIn 1s ease forwards;
            

}
.about-content{
            animation: fadeInDown 1s ease forwards;

}
.contact-header{
        animation: fadeInDown 1s ease forwards;

}

@media (max-width: 768px) {
  p {
    white-space: normal;
    word-break: keep-all;
    line-height: 1.8;
    font-size: 14px;
  }
}