@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.contact-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f1a33 0%, #1a2a4f 50%, #0f1a33 100%);
    position: relative;
    overflow-x: hidden;
    padding: 40px 0;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,215,0,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact-card {
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.contact-header {
    background: linear-gradient(135deg, #0f1a33 0%, #1a2a4f 100%);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.logo-contact {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 2;
}

.contact-title {
    font-family: 'Mj_Casablanca', 'Vazirmatn', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.contact-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: #ffd700;
    position: relative;
    z-index: 2;
}

.info-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #ffd700;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,215,0,0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-icon i {
    font-size: 28px;
    color: #ffd700;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f1a33;
    margin-bottom: 15px;
}

.info-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.7;
}

.info-text a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-text a:hover {
    color: #ffd700;
}

.info-divider {
    margin: 15px 0;
    border-top: 1px dashed #e9ecef;
}

.map-placeholder {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 16px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #ffd700;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #ffd700;
    color: #0f1a33;
    transform: translateY(-3px);
}

.btn-gold {
    background: linear-gradient(135deg, #ffd700 0%, #e6c200 100%);
    color: #0f1a33;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    color: #0f1a33;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e9ecef;
}

.hour-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hour-item:first-child {
    padding-top: 0;
}

.hour-label {
    font-weight: 500;
    color: #0f1a33;
}

.hour-value {
    color: #6c757d;
    font-weight: 500;
}

.section-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 15px;
    margin-bottom: 15px;
}

.section-title-icon i {
    font-size: 24px;
    color: #ffd700;
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 1.8rem;
    }
    .contact-header {
        padding: 30px 20px;
    }
    .info-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    .hour-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}