/**
 * Contact section styling
 * Clean, modern design without shadow effects
 */

/* Contact section container */
.contact.section {
    background-color: #f9f9fa;
    padding: 70px 0;
}

/* Centered content */
.contact-content.centered {
    max-width: 900px;
    margin: 0 auto;
}

/* Contact information grid */
.contact-info-centered {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* Individual contact item styling */
.contact-item {
    background-color: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: none;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: #d0d0d0;
}

/* Icon styling */
.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Contact item headings */
.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

/* Contact item text */
.contact-item p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Contact links */
.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.contact-item a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.contact-item a:hover {
    color: #1e4380;
}

.contact-item a:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .contact-info-centered {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-item {
        padding: 20px 15px;
    }
}

@media screen and (max-width: 576px) {
    .contact-info-centered {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-item {
        padding: 25px;
    }
}
