﻿/* =========================================
   CROWNLINE CONTACT PAGE
   BLUE / WHITE / GOLD THEME
========================================= */

:root {
    --cl-blue: #0A2540;
    --cl-blue-dark: #061A2D;
    --cl-blue-light: #123A60;
    --cl-gold: #D4AF37;
    --cl-gold-light: #E2C45B;
    --cl-white: #FFFFFF;
    --cl-bg: #F5F7FA;
    --cl-text: #17202A;
    --cl-muted: #687585;
    --cl-border: #E1E6EB;
}


/* =========================================
   CONTACT HERO
========================================= */

.contact-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(10, 37, 64, 0.95), rgba(10, 37, 64, 0.78) );
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    color: var(--cl-white);
}

.contact-hero h1 {
    margin: 22px 0 14px;
    color: var(--cl-white) !important;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.contact-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================
   BREADCRUMB
========================================= */

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

    .breadcrumb-custom a {
        color: var(--cl-blue) !important;
        text-decoration: none;
        font-weight: 600;
        transition: .2s ease;
    }

        .breadcrumb-custom a:hover {
            color: var(--cl-gold) !important;
        }

    .breadcrumb-custom span {
        color: #999999;
    }

        .breadcrumb-custom span:last-child {
            color: #687585 !important;
        }


/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    padding: 85px 0;
    background: var(--cl-bg);
}

.contact-wrapper {
    background: var(--cl-white);
    border: 1px solid var(--cl-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(10, 37, 64, .10);
}


/* =========================================
   CONTACT INFORMATION
========================================= */

.contact-info {
    height: 100%;
    padding: 60px 50px;
    background: var(--cl-blue) !important;
    color: var(--cl-white);
}

.section-label {
    display: inline-block;
    color: var(--cl-gold) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.contact-info h2 {
    color: var(--cl-white) !important;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-intro {
    color: rgba(255, 255, 255, .76) !important;
    line-height: 1.8;
    margin-bottom: 42px;
}


/* =========================================
   CONTACT ITEMS
========================================= */

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, .12);
    border: 1px solid rgba(212, 175, 55, .40);
    color: var(--cl-gold);
    border-radius: 50%;
    transition: .25s ease;
}

.contact-item:hover .contact-icon {
    background: var(--cl-gold);
    color: var(--cl-blue);
    transform: translateY(-2px);
}

.contact-item span {
    display: block;
    color: var(--cl-gold) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.contact-item a,
.contact-item strong {
    color: var(--cl-white) !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

    .contact-item a:hover {
        color: var(--cl-gold) !important;
    }


/* =========================================
   CONTACT NOTE
========================================= */

.contact-note {
    display: flex;
    gap: 13px;
    margin-top: 42px;
    padding-top: 27px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

    .contact-note i {
        color: var(--cl-gold) !important;
        margin-top: 4px;
    }

    .contact-note p {
        margin: 0;
        color: rgba(255, 255, 255, .68) !important;
        font-size: 14px;
        line-height: 1.7;
    }


/* =========================================
   CONTACT FORM
========================================= */

.contact-form-wrapper {
    padding: 60px;
    background: var(--cl-white) !important;
}

    .contact-form-wrapper h2 {
        color: var(--cl-blue) !important;
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .contact-form-wrapper > p {
        color: var(--cl-muted) !important;
        margin-bottom: 38px;
    }


    /* =========================================
   FORM LABELS
========================================= */

    .contact-form-wrapper label {
        display: block;
        color: var(--cl-blue) !important;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 8px;
    }


    /* =========================================
   FORM INPUTS
========================================= */

    .contact-form-wrapper .form-control,
    .contact-form-wrapper .form-select {
        width: 100%;
        height: 52px;
        border: 1px solid var(--cl-border) !important;
        border-radius: 8px;
        background: var(--cl-white) !important;
        color: var(--cl-text) !important;
        box-shadow: none;
        transition: .25s ease;
    }

    .contact-form-wrapper textarea.form-control {
        height: auto;
        min-height: 145px;
        resize: vertical;
        padding-top: 14px;
    }

    .contact-form-wrapper .form-control::placeholder {
        color: #9AA4AF !important;
    }

    .contact-form-wrapper .form-control:focus,
    .contact-form-wrapper .form-select:focus {
        border-color: var(--cl-gold) !important;
        box-shadow: 0 0 0 3px rgba(212, 175, 55, .13) !important;
        outline: none;
    }


/* =========================================
   SUBMIT BUTTON
========================================= */

.contact-submit-btn {
    border: 1px solid var(--cl-gold) !important;
    padding: 15px 30px;
    background: var(--cl-gold) !important;
    color: var(--cl-blue) !important;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border-radius: 7px;
    transition: .25s ease;
}

    .contact-submit-btn:hover {
        background: var(--cl-blue) !important;
        border-color: var(--cl-blue) !important;
        color: var(--cl-white) !important;
        transform: translateY(-2px);
    }


/* =========================================
   QUICK HELP
========================================= */

.contact-help {
    padding: 0 0 85px;
    background: var(--cl-bg);
}

.contact-help-box {
    padding: 45px 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: var(--cl-blue) !important;
    color: var(--cl-white);
    border-top: 3px solid var(--cl-gold);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(10, 37, 64, .14);
}

    .contact-help-box span {
        color: var(--cl-gold) !important;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .contact-help-box h2 {
        color: var(--cl-white) !important;
        margin: 8px 0;
        font-size: 29px;
        font-weight: 700;
    }

    .contact-help-box p {
        margin: 0;
        color: rgba(255, 255, 255, .70) !important;
    }


/* =========================================
   QUICK HELP BUTTON
========================================= */

.contact-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 27px;
    background: var(--cl-gold) !important;
    color: var(--cl-blue) !important;
    text-decoration: none !important;
    font-weight: 700;
    border: 1px solid var(--cl-gold);
    border-radius: 7px;
    white-space: nowrap;
    transition: .25s ease;
}

    .contact-help-btn:hover {
        background: var(--cl-white) !important;
        border-color: var(--cl-white);
        color: var(--cl-blue) !important;
        transform: translateY(-2px);
    }


/* =========================================
   INPUT SELECT ARROW
========================================= */

.contact-form-wrapper .form-select {
    cursor: pointer;
}


/* =========================================
   VALIDATION
========================================= */

.contact-form-wrapper .text-danger {
    color: #dc3545 !important;
    font-size: 12px;
}


/* =========================================
   MOBILE / TABLET
========================================= */

@media (max-width: 991px) {

    .contact-info,
    .contact-form-wrapper {
        padding: 45px 35px;
    }

    .contact-hero h1 {
        font-size: 40px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .contact-hero {
        min-height: 280px;
    }

        .contact-hero h1 {
            font-size: 34px;
        }

        .contact-hero p {
            font-size: 15px;
        }

    .contact-section {
        padding: 55px 0;
    }

    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 29px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 35px 25px;
    }

    .contact-help {
        padding-bottom: 55px;
    }

    .contact-help-box {
        padding: 35px 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-help-btn {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 576px) {

    .contact-hero {
        min-height: 250px;
    }

        .contact-hero h1 {
            font-size: 29px;
            line-height: 1.25;
        }

        .contact-hero p {
            font-size: 14px;
        }

    .breadcrumb-custom {
        font-size: 13px;
    }

    .contact-item {
        align-items: flex-start;
    }

    .contact-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .contact-form-wrapper .form-control,
    .contact-form-wrapper .form-select {
        height: 50px;
    }

    .contact-submit-btn {
        width: 100%;
    }
}
