@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap");

h1 {
    font-family: "intro_regular", sans-serif;
    color: black;
    position: relative;
}

.home-banner-header1 > h1::before {
    content: "";
    position: absolute;
    margin-bottom: -30px;
    bottom: 0px;
    width: 80px;
    height: 10px;
    background: #007949;
    z-index: -1;
}

p {
    color: #4d4d4d;
    font-family: "Roboto", sans-serif;
    line-height: 25px;
}
/* Footer Link start ------------------------------------------------------------------ */

a.footer-link:link,
a.footer-link:visited {
    padding: 0 5px;
    text-decoration: none;
    color: #4d4d4d;
}

a.footer-link:hover {
    color: #666;
}

a.footer-link:active {
    color: #999;
}

.home-contact-col2 ul {
    display: block;
    list-style-type: none;
    margin-top: 10px;
    color: rgb(77, 77, 77);
}

.home-contact-col2 li {
    margin: 10px 0;
}

.home-banner-header span {
    display: block;
    width: 100%;
    padding: 5px;
    border: 1px solid blue;
}

/* Footer Link end -------------------------------------------------------------------- */

.container-img {
    width: 100%;
    padding-top: 49%;
    background-image: url("../img/about-img-1.png");
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    position: relative;
}

/* Iframe Container -------------------------------------------------------------------- */
.container-map {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 30%; /* 16:9 Aspect Ratio (9 ÷ 16 = 0.5625) */
}

.container-map-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Back To Top Button -------------------------------------------------------------------- */
#button {
    display: inline-block;
    background-color: #ff9800;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
#button::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}
#button:hover {
    cursor: pointer;
    background-color: #333;
}
#button:active {
    background-color: #555;
}
#button.show {
    opacity: 1;
    visibility: visible;
}

/* Contact form Start ------------------------------------------------------------------ */
.form-container {
    display: flex;
    flex-wrap: wrap;
    font-size: 30px;
    box-sizing: border-box;
}

.form-halfcol {
    padding: 10px;
    flex: 50%;
    box-sizing: border-box;
}

.form-fullcol {
    padding: 10px;
    flex: 100%;
    box-sizing: border-box;
}

form div label {
    font-size: 14px;
    line-height: 48px;
    float: left;
    text-align: left;
    width: 120px;
    height: 50px;
    border-bottom: 1px solid #bbb;
}

form div .formstyle {
    /* width: calc(100% - 120px); */
    /* box-sizing: border-box; */
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    width: 100%;
    height: 50px;
    border: none;
    color: rgb(0, 0, 0);
    border-bottom: 1px solid #bbb;
    background-color: transparent;
}

form div .formbutton {
    float: left;
    padding: 15px 50px;
    border: none;
    border-radius: 3px;
    color: rgb(0, 0, 0);
    background-color: #999;
    cursor: pointer;
}

form div .formbutton:hover {
    background-color: #777;
}

form div .formbutton:active {
    background-color: #555;
}
/* Contact form end -------------------------------------------------------------------- */

/* ------------------- */
/* Tablet Layout */
/* ------------------- */
@media screen and (max-width: 1300px) {
    .home-banner-header span {
        display: block;
        width: 70%;
        padding: 5px;
    }
}

@media screen and (max-width: 1100px) {
    .home-banner-header span {
        display: block;
        width: 80%;
        padding: 5px;
    }
}

/* ------------------- */
/* Mobile Menu Layout */
/* ------------------- */
@media screen and (max-width: 970px) {
    .home-banner-header span {
        display: block;
        width: 50%;
        padding: 5px;
    }
    /* Iframe Container -------------------------------------------------------------------- */
    .container-map {
        padding-top: 40%;
    }
    /* Contact form start ------------------------------------------------------------------ */
    .form-halfcol,
    .form-fullcol {
        flex: 100%;
    }
    /* Contact form end -------------------------------------------------------------------- */
}

@media screen and (max-width: 640px) {
    p {
        font-size: 14px;
        line-height: 22px;
    }

    /* Iframe Container -------------------------------------------------------------------- */
    .container-map {
        padding-top: 62.5%;
    }

    .home-contact-col2 ul {
        font-size: 14px;
        display: block;
        list-style-type: none;
        margin-top: 10px;
        color: rgb(77, 77, 77);
    }

    .home-contact-col2 li {
        margin: 10px 0;
    }
}
