
    :root {

        --whatsapp-color: #25D366;
        --telegram-color: #0088cc;
        --instagram-color: #E1306C;
    }





    .custom-cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
        padding: 1.5rem 0;
    }

.custom-contact-card {
background: rgba(255, 255, 255, 0.1); /* شفافیت بیشتر */
backdrop-filter: blur(15px) saturate(180%); /* بلور و اشباع برای جلوه شیشه‌ای */
-webkit-backdrop-filter: blur(15px) saturate(180%); /* برای مرورگرهای وب‌کیت */
border-radius: 20px;
padding: 1.5rem;
position: relative;
overflow: hidden;
transition: all 0.4s ease;
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.25), /* سایه عمق */
0 0 0 1px rgba(255, 255, 255, 0.18); /* خط حاشیه شیشه‌ای */
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
height: 100%;
color: #fff; /* متن روشن برای خوانایی */
border: 3px solid rgba(255, 255, 255, 0.2); /* حاشیه شفاف برای گلس مورفیسم */
}

    .custom-contact-card:hover {
        transform: translateY(-10px);
        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.4),
            0 0 20px rgba(16, 234, 34, 0.25);
        border-color: var(--primary);
    }

    .custom-contact-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--primary), var(--primary-dark));
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.5s ease;
    }

    .custom-contact-card:hover::before {
        transform: scaleX(1);
        transform-origin: left;
    }

    .custom-card-icon {
        width: 80px;
        height: 80px;
        border-radius: 25%;
        background: rgba(44, 23, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        box-shadow:
            0 4px 10px rgba(0, 0, 0, 0.2),
            0 0 10px rgba(16, 234, 34, 0.15);
        transition: all 0.3s ease;
    }

    .custom-contact-card:hover .custom-card-icon {
        transform: scale(1.1);
        background: var(--primary-dark);
        border-color: var(--primary);
    }

    .custom-card-icon i {
        font-size: 1.5rem;
        color: var(--primary);
        transition: all 0.3s ease;
    }

    .custom-contact-card:hover .custom-card-icon i {
        color: var(--light);
    }

    .custom-card-title {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--light);
        position: relative;
        display: inline-block;
    }

    .custom-card-title::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }

    .custom-contact-card:hover .custom-card-title::after {
        width: 60px;
    }

    .custom-card-content {
        margin-bottom: 1.5rem;
        flex-grow: 1;
    }

    .custom-card-content p {
        color: var(--gray);
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .custom-phone-number {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--light);
        margin: 0.5rem 0;
        transition: all 0.3s ease;
        direction: ltr;
        display: inline-block;
        padding: 5px 10px;
        border-radius: 20٪;
        background: rgba(8, 108, 56, 0.2);
    }

    .custom-phone-number:hover {
        transform: translateX(5px);
        background: rgba(16, 234, 34, 0.15);
        color: var(--primary);
        border-radius: 20٪;
    }

    .custom-contact-link {
        padding: 0.8rem 1.5rem;
        background: linear-gradient(90deg, var(--primary-dark), var(--primary));
        color: var(--dark);
        border-radius: 20٪;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(8, 108, 56, 0.3);
        display: inline-block;
        margin-top: auto;
        border: 1px solid transparent;
    }

    .custom-contact-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(16, 234, 34, 0.4);
        background: transparent;
        border: 1px solid var(--primary);
        color: var(--primary);
        border-radius: 20٪;
    }

    .custom-social-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
        border-radius: 20٪;
    }

    .custom-social-link {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        color: var(--dark);
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        border: 2px solid transparent;
    }

    .custom-social-link:hover {
        transform: translateY(-5px) rotate(10deg);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        border-color: var(--light);
    }

    .custom-social-link i {
        font-size: 1.3rem;
    }

    .custom-whatsapp {
        background: rgb(7, 251, 3);
    }

    .custom-telegram {
        background: rgb(3, 186, 252);
    }

    .custom-instagram {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }



    /* Responsive adjustments */
    @media (max-width: 768px) {
        .custom-cards-container {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .custom-contact-card {
            padding: 1.5rem;
        }

        .custom-card-icon {
            width: 70px;
            height: 70px;
        }

        .section-title {
            font-size: 2rem;
        }
    }

    @media (max-width: 480px) {
        .custom-cards-container {
            grid-template-columns: 1fr;
            gap: 1.2rem;
        }
    }
