/* Variables for easy color changes */
:root {
    --primary-color: #007bff; /* A clean, professional blue */
    --background-color: #f4f7f9; /* Soft light background */
    --card-bg: #ffffff; /* White card background */
    --text-color: #495057;
    --facebook-color: #3b5998;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.contact-container {
    max-width: 1000px;
    width: 90%;
    margin: 40px auto;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Header Styling --- */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 1.1em;
    color: #6c757d;
}

/* --- Card Layout --- */
.contact-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: var(--background-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 280px; /* Ensures three columns on wide screens */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin: 15px 0 5px;
    color: var(--primary-color);
}

.card p {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 15px;
}

.contact-link {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #0056b3;
}

/* --- Icon Styling --- */
.card i {
    font-size: 2.5em;
    color: var(--primary-color);
}

/* Optional: Different colors for different icons */
.icon-phone { color: #28a745; } /* Green */
.icon-email { color: #dc3545; } /* Red */
.icon-web { color: #ffc107; } /* Yellow */


/* --- Social Links --- */
.social-links {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
}

.social-links h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.5em;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    margin: 0 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.facebook {
    background-color: var(--facebook-color);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
    .card {
        width: 100%;
        max-width: 400px;
    }
}