/* ==========================================================================
   Exiloz Redesigned Contact Page Styling
   Author: Antigravity / DeepMind Pair Programmed REDESIGN
   ========================================================================== */

/* 1. Quick Info Cards Section */
.exz-contact-quick-section {
    padding: 60px 0 30px;
    background: #ffffff;
}

.exz-quick-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

.exz-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 35px 25px;
    background: var(--exz-soft);
    border: 1px solid var(--exz-line);
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.exz-quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background 0.35s ease;
}

.exz-quick-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(6, 31, 71, 0.08);
    border-color: rgba(0, 89, 214, 0.2);
}

.exz-quick-card--phone:hover::before {
    background: var(--exz-blue);
}

.exz-quick-card--whatsapp:hover::before {
    background: #25D366;
}

.exz-quick-card--email:hover::before {
    background: var(--exz-navy);
}

.exz-quick-card__icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: all 0.35s ease;
}

.exz-quick-card--phone .exz-quick-card__icon-wrap {
    background: rgba(0, 89, 214, 0.08);
    color: var(--exz-blue);
}

.exz-quick-card--whatsapp .exz-quick-card__icon-wrap {
    background: rgba(37, 211, 102, 0.08);
    color: #25D366;
}

.exz-quick-card--email .exz-quick-card__icon-wrap {
    background: rgba(6, 40, 95, 0.08);
    color: var(--exz-navy);
}

.exz-quick-card:hover .exz-quick-card__icon-wrap {
    transform: scale(1.1);
}

.exz-quick-card--phone:hover .exz-quick-card__icon-wrap {
    background: var(--exz-blue);
    color: #ffffff;
}

.exz-quick-card--whatsapp:hover .exz-quick-card__icon-wrap {
    background: #25D366;
    color: #ffffff;
}

.exz-quick-card--email:hover .exz-quick-card__icon-wrap {
    background: var(--exz-navy);
    color: #ffffff;
}

.exz-quick-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--exz-ink);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.exz-quick-card p {
    font-size: 12px;
    color: var(--exz-muted);
    margin: 0 0 15px;
    line-height: 1.5;
}

.exz-quick-card__cta {
    font-size: 15px;
    font-weight: 700;
    color: var(--exz-ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease;
}

.exz-quick-card:hover .exz-quick-card__cta {
    color: var(--exz-blue);
}

.exz-quick-card__cta i {
    font-size: 13px;
    transition: transform 0.25s ease;
}

.exz-quick-card:hover .exz-quick-card__cta i {
    transform: translateX(4px);
}


/* 2. Main Two-Column Contact Section */
.exz-contact-main-section {
    padding: 50px 0 80px;
    background: #ffffff;
}

.exz-contact-row {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 48px;
    align-items: start;
}


/* Left Side: Info Hub */
.exz-info-hub {
    display: grid;
    gap: 30px;
}

.exz-hub-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--exz-line);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(6, 31, 71, 0.02);
}

.exz-hub-title-block {
    margin-bottom: 24px;
}

.exz-hub-title-block span {
    display: block;
    color: var(--exz-blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.exz-hub-title-block h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--exz-ink);
    margin: 0;
    line-height: 1.25;
}

.exz-info-item {
    display: flex;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--exz-line);
    margin-bottom: 22px;
}

.exz-info-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.exz-info-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--exz-soft);
    color: var(--exz-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.exz-info-item__content h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--exz-ink);
    margin: 0 0 6px;
}

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

/* Timeline Flow */
.exz-timeline-card {
    padding: 30px;
    background: var(--exz-soft);
    border: 1px solid var(--exz-line);
    border-radius: 12px;
}

.exz-timeline-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--exz-ink);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exz-timeline-card h3 i {
    color: var(--exz-blue);
}

.exz-timeline-list {
    display: grid;
    gap: 20px;
    position: relative;
    padding-left: 28px;
}

.exz-timeline-list::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #dfe5f0;
}

.exz-timeline-step {
    position: relative;
}

.exz-timeline-step::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--exz-blue);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px var(--exz-blue);
    z-index: 2;
}

.exz-timeline-step h4 {
    font-size: 13px;
    font-weight: 800;
    color: var(--exz-ink);
    margin: 0 0 4px;
}

.exz-timeline-step p {
    font-size: 12px;
    color: var(--exz-muted);
    margin: 0;
    line-height: 1.5;
}


/* Right Side: Form Card */
.exz-form-card {
    background: #ffffff;
    border: 1px solid var(--exz-line);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(6, 31, 71, 0.06);
    position: relative;
}

.exz-form-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.exz-form-header__titles h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--exz-ink);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.exz-form-header__titles p {
    font-size: 13px;
    color: var(--exz-muted);
    margin: 0;
}

.exz-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #eefdf4;
    border: 1px solid #d3f9e2;
    border-radius: 30px;
    color: #1aa350;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.exz-form-group {
    margin-bottom: 20px;
    position: relative;
}

.exz-input-wrapper {
    position: relative;
}

.exz-input-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--exz-muted);
    font-size: 15px;
    transition: color 0.3s ease;
    pointer-events: none;
}

.exz-form-field {
    width: 100%;
    height: 52px;
    padding: 10px 18px 10px 48px;
    background: var(--exz-soft);
    border: 1px solid var(--exz-line);
    border-radius: 8px;
    color: var(--exz-ink);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

textarea.exz-form-field {
    height: 140px;
    padding: 18px 18px 18px 48px;
    resize: none;
}

textarea.exz-form-field + i {
    top: 24px;
    transform: none;
}

.exz-form-field:focus {
    background: #ffffff;
    border-color: var(--exz-blue);
    box-shadow: 0 0 0 4px rgba(0, 89, 214, 0.12);
    outline: none;
}

.exz-form-field:focus + i {
    color: var(--exz-blue);
}

.exz-submit-btn {
    width: 100%;
    min-height: 52px;
    background: var(--exz-blue);
    color: #ffffff !important;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 89, 214, 0.22);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.exz-submit-btn:hover {
    background: #004fc0;
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(0, 89, 214, 0.3);
}

.exz-submit-btn i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.exz-submit-btn:hover i {
    transform: translateX(4px);
}

/* Feedback Box styling */
.exz-form-feedback {
    display: none;
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    animation: exzFadeIn 0.4s ease;
}

.exz-form-feedback.success {
    background: #eefdf4;
    border: 1px solid #c2f4d5;
    color: #117838;
}

.exz-form-feedback.error {
    background: #fff5f5;
    border: 1px solid #ffe3e3;
    color: #c92a2a;
}


/* 3. Google Map Section redone */
.exz-map-wrapper {
    padding: 0;
    background: #ffffff;
    margin-bottom: -1px; /* seamless footer fit */
}

.exz-map-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.exz-map-card {
    border: 1px solid var(--exz-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(6, 31, 71, 0.05);
    background: #ffffff;
    height: 450px;
}

.exz-map-card iframe {
    width: 100%;
    height: 100%;
    display: block;
}


/* Animations */
@keyframes exzFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}


/* 4. Page Header Aesthetics & Visibility Overlay System */
.page-header {
    position: relative;
    padding: 100px 0 100px !important;
    background: var(--exz-navy-2) !important;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.85; /* soft opacity for premium color blending */
    z-index: 1;
}

/* Elegant dark blue gradient overlay to ensure text visibility */
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 26, 68, 0.78) 0%, rgba(2, 26, 68, 0.92) 100%);
    z-index: 2;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 3; /* raise text elements above the image and gradient overlays */
}

/* Breadcrumb Styling for high contrast */
.page-header .thm-breadcrumb li,
.page-header .thm-breadcrumb li a {
    color: #c9d8ef !important;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.25s ease;
    text-shadow: 0 2px 4px rgba(2, 26, 68, 0.5);
}

.page-header .thm-breadcrumb li a:hover {
    color: #ffffff !important;
}

.page-header .thm-breadcrumb li span {
    color: rgba(255, 255, 255, 0.4) !important;
    margin: 0 10px;
}

/* Page Header Title Styling */
.page-header h1.exz-header-title {
    font-family: "DM Sans", Arial, sans-serif !important;
    font-size: 46px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    margin-top: 10px !important;
    text-shadow: 0 4px 15px rgba(2, 26, 68, 0.5);
}

@media (max-width: 767px) {
    .page-header {
        padding: 70px 0 70px !important;
    }
    .page-header h1.exz-header-title {
        font-size: 32px !important;
    }
}


/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1199px) {
    .exz-contact-row {
        gap: 32px;
    }
    
    .exz-form-card {
        padding: 30px;
    }
}

@media (max-width: 991px) {
    .exz-quick-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 24px;
    }
    
    .exz-quick-card {
        padding: 28px 20px;
    }
    
    .exz-contact-row {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }
    
    .exz-form-card {
        padding: 35px 25px;
    }
    
    .exz-map-container {
        padding: 0 24px 40px;
    }
}

@media (max-width: 575px) {
    .exz-contact-quick-section {
        padding: 40px 0 20px;
    }

    .exz-quick-cards-grid,
    .exz-contact-row,
    .exz-map-container {
        padding: 0 16px;
    }
    
    .exz-hub-card {
        padding: 24px 20px;
    }
    
    .exz-hub-title-block h2 {
        font-size: 22px;
    }
    
    .exz-form-card {
        padding: 28px 18px;
    }
    
    .exz-form-header {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .exz-form-header__titles h3 {
        font-size: 19px;
    }
    
    .exz-map-card {
        height: 350px;
    }
}
