/* ==========================================================================
   PRANGON REAL ESTATE - CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */

/* AutoCAD Blueprint Grid Texture */
.autocad-bg {
    background-color: #f8fafc;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Home Matching Reveal Effect (Blur-to-Clear Fade Up) */
.reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, filter, transform;
}

.reveal.active {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

/* 1. Contact Hero Banner */
.contact-hero-section {
    padding: 140px 0 60px;
    text-align: center;
}

.contact-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-navy, #0f172a);
    line-height: 1.3;
    margin-top: 8px;
    margin-bottom: 14px;
}

.contact-hero-desc {
    font-size: 15px;
    color: var(--text-muted, #64748b);
    max-width: 620px;
    margin: 0 auto;
}

/* NEW: Quick Support Emergency Banner Strip */
.quick-support-strip {
    margin-top: -30px;
    margin-bottom: 30px;
}

.support-strip-box {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 24px 32px;
    box-shadow: var(--shadow-sm, 0 4px 6px -1px rgba(0,0,0,0.03));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.strip-item i {
    font-size: 32px;
}

.strip-item h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-navy, #0f172a);
    margin: 0 0 4px 0;
}

.strip-item p {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    margin: 0;
}

.btn-quick-call {
    white-space: nowrap;
    padding: 12px 24px;
}

/* 2. Main Contact Cards Grid */
.contact-main-section {
    padding: 40px 0 90px;
}

.contact-info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.info-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm, 0 4px 6px -1px rgba(0,0,0,0.03));
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-orange, #e65100);
    box-shadow: var(--shadow-md, 0 10px 25px rgba(0,0,0,0.05));
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: #fff7ed;
    color: var(--accent-orange, #e65100);
    font-size: 26px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-navy, #0f172a);
    margin-bottom: 6px;
}

.info-card p {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    margin-bottom: 12px;
}

.info-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-navy, #0f172a);
    margin-bottom: 10px;
    text-decoration: none;
}

.info-link:hover {
    color: var(--accent-orange, #e65100);
}

.info-address {
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-navy, #0f172a);
}

.availability-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 20px;
}

.availability-tag.tag-closed {
    color: #ef4444;
    background: #fef2f2;
}

/* 3. Form & Map Split Grid */
.contact-form-map-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-sm, 0 4px 6px -1px rgba(0,0,0,0.03));
}

.form-card-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-navy, #0f172a);
}

.form-card-header p {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    margin-top: 4px;
    margin-bottom: 24px;
}

.custom-contact-form label i {
    color: var(--accent-orange, #e65100);
    margin-right: 4px;
}

.custom-contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    background: #ffffff;
}

.form-feedback-msg {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-feedback-msg.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.btn-submit {
    margin-top: 10px;
}

.map-and-info-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-frame-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: var(--shadow-sm, 0 4px 6px -1px rgba(0,0,0,0.03));
}

.civil-master-trust-badge {
    background: var(--primary-navy, #0f172a);
    color: #ffffff;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 81, 0, 0.15);
    color: var(--accent-orange, #e65100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.civil-master-trust-badge h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.civil-master-trust-badge p {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.4;
}

/* 4. Contact FAQ Accordion */
.contact-faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition, all 0.3s ease);
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-navy, #0f172a);
}

.faq-question i {
    color: var(--accent-orange, #e65100);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background: #f8fafc;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

/* Responsive Queries */
@media (max-width: 992px) {
    .support-strip-box {
        flex-direction: column;
        text-align: center;
    }
    .strip-item {
        flex-direction: column;
    }
    .contact-form-map-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-hero-title {
        font-size: 28px;
    }
    
    .contact-form-card {
        padding: 24px 16px;
    }
}