/* Contact Hero */
.contact-hero-wrapper {
    background-color: #F0F8FF;
    padding: 42px 20px 36px;
    text-align: center;
}

.contact-hero {
    max-width: 800px;
    margin: 0 auto;
}


.contact-hero h1 {
    font-size: clamp(32px, 4vw, 43px);
    font-weight: bold;
    color: #000;
    margin-bottom: 12px;
    line-height: 102%;
}

.contact-hero p {
    font-size: 20px;
    color: #121420;
    line-height: 1.31;
}

/* Contact Info Cards */
.contact-cards-container {
    max-width: 905px;
    margin: 54px auto 60px;
    padding: 0 40px;
    font-family: 'Poppins', sans-serif;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-info-card {
    background-color: #FFFFFF;
    border-radius: 25px;
    padding: 25px 15px;
    text-align: center;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
    border-top: 6px solid #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0px 0px 25px 0px #CECDDA40;

}

.contact-info-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-top-color: #0090FF;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* background-color: #F5F5F5; */
    /* border: 1px solid #EAEAEA; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 5px;
    font-size: 44px;
    color: #0090FF;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    color: #0090FF;
    transform: scale(1.1);
}

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

.contact-info-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #424242;
    margin-bottom: 7px;
}

.contact-info-card p {
    font-size: 15px;
    color: #767676;
    line-height: 1.6;
    margin-bottom: 2px;
}

.contact-info-card .bottom-p {
    color: #424242;
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}


/* Contact Form */
.contact-form-section {
    max-width: 1250px;
    margin: 0 auto 80px;
    padding: 0 20px;
    font-family: "Poppins", sans-serif;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.contact-form-container {
    width: 700px;
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 27px 40px;
    border-top: 6px solid #000000;
    box-shadow: 0px 2px 12px 0px #0000000D;
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0px 8px 24px 0px #00000026;
    border-top-color: #0090FF;
}

.contact-form-container h2 {
    font-size: 21px;
    color: #1F2933;
    margin-bottom: 17px;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    color: #1F2933;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background-color: #F8F8F8;
    border: 1px solid transparent;
    border-radius: 20px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #9C9C9C;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0A0A0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #0090FF;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 144, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Custom Select Styling */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.form-select {
    width: 100%;
    padding: 14px 20px;
    background-color: #FFFFFF;
    border: 1px solid #121420;
    /* Dark border as per screenshot */
    border-radius: 20px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    appearance: none;
    /* Hide default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus {
    border-color: #0090FF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 144, 255, 0.1);
}

.select-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 16px;
    color: #121420;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #044179;
    color: white;
    border: none;
    border-radius: 22px;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #022c53;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* height: 450px; */
    flex: 1;
    height: 100%;
    transition: all 0.3s ease;
}


.location-map {
    height: 100%;
    width: 100%;
}

.map-container:hover {
    /* transform: scale(1.05); */
    box-shadow: 0px 8px 24px 0px #00000026;
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -65%);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-hero-wrapper {
        padding-bottom: 120px;
    }

    .contact-form-section {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        width: 100%;
    }

    .location-map {
        /* height: 100%; */
        height: 400px;
    }

}


@media (max-width: 768px) {

    /* Hero */
    .contact-hero-wrapper {
        padding: 28px 16px 32px;
    }

    .contact-hero h1 {
        font-size: clamp(24px, 7vw, 34px);
        margin-bottom: 8px;
    }

    .contact-hero p {
        font-size: 15px;
    }

    /* Cards */
    .contact-cards-container {
        padding: 0 16px;
        margin: 24px auto 32px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-info-card {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 30px;
    }

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

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

    .contact-info-card p {
        font-size: 13px;
    }

    /* Form */
    .contact-form-section {
        margin: 56px auto 50px;
        padding: 0 16px;
    }

    .contact-form-container {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .contact-form-container h2 {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group textarea {
        padding: 11px 14px;
        font-size: 13px;
        border-radius: 14px;
    }

    .form-group textarea {
        min-height: 110px;
    }

    .form-select {
        padding: 11px 14px;
        font-size: 13px;
        border-radius: 14px;
    }

    .submit-btn {
        font-size: 15px;
        padding: 11px;
        border-radius: 16px;
    }

    /* Map */

    .map-container {
        height: 280px;
        border-radius: 14px;
    }

    .map-info-card {
        top: 15px;
        left: 15px;
        right: 15px;
        max-width: none;
    }
}