﻿/* =========================================
   CONTACT HERO SECTION
========================================= */

.contact-hero {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #ffffff;
}

/* =========================================
   BACKGROUND IMAGE
========================================= */

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    background:
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1600&auto=format&fit=crop')
    center center/cover no-repeat;
    clip-path: polygon(14% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* =========================================
   BLUE CURVE SHAPE
========================================= */

.contact-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 520px;
    height: 240px;
    background: #0A43B8;
    border-radius: 50%;
    transform: rotate(-8deg);
    border-top: 5px solid #d9a441;
}

/* =========================================
   OVERLAY
========================================= */

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background:
    linear-gradient(
        90deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.96) 38%,
        rgba(255,255,255,0.70) 58%,
        rgba(255,255,255,0.10) 100%
    );
    z-index: 1;
}

/* =========================================
   CONTAINER
========================================= */

.contact-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding: 0 40px;
}

/* =========================================
   WRAPPER
========================================= */

.contact-hero-wrapper {
    width: 100%;
}

/* =========================================
   CONTENT
========================================= */

.contact-hero-content {
    max-width: 560px;
    padding-top: 20px;
}

/* =========================================
   SUBTITLE
========================================= */

.contact-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0A43B8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-subtitle::after {
    content: "";
    width: 38px;
    height: 2px;
    background: #d9a441;
}

/* =========================================
   TITLE
========================================= */

.contact-hero-content h1 {
    color: #071c4d;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

/* =========================================
   TEXT
========================================= */

.contact-hero-content p {
    color: #4c566f;
    font-size: 17px;
    line-height: 1.9;
    max-width: 540px;
    margin-bottom: 32px;
}

/* =========================================
   BUTTONS
========================================= */

.contact-hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* BUTTON */

.contact-btn-primary,
.contact-btn-outline {
    padding: 15px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.4s ease;
}

/* PRIMARY */

.contact-btn-primary {
    background: #d9a441;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(217,164,65,0.25);
}

.contact-btn-primary:hover {
    background: #c7922f;
    transform: translateY(-3px);
}

/* OUTLINE */

.contact-btn-outline {
    border: 1px solid #ccd5e7;
    color: #0A43B8;
    background: #ffffff;
}

.contact-btn-outline:hover {
    background: #0A43B8;
    color: #ffffff;
    border-color: #0A43B8;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .contact-hero {
        height: auto;
        padding: 120px 0 80px;
    }

    .contact-hero::before {
        width: 100%;
        opacity: 0.15;
        clip-path: none;
    }

    .contact-hero::after {
        display: none;
    }

    .contact-hero-content h1 {
        font-size: 42px;
    }

}

@media (max-width: 767px) {

    .contact-hero {
        padding: 110px 0 70px;
    }

    .contact-hero .container {
        padding: 0 20px;
    }

    .contact-hero-content {
        padding-top: 0;
    }

    .contact-hero-content h1 {
        font-size: 34px;
    }

    .contact-hero-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .contact-hero-btns {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .contact-btn-primary,
    .contact-btn-outline {
        width: 100%;
        justify-content: center;
    }

}


/* =========================================
   CONTACT INFO SECTION
========================================= */

.contact-info-section{
    padding: 30px 0;
    background: #ffffff;
}

/* =========================================
   CONTAINER
========================================= */

.container{
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding: 0 40px;
}

/* =========================================
   SECTION HEADING
========================================= */

.contact-info-heading{
    text-align: center;
    margin-bottom: 50px;
}

.contact-info-subtitle{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0A43B8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.contact-info-subtitle::before,
.contact-info-subtitle::after{
    content: "";
    width: 40px;
    height: 2px;
    background: #d9a441;
}

.contact-info-heading h2{
    color: #071c4d;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 14px;
    font-family: 'Montserrat', sans-serif;
}

.contact-info-heading p{
    color: #5a647c;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   GRID
========================================= */

.contact-info-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
}

/* =========================================
   CARD
========================================= */

.contact-info-card{
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    transition: 0.35s ease;
    box-shadow: 0 4px 18px rgba(15,23,42,0.03);
}

.contact-info-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(15,23,42,0.07);
}

/* =========================================
   ICON
========================================= */

.contact-info-icon{
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #f3f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-info-icon i{
    color: #0A43B8;
    font-size: 30px;
}

/* =========================================
   TITLE
========================================= */

.contact-info-card h3{
    color: #071c4d;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

/* =========================================
   TEXT
========================================= */

.contact-info-card p{
    color: #4f5a75;
    font-size: 15px;
    line-height: 1.45;
    margin: 0 0 4px;
}

.contact-info-card span{
    color: #4f5a75;
    font-size: 15px;
    line-height: 1.45;
    display: block;
    margin: 0;
}

/* =========================================
   ADDRESS CARD
========================================= */

.contact-info-card.address-card p,
.contact-info-card.address-card span{
    line-height: 1.5;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px){

    .contact-info-section{
        padding: 80px 0;
    }

    .contact-info-grid{
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }

    .contact-info-heading h2{
        font-size: 34px;
    }

}

@media (max-width: 767px){

    .contact-info-section{
        padding: 70px 0;
    }

    .container{
        padding: 0 20px;
    }

    .contact-info-grid{
      grid-template-columns: repeat(2,1fr);
    gap: 16px;
    }
    .contact-info-card{
    padding: 24px 16px;
}

.contact-info-icon{
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
}

.contact-info-icon i{
    font-size: 24px;
}

.contact-info-card h3{
    font-size: 15px;
    margin-bottom: 10px;
}

.contact-info-card p,
.contact-info-card span{
    font-size: 13px;
    line-height: 1.45;
}
    .contact-info-heading{
        margin-bottom: 40px;
    }

    .contact-info-heading h2{
        font-size: 28px;
    }

    .contact-info-heading p{
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-info-card{
        padding: 28px 20px;
    }

    .contact-info-icon{
        width: 72px;
        height: 72px;
    }

    .contact-info-icon i{
        font-size: 28px;
    }

}

/* =========================================
   MAP SECTION
========================================= */

.contact-map-section{
    padding: 0 0 40px;
    background: #ffffff;
}

.contact-map-wrapper{
    position: relative;
    width: 100%;
    height: 270px;
    border-radius: 18px;
    overflow: hidden;
    background:
    url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=1800&auto=format&fit=crop')
    center center/cover no-repeat;
    border: 1px solid #edf1f7;
}

/* WHITE OVERLAY */

.contact-map-wrapper::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.45);
}

/* =========================================
   MAP CARD
========================================= */

.contact-map-card{
    position: absolute;
    top: 20px;
    left: 20px;
    width: 320px;
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 28px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
}

.map-card-icon{
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f3f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.map-card-icon i{
    color: #0A43B8;
    font-size: 22px;
}

.contact-map-card h3{
    color: #071c4d;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    font-family: 'Montserrat', sans-serif;
}

.contact-map-card p{
    color: #55627d;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.direction-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d9a441;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.direction-btn:hover{
    gap: 14px;
}

/* =========================================
   CTA SECTION
========================================= */

.contact-cta-section{
    padding: 0 0 90px;
    background: #ffffff;
}

.contact-cta-wrapper{
    position: relative;
    background:
    linear-gradient(rgba(3,27,93,0.90),rgba(3,27,93,0.90)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1600&auto=format&fit=crop')
    center center/cover no-repeat;
    border-radius: 14px;
    padding: 42px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

/* CONTENT */

.contact-cta-content{
    max-width: 520px;
}

.contact-cta-content h2{
    color: #ffffff;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
}

.contact-cta-content p{
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.9;
}

/* BUTTONS */

.contact-cta-buttons{
    display: flex;
    align-items: center;
    gap: 18px;
}

/* BUTTON */

.cta-btn-primary,
.cta-btn-outline{
    height: 58px;
    min-width: 190px;
    padding: 0 30px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

/* PRIMARY */

.cta-btn-primary{
    background: #d9a441;
    color: #ffffff;
}

.cta-btn-primary:hover{
    background: #c8952f;
}

/* OUTLINE */

.cta-btn-outline{
    border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff;
    background: transparent;
}

.cta-btn-outline:hover{
    background: #ffffff;
    color: #071c4d;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px){

    .contact-map-card{
        width: 290px;
    }

    .contact-cta-wrapper{
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 35px;
    }

    .contact-cta-content h2{
        font-size: 34px;
    }

}

@media (max-width: 767px){

    .container{
        padding: 0 20px;
    }

    .contact-map-wrapper{
        height: 340px;
    }

    .contact-map-card{
        width: calc(100% - 30px);
        left: 15px;
        top: 15px;
        padding: 24px 22px;
    }

    .contact-map-card p{
        font-size: 14px;
        line-height: 1.7;
    }

    .contact-cta-section{
        padding-bottom: 70px;
    }

    .contact-cta-wrapper{
        padding: 35px 24px;
    }

    .contact-cta-content h2{
        font-size: 28px;
    }

    .contact-cta-content p{
        font-size: 15px;
        line-height: 1.8;
    }

    .contact-cta-buttons{
        width: 100%;
        flex-direction: column;
    }

    .cta-btn-primary,
    .cta-btn-outline{
        width: 100%;
        min-width: 100%;
    }

}