/* ==========================================
            CONTACT SECTION
========================================== */

.contact-section {
    width: 100%;
    min-height: calc(100vh - 190px); /* Fits below topbar + navbar in one scroll */
    display: flex;
    align-items: center;
    padding: 20px 0;
    background: #ffffff;
}

.contact-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: stretch;
    gap: 50px;
}

/* ==========================================
                LEFT IMAGE
========================================== */

.contact-image {
    flex: 0 0 47%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 230px); /* Never taller than the visible area */
    min-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* ==========================================
              RIGHT SIDE
========================================== */

.contact-form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    margin: 0 0 14px;
    color: #0A1650;
    font-family: "Roboto", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}

.contact-subtitle {
    margin: 0 0 22px;
    padding-top: 4px;
    color: #0A1650;
    font-family: "Roboto", sans-serif;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.2px;
    opacity: 0.85;
}

/* ==========================================
                FORM GRID
========================================== */

.contact-form {
    width: 100%;
}

.contact-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.contact-row-full {
    margin-bottom: 12px;
}

/* ==========================================
              INPUT FIELDS
========================================== */

.contact-field input,
.contact-row-full input,
.contact-row-full textarea {
    width: 100%;
    border: 1px solid #d8dce5;
    border-radius: 10px;
    background: #ffffff;
    padding: 11px 15px; /* Shorter strips = big vertical saving x6 fields */
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    color: #444;
    outline: none;
    transition: .30s;
}

.contact-row-full textarea {
    resize: none;
    height: 78px; /* Compact message box */
}

.contact-field input::placeholder,
.contact-row-full input::placeholder,
.contact-row-full textarea::placeholder {
    color: #8a8a8a;
}

/* Focus */
.contact-field input:focus,
.contact-row-full input:focus,
.contact-row-full textarea:focus {
    border-color: #0A1650;
    box-shadow: 0 0 0 4px rgba(10,22,80,.08);
}

/*==========================================
            CHECKBOX
==========================================*/

.contact-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 2px 0 14px;
    cursor: pointer;
}

.contact-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #0A1650;
    cursor: pointer;
    flex-shrink: 0;
}

.contact-checkbox span {
    color: #444;
    font-family: "Roboto", sans-serif;
    font-size: 13.5px;
    line-height: 1.45;
    font-weight: 700;
}

/*==========================================
            SUBMIT BUTTON
==========================================*/

.contact-submit-btn {
    width: 100%;
    height: 48px;
    border: none;
    outline: none;
    border-radius: 60px;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #760070 0%, #083c93 100%);
    transition: .45s ease;
}

/* Hover */
.contact-submit-btn:hover {
    background: linear-gradient(90deg, #083c93 0%, #760070 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(8,60,147,.25);
}

/*==========================================
            RESPONSIVE
==========================================*/

@media(max-width:1200px) {
    .contact-container {
        gap: 30px;
    }
    .contact-title {
        font-size: 30px;
    }
}

/* Below 991px the stacked layout can't fit one screen,
   so release the height lock and let it scroll naturally */
@media(max-width:991px) {
    .contact-section {
        min-height: auto;
        display: block;
        padding: 35px 0;
    }
    .contact-container {
        flex-direction: column;
        gap: 25px;
    }
    .contact-image {
        width: 100%;
    }
    .contact-image img {
        max-height: none;
        min-height: 320px;
        height: 320px;
    }
    .contact-title {
        font-size: 30px;
    }
    .contact-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media(max-width:768px) {
    .contact-title {
        font-size: 27px;
    }
    .contact-subtitle {
        font-size: 18px;
    }
    .contact-checkbox span {
        font-size: 13px;
    }
}

@media(max-width:576px) {
    .contact-container {
        padding: 0 15px;
    }
    .contact-image img {
        min-height: 240px;
        height: 240px;
    }
    .contact-title {
        font-size: 25px;
    }
    .contact-subtitle {
        font-size: 17px;
    }
    .contact-submit-btn {
        height: 46px;
    }
}







/*=========================================
        GLOBAL CONTACT CARDS
=========================================*/

.global-contact-section{
    background:#042843;
    padding:45px 0;
}

.global-contact-container{
    max-width:1400px;
    margin:auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.contact-card{
    background:#f7f7f7;
    border-radius:12px;

    padding:16px 26px;

    text-align:center;

    transition:.35s;
}

.contact-card:hover{
    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.contact-card h3{

    color:#08295b;

    font-size:22px;

    font-weight:700;

    margin-bottom:24px;
    
    line-height:12px;
    
    
}

.contact-card h4{

    color:#666;

    font-size:16px;

    font-weight:700;

    margin-bottom:6px;
    
     line-height:24px;
}

.contact-card p{

    color:#707070;

    font-size:16px;

    line-height:24px;

    margin-bottom:2px;
}

.contact-card i{

    color:#8a8a8a;

    width:26px;
}

/* Center Last Card */

.center-card{

    grid-column:2;
}

/*=========================
      Responsive
=========================*/

@media(max-width:991px){

.global-contact-container{

    grid-template-columns:repeat(2,1fr);
}

.center-card{

    grid-column:auto;
}

}

@media(max-width:767px){

.global-contact-container{

    grid-template-columns:1fr;
}

.contact-card{

    padding:25px;
}

.contact-card h3{

    font-size:20px;
}

.contact-card p{

    font-size:16px;
}

.center-card{

    grid-column:auto;
}

}