/* ==========================================================================
   BUILD ASSIST PAGE & CONTACT SECTION STYLES (ENHANCED)
   ========================================================================== */

/* 1. KEYFRAME ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Page Base Setup */
.build-assist-page-wrapper {
    width: 100%;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    background-color: #0b1329;
}

/* 2. Top Dark Hero */
.build-hero {
    position: relative;
    padding: 70px 20px 50px;
    background: radial-gradient(circle at 50% 30%, #1e293b 0%, #0b1329 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grey Overlay */
.build-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.55);
    pointer-events: none;
    z-index: 1;
}

.build-hero-content {
    padding-top: 8%;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.build-hero-content .hero-title {
    color: #facc15; /* Accent Yellow */
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    text-align: center;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 20px rgba(250, 204, 21, 0.2);
}

/* 3. Dark Skyscraper Content Section (Background Image Removed) */
.build-content-section {
    position: relative;
    background: linear-gradient(180deg, #0b1329 0%, #0f172a 100%);
    padding: 40px 20px 120px;
    color: #ffffff;
    text-align: center;
}

/* Subtle background accent glow instead of photo */
.build-content-section::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.content-container {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    animation: fadeInScale 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.main-heading {
    color: #60a5fa; /* Soft Sky Blue */
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.desc-text {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 20px;
    font-weight: 300;
}

.offer-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 56px 0 32px 0;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* Feature Grid Cards */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.offer-badge {
    background: rgba(30, 41, 59, 0.7);
    color: #f8fafc;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-badge:hover {
    transform: translateY(-4px);
    background: rgba(30, 58, 138, 0.5);
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), 0 0 15px rgba(96, 165, 250, 0.15);
}

/* 4. Bottom White Contact Section */
.build-contact-section {
    background-color: #ffffff;
    border-top-left-radius: 80px;
    padding: 90px 20px 100px;
    margin-top: -60px;
    position: relative;
    z-index: 3;
    color: #1e293b;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.15);
}

.contact-container {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.contact-title-ba {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 14px 0;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.contact-subtext {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #334155;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 8px 0;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(6px);
}

.info-item a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-item a:hover {
    color: #2563eb;
}

.info-icon {
    width: 24px;
    height: 24px;
    stroke: #2563eb;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.15);
}

/* Interactive Form Styling */
.build-custom-form, 
.wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.build-custom-form input[type="text"],
.build-custom-form input[type="email"],
.build-custom-form input[type="tel"],
.build-custom-form textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #f8fafc;
    color: #0f172a;
}

.build-custom-form input:focus,
.build-custom-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.btn-submit,
.wpcf7 input[type="submit"] {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
    padding: 14px 38px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: flex-end;
}

.btn-submit:hover,
.wpcf7 input[type="submit"]:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.btn-submit:active,
.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
}

/* Form Status Messages */
.build-status-msg {
    margin-top: 14px;
    font-size: 0.88rem;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
    animation: fadeInUp 0.4s ease forwards;
}

.build-status-msg.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.build-status-msg.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* 5. Responsive Styles */
@media (max-width: 768px) {
    .build-hero-content .hero-title {
        font-size: 2rem;
    }

    .main-heading {
        font-size: 1.75rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .build-contact-section {
        border-top-left-radius: 40px;
        padding-top: 60px;
    }

    .btn-submit,
    .wpcf7 input[type="submit"] {
        width: 100%;
    }
}