/* ==========================================================
   CONTACT HERO
========================================================== */

.contact-hero-container {

    min-height: 275px;

    padding: 45px 0 75px;

    background:
        linear-gradient(
            90deg,
            rgba(2, 39, 78, 0.98) 0%,
            rgba(2, 39, 78, 0.94) 45%,
            rgba(2, 39, 78, 0.78) 100%
        );

    display: flex;

    align-items: flex-start;

    overflow: hidden;

    box-sizing: border-box;
}


.contact-hero-content {

    width: min(1120px, calc(100% - 40px));

    margin: 0 auto;

    padding: 0;

}


/* Golden "CONTACT US" */

.contact-hero-eyebrow {

    display: block;

    margin-bottom: 8px;

    color: #e0a51a;

    font-size: 20px;

    font-weight: 700;

    letter-spacing: 0.5px;

}


/* Main heading */

.contact-hero h1 {

    max-width: 600px;

    margin: 0;

    color: #ffffff;

    font-size: 44px;

    line-height: 1.15;

    font-weight: 750;
}


/* Description */

.contact-hero p {

    max-width: 570px;

    margin: 16px 0 0;

    color: rgba(255, 255, 255, 0.9);

    font-size: 16px;

    line-height: 1.65;

    text-align: left;
}

/*==================================
    Contact Information
==================================*/

.contact-information-section{

    flex:0 0 34%;

}

.contact-information-card{

    background:#fff;

    border:1px solid #ececec;

    border-radius:20px;

    padding:42px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    height:100%;

}

.contact-information-title{

    color:var(--primary);

    font-size:42px;

    font-weight:700;

    margin-bottom:14px;

}

.contact-information-divider{

    width:55px;

    height:3px;

    background:var(--secondary);

    margin-bottom:20px;

}

.contact-information-description{

    color:#666;

    font-size:18px;

    line-height:1.8;

    margin-bottom:35px;

}

.contact-information-item{

    display:flex;

    align-items:flex-start;

    gap:20px;

    padding:22px 0;

    border-bottom:1px solid #ededed;

}

.contact-information-item-last{

    border-bottom:none;

    padding-bottom:0;

}

.contact-information-icon{

    width:58px;

    height:58px;

    border-radius:50%;

    background:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

    flex-shrink:0;

}

.contact-information-icon img{

    width:24px;

}

.contact-information-content h3{

    color:var(--primary);

    font-size:20px;

    font-weight:600;

    margin-bottom:8px;

}

.contact-information-content p{

    color:#666;

    font-size:16px;

    line-height:1.6;

}

@media(max-width:992px){

    .contact-information-section{

        flex:0 0 100%;

    }

}

/*==================================
        Contact Form
==================================*/

.contact-form-section{

    flex:1;

}

.contact-form-card{

    background:#fff;

    border:1px solid #ececec;

    border-radius:20px;

    padding:42px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    height:100%;

}

.contact-form-title{

    font-size:42px;

    color:var(--primary);

    font-weight:700;

    margin-bottom:14px;

}

.contact-form-divider{

    width:55px;

    height:3px;

    background:var(--secondary);

    margin-bottom:20px;

}

.contact-form-description{

    color:#666;

    font-size:18px;

    line-height:1.7;

    margin-bottom:35px;

}

.contact-form{

    display:flex;

    flex-direction:column;

    gap:30px;

}

.contact-form-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

.contact-form-group{

    display:flex;

    flex-direction:column;

}

.contact-form-group label{

    font-size:17px;

    color:var(--primary);

    font-weight:600;

    margin-bottom:10px;

}

.contact-form-group span{

    color:#d93333;

}

.contact-form-group input,

.contact-form-group textarea{

    width:100%;

    border:1px solid #dddddd;

    border-radius:10px;

    padding:16px 18px;

    font-size:17px;

    font-family:inherit;

    outline:none;

    transition:.3s;

}

.contact-form-group textarea{

    resize:vertical;

    min-height:140px;

}

.contact-form-group input:focus,

.contact-form-group textarea:focus{

    border-color:var(--primary);

}

.contact-form-submit-btn{

    position: relative;
    
    width:max-content;

    display:flex;

    align-items:center;

    gap:12px;

    padding:15px 30px;

    background:var(--primary);

    color:#fff;

    border:none;

    border-radius:10px;

    font-size:18px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.contact-form-submit-btn:hover{

    background:#0b3154;

}

.contact-form-submit-btn img{

    width:18px;

}

.contact-form-privacy{

    display:flex;

    align-items:center;

    gap:10px;

}

.contact-form-privacy img{

    width:18px;

}

.contact-form-privacy p{

    color:#777;

    font-size:16px;

    line-height:1.5;

}

@media(max-width:992px){

    .contact-form-grid{

        grid-template-columns:1fr;

    }

}

/*==================================
    Contact Section
==================================*/
.contact-content-section{

    margin: 50px 0;

}

.contact-content-wrapper{

    display:flex;

    gap:35px;

    align-items:stretch;

}

/* ==========================================
   CONTACT OFFICE DETAILS
========================================== */

.contact-office-details-section{

    margin-bottom:70px;

}

.contact-office-details-container{

    width:90%;
    max-width:1400px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:stretch;

    background:#fff;

    border-radius:20px;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    overflow:hidden;

}

.contact-office-detail-card{

    flex:1;

    display:flex;

    gap:22px;

    padding:35px;

    position:relative;

}

.contact-office-detail-card:not(:last-child)::after{

    content:"";

    position:absolute;

    right:0;
    top:50%;

    transform:translateY(-50%);

    width:1px;
    height:70%;

    background:#ececec;

}

.contact-office-detail-icon{

    width:70px;
    height:70px;

    border-radius:50%;

    background:#FFF8EC;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

}

.contact-office-detail-icon img{

    width:34px;

}

.contact-office-detail-content h3{

    font-size:22px;

    color:var(--primary);

    margin-bottom:10px;

    font-weight:700;

}

.contact-office-detail-content p{

    font-size:16px;

    line-height:1.8;

    color:#5b5b5b;

    margin-bottom:5px;

}

.contact-office-detail-content p:last-child{

    margin-bottom:0;

}

@media(max-width:1200px){

    .contact-office-details-container{

        flex-wrap:wrap;

    }

    .contact-office-detail-card{

        width:50%;
        flex:none;

    }

}

.contact-office-detail-card{

    transition:.3s;

}

.contact-office-detail-card:hover{

    background:#fafafa;

}

.contact-office-detail-icon{

    transition:.3s;

}

.contact-office-detail-card:hover .contact-office-detail-icon{

    transform:scale(1.08);

}

@media(max-width:768px){

    .contact-office-details-container{

        flex-direction:column;

    }

    .contact-office-detail-card{

        width:100%;

        padding:30px;

    }

    .contact-office-detail-card::after{

        display:none;

    }

}

/* ==========================================
   CONTACT FORM  SUCCESS / FAILURE MESSAGE
========================================== */

.contact-form-message {
    position: absolute;

    left: 43px;
    right: 0;
    top: 91%;

    display: none;

    padding: 14px 18px;

    border-radius: 8px;

    font-size: 16px;
    font-weight: 600;

    align-items: center;
    justify-content: center;

    gap: 10px;

    opacity: 0;

    transform: translateY(-8px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* Loading */

.contact-form-message.loading {
    display: flex;
    color: var(--primary);
    background: #f5f5f5;
}

/* Success */

.contact-form-message.success {
    display: flex;
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

/* Error */

.contact-form-message.error {
    display: flex;
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.contact-form-message.loading,
.contact-form-message.success,
.contact-form-message.error {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    width: 500px;
}


/* Loader */

.contact-form-loader {
    width: 18px;
    height: 18px;

    border: 3px solid #ddd;
    border-top-color: var(--primary);

    border-radius: 50%;

    animation: contactFormSpin 0.8s linear infinite;
}


/* Success icon */

.contact-form-success-icon {
    display: none;

    font-size: 20px;
    font-weight: 700;
}


/* Hide loader after loading */

.contact-form-message.success .contact-form-loader,
.contact-form-message.error .contact-form-loader {
    display: none;
}


/* Show tick */

.contact-form-message.success .contact-form-success-icon {
    display: inline;
}


@keyframes contactFormSpin {

    to {
        transform: rotate(360deg);
    }

}

/* ==========================================================
   CONTACT PAGE - MOBILE RESPONSIVE
========================================================== */

@media (max-width: 992px){
    .contact-content-wrapper {

        display: flex;

        flex-wrap: wrap;

        flex-direction: column;

        gap: 25px;

        width: 100%;

        box-sizing: border-box;

    }

    .contact-content-wrapper{

        display:flex;
    
        gap:35px;
    
        align-items:stretch;
    
    }


}

@media (max-width: 767px) {


    /* ======================================================
       CONTACT HERO
    ====================================================== */

    .contact-hero-container {

        min-height: auto;

        padding: 40px 0 60px;

        background:
            linear-gradient(
                90deg,
                rgba(2, 39, 78, 0.98) 0%,
                rgba(2, 39, 78, 0.94) 45%,
                rgba(2, 39, 78, 0.90) 100%
            );

    }


    .contact-hero-content {

        width: min(100% - 30px, 600px);

        margin: 0 auto;

        padding: 0;

    }


    .contact-hero-eyebrow {

        font-size: 16px;

        margin-bottom: 8px;

    }


    .contact-hero h1 {

        font-size: 34px;

        line-height: 1.15;

        letter-spacing: 0;

    }


    .contact-hero p {

        max-width: 100%;

        margin-top: 16px;

        font-size: 15px;

        line-height: 1.65;

        text-align: left;

    }



    /* ======================================================
       CONTACT CONTENT
    ====================================================== */

    .contact-content-section {

        margin: 60px 20px;

    }


    .contact-content-wrapper {

        display: flex;

        flex-wrap: wrap;

        flex-direction: column;

        gap: 25px;

        width: 100%;

        box-sizing: border-box;

    }


    /* ======================================================
       CONTACT INFORMATION
    ====================================================== */

    .contact-information-section {

        flex: 0 0 100%;

        width: 100%;

        box-sizing: border-box;

    }


    .contact-information-card {

        width: 100%;

        box-sizing: border-box;

        padding: 28px 22px;

        border-radius: 18px;

    }


    .contact-information-title {

        font-size: 30px;

        line-height: 1.2;

    }


    .contact-information-description {

        font-size: 16px;

        line-height: 1.6;

        margin-bottom: 25px;

    }


    .contact-information-item {

        gap: 15px;

        padding: 18px 0;

    }


    .contact-information-icon {

        width: 48px;

        height: 48px;

    }


    .contact-information-icon img {

        width: 21px;

    }


    .contact-information-content h3 {

        font-size: 18px;

        margin-bottom: 5px;

    }


    .contact-information-content p {

        font-size: 15px;

        line-height: 1.5;

        word-break: break-word;

    }


    /* ======================================================
       CONTACT FORM
    ====================================================== */

    .contact-form-section {

        flex: 0 0 100%;

        width: 100%;

        box-sizing: border-box;

    }


    .contact-form-card {

        width: 100%;

        box-sizing: border-box;

        padding: 28px 22px;

        border-radius: 18px;

    }


    .contact-form-title {

        font-size: 30px;

        line-height: 1.2;

    }


    .contact-form-description {

        font-size: 16px;

        line-height: 1.6;

        margin-bottom: 25px;

    }


    .contact-form-grid {

        grid-template-columns: 1fr;

        gap: 18px;

    }


    .contact-form {

        gap: 22px;

    }


    .contact-form-group label {

        font-size: 16px;

    }


    .contact-form-group input,

    .contact-form-group textarea {

        font-size: 16px;

        padding: 14px 15px;

        box-sizing: border-box;

    }


    .contact-form-group textarea {

        min-height: 130px;

    }


    .contact-form-submit-btn {

        width: 100%;

        justify-content: center;

        padding: 14px 20px;

        font-size: 16px;

    }


    .contact-form-privacy {

        align-items: flex-start;

        gap: 8px;

    }


    .contact-form-privacy p {

        font-size: 13px;

    }


    /* ======================================================
       FORM MESSAGE
    ====================================================== */

    .contact-form-message {

        left: 0;

        right: 0;

        top: auto;

        width: 100% !important;

        box-sizing: border-box;

        margin-top: 10px;

        position: relative;

    }


    /* ======================================================
       OFFICE DETAILS
    ====================================================== */

    .contact-office-details-section {

        margin-bottom: 50px;

    }


    .contact-office-details-container {

        width: calc(100% - 40px);

        margin: 0 20px;

        flex-direction: column;

        border-radius: 18px;

    }


    .contact-office-detail-card {

        width: 100%;

        flex: none;

        padding: 25px 22px;

        box-sizing: border-box;

    }


    .contact-office-detail-card::after {

        display: none;

    }


    .contact-office-detail-icon {

        width: 55px;

        height: 55px;

    }


    .contact-office-detail-icon img {

        width: 28px;

    }


    .contact-office-detail-content h3 {

        font-size: 19px;

    }


    .contact-office-detail-content p {

        font-size: 15px;

        line-height: 1.6;

    }

}