/**
 * WMSPL Contact Us Page - Component-based Scoped Stylesheet
 * Strictly scoped to .wmspl-contact-page
 * Brand Teal: #0F8AA6 | Ice Teal: #f0fafc | Dark Slate: #1e293b
 */

.wmspl-contact-page {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   1. GLOBAL CONTAINER ALIGNMENT (90% WIDTH, NO PADDING)
   ========================================================================== */
.wmspl-contact-container {
    width: 90% !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

/* ==========================================================================
   2. COMPONENT 1: HERO BANNER & BREADCRUMBS
   ========================================================================== */
.wmspl-contact-hero {
    position: relative;
    width: 100%;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    background-image: url('https://wmspl.co.in/wp-content/uploads/mot-banner.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 0;
}

.wmspl-contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 1;
}

.wmspl-contact-hero-container {
    position: relative;
    z-index: 2;
    width: 90% !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    justify-content: flex-start;
}

.wmspl-contact-hero-badge-box {
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px 8px 0 0;
    padding: 20px 28px;
    min-width: 260px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    border-top: 2px solid #0F8AA6;
}

.wmspl-contact-hero-title {
    margin: 0 0 6px 0;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.wmspl-contact-breadcrumbs {
    display: block;
}

.wmspl-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wmspl-breadcrumb-item {
    font-size: 13px;
    font-weight: 500;
}

.wmspl-breadcrumb-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wmspl-breadcrumb-link:hover {
    color: #38bdf8;
}

.wmspl-breadcrumb-separator {
    display: flex;
    align-items: center;
    color: #94a3b8;
}

.wmspl-breadcrumb-current {
    color: #94a3b8;
}

/* ==========================================================================
   3. MAIN CONTENT: TWO COLUMN GRID (INFO + FORM)
   ========================================================================== */
.wmspl-contact-content-section {
    padding: 70px 0 60px 0;
    background-color: #f8fafc;
}

.wmspl-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: start;
}

/* ==========================================================================
   4. COMPONENT 2: CONTACT INFO (LEFT COLUMN)
   ========================================================================== */
.wmspl-contact-info-wrap {
    padding-right: 15px;
}

.wmspl-contact-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(15, 138, 166, 0.12);
    color: #0F8AA6;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.wmspl-contact-info-heading {
    margin: 0 0 16px 0;
    font-size: 34px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.wmspl-contact-info-intro {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 35px 0;
}

.wmspl-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.wmspl-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wmspl-contact-card:hover {
    border-color: #0F8AA6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 138, 166, 0.08);
}

.wmspl-contact-card-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #f0fafc;
    color: #0F8AA6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.wmspl-contact-card:hover .wmspl-contact-card-icon {
    background: #0F8AA6;
    color: #ffffff;
}

.wmspl-contact-card-body {
    flex: 1;
}

.wmspl-contact-card-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
}

.wmspl-contact-card-link {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wmspl-contact-card-link:hover {
    color: #0F8AA6;
}

.wmspl-contact-card-address {
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    font-style: normal;
    line-height: 1.6;
}

.wmspl-contact-quick-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.wmspl-quick-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.wmspl-quick-wa {
    background-color: #25D366 !important;
    color: #ffffff !important;
    border: 1px solid #25D366 !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25) !important;
}

.wmspl-quick-wa,
.wmspl-quick-wa span {
    color: #ffffff !important;
}

.wmspl-quick-wa svg {
    fill: #ffffff !important;
}

.wmspl-quick-wa:hover {
    background-color: #1eb954 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
}

.wmspl-quick-call {
    background-color: #0F8AA6 !important;
    color: #ffffff !important;
    border: 1px solid #0F8AA6 !important;
    box-shadow: 0 2px 8px rgba(15, 138, 166, 0.25) !important;
}

.wmspl-quick-call,
.wmspl-quick-call span {
    color: #ffffff !important;
}

.wmspl-quick-call svg {
    stroke: #ffffff !important;
    fill: none !important;
}

.wmspl-quick-call:hover {
    background-color: #0c7289 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(15, 138, 166, 0.35) !important;
}

/* ==========================================================================
   5. COMPONENT 3: CONTACT FORM (RIGHT COLUMN)
   ========================================================================== */
.wmspl-contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 38px 40px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.02);
}

.wmspl-form-header {
    margin-bottom: 28px;
}

.wmspl-form-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.wmspl-form-subtitle {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.wmspl-contact-alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.5;
}

.wmspl-contact-alert.wmspl-alert-success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.wmspl-contact-alert.wmspl-alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.wmspl-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wmspl-form-group {
    display: flex;
    flex-direction: column;
}

.wmspl-form-col-full {
    grid-column: 1 / -1;
}

.wmspl-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.wmspl-req {
    color: #e11d48;
}

.wmspl-form-input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.wmspl-form-textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    outline: none !important;
    resize: vertical !important;
    min-height: 120px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.wmspl-form-input:focus,
.wmspl-form-textarea:focus {
    border-color: #0F8AA6 !important;
    box-shadow: 0 0 0 3px rgba(15, 138, 166, 0.15) !important;
}

.wmspl-form-input::placeholder,
.wmspl-form-textarea::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

.wmspl-form-footer {
    margin-top: 26px;
}

.wmspl-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: auto !important;
    min-width: 220px !important;
    padding: 13px 34px !important;
    background-color: #0F8AA6 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(15, 138, 166, 0.25) !important;
    line-height: 1 !important;
}

.wmspl-submit-btn span,
.wmspl-submit-btn svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.wmspl-submit-btn:hover {
    background-color: #0c7289 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 138, 166, 0.35) !important;
    transform: translateY(-1px) !important;
}

.wmspl-submit-btn:active {
    transform: translateY(0) !important;
}

.wmspl-submit-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.wmspl-btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: wmspl-spin 0.8s linear infinite;
}

@keyframes wmspl-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   6. COMPONENT 4: MAP SECTION
   ========================================================================== */
.wmspl-contact-map-section {
    padding: 0 0 80px 0;
    background-color: #f8fafc;
}

.wmspl-contact-map-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.wmspl-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 30px;
    border-bottom: 1px solid #f1f5f9;
}

.wmspl-map-kicker {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0F8AA6;
    margin-bottom: 4px;
}

.wmspl-map-title {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.wmspl-map-subtitle {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.wmspl-map-directions-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    background: #0F8AA6 !important;
    border: 1px solid #0F8AA6 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 6px rgba(15, 138, 166, 0.2) !important;
}

.wmspl-map-directions-btn span,
.wmspl-map-directions-btn svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.wmspl-map-directions-btn:hover {
    background: #0c7289 !important;
    border-color: #0c7289 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.wmspl-map-frame-container {
    width: 100%;
    line-height: 0;
}

.wmspl-map-frame-container iframe {
    width: 100%;
    min-height: 440px;
    display: block;
    border: 0;
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .wmspl-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .wmspl-contact-info-wrap {
        padding-right: 0;
    }

    .wmspl-map-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .wmspl-contact-hero {
        min-height: 280px;
    }

    .wmspl-contact-hero-title {
        font-size: 26px;
    }

    .wmspl-contact-info-heading {
        font-size: 28px;
    }

    .wmspl-form-grid {
        grid-template-columns: 1fr;
    }

    .wmspl-contact-form-card {
        padding: 26px 20px;
    }

    .wmspl-map-frame-container iframe {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .wmspl-contact-container,
    .wmspl-contact-hero-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }
}
