.primay__color {
    color: #1e9e87;
}

.secondary__color {
    color: #113397;
}

.light__color {
    color: #000000;
}

.dark__color {
    color: #ffffff;
}

#about-us4 {
    margin-top: 80px;
    padding-top: 80px;
}

.h2__style {
    text-align: left !important;
    font-weight: bold;
    text-transform: uppercase;
}

.h3__style {
    font-weight: bold;
    background-color: #1e9e87;
    display: inline-block;
    padding: 15px 10px 5px;
    border-radius: 20px 20px 0 0;
    color: white;
}

.contact__card-body {
    background-color: #113297;
    padding: 15px;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}

.card__detail {
    padding-left: 10px;
    margin-bottom: 10px;
}
.text__time{
    color: #b1b1b1;
    padding: 2px 15px;
}

.contact__link {
    color: #ffffff;
    padding: 2px 15px;
}

.contact__link.hovered {
    color: #ffffff;
    background-color: #1e9e87;
    border-radius: 10px;
}

.contact__map #map_canvas {
    /* border: solid 3px #113397 !important; */
    border-radius: 15px;
    border-bottom-left-radius: 100px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}

.copy-to-clipboard {
    position: relative;
    cursor: pointer;
}

.copy-to-clipboard::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -30px;
    left: 85%;
    background: #ffffff;
    color: #113297;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.copy-to-clipboard.show-tooltip::after {
    opacity: 1;
}

.map-image-wrapper img {
    width: 100%;
    transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 0 20px 20px  20px;
    background-color: #ffffff;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.map-image-wrapper img:hover {
    transform: scale(1.02);
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}

.hr__expand {
    border: 20px solid #1e9e87;
    width: 100%;
}


.container__card-bg {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url(../../images/contact/contact_bg1.png);
    /* border-radius: 10px; */
    margin: 40px 0px 0px;
    padding: 10px  50px;
    overflow: hidden;
    /* ป้องกัน overlay ล้นขอบโค้ง */
}

.container__card-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #113395;
    opacity: 0.8;
    /* ปรับความโปร่งใส: 0 (โปร่งใสสุด) ถึง 1 (ทึบสุด) */
    z-index: 1;
    /* border-radius: 10px; */
}

/* ให้เนื้อหาด้านในอยู่เหนือ overlay */
.container__card-bg>* {
    position: relative;
    z-index: 2;
}

/* ========================== */
/*           model            */
/* ========================== */
.map-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.map-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.map-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}