/* ==========================================================================
   Pruthi Exports - Contact Page Widgets CSS
   Includes styles for:
   1. contact-hero (Reference Match - Bottom-Left Text, Wide Facility Banner)
   2. contact-inquiry (Left Details + Right Inquiry Form + Separate Full Map Below)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Common Reset & Font Definitions
   -------------------------------------------------------------------------- */
.dhiw-contact-wrapper * {
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   1. Contact Hero Section (contact-hero - Exact Reference Match)
   -------------------------------------------------------------------------- */
.pe-contact-hero {
    position: relative;
    width: 100%;
    min-height: 440px;
    display: flex;
    align-items: flex-end; /* Bottom alignment as per reference screenshot */
    justify-content: flex-start; /* Left alignment */
    background-color: #1a1e2c;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    padding: 48px clamp(24px, 6vw, 80px);
}

.pe-contact-hero-overlay {
    position: absolute;
    inset: 0;
    /* Bottom gradient overlay so white text pops cleanly over background */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}

.pe-contact-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1340px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

.pe-contact-hero-title {
    font-family: 'Manrope', 'Mulish', sans-serif;
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.6);
}

.pe-contact-hero-subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: clamp(15px, 1.8vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 0 0;
    max-width: 650px;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pe-contact-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.pe-contact-hero-breadcrumb a {
    color: #e87e00;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pe-contact-hero-breadcrumb a:hover {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. Contact Inquiry Form Section (contact-inquiry)
   -------------------------------------------------------------------------- */
.pe-contact-inquiry-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #2b2b2b;
}

.pe-contact-inquiry-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.pe-contact-inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    align-items: stretch;
}

/* Left Column: Address Details */
.pe-contact-info-col {
    background: #f9fbfd;
    border: 1px solid #eaedf1;
    border-radius: 16px;
    padding: 44px 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pe-contact-badge {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e87e00;
    background: rgba(232, 126, 0, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.pe-contact-info-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.pe-contact-info-desc {
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #555566;
    margin: 0 0 32px 0;
}

.pe-contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pe-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pe-contact-icon-box {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e87e00;
}

.pe-contact-icon-box svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.pe-contact-item-content {
    flex: 1;
}

.pe-contact-item-label {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888899;
    margin-bottom: 4px;
}

.pe-contact-item-value {
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.5;
}

.pe-contact-item-value a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pe-contact-item-value a:hover {
    color: #e87e00;
}

.pe-contact-meta-box {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed #dbe0e6;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    color: #666677;
}

.pe-contact-meta-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: 8px;
}

.pe-contact-meta-item strong {
    color: #1a1a2e;
}

/* Right Column: Inquiry Form */
.pe-contact-form-col {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 44px 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.pe-form-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.pe-form-subheading {
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    color: #666677;
    margin: 0 0 32px 0;
    line-height: 1.5;
}

.pe-contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.pe-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.pe-form-group.full-width {
    grid-column: 1 / -1;
}

.pe-form-label {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #333344;
}

.pe-form-input,
.pe-form-textarea {
    width: 100%;
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    color: #1a1a2e;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
    outline: none;
    transition: all 0.25s ease;
}

.pe-form-input:focus,
.pe-form-textarea:focus {
    background: #ffffff;
    border-color: #e87e00;
    box-shadow: 0 0 0 3px rgba(232, 126, 0, 0.15);
}

.pe-form-textarea {
    min-height: 140px;
    resize: vertical;
}

.pe-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 32px;
    background: #1a1a2e;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.2);
}

.pe-submit-btn:hover {
    background: #e87e00;
    box-shadow: 0 8px 24px rgba(232, 126, 0, 0.35);
    transform: translateY(-2px);
}

.pe-submit-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.pe-submit-btn:hover svg {
    transform: translateX(4px);
}

/* Success / Status Message */
.pe-form-status {
    display: none;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 10px;
    font-family: 'Mulish', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.pe-form-status.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.pe-form-status.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* --------------------------------------------------------------------------
   3. Separate Full-Width Map Below Form
   -------------------------------------------------------------------------- */
.pe-contact-full-map-card {
    margin-top: 48px;
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eaedf1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
}

.pe-contact-full-map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .pe-contact-inquiry-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pe-contact-info-col,
    .pe-contact-form-col {
        padding: 32px 24px;
    }
    .pe-contact-full-map-card {
        margin-top: 36px;
        height: 320px;
    }
}

@media (max-width: 600px) {
    .pe-contact-hero {
        min-height: 280px;
        padding: 32px 20px;
    }
    .pe-contact-hero-title {
        font-size: 32px;
    }
    .pe-contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .pe-form-heading {
        font-size: 26px;
    }
    .pe-contact-full-map-card {
        height: 260px;
    }
}
