/*==========================================
            CONTACT OFFICES
==========================================*/

.contact-offices{
    position:relative;
    padding:100px 0 80px;
    background:#fff;
    overflow:hidden;
    z-index:1;
}

/* Background */

.contact-offices::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:radial-gradient(circle,
    rgba(250,1,5,.10) 0%,
    rgba(250,1,5,0) 72%);
    top:-180px;
    left:-180px;
    z-index:-1;
}

.contact-offices::after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:radial-gradient(circle,
    rgba(250,1,5,.08) 0%,
    rgba(250,1,5,0) 72%);
    right:-180px;
    bottom:-180px;
    z-index:-1;
}

/*=========================
Section Heading
=========================*/

.contact-heading{

    text-align:center;
    max-width:720px;
    margin:0 auto 65px;

}

.section-tag{

    display:inline-flex;
    align-items:center;
    gap:12px;

    font-size:13px;
    font-weight:700;
    letter-spacing:4px;

    color:#555;
    margin-bottom:18px;
    text-transform:uppercase;

}

.section-tag span{

    width:55px;
    height:2px;
    background:#fa0105;

}

.contact-heading h2{

    font-size:56px;
    font-weight:800;
    color:#161616;
    line-height:1.1;
    margin-bottom:18px;

}

.contact-heading h2 span{

    color:#fa0105;

}

.contact-heading p{

    font-size:17px;
    line-height:30px;
    color:#6b6b6b;
    margin:0;

}

/*=========================
Office Card
=========================*/

.office-card{

    position:relative;

    background:#fff;

    border:1px solid #ececec;

    border-radius:24px;

    padding:28px;

    height:100%;

    transition:.45s;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.05);

}

.office-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:4px;
    height:0;

    background:#fa0105;

    transition:.45s;

}

.office-card:hover{

    transform:translateY(-10px);

    border-color:#fa0105;

    box-shadow:0 28px 55px rgba(0,0,0,.12);

}

.office-card:hover::before{

    height:100%;

}


/*==========================================
        OFFICE HEADER
==========================================*/

.office-country{

    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:28px;

}

.office-country img{

    width:52px;
    height:52px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;

    box-shadow:0 10px 20px rgba(0,0,0,.08);

    transition:.4s;

}

.office-card:hover .office-country img{

    transform:rotate(8deg) scale(1.08);

}

.office-country h4{

    font-size:20px;
    font-weight:700;
    color:#181818;
    margin:0 0 5px;

    line-height:1.3;

}

.office-country span{

    display:inline-block;

    font-size:14px;
    font-weight:600;

    color:#fa0105;

}

/*==========================================
        OFFICE INFO
==========================================*/

.office-info{

    list-style:none;
    padding:0;
    margin:0 0 28px;

}

.office-info li{

    display:flex;
    align-items:flex-start;
    gap:14px;

    margin-bottom:22px;

}

.office-info li:last-child{

    margin-bottom:0;

}

.office-info i{

    width:42px;
    height:42px;

    min-width:42px;

    border-radius:12px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fff3f3;

    color:#fa0105;

    font-size:18px;

    transition:.35s;

}

.office-card:hover .office-info i{

    background:#fa0105;
    color:#fff;
    transform:translateY(-3px);

}

.office-info span{

    color:#666;

    font-size:15px;
    line-height:28px;

}

.office-info a{

    color:#555;

    text-decoration:none;

    font-size:15px;

    transition:.35s;

    word-break:break-word;

}

.office-info a:hover{

    color:#fa0105;

}

/*==========================================
        VIEW LOCATION BUTTON
==========================================*/

.office-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    margin-top:10px;

    padding:14px 28px;

    border:2px solid #fa0105;

    border-radius:50px;

    text-decoration:none;

    color:#fa0105;

    font-size:15px;
    font-weight:700;

    transition:.4s;

}

.office-btn i{

    font-size:18px;

    transition:.35s;

}

.office-btn:hover{

    background:#fa0105;

    color:#fff;

}

.office-btn:hover i{

    transform:translateX(6px);

}

/*==========================================
        HOVER EFFECTS
==========================================*/

.office-card:hover .office-country h4{

    color:#fa0105;

}

.office-card:hover{

    background:#fff;

}

/*==========================================
        DECORATION ELEMENTS
==========================================*/

.contact-heading{
    position:relative;
}

.contact-heading::before{

    content:"";

    position:absolute;

    width:70px;
    height:70px;

    left:-100px;
    top:-10px;

    background-image:radial-gradient(#fa0105 1.5px, transparent 1.5px);
    background-size:12px 12px;

    opacity:.18;

}

.contact-heading::after{

    content:"";

    position:absolute;

    width:70px;
    height:70px;

    right:-100px;
    bottom:10px;

    background-image:radial-gradient(#fa0105 1.5px, transparent 1.5px);
    background-size:12px 12px;

    opacity:.18;

}

/*==========================================
CARD ANIMATION
==========================================*/

.office-card{

    animation:fadeUp .8s ease forwards;

}

.office-card:nth-child(2){

    animation-delay:.15s;

}

.office-card:nth-child(3){

    animation-delay:.3s;

}

.office-card:nth-child(4){

    animation-delay:.45s;

}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(35px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/*==========================================
RESPONSIVE
==========================================*/

@media (max-width:1199px){

    .contact-heading h2{

        font-size:48px;

    }

    .office-card{

        padding:24px;

    }

}

@media (max-width:991px){

    .contact-offices{

        padding:80px 0;

    }

    .contact-heading{

        margin-bottom:50px;

    }

    .contact-heading h2{

        font-size:42px;

    }

    .office-country h4{

        font-size:19px;

    }

}

@media (max-width:767px){

    .contact-offices{

        padding:70px 0;

    }

    .contact-heading h2{

        font-size:34px;

    }

    .contact-heading p{

        font-size:15px;
        line-height:28px;

    }

    .office-card{

        padding:22px;

    }

    .office-country{

        margin-bottom:22px;

    }

    .office-country img{

        width:46px;
        height:46px;

    }

    .office-country h4{

        font-size:18px;

    }

    .office-info li{

        gap:12px;
        margin-bottom:18px;

    }

    .office-info i{

        width:38px;
        height:38px;
        min-width:38px;

        font-size:16px;

    }

    .office-btn{

        width:100%;
        justify-content:center;

    }

}

@media (max-width:575px){

    .section-tag{

        letter-spacing:2px;
        font-size:12px;

    }

    .contact-heading h2{

        font-size:30px;

    }

    .office-card{

        border-radius:20px;

    }

    .office-country{

        align-items:flex-start;

    }

    .office-country img{

        width:42px;
        height:42px;

    }

    .office-country h4{

        font-size:17px;

    }

    .office-info span,
    .office-info a{

        font-size:14px;
        line-height:25px;

    }

}


/*==========================================
        CONTACT FORM SECTION
==========================================*/

.contact-form-section{

    position:relative;

    padding:110px 0;

    background:#fafafa;

    overflow:hidden;

}

/*==========================================
        FORM BOX
==========================================*/

.contact-form-box{

    background:#fff;

    padding:45px;

    border-radius:28px;

    box-shadow:0 18px 45px rgba(0,0,0,.06);

    border:1px solid #ededed;

    transition:.4s;

}

.contact-form-box:hover{

    transform:translateY(-6px);

    box-shadow:0 28px 60px rgba(0,0,0,.10);

}

.contact-form-box h2{

    font-size:52px;

    font-weight:800;

    color:#181818;

    margin:18px 0;

    line-height:1.15;

}

.contact-form-box h2 span{

    color:#fa0105;

}

.contact-form-box p{

    color:#666;

    line-height:30px;

    margin-bottom:35px;

}

/*==========================================
        FORM GROUP
==========================================*/

.form-group{

    margin-bottom:22px;

}

.form-control{

    height:62px;

    border:1px solid #e7e7e7;

    border-radius:16px;

    padding:0 22px;

    font-size:15px;

    color:#222;

    background:#fff;

    box-shadow:none;

    transition:.35s;

}

textarea.form-control{

    height:180px;

    padding-top:18px;

    resize:none;

}

.form-control::placeholder{

    color:#9a9a9a;

}

.form-control:focus{

    border-color:#fa0105;

    box-shadow:0 0 0 5px rgba(250,1,5,.08);

}

/*==========================================
        BUTTON
==========================================*/

.contact-form-box .theme-btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:16px 34px;

    border:none;

    border-radius:60px;

    background:#fa0105;

    color:#fff;

    font-weight:600;

    transition:.35s;

}

.contact-form-box .theme-btn i{

    transition:.35s;

}

.contact-form-box .theme-btn:hover{

    background:#181818;

    color:#fff;

}

.contact-form-box .theme-btn:hover i{

    transform:translateX(6px);

}

/*==========================================
        MAP
==========================================*/

.map-box{

    height:100%;

    min-height:650px;

    border-radius:28px;

    overflow:hidden;

    border:1px solid #ececec;

    box-shadow:0 18px 45px rgba(0,0,0,.06);

    transition:.4s;

}

.map-box:hover{

    transform:translateY(-6px);

    box-shadow:0 28px 60px rgba(0,0,0,.10);

}

.map-box iframe{

     width:100%;
    height:100%;
    min-height:650px;
    border:0;
    display:block;

}

/*==========================================
        RESPONSIVE
==========================================*/

@media(max-width:991px){

    .contact-form-section{

        padding:80px 0;

    }

    .contact-form-box{

        padding:35px;

    }

    .contact-form-box h2{

        font-size:42px;

    }

    .map-box{

        min-height:420px;

    }

}

@media(max-width:767px){

    .contact-form-box{

        padding:28px;

    }

    .contact-form-box h2{

        font-size:34px;

    }

    .contact-form-box p{

        font-size:15px;

        line-height:28px;

    }

    .form-control{

        height:56px;

    }

    textarea.form-control{

        height:160px;

    }

    .map-box{

        min-height:350px;

    }

}

@media(max-width:575px){

    .contact-form-section{

        padding:70px 0;

    }

    .contact-form-box{

        padding:24px;

        border-radius:22px;

    }

    .map-box{

        border-radius:22px;

    }

}




/*=========================================
    GLOBAL OFFICE SECTION
=========================================*/

.global-office-section{
    /* background:#f5f7fa; */
    padding:80px 0;
}

.office-wrapper{
    border-radius:30px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

/*=========================================
    RIGHT SIDE LAYOUT
=========================================*/

.office-content{

    position:relative;

    min-height:540px;

    overflow:hidden;

    border-radius:30px;

    background:#fff;

}

/*=========================================
    BACKGROUND IMAGE
=========================================*/

.office-banner{

    position:absolute;

    inset:0;

    z-index:1;

}

.office-banner img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    display:block;

}

/* Dark Overlay */

.office-banner::after{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.15);

}

/*=========================================
    LEFT WHITE PANEL
=========================================*/

.office-panel{

    position: absolute;
    left: 0;
    top: 0;
    width: 42%;
    height: 100%;
    background: #fff;
    z-index: 5;
    padding: 60px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-right-radius: 4%;
    border-bottom-right-radius: 3%;
    border: solid 3px #e61b230d;

}

/*=========================================
    RED CURVE BORDER
=========================================*/

.office-panel::after{

    content: "";
    position: absolute;
    right: -4px;
    top: -30px;
    width: 90%;
    height: calc(100% + 40px);
    border-right: 1px solid #ed1c2414;
    border-radius: 0 250px 250px 0;

}

/*=========================================
    BADGE
=========================================*/

.office-badge{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#ed1c24;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    font-weight:700;

    margin-bottom:25px;

}

/*=========================================
    TITLES
=========================================*/

.office-panel h2{

    font-size:34px;

    font-weight:700;

    color:#111;

    margin-bottom:10px;

}

.office-panel h5{

    color:#ed1c24;

    font-size:18px;

    margin-bottom:25px;

    font-weight:600;

}

/*=========================================
    DIVIDER
=========================================*/

.office-divider{

    width:80px;

    height:4px;

    background:#ed1c24;

    border-radius:20px;

    margin-bottom:30px;

}

/*=========================================
    OFFICE ITEMS
=========================================*/

.office-item{

    display:flex;

    align-items:flex-start;

    gap:18px;

    margin-bottom:22px;

}

.office-item i{

    color:#ed1c24;

    font-size:20px;

    width:24px;

    margin-top:4px;

}

.office-item span{

    color:#555;

    line-height:1.8;

    font-size:15px;

}

/*=========================================
    IMAGE HOVER
=========================================*/

.office-banner img{

    transition:.6s;

}

.office-content:hover .office-banner img{

    transform:scale(1.05);

}

@media (max-width:991px){

    .office-content{

        min-height:auto;

    }

    .office-banner{

        position:relative;

        height:320px;

    }

    .office-panel{

        position:relative;

        width:100%;

        border-radius:0;

        padding:40px 30px;

    }

    .office-panel::after{

        display:none;

    }

}

@media (max-width:576px){

    .office-panel{

        padding:30px 20px;

    }

    .office-panel h2{

        font-size:26px;

    }

    .office-badge{

        width:60px;

        height:60px;

        font-size:18px;

    }

}


/*=========================================
        LEFT SIDEBAR
=========================================*/

.office-sidebar{

    height:100%;

    background:#ffffff;

    border-right:1px solid #edf0f5;

    display:flex;

    flex-direction:column;

}

/*=========================================
        TAB
=========================================*/

.office-tab{

    position:relative;

    display:flex;

    align-items:center;

    gap:18px;

    padding:22px 24px;

    cursor:pointer;

    transition:all .35s ease;

    border-bottom:1px solid #edf0f5;

    overflow:hidden;

    background:#fff;

}

.office-tab:last-child{

    border-bottom:none;

}

.office-tab:hover{

    background:#f8fafc;

    padding-left:34px;

}

/*=========================================
        ACTIVE TAB
=========================================*/

.office-tab.active{

    background:#ed1c24;

}

.office-tab.active::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:5px;

    height:100%;

    background:#111;

}

.office-tab.active .country-name{

    color:#fff;

}

.office-tab.active .arrow{

    color:#fff;

}

/*=========================================
        COUNTRY CODE
=========================================*/

.country-code{

    width:56px;

    height:56px;

    min-width:56px;

    border-radius:16px;

    background:#f5f7fa;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:18px;

    font-weight:700;

    color:#ed1c24;

    transition:.35s;

}

.office-tab:hover .country-code{

    transform:rotate(-8deg) scale(1.08);

}

.office-tab.active .country-code{

    background:#fff;

    color:#ed1c24;

}

/*=========================================
        COUNTRY NAME
=========================================*/

.country-name{

    flex:1;

    font-size:16px;

    font-weight:600;

    color:#222;

    line-height:1.5;

    transition:.3s;

}

/*=========================================
        ARROW
=========================================*/

.arrow{

    color:#a5a5a5;

    font-size:15px;

    transition:.3s;

}

.office-tab:hover .arrow{

    transform:translateX(6px);

    color:#ed1c24;

}

.office-tab.active .arrow{

    color:#fff;

}

/*=========================================
        TAB ANIMATION
=========================================*/

.office-tab{

    animation:slideTab .4s ease;

}

@keyframes slideTab{

    from{

        opacity:0;

        transform:translateX(-15px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:991px){

.office-sidebar{

    border-right:none;

    border-bottom:1px solid #eee;

}

.office-tab{

    padding:18px 20px;

}

}

@media(max-width:576px){

.office-tab{

    gap:12px;

}

.country-code{

    width:46px;

    height:46px;

    min-width:46px;

    border-radius:12px;

    font-size:15px;

}

.country-name{

    font-size:14px;

}

}


.fade-panel{

    animation:fadePanel .45s ease;

}

@keyframes fadePanel{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


