/* Contact Info Section Styles */
.contact-info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(52,152,219,0.1)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.contact-info-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.contact-info-card:hover::before {
    left: 100%;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e9ecef;
}

.contact-icon-wrapper {
    margin-bottom: 25px;
    position: relative;
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
    opacity: 0.2;
}

.contact-info-card:hover .contact-icon::before {
    transform: scale(1.2);
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-icon.whatsapp::before {
    background: #25d366;
}

.contact-icon.email {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.contact-icon.email::before {
    background: #3498db;
}

.contact-icon.phone {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.contact-icon.phone::before {
    background: #e74c3c;
}

.contact-info-section .contact-icon{
    margin-right: auto;
    width: 80px;
}
.contact-info-section .contact-icon i{
    color: white;
}
.contact-icon.location {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.contact-icon.location::before {
    background: #f39c12;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-title {
    color: #3498db;
}

.contact-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    transition: left 0.3s ease;
    z-index: 1;
}

.contact-link:hover::before {
    left: 0;
}

.contact-link:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.contact-link i,
.contact-link span {
    position: relative;
    z-index: 2;
}

/* WhatsApp specific styling */
.contact-info-card:nth-child(1) .contact-link::before {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-info-card:nth-child(1) .contact-link:hover {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Email specific styling */
.contact-info-card:nth-child(2) .contact-link::before {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.contact-info-card:nth-child(2) .contact-link:hover {
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Phone specific styling */
.contact-info-card:nth-child(3) .contact-link::before {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.contact-info-card:nth-child(3) .contact-link:hover {
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Location specific styling */
.contact-info-card:nth-child(4) .contact-link::before {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.contact-info-card:nth-child(4) .contact-link:hover {
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-info-section {
        padding: 60px 0;
    }
    
    .contact-info-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .contact-title {
        font-size: 1.2rem;
    }
    
    .contact-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .contact-info-card {
        padding: 25px 15px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.1rem;
    }
    
    .contact-link {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}