/*====================================================
CONTACT PAGE
====================================================*/

/*====================================
COMMON
====================================*/

.contact-hero,
.contact-section,
.map-section,
.support-section,
.contact-faq{

    padding:110px 0;

}

.section-heading{

    text-align:center;

    margin-bottom:70px;

}

.section-heading h2{

    font-size:46px;

    margin:18px 0;

    color:var(--secondary);

}

.section-heading p{

    max-width:700px;

    margin:auto;

    color:#6b7280;

    line-height:1.8;

}

/* ====================================
   CONTACT HERO
==================================== */

.contact-hero {

    padding: 65px 0 70px;

    background: linear-gradient(
        135deg,
        #eef5ff,
        #ffffff
    );

    position: relative;
    overflow: hidden;
    text-align: center;

}


/* Decorative circle */

.contact-hero::before {

    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: #2563eb10;

    top: -190px;
    right: -100px;

}


.contact-hero::after {

    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background: #3b82f615;

    left: -100px;
    bottom: -120px;

}


.contact-hero .container {

    position: relative;
    z-index: 2;

}


/* Heading */

.contact-hero h1 {

    font-size: 54px;

    margin: 12px 0 18px;

    color: var(--secondary);

}


/* Description */

.contact-hero p {

    max-width: 700px;

    margin: auto;

    color: #6b7280;

    line-height: 1.7;

    font-size: 17px;

}

/*====================================
CONTACT LAYOUT
====================================*/

.contact-wrapper{

    display:grid;

    grid-template-columns:380px 1fr;

    gap:50px;

    align-items:start;

}

/*====================================
LEFT SIDE
====================================*/

.contact-info{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.info-card{

    display:flex;

    align-items:flex-start;

    gap:20px;

    background:#ffffff;

    padding:28px;

    border-radius:24px;

    box-shadow:0 18px 40px rgba(0,0,0,.06);

    transition:.35s;

}

.info-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 60px rgba(37,99,235,.15);

}

.info-card span{

    width:62px;

    height:62px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:18px;

    background:#eef4ff;

    color:var(--primary);

    font-size:30px;

    flex-shrink:0;

}

.info-card h3{

    margin-bottom:10px;

    font-size:22px;

}

.info-card p{

    color:#6b7280;

    line-height:1.8;

}

.contact-section {

    min-height: calc(100svh - 90px);

    display: flex;

    align-items: center;

    box-sizing: border-box;

    padding: 25px 0;

}

/*====================================
FORM
====================================*/

.contact-form {

    background: #ffffff;

    padding: clamp(22px, 3vw, 45px);

    border-radius: 30px;

    box-shadow: 0 20px 55px rgba(0,0,0,.08);

    box-sizing: border-box;

}


/* ====================================
   FORM HEADING
==================================== */

.contact-form h2 {

    font-size: clamp(26px, 2.5vw, 36px);

    margin-bottom: 10px;

}


.contact-form > p {

    color: #6b7280;

    margin-bottom: clamp(18px, 2vw, 35px);

}


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

.input-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: clamp(12px, 1.5vw, 20px);

}


/* ====================================
   INPUT GROUP
==================================== */

.input-group {

    display: flex;

    flex-direction: column;

    margin-bottom: clamp(12px, 1.5vw, 22px);

}


.input-group label {

    margin-bottom: 7px;

    font-weight: 600;

    color: var(--secondary);

}


/* ====================================
   INPUTS
==================================== */

.input-group input,
.input-group textarea {

    width: 100%;

    padding: clamp(11px, 1.2vw, 16px)
             clamp(13px, 1.4vw, 18px);

    border: 1px solid #dbe4f0;

    border-radius: 14px;

    outline: none;

    font-size: clamp(14px, 1.1vw, 16px);

    transition: .3s;

    background: #fafcff;

    box-sizing: border-box;

}


.input-group textarea {

    resize: none;

    min-height: 110px;

}


/* ====================================
   FOCUS
==================================== */

.input-group input:focus,
.input-group textarea:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 4px rgba(37,99,235,.10);

    background: #ffffff;

}


/* ====================================
   BUTTON
==================================== */

.contact-form .btn {

    margin-top: 5px;

    width: 220px;

}


/* ====================================
   SHORT HEIGHT SCREENS
==================================== */

@media (max-height: 800px) {

    .contact-form {

        padding: 25px 30px;

    }

    .contact-form > p {

        margin-bottom: 18px;

    }

    .input-group {

        margin-bottom: 12px;

    }

    .input-group label {

        margin-bottom: 5px;

    }

    .input-group input,
    .input-group textarea {

        padding: 10px 14px;

    }

    .input-group textarea {

        min-height: 80px;

    }

}


/* ====================================
   VERY SHORT SCREENS
==================================== */

@media (max-height: 650px) {

    .contact-form {

        padding: 18px 25px;

        border-radius: 22px;

    }

    .contact-form h2 {

        margin-bottom: 5px;

    }

    .contact-form > p {

        margin-bottom: 10px;

    }

    .input-grid {

        gap: 10px;

    }

    .input-group {

        margin-bottom: 8px;

    }

    .input-group input,
    .input-group textarea {

        padding: 8px 12px;

    }

    .input-group textarea {

        min-height: 65px;

    }

    .contact-form .btn {

        margin-top: 2px;

    }

}


/* ====================================
   MOBILE
==================================== */

@media (max-width: 768px) {

    .input-grid {

        grid-template-columns: 1fr;

        gap: 0;

    }

    .contact-form {

        padding: 25px 20px;

    }

    .contact-form .btn {

        width: 100%;

    }

}

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

.map-section {
    padding: 90px 0;
    background: #f7f9fc;
}


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

.maps-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;

    margin-top: 45px;
}


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

.map-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e8edf5;

    border-radius: 20px;

    box-shadow:
        0 12px 35px rgba(20, 40, 80, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.map-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px rgba(20, 40, 80, 0.12);
}


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

.map-card-header {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 24px 24px 20px;
}


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

.map-location-icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(30, 75, 210, 0.1);

    color: var(--primary, #1d4ed8);
}


.map-location-icon
.material-symbols-outlined {
    font-size: 25px;
}


/* ==========================================
   LOCATION DETAILS
========================================== */

.map-card-header h3 {
    margin: 0 0 7px;

    color: #111827;

    font-size: 20px;

    font-weight: 700;

    line-height: 1.3;
}


.map-card-header p {
    margin: 0;

    color: #64748b;

    font-size: 14px;

    line-height: 1.6;
}


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

.map-wrapper {
    position: relative;

    width: 100%;

    height: 300px;

    overflow: hidden;
}


.map-wrapper iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* ==========================================
   DIRECTIONS
========================================== */

.map-direction {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin: 17px 24px 22px;

    color: var(--primary, #1d4ed8);

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        gap 0.25s ease;
}


.map-direction:hover {
    gap: 11px;
}


.map-direction
.material-symbols-outlined {
    font-size: 18px;
}

/*====================================================
SUPPORT CTA
====================================================*/

.support-card{

    background:linear-gradient(
        135deg,
        var(--primary),
        #4f8dfd
    );

    border-radius:30px;

    padding:50px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    overflow:hidden;

    position:relative;

}

.support-card::before{

    content:"";

    position:absolute;

    width:280px;

    height:280px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    right:-80px;

    top:-80px;

}

.support-left{

    display:flex;

    align-items:center;

    gap:25px;

    z-index:2;

}

.support-icon{

    width:90px;

    height:90px;

    border-radius:24px;

    background:rgba(255,255,255,.15);

    display:flex;

    justify-content:center;

    align-items:center;

}

.support-icon span{

    color:#fff;

    font-size:42px;

}

.support-left h2{

    color:#fff;

    font-size:36px;

    margin-bottom:10px;

}

.support-left p{

    color:#dbeafe;

    line-height:1.8;

    max-width:550px;

}

.support-right{

    z-index:2;

}

.support-right .btn{

    border:2px solid #fff;

    color:var(--primary);

}

.support-right .btn:hover{

    background:#fff;

    color:var(--primary);

}

/*====================================================
FAQ
====================================================*/

.contact-faq{

    background:#ffffff;

}

.faq-list{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.faq-item{

    background:#fff;

    border-radius:24px;

    padding:35px;

    border:1px solid #eef2f7;

    transition:.35s;

    box-shadow:0 15px 35px rgba(0,0,0,.05);

}

.faq-item:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 55px rgba(37,99,235,.12);

}

.faq-item h3{

    font-size:22px;

    margin-bottom:15px;

    color:var(--secondary);

}

.faq-item p{

    color:#6b7280;

    line-height:1.8;

}

/*====================================================
BUTTON HOVER
====================================================*/

.contact-form .btn{

    transition:.35s;

}

.contact-form .btn:hover{

    transform:translateY(-3px);

}

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

@media(max-width:1200px){

    .contact-wrapper{

        grid-template-columns:320px 1fr;

    }

}

@media(max-width:992px){

    .contact-wrapper{

        grid-template-columns:1fr;

    }

    .input-grid{

        grid-template-columns:1fr;

    }

    .support-card{

        flex-direction:column;

        text-align:center;

    }

    .support-left{

        flex-direction:column;

    }

    .faq-list{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .contact-hero {

        padding: 45px 0 50px;

    }

    .contact-hero h1 {

        font-size: 40px;

        margin: 10px 0 14px;

    }

    .contact-hero p {

        font-size: 15px;

        line-height: 1.7;

        padding: 0 15px;

    }

    .contact-hero::before {

        width: 280px;
        height: 280px;

        top: -150px;
        right: -130px;

    }

    .contact-hero::after {

        width: 200px;
        height: 200px;

        left: -120px;
        bottom: -120px;

    }

    .map-wrapper iframe{

        height:350px;

    }

    .support-card{

        padding:35px 25px;

    }

    .support-left h2{

        font-size:28px;

    }

    .support-icon{

        width:70px;

        height:70px;

    }

    .support-icon span{

        font-size:34px;

    }

}





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

@media (max-width: 992px) {

    .maps-grid {
        grid-template-columns: 1fr;

        max-width: 750px;

        margin-left: auto;
        margin-right: auto;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .map-section {
        padding: 65px 0;
    }

    .maps-grid {
        gap: 22px;

        margin-top: 35px;
    }

    .map-card-header {
        padding: 20px;
    }

    .map-card-header h3 {
        font-size: 18px;
    }

    .map-card-header p {
        font-size: 13px;
    }

    .map-wrapper {
        height: 260px;
    }

    .map-direction {
        margin-left: 20px;
        margin-right: 20px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .map-section {
        padding: 50px 0;
    }

    .map-card {
        border-radius: 16px;
    }

    .map-card-header {
        gap: 12px;

        padding: 18px;
    }

    .map-location-icon {
        width: 42px;
        height: 42px;

        border-radius: 12px;
    }

    .map-location-icon
    .material-symbols-outlined {
        font-size: 22px;
    }

    .map-card-header h3 {
        font-size: 17px;
    }

    .map-card-header p {
        font-size: 12px;
        line-height: 1.5;
    }

    .map-wrapper {
        height: 230px;
    }

}