/* Contact Info Cards */
.contact-info {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    padding: 30px;
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Make all links in contact cards white */
.contact-card a {
    color: white;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card .contact-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card .contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card .contact-text {
    font-size: 1.1rem;
}

/* Map Section */
.contact-map {
    margin-bottom: 60px;
}

.acf-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

/* Employee Section */
.employee-section {
    margin-top: 60px;
}

.employee-group {
    margin-bottom: 60px;
}

.employee-group h2 {
    color: var(--color-heading);
    font-size: 1.75rem;
    padding: 15px 20px;
    background-color: var(--color-medium-blue);
    color: white;
    border-radius: 8px;
    margin-bottom: 30px;
}

.employee-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.employee-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.employee-card h3 {
    color: var(--color-heading);
    font-size: 1.2rem;
    margin: 0 0 5px 0;
}

.employee-department {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
}

.employee-phone,
.employee-email {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: var(--color-medium-blue);
    position: relative;
    padding-left: 30px;
}

.employee-phone::before,
.employee-email::before {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

.employee-phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23d51625' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
 }
 
 .employee-email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23d51625' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E");
 }
 
.employee-phone a,
.employee-email a {
    color: var(--color-medium-blue);
    text-decoration: none;
}

.employee-phone a:hover,
.employee-email a:hover {
    text-decoration: underline;
}

/* Google Maps styling */
.gm-style-iw {
    padding: 15px !important;
}

.gm-style-iw h4 {
    color: var(--color-heading);
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.gm-style-iw p {
    margin: 0;
    color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-cards,
    .employee-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .employee-cards {
        grid-template-columns: 1fr;
    }

    .employee-group h2 {
        font-size: 1.5rem;
        padding: 12px 15px;
    }

    .contact-card {
        padding: 20px;
    }

    .acf-map {
        height: 300px;
    }
    
    .contact-info {
        padding: 20px;
    }
}