/* ============================================
   SOS Medical Liban - Contact Us Page Styles
   ============================================ */

/* ---- Hero Section ---- */
.hero-contact {
    background: linear-gradient(135deg, #073642 0%, #0a4a5a 50%, #0d5f73 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-contact .container {
    position: relative;
    z-index: 1;
}

.hero-contact h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-contact p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    line-height: 1.7;
    margin: 0;
}

/* ---- Info Cards Section ---- */
.info-cards-section {
    padding: 48px 0;
    background: var(--offwhite);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.info-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
}

.info-card-icon.red {
    background: #fef2f2;
    color: #dc2626;
}

.info-card-icon.teal {
    background: var(--accent-light);
    color: var(--primary);
}

.info-card-icon.blue {
    background: #eff6ff;
    color: #2563eb;
}

.info-card-icon.gray {
    background: var(--gray-100);
    color: var(--text-muted);
}

.info-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 8px;
}

.info-card .info-detail {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 8px;
}

/* ---- Contact Form Section ---- */
.contact-form-section {
    padding: 64px 0;
    background: var(--white);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form .form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-form .form-control {
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    background: var(--white);
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10,74,90,0.08);
    outline: none;
}

.contact-form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

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

.btn-submit-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit-form:hover {
    background: var(--primary-light);
}

/* ---- Map & Guarantee Column ---- */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    flex: 1;
    min-height: 320px;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f0 50%, #c5e0e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-directions:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-directions i {
    color: var(--primary);
    font-size: 16px;
}

.btn-directions:hover i {
    color: var(--white);
}

/* Guarantee Card */
.guarantee-card {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f0 100%);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    border-left: 4px solid var(--primary);
}

.guarantee-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.guarantee-header i {
    font-size: 20px;
    color: var(--primary);
}

.guarantee-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.guarantee-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.guarantee-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
}

.guarantee-badge i {
    font-size: 14px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-contact h1 {
        font-size: 30px;
    }
    
    .map-container {
        min-height: 280px;
    }
}

@media (max-width: 767px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .info-cards-section {
        padding: 32px 0;
    }
    
    .hero-contact {
        padding: 40px 0;
    }
    
    .hero-contact h1 {
        font-size: 24px;
    }
    
    .contact-form-section {
        padding: 40px 0;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        min-height: 240px;
    }
}
