/* =======================================================================
   Contact Page — contact.css
   Mobile-first, responsive layout for the contact page.
   ======================================================================= */

/* -----------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------- */
.contact-hero {
    background: linear-gradient(135deg, #f26722 0%, #e04e0f 100%);
    color: #fff;
    padding: 48px 16px 40px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}

.contact-hero p {
    font-size: 15px;
    opacity: .9;
    margin: 0;
}

/* -----------------------------------------------------------------------
   Container
   ----------------------------------------------------------------------- */
.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 16px 48px;
}

/* -----------------------------------------------------------------------
   Alert
   ----------------------------------------------------------------------- */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-success i {
    font-size: 18px;
}

/* -----------------------------------------------------------------------
   Grid: info + form side by side
   ----------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* -----------------------------------------------------------------------
   Contact Info column
   ----------------------------------------------------------------------- */
.contact-info h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #222;
}

.contact-info-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* Info cards */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f7f8fa;
    border-radius: 10px;
    padding: 16px;
    transition: box-shadow .2s;
}

.info-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.info-card--emergency {
    background: #fff3e0;
}

.info-card-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #f26722;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.info-card--emergency .info-card-icon {
    background: #f26722;
    color: #fff;
}

.info-card-body h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #333;
}

.info-card-body p {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.45;
}

.info-card-body a {
    color: #f26722;
    text-decoration: none;
}

.info-card-body a:hover {
    text-decoration: underline;
}

/* Social links */
.contact-social {
    margin-top: 28px;
}

.contact-social h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #333;
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 16px;
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
}

.social-icon:hover {
    background: #f26722;
    color: #fff;
    transform: translateY(-2px);
}

/* -----------------------------------------------------------------------
   Contact Form column
   ----------------------------------------------------------------------- */
.contact-form-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.contact-form-wrap h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #222;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.req {
    color: #e53935;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f26722;
    box-shadow: 0 0 0 3px rgba(242,103,34,.12);
}

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

.input-error {
    border-color: #e53935 !important;
}

.field-error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #e53935;
}

.btn-submit {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: #f26722;
    color: #fff;
    cursor: pointer;
    transition: background .2s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: #d4550e;
}

.btn-submit:active {
    transform: scale(.98);
}

/* -----------------------------------------------------------------------
   Map
   ----------------------------------------------------------------------- */
.contact-map {
    margin-top: 40px;
}

.contact-map h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #222;
}

.map-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.map-embed iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

/* -----------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------- */
@media (max-width: 767px) {
    .contact-hero {
        padding: 36px 16px 28px;
    }

    .contact-hero h1 {
        font-size: 24px;
    }

    .contact-form-wrap {
        padding: 20px 16px;
    }
}
