/* ==========================================================================
   Contact Page Styling
   ========================================================================== */

.contact-page-main {
    position: relative;
    background-color: #ffffff;
    padding: 150px 0 100px 0; /* Clears fixed header */
    box-sizing: border-box;
}

.contact-page-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 45px;
}

/* Page Header */
.contact-page-header {
    margin-bottom: 20px;
}

.contact-page-title {
    font-family: 'Manrope', sans-serif;
    font-size: 80px;
    font-weight: 700; /* bold */
    color: #171717;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Divider Line */
.contact-page-divider {
    border: none;
    border-top: 1px solid #171717;
    margin: 30px 0 60px 0;
}

/* Reused Contact block styles from front page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    width: 100%;
}

/* Left Card */
.contact-info-card {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background-color: #ffffff;
    padding: 45px;
    padding-bottom: 353px; /* leaves room for the skyline image at the bottom */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(16, 37, 66, 0.1);
    border-radius: 100px;
    padding: 8px 18px;
    margin-bottom: 20px;
}

.contact-badge .badge-circle {
    width: 8px;
    height: 8px;
    background-color: #F9452C;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(249, 69, 44, 0.6);
}

.contact-badge .badge-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #102542;
    line-height: 1.2;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 500; /* medium */
    color: #171717;
    line-height: 58px;
    margin: 0;
    letter-spacing: -0.01em;
}

.contact-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(23, 23, 23, 0.7); /* body color with 70% opacity */
    line-height: 25px;
    margin: 0;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 20px;
}

.info-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(249, 69, 44, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #171717;
    margin: 0;
}

.info-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(23, 23, 23, 0.7);
    margin: 0;
}

/* Right Form */
.contact-form-wrapper {
    width: 100%;
}

.contact-quote-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #171717;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(23, 23, 23, 0.4);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #171717;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #F9452C;
    box-shadow: 0 0 0 3px rgba(249, 69, 44, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23171717' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 46px;
    cursor: pointer;
}

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

/* Submit Button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    background-color: #F9452C;
    padding: 16px 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(249, 69, 44, 0.3);
    transition: background-color var(--transition-speed) ease, transform 0.2s ease, box-shadow var(--transition-speed) ease;
}

.btn-submit:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 69, 44, 0.45);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit .submit-arrow {
    transition: transform var(--transition-speed) ease;
}

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

/* Responsive Overrides */
@media (max-width: 1200px) {
    .contact-title {
        font-size: 40px;
        line-height: 48px;
    }
}

@media (max-width: 991px) {
    .contact-page-main {
        padding: 120px 0 80px 0;
    }
    .contact-page-container {
        padding: 0 24px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info-card {
        padding: 30px;
        padding-bottom: 280px;
    }
}

@media (max-width: 767px) {
    .contact-page-title {
        font-size: 48px;
    }
    .contact-title {
        font-size: 32px;
        line-height: 38px;
    }
    .form-row-two-col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
