/* contact.css - Custom styling for Contact Page */

.contact-hero {
    background: linear-gradient(rgba(43, 169, 166, 0.9), rgba(28, 61, 90, 0.9)), url('images/hero_pediatric.jpg') center/cover no-repeat;
    padding: 180px 0 120px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Main Section */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

/* Left: Info Cards */
.contact-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.c-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
    height: 100%;
}

.c-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.c-icon {
    width: 60px;
    height: 60px;
    background: rgba(43, 169, 166, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.c-info-card.emergency-card {
    border-left-color: var(--danger-color);
}
.c-info-card.emergency-card .c-icon {
    background: rgba(211, 47, 47, 0.1);
    color: var(--danger-color);
}

.c-details h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.c-details p, .c-details a {
    color: #666;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    text-decoration: none;
    display: block;
}

.c-details a:hover {
    color: var(--primary-color);
}

/* Right: Form */
.contact-form-col {
    flex: 1.3;
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.contact-form-col h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}
.contact-form-col p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}
.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.form-control {
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #fbfbfb;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(43, 169, 166, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 160px;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(28, 61, 90, 0.2);
}

/* Map Section */
.map-section {
    line-height: 0;
}
.map-section iframe {
    width: 100%;
    height: 500px;
    border: none;
    filter: grayscale(10%) contrast(1.1);
}

@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-info-col, .contact-form-col {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 25px;
    }
    .contact-form-col {
        padding: 40px 25px;
    }
    .contact-hero h1 {
        font-size: 3rem;
    }
}
