/* Premium Contact Page Styling */

/* --- Contact Info Grid --- */
.contact-info-section {
    padding: 80px 0;
    position: relative;
    background: #fff;
    margin-top: -50px;
    /* Overlap hero slightly */
    z-index: 2;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Strong shadow for float effect */
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #f9f9f9;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brand-primary), #600);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.2);
}

.info-card h4 {
    font-size: 1.3rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-card p,
.info-card a {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    text-decoration: none;
    display: block;
}

.info-card a:hover {
    color: var(--brand-primary);
}


/* --- Branches / Map Section --- */
.branches-section {
    padding: 80px 0;
    background-color: #fbfbfb;
    text-align: center;
}

.branches-content {
    max-width: 800px;
    margin: 0 auto;
}

.branches-map-placeholder {
    margin-top: 50px;
    width: 100%;
    height: 400px;
    background: #eee url('https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Map_of_Governorates_of_Egypt.svg/2000px-Map_of_Governorates_of_Egypt.svg.png') no-repeat center center;
    background-size: contain;
    border-radius: 20px;
    position: relative;
    opacity: 0.8;
}

/* --- Contact Form Section --- */
.form-section {
    padding: 80px 0;
    min-height: 600px;
    background: #fff;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fdfdfd;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--brand-primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.05);
}

.form-textarea {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    grid-column: span 2;
    background: var(--brand-primary);
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background: #a00000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .btn-submit {
        grid-column: span 1;
    }

    .form-container {
        padding: 30px 20px;
    }
}