﻿/* ============================================
   Contact Us Section - Homepage
   ============================================ */

.contact-home-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: #010e2a;
}

/* Background Image with Overlay */
.contact-home-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/lib/images/contactus.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
}

/* Dark gradient overlay */
.contact-home-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(1, 14, 42, 0.95) 0%,
        rgba(1, 14, 42, 0.75) 50%,
        rgba(255, 94, 20, 0.15) 100%);
    z-index: 0;
}

.contact-home-inner {
    position: relative;
    z-index: 2;
}

/* ---- Section Badge ---- */
.contact-badge {
    display: inline-block;
    padding: 6px 20px;
    background: linear-gradient(135deg, var(--primary-color), #ff7b3d);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* ---- Heading ---- */
.contact-home-heading {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-home-heading span {
    color: var(--primary-color);
}

.contact-home-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ---- Form Box ---- */
.contact-form-box {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* ---- Form Controls ---- */
.contact-form-box .form-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.contact-form-box .form-control,
.contact-form-box .form-select {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.contact-form-box .form-control:focus,
.contact-form-box .form-select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 94, 20, 0.2);
}

.contact-form-box .form-select option {
    background: #010e2a;
    color: #fff;
}

/* Input icon wrapper */
.contact-input-group {
    position: relative;
}

.contact-input-group .input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    font-size: 1rem;
}

.contact-input-group textarea ~ .input-icon {
    top: 18px;
    transform: none;
}

/* ---- Submit Button ---- */
.btn-contact-submit {
    background: linear-gradient(135deg, #ff5e14 0%, #ff7b3d 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 45px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(255, 94, 20, 0.45);
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.btn-contact-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-contact-submit:hover::before {
    width: 600px;
    height: 600px;
}

.btn-contact-submit:hover {
    background: linear-gradient(135deg, #e54d0a 0%, #ff6b2b 100%);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(255, 94, 20, 0.55);
    color: #fff;
}

.btn-contact-submit i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-contact-submit:hover i {
    transform: translateX(4px);
}

/* ---- Info Strips ---- */
.contact-info-strips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
}

.contact-info-strip {
    flex: 1;
    min-width: 140px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.contact-info-strip:hover {
    background: rgba(255, 94, 20, 0.12);
    border-color: rgba(255, 94, 20, 0.4);
}

.contact-info-strip i {
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info-strip span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════
   Contact Map Section
═══════════════════════════════════════════ */
.contact-map-section {
    overflow: hidden;
}

.contact-map-header {
    background: #fff;
    padding: 18px 0;
    border-top: 1px solid #e8edf2;
    border-bottom: 1px solid #e8edf2;
}

.contact-map-icon {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, #ff5e14, #ff7b3d);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(255,94,20,.28);
}

.btn-map-directions {
    display: inline-flex; align-items: center;
    padding: 8px 18px;
    background: linear-gradient(135deg, #ff5e14, #ff7b3d);
    color: #fff; border: none; border-radius: 8px;
    font-size: 13px; font-weight: 700;
    text-decoration: none; white-space: nowrap;
    box-shadow: 0 3px 10px rgba(255,94,20,.25);
    transition: transform .2s, box-shadow .2s;
}
.btn-map-directions:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255,94,20,.35);
    color: #fff;
}

.contact-map-frame { line-height: 0; }
.contact-map-frame iframe { display: block; }

@media (max-width: 992px) {
    .contact-home-section {
        padding: 70px 0;
    }

    .contact-home-heading {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-home-section {
        padding: 55px 0;
    }

    .contact-home-heading {
        font-size: 1.6rem;
    }

    .contact-form-box {
        padding: 1.75rem 1.25rem;
    }

    .btn-contact-submit {
        padding: 13px 30px;
        font-size: 0.9rem;
    }

    .contact-info-strips {
        flex-direction: column;
    }

    .contact-map-header .btn-map-directions { display: none; }
    .contact-map-frame iframe { height: 280px; }
}
