/* =====================================================
   BASE & RESET
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

.container {
    width: 1740px;
    max-width: 95%;
    margin: auto;
}

/* =====================================================
   CONTACT SECTION - Cards
===================================================== */
.contact-section {
    padding: 69px 0;
    background: #fff;
}

.contact-heading {
    text-align: center;
    margin-bottom: 85px;
}

.contact-heading h2 {
    font-size: 50px;
    color: #082753;
    font-weight: 400;
    line-height: 1.2;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.contact-card {
    position: relative;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    padding: 70px 30px 35px;
    text-align: center;
    transition: .35s;
}

.contact-card h3 {
    font-size: 22px;
    color: #082753;
    font-weight: 700;
    margin-bottom: 14px;
}

.contact-card p,
.contact-card a {
    display: block;
    color: #4a4a4a;
    font-size: 17px;
    line-height: 1.6;
    text-decoration: none;
    transition: .35s;
}

.contact-card a:hover {
    text-decoration: none;
}

/* Floating Icon */
.contact-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #f3f3f3;
    border: 2px solid #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    transition: .35s ease;
}

.contact-icon img,
.contact-icon svg {
    width: 36px;
    height: 36px;
    transition: .35s ease;
}

/* Hover Effect */
.contact-card:hover {
    background: #c97b8c;
    border-color: #c97b8c;
    transform: translateY(-6px);
}

.contact-card:hover h3,
.contact-card:hover p,
.contact-card:hover a {
    color: #fff;
}

.contact-card:hover .contact-icon {
    /* background: #c97b8c; */
    /* color: #042045; */
    /* margin: 10px; */
}

.contact-card:hover .contact-icon svg path,
.contact-card:hover .contact-icon svg circle,
.contact-card:hover .contact-icon svg line {
    stroke: #fff;
}

.contact-card:hover .contact-icon img {
    /* filter: brightness(0) invert(1); */
}

/* =====================================================
   CONTACT FORM SECTION
===================================================== */
.contact-form-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #042045 0%, #042147 49%, #0C4EA6 100%);
}

.contact-form-heading {
    margin-bottom: 35px;
}

.contact-form-heading .section-tag {
    display: inline-block;
    background: #8ca000;
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-form-heading h2 {
    color: #fff;
    font-size: 52px;
    font-weight: 400;
}

.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #042046;
    border: 1px solid #146BE0;
    border-radius: 6px;
    color: #fff;
    padding: 14px 16px;
    font-size: 16px;
    outline: none;
    transition: .3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8ca000;
    box-shadow: 0 0 0 3px rgba(140, 160, 0, 0.2);
}

.form-group textarea {
    resize: none;
    height: 120px;
}

.submit-btn {
    display: block;
    margin: 25px auto 0;
    border: none;
    background: #8ca000;
    color: #fff;
    padding: 13px 34px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.submit-btn:hover {
    background: #a6bf00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(140, 160, 0, 0.3);
}

/* =====================================================
   LOCATION SECTION
===================================================== */
.location-section {
    background: #fff;
    padding-top: 70px;
}

.location-heading {
    text-align: center;
    margin-bottom: 50px;
}

.location-heading .section-tag {
    display: inline-block;
    background: #9BC400;
    color: #fff;
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
}

.location-heading h2 {
    color: #082753;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.2;
}

.location-map {
    width: 100%;
    height: 650px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
===================================================== */

/* --- 1400px --- */
@media (max-width: 1400px) {
    .contact-grid {
        gap: 30px;
    }

    .contact-heading h2 {
        font-size: 44px;
    }

    .contact-form-heading h2 {
        font-size: 46px;
    }

    .location-heading h2 {
        font-size: 40px;
    }
}

/* --- 1200px --- */
@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 70px 30px;
    }

    .contact-heading h2 {
        font-size: 40px;
    }

    .contact-heading {
        margin-bottom: 70px;
    }

    .contact-card {
        padding: 60px 25px 30px;
    }

    .contact-card h3 {
        font-size: 20px;
    }

    .contact-card p,
    .contact-card a {
        font-size: 16px;
    }

    .contact-icon {
        width: 68px;
        height: 68px;
        top: -34px;
    }

    .contact-icon img,
    .contact-icon svg {
        width: 32px;
        height: 32px;
    }

    .contact-form-heading h2 {
        font-size: 40px;
    }

    .location-heading h2 {
        font-size: 36px;
    }

    .location-map {
        height: 550px;
    }
}

/* --- 992px --- */
@media (max-width: 992px) {
    .contact-section {
        padding: 80px 0;
    }

    .contact-heading h2 {
        font-size: 36px;
    }

    .contact-grid {
        gap: 60px 25px;
    }

    .contact-form-section {
        padding: 70px 0;
    }

    .contact-form-heading h2 {
        font-size: 36px;
    }

    .contact-form-heading .section-tag {
        font-size: 18px;
        padding: 8px 20px;
    }

    .form-row {
        gap: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 15px;
    }

    .location-section {
        padding-top: 70px;
    }

    .location-heading h2 {
        font-size: 32px;
    }

    .location-heading .section-tag {
        font-size: 18px;
        padding: 8px 20px;
    }

    .location-map {
        height: 480px;
    }
}

/* --- 768px --- */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .contact-heading {
        margin-bottom: 60px;
    }

    .contact-heading h2 {
        font-size: 30px;
    }

    .contact-card {
        padding: 55px 20px 25px;
        width: 400px;
        margin: 0 auto;
    }

    .contact-card h3 {
        font-size: 18px;
    }

    .contact-card p,
    .contact-card a {
        font-size: 15px;
    }

    .contact-icon {
        width: 64px;
        height: 64px;
        top: -32px;
    }

    .contact-icon img,
    .contact-icon svg {
        width: 30px;
        height: 30px;
    }

    .contact-form-section {
        padding: 60px 0;
    }

    .contact-form-heading {
        margin-bottom: 25px;
        text-align: center;
    }

    .contact-form-heading h2 {
        font-size: 30px;
    }

    .contact-form-heading .section-tag {
        font-size: 16px;
        padding: 6px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .form-group textarea {
        height: 100px;
    }

    .submit-btn {
        width: 100%;
        padding: 12px 28px;
        font-size: 14px;
        margin-top: 20px;
    }

    .location-section {
        padding-top: 60px;
    }

    .location-heading {
        margin-bottom: 35px;
    }

    .location-heading h2 {
        font-size: 28px;
    }

    .location-heading .section-tag {
        font-size: 16px;
        padding: 6px 18px;
        margin-bottom: 12px;
    }

    .location-map {
        height: 380px;
    }
}

/* --- 576px --- */
@media (max-width: 576px) {
    .contact-section {
        padding: 50px 0;
    }

    .contact-heading h2 {
        font-size: 26px;
    }

    .contact-heading {
        margin-bottom: 50px;
    }

    .contact-grid {
        gap: 60px;
    }

    .contact-card {
        padding: 50px 16px 22px;
        width: 250px;
        height: 170px;
    }

    .contact-card h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .contact-card p,
    .contact-card a {
        font-size: 14px;
    }

    .contact-icon {
        width: 58px;
        height: 58px;
        top: -29px;
    }

    .contact-icon img,
    .contact-icon svg {
        width: 26px;
        height: 26px;
    }

    .contact-form-section {
        padding: 50px 0;
    }

    .contact-form-heading h2 {
        font-size: 26px;
    }

    .contact-form-heading .section-tag {
        font-size: 14px;
        padding: 5px 16px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 4px;
    }

    .form-group textarea {
        height: 85px;
    }

    .submit-btn {
        padding: 10px 24px;
        font-size: 13px;
        border-radius: 4px;
    }

    .location-section {
        padding-top: 50px;
    }

    .location-heading h2 {
        font-size: 24px;
    }

    .location-heading .section-tag {
        font-size: 14px;
        padding: 5px 16px;
    }

    .location-map {
        height: 300px;
    }
}

/* --- 400px --- */
@media (max-width: 400px) {
    .contact-heading h2 {
        font-size: 22px;
    }

    .contact-card {
        padding: 45px 14px 20px;
    }

    .contact-card h3 {
        font-size: 16px;
    }

    .contact-card p,
    .contact-card a {
        font-size: 13px;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
        top: -26px;
    }

    .contact-icon img,
    .contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-form-heading h2 {
        font-size: 22px;
    }

    .contact-form-heading .section-tag {
        font-size: 12px;
        padding: 4px 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 12px;
    }

    .form-group textarea {
        height: 70px;
    }

    .submit-btn {
        padding: 9px 20px;
        font-size: 12px;
    }

    .location-heading h2 {
        font-size: 20px;
    }

    .location-heading .section-tag {
        font-size: 12px;
        padding: 4px 14px;
    }

    .location-map {
        height: 250px;
    }
}