@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

html body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* nav */
/* header */
header {
    width: 100%;
    padding: 25px;
}

.menu-open {
    font-size: 40px;
    cursor: pointer;
    color: rgb(10, 1, 1);
    float: right;
    padding: 5px;
}

@media (min-width: 800px) {

    header,
    .nav-close {
        display: none;
    }
}

/* header ends */
/* navbar links */
@media only screen and (min-width: 661px) and (max-width: 915px) and (orientation: landscape) {
    .menu-open {
        padding: 0px !important;
    }

    nav a {
        font-size: 20px !important;
    }

    .logo a img {
        max-width: 95px !important;
        max-height: 250px !important;
    }
}

@media (min-width: 801px) {
    nav {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        list-style: none;
        margin: 0;
        text-align: center;
        background-color: #F8F8F8;
    }

    .logo {
        width: 200px;
    }

    .logo a img {
        max-width: 180px;
        margin: 10px;
        padding: 10px;
    }

    nav a {
        display: inline-block;
        padding: 10px;
        min-width: 120px;
        text-decoration: none;
        font-size: 19px;
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 500;
        color: rgb(0, 0, 0);
    }

    nav a:hover {
        color: #2460AD;
        transition: all 0.2ms;
    }

}

/* hides untile width is met */
@media(max-width: 801px) {
    .hide {
        visibility: hidden;
    }

    header {
        height: 100px;
        background-color: #F8F8F8;
    }

    .logo {
        display: none;
    }

    nav {
        width: 100%;
        height: 100vh;
        z-index: 1;
        position: fixed;
        left: 0;
        top: 0;
        background-color: #0e0f0f;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    nav a {
        display: block;
        text-decoration: none;
        color: #fff;
        font-size: 25px;
    }

    .nav-links {
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 45px;
        position: relative;
        transition: all 0.3s ease;
        padding: 10px;
    }

    .nav-links::before {
        content: ' ';
        height: 1px;
        width: 0%;
        position: absolute;
        left: 0;
        top: 0;
        transition: all 0.3s ease;
        background-color: rgb(255, 255, 255);
    }

    .nav-links::after {
        content: ' ';
        height: 1px;
        width: 0%;
        position: absolute;
        right: 0;
        bottom: 0;
        background-color: rgb(255, 255, 255);
        transition: all 0.3s ease;
    }

    .nav-links:hover {
        color: #1ca8ff;
    }

    .nav-links:hover::after,
    .nav-links:hover::before {
        width: 55%;
    }

    .nav-links-social {
        display: flex;
        justify-content: center;
    }

    .nav-links-social span {
        padding: 0 25px;
    }

    .nav-links-social span i {
        color: #fff;
        font-size: 20px;
        cursor: pointer;
    }

    .nav-links-social span i:hover {
        color: #EF5350;
        transition: all 0.3s ease;
    }

    .hide {
        visibility: hidden;

    }

    .show {
        visibility: visible;
    }

    .nav-close {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 45px;
        color: rgb(255, 255, 255);
        cursor: pointer;
        padding: 15px;
    }
}

/* nav links ends */

/* type of service */
#types {
    margin-bottom: 10px;
    padding: 20px;
    background-color: #fcfbfb;
}

#types h2 {
    font-size: 2.8rem;
    font-family: "DM Serif Text", serif;
    letter-spacing: 0.1em;
    margin: 15px;
    padding: 10px;
    text-align: center;
}


#types .nav-tabs {
    border: none;
    display: flex;
    justify-content: center;
    gap: 13px;
}

#types .nav-tabs .nav-link {
    border-radius: 5px;
    padding: 10px 20px;
    border: 2px solid transparent;
    color: black;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    background-color: #f5f3f3;
    transition: all 0.3s ease-in-out;
}


#types .nav-tabs .nav-link.active {
    background-color: #2560AE;
    /* Bootstrap Primary Blue */
    color: white;
    border-color: #ffffff;
}

#types .nav-tabs .nav-link:hover {
    background-color: #2560AE;
    color: white;
    border-color: #ffffff;
}


.serphoto img {
    width: 100%;
    max-width: 1100px;
    height: 520px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 15px;
}

.tab-content h3 {
    font-family: "DM Serif Text", serif;
    font-size: 1.9em;
}

.tab-content h5 {
    font-size: 1.5em;
    font-family: "DM Serif Text", serif;
    padding: 10px;
}

.tab-content p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 17px;
    font-weight: 400;
    padding: 5px;
}

.tab-content ul li {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    padding: 1.5px;
}

.serSign {
    padding: 10px;
}

.serSign a {
    width: 12em;
    height: 0.1em;
    padding: 1em;
    color: #fff;
    background-color: #2560AE;
    cursor: pointer;
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
    text-decoration: none;
}

.serSign a:hover {
    background-color: #1ca8ff;
}

@media (max-width: 480px) {
    #types {
        padding: 5px;
        margin-top: 50px;
    }

    #types h2 {
        font-size: 2em;
        margin-top: 50px;
    }

    .serphoto img {
        height: auto;
    }

    #types .nav-tabs .nav-link {
        font-size: 12px;
    }

    .tab-content h3 {
        font-size: 22px;
    }

    .tab-content h5 {
        font-size: 17px;
    }

    .tab-content p {
        font-size: 14px;
        padding: 0px;
    }

    .tab-content ul li {
        font-size: 14px;
    }

    .serSign a {
        font-size: 13px;
        padding: 13px;
    }
}

/* type of service ends */



/* footer */
.footer {
    background-color: #424656;
    color: white;
    padding: 120px 0px 90px 0px;
}

.leftfoot {
    padding: 5px;
}

.Contact_footer h2 {
    font-family: "DM Serif Text", serif;
    font-size: 25px;
    padding: 10px;
}

.Contact_footer ul {
    padding: 10px;
    list-style: none;
}

.Contact_footer ul li {
    margin: 15px;
}

.footer .Contact_footer a {
    font-size: 17px;
    font-family: "Abhaya Libre", serif;
    text-decoration: none;
    pointer-events: none;
    transition: all .25s;
    text-decoration: none;
    color: #fff;
}

.footer .Contact_footer a:hover {
    color: #5ec1ff;
}

.footerlogo img {
    max-width: 70%;
    height: auto;
}

.single_footer ul {
    margin: 0;
    padding: 5px;
    list-style: none;
}

.single_footer ul li {
    font-size: 17px;
    margin: 10px;
}

.single_footer h2 {
    font-size: 25px;
    font-family: "DM Serif Text", serif;
    padding: 10px;
}

.footer .single_footer a {
    font-size: 19px;
    font-family: "Abhaya Libre", serif;
    text-decoration: none;
    transition: all .25s;
    text-decoration: none;
    color: #fff;
}

.footer .single_footer a:hover {
    color: #5ec1ff;
}

.copyright {
    font-family: "Abhaya Libre", serif;
}

/* footer ends */