/* Educational Research Institution Contact Page */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #1e3c72;
    transition: box-shadow 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-card h3 {
    font-size: 1.6rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
}

.contact-item i {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 24px;
}

.contact-item h4 {
    font-size: 1rem;
    color: #1e3c72;
    margin-bottom: 0.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.contact-item a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: #2a5298;
    text-decoration: underline;
}

.office-hours {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #1e3c72;
}

.hours-item span:first-child {
    font-weight: 600;
    color: #1e3c72;
}

.hours-item span:last-child {
    color: #666;
    font-weight: 500;
}

.research-info {
    color: #555;
    line-height: 1.6;
}

.research-info p {
    margin-bottom: 1rem;
}

.research-contact {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    border-left: 3px solid #1e3c72;
}

.research-contact strong {
    color: #1e3c72;
}

.research-contact a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
}

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

.map-section {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #1e3c72;
}

.map-section h3 {
    font-size: 1.6rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.map-placeholder {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.map-placeholder iframe {
    width: 100%;
    height: 350px;
    border: none;
}

.directions h4 {
    font-size: 1.1rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 600;
}

.directions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.directions li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.directions li:last-child {
    border-bottom: none;
}

.directions strong {
    color: #1e3c72;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .contact-card, .map-section {
        padding: 2rem;
    }
    
    .contact-card h3, .map-section h3 {
        font-size: 1.4rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1rem 0;
    }
    
    .contact-item i {
        margin-top: 0;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
    
    .map-placeholder iframe {
        height: 250px;
    }
}