/* Redevelopment page */

.page-header {
    background: url('../../images/backgrounds/redevelopment-bg.jpg') center/cover no-repeat;
}

@keyframes bgFadeDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes headingSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    

body {
    font-family: "Montserrat", sans-serif;
    background: #fff;
    margin: 0;
    padding: 0;

}

/* ------- HEADING -------- */

.redevelopment-section .heading {
    text-align: left;
}

.redevelopment-section .heading p {
    color: black;
}

/* ===== INITIAL STATE ===== */

.redevelopment-section .heading p {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease;
}

.redevelopment-section .heading h2 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease;
}

/* Remove transform from strong */
.redevelopment-section .heading p strong {
    display: inline-block;
    transition: color 0.4s ease;
}

/* ===== ACTIVE STATE ===== */

.redevelopment-section .heading h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.redevelopment-section .heading p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* Optional: strong highlight after paragraph appears */
.redevelopment-section .heading p strong.show {
    transition-delay: 1.4s;
}




/* ===== PROCESS SECTION ===== */
.process-section {
    background: #ffffff;
    color: #000000;
    font-family: "Montserrat", sans-serif;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease;
}

.process-section.show {
    opacity: 1;
    transform: translateY(0);
}

.process-section .process-heading h2 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease;
}

.process-section .process-heading h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.process-section .process-underline {
    width: 120px;
    height: 2px;
    background: #0071bb;
    margin-bottom: 20px;
    border-radius: 10px;

    /* Initial state */
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease;
}

.process-section .process-underline.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.process-section .process-heading p {
    color: #000000;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease;
}

.process-section .process-heading p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.process-section .process-list li {
    transition: all 0.7s ease;
}

.process-section .process-list li.show {
    opacity: 1;
    transform: translateY(0);
}

.process-section .process-list li p {
    margin: 0;
    color: #000000;
}


/* ===== STANDARD DOCUMENTS (white section) ===== */
.docs-section {
    background: #000000;
    color: #ffffff;
}

.docs-section .docs-heading h2 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease;
}

.docs-section .docs-heading h2.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.docs-section .docs-underline {
    width: 230px;
    height: 2px;
    background: #0071bb;
    margin-bottom: 40px;
    border-radius: 10px;

    /* Initial state */
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease;
}

.docs-section .docs-underline.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.docs-section .docs-heading p {
    color: rgb(255, 255, 255);
    margin: 0;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.7s ease;
}

.docs-section .docs-heading p.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.docs-section .docs-columns li {
    transition: all 0.7s ease;
}

.docs-section .docs-columns li.show {
    opacity: 1;
    transform: translateY(0);
}


/* -------- CONTACT AREA -------- */

.redevelopment-area {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    gap: 30px;
    background: #000000;
    height: 80vh;
}

.redevelopment-area .formunderline {
    width: 150px;
    height: 2px;
    background: #0071bb;
    margin-bottom: 60px;
    border-radius: 10px;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.redevelopment-form-box {
    max-width: 1000px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.redevelopment-form-box h3 {
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.6s ease;
}

/* ===== FORM INITIAL ===== */

/* ===== ACTIVE STATES ===== */

.redevelopment-form-box h3.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.formunderline.show {
    transform: scaleX(1);
    transition-delay: 0.7s;
}

.redevelopment-form-box form.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

input:where(:not(.filter-wrapper *, .form-input, [type="checkbox"])) {
    width: 100%;
    max-width: 350px;
    display: block;
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    text-align: left;
    border: none;
    background: transparent;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.85);
    padding: 8px 4px;
    outline: none;
}

input:where(:not(.filter-wrapper *, .form-input, [type="checkbox"]))::placeholder {
    text-align: right;
    color: #a1a1a1d8;
}

/* Ensure file inputs match the underline-only desktop style across all breakpoints */

input[type="file"]::-webkit-file-upload-button:hover,
input[type="file"]::-webkit-file-upload-button:focus {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 0;
    margin: 0;
    cursor: pointer;
    appearance: none;
}

/* Mobile Responsive */

.underline {
    width: 180px;
    height: 2px;
    background: #0071bb;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* ===== INITIAL STATE ===== */
.redevelopment-section .underline {
    width: 0;
    height: 2px;
    background: #0071bb;
    margin-bottom: 20px;
    border-radius: 10px;

    transition: width 0.6s ease;
}

/* ===== ACTIVE STATE ===== */
.redevelopment-section .underline.show {
    width: 180px;
    transition-delay: 0.4s;
    /* runs after heading */
}
    


@media (max-width: 1024px) {

    /* heading section */

    /* process section */


    /* Standard Documents section */

    /* redevelopment-area for 1024px - stack form and keep desktop input style */
    .redevelopment-area {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
        margin-right: auto;
        margin-left: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        background: #000000;
        height: auto;
    }

    .redevelopment-form-box {
        max-width: 900px;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    /* Ensure the form stays underline-only on small laptops/tablets */
    .redevelopment-area textarea {
        border: none !important;
        border-bottom: 0.5px solid rgba(255, 255, 255, 0.85) !important;
        background: transparent !important;
        box-shadow: none !important;
        outline: none !important;
        border-radius: 0 !important;
        
    }
    .redevelopment-area input:not(.form-input, [type="checkbox"]) {
        border: none !important;
        border-bottom: 0.5px solid rgba(255, 255, 255, 0.85) !important;
        background: transparent !important;
        box-shadow: none !important;
        outline: none !important;
        border-radius: 0 !important;
        
    }

    /* File inputs are rendered by the browser; force a transparent underline style */

    .redevelopment-area input[type="file"]::-webkit-file-upload-button:hover,
    .redevelopment-area input[type="file"]::-webkit-file-upload-button:focus {
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer !important;
        appearance: none !important;
    }

}

@media (max-width: 768px) {

    /* heading section */

    /* process section */

    .process-section .process-underline {
        width: 80px !important;
        height: 2px !important;
    }

    /* Standard Documents section */

    .docs-section .docs-heading p {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {

    /* heading section */
    .redevelopment-section .heading {
        text-align: left !important;

    }


    /* process section */

    .process-section .process-underline {
        width: 60px !important;
        height: 2px !important;
    }

    .process-section .process-heading p {
        margin-bottom: 0 !important;
    }

    /* Standard Documents section */


    /* Contact + Form */
    .redevelopment-area {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
        box-sizing: border-box;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        height: auto !important;
    }

    .redevelopment-section .heading h2 {
        text-align: left !important;
    }

    .redevelopment-section .underline {
        width: 0 !important;
        transition: width 0.6s ease !important;
        transform-origin: left !important;
        margin: 0 0 20px 0 !important;
    }

    .redevelopment-section .underline.show {
        width: 120px !important;
        transition-delay: 0.4s !important;
        transform-origin: left !important;
    }

    /* Form adjustments for mobile */

    /* Stack fields one-per-row on small mobile */

    input:where(:not(.filter-wrapper *, .form-input, [type="checkbox"])) {
        font-size: 12px !important;
        padding: 6px 4px !important;
        max-width: 350px !important;
        width: 100% !important;
    }

    .formunderline {
        width: 100px !important;
    }


}
    
