/* تنسيقات قسم التواصل */
#contact {
    background: linear-gradient(135deg, #1a1a1a, #343a40);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    z-index: 0;
}

#contact::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    z-index: 0;
}

.section-title {
    position: relative;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #0d6efd, #6610f2);
    margin-bottom: 30px;
    border-radius: 2px;
}

.contact-info-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-icon i {
    font-size: 28px;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.contact-info-card h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #0d6efd, #6610f2);
    bottom: -10px;
    right: 0;
    border-radius: 2px;
}

.address-details p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.address-details i {
    color: #0d6efd;
    width: 20px;
    text-align: center;
}

.location-coordinates {
    background-color: rgba(13, 110, 253, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    margin: 15px 0;
    border-right: 3px solid #0d6efd;
}

.location-coordinates span {
    font-family: monospace;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

/* تأثيرات متحركة إضافية */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.card-icon {
    animation: float 3s ease-in-out infinite;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .contact-info-card {
        margin-bottom: 20px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}
