 @import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

.contactbody {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: #FAFBFC;

}
.contact-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: flex;
    width: 80vw;
    overflow: hidden;
    margin-top: 8vw;
    margin-bottom: 5vw;
}

.contact-form {
    padding: 30px;
    flex: 1;
}
.contact-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
}
.contact-form p {
    margin-bottom: 30px;
    color: #555;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;

}

.contact-form button {
    padding: 10px 20px;
    background-color: #0077ff;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
.contact-form button:hover {
    background-color: #000000;
}
.contact-info {
    display: flex;
    flex-direction: column;
    
    margin-top: 20px;
    font-size: 14px; 
}
.contact-info .location{
    display: flex;
    width: 500px;
}

.contact-info div {
    display: flex;
    align-items: center;
    padding: 10px;
}
.contact-info img {
    margin-right: 8px;
    width: 35px;
    height: 35px;
}
.map-container {
   
    margin-top: 3%;
    margin-right: 2vw;
    /* margin: 2vw; */
    width: 100%;
    height: 400px;
    flex: 1;
}
iframe {
    width: 100%;
    height: 25vw;
    border: none;
}

.check-box {
    display: flex;
}
.check-box input {
    width: auto;
}
.check-box div {
    margin-left: 0.5vw;
    margin-top: 0.1vw;
    color: #2600ff;
}

.top-section {
    display: flex;
    flex-direction: row;
}

@media only screen and (max-width: 768px) {
    .top-section {
        width: 100%;
        height: auto;
        flex-direction: column;
    }
    .contact-container {
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        display: flex;
        width: 95%;
        overflow: hidden;
        margin-top: 12vw;
        margin-bottom: 2vw;
    }
    .contact-form {
        padding: 6vw;
        flex: 1;
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact-form h2 {
        font-size: 8.5vw;
        margin-bottom: 3vw;
    }
    .contact-form p {
        font-size: 3.5vw;
        margin-bottom: 5vw;
    }
    .contact-form input {
        width: 90vw;
        height: 10vw;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 4.5vw;
    }
    .contact-form select {
        width: 90vw;
        height: 12vw;
        padding: 0;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 4.5vw;
    }
    .contact-form select option {
        font-size: 10vw;
    }
    .contact-form textarea {
        width: 90vw;
        height: 35vw;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 4.5vw;
    }
    form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .p1{
        width: auto;
    }
    #flexCheckIndeterminate {
        width: 2vw;
    }
    .map-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 3%;
        margin-right: 0;
        width: 100%;
        height: auto;
        flex: 1;
        background-color: #fafafa;
        padding-top: 3vw;
    }
    .iframe {
        width: auto;
        height: auto;
        border: 1px solid black;
    }
    iframe {
        width: 80vw;
        height: 60vw;
    }
    .contact-info {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        font-size: 4vw;
        font-weight: 500;
        width: 90vw;
    }
    .contact-info div {
        display: flex;
        align-items: center;
        padding: 10px;
        width: 100%;
    }
    .contact-info .location{
        display: flex;
        width: 100%;
    }
    .check-box{
        display: flex;
    }
    .form-check-input {
        transform: scale(0.7);
    }
    .check-box div {
        margin-left: 0.5vw;
        margin-top: 2.5vw;
        color: #2600ff;
        font-size: 5vw;
    }
    .contact-form button {
        padding: 3px 0;
        background-color: #0077ff;
        border: none;
        border-radius: 4px;
        color: white;
        font-size: 7vw;
        cursor: pointer;
        width: 40vw;
        height: 12vw;
    }
}

