﻿/* --- General Setup --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

.contact-section {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- The Card --- */
.contact-card {
    background: #ffffff;
    display: flex;
    flex-direction: row;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* --- Left Side: Info --- */
.contact-info {
    flex: 1;
    background: #1e293b; /* Dark Slate Blue */
    color: #ffffff;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

    /* Decorative Circle in background */
    .contact-info::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 150px;
        height: 150px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }

.info-header h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.info-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.info-header p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Info Items (Address, Email, Phone) */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    font-size: 1.2rem;
    color: #60a5fa; /* Accent Blue */
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .icon-box {
    background: #60a5fa;
    color: #1e293b;
    transform: scale(1.1);
}

.text-box h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.text-box p,
.text-box a {
    font-size: 0.95rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

    .text-box a:hover {
        color: #60a5fa;
    }

/* Social Links */
.social-links {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
}

    .social-links p {
        margin-right: 10px;
        font-size: 0.9rem;
    }

    .social-links a {
        color: #ffffff;
        width: 35px;
        height: 35px;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: #60a5fa;
            border-color: #60a5fa;
            color: #1e293b;
        }

/* --- Right Side: Map --- */
.contact-map {
    flex: 1.2; /* Takes up slightly more space */
    position: relative;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px; /* Ensure height on mobile */
    filter: grayscale(20%); /* Make map look sophisticated */
    transition: filter 0.3s ease;
}

.contact-map:hover .map-wrapper {
    filter: grayscale(0%);
}

/* Floating Tag on Map */
.map-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .map-tag i {
        color: #ef4444; /* Red pin color */
    }

/* --- Responsive Design --- */
@media (max-width: 850px) {
    .contact-card {
        flex-direction: column;
    }

    .contact-info {
        padding: 40px 30px;
    }

    .contact-map {
        height: 400px; /* Fixed height for map on mobile */
    }
}

@media (max-width: 480px) {
    .info-header h1 {
        font-size: 2rem;
    }

    .info-item {
        flex-direction: column;
    }

    .icon-box {
        margin-bottom: 10px;
    }
}
