@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&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&display=swap');

:root {
    --font-color: #9c9c9c;
    --heading-color: #2c353d;
    --primar-color: #efbb20;
    --navbar-color: #2c353d;
    --darkblue-color: #2c70b9;
    --blue-color: #47c7ee;
    --darkgreen-color: #2ba048;
    --orange-color: #f35325;
    --lightgreen-color: #81bc06;
    --yellow-color: #ffba08;
    --text-color: #1f1a17;
}

:root {
    --font-color: #9c9c9c;
    --heading-color: #2c353d;
    --primar-color: #efbb20;
    --navbar-color: #2c353d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    transition: 0.2s;
    text-transform: capitalize;
    transition: all 0.2s linear;
    text-decoration: none;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}


.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    position: fixed;
    z-index: 1000;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    padding: 8px 20px;
}

.logo img {
    width: 50px;
}

.menu {
    display: flex;
}

    .menu li {
        padding-left: 30px;
    }

        .menu li a {
            display: inline-block;
            text-decoration: none;
            color: #2C70B9;
            font-size: 1rem;
            font-weight: 500;
            text-align: center;
            transition: 0.15s ease-in-out;
            position: relative;
            text-transform: uppercase;
        }

            .menu li a::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 3px;
                background-color: #FFBA08;
                transition: 0.15s ease-in-out;
            }

            .menu li a:hover:after {
                width: 100%;
            }

.open-menu, .close-menu {
    position: absolute;
    color: blue;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
}

.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.close-menu {
    top: 20px;
    right: 20px;
}

.button {
    margin: 0 0px;
    margin-left: 8px;
    padding: .35em 1.5em;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    color: #2c9caf;
    transition: all 1000ms;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    outline: 2px solid #2c9caf;
}

    .button a {
        font-weight: bold;
        letter-spacing: 1px;
        text-transform: uppercase;
        cursor: pointer;
        color: #2c9caf;
        transition: all 1000ms;
        font-size: 14px;
        position: relative;
        overflow: hidden;
    }

/*button:hover {
    color: #ffffff;
    transform: scale(1.1);
    outline: 2px solid #70bdca;
    box-shadow: 4px 5px 17px -4px #268391;
}

.button a:hover {
    color: #ffffff;
    transform: scale(1.1);
}

button::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #2c9caf;
    transform: skewX(45deg);
    z-index: -1;
    transition: width 800ms;
}

button:hover::before {
    width: 250%;
}*/
/*social*/
.nav-social a img {
    width: 25px;
    margin-top: 6px;
    margin-left: 10px;
    transition: 0.2s ease-in-out;
}

    .nav-social a img:hover {
        transform: scale(1.15);
    }

.navbar.active {
    right: 0;
}

#check {
    display: none;
}

@media(max-width: 900px) {
    .nav-bar {
        overflow: hidden;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: whitesmoke;
        transition: all 0.2s ease-in-out;
    }

        .menu li {
            margin-top: 10px;
        }

            .menu li a {
                padding: 5px;
            }

    .open-menu, .close-menu {
        display: block;
    }

    #check:checked ~ .menu {
        right: 0;
    }

    .nav-social a img {
        width: 20px;
    }

    .button {
        width: calc(40%-10px);
        font-size: 10px;
        padding: .30em 1.4em;
    }

    button a {
        font-size: 5px;
    }
}

@media(max-width: 430px) {
    .menu li {
        margin-top: 10px;
    }

        .menu li a {
            padding: 5px;
        }

    .open-menu, .close-menu {
        display: block;
    }

    #check:checked ~ .menu {
        right: 0;
    }

    .nav-social a img {
        width: 14px;
    }

    .button {
        width: calc(40%-10px);
        font-size: 6px;
        padding: .15em 1em;
    }

    button a {
        font-size: 5px;
    }
}

@media(max-width: 370px) {
    .logo img {
        width: 40px;
    }

    .menu li {
        margin-top: 10px;
    }

        .menu li a {
            padding: 5px;
        }

    .open-menu, .close-menu {
        display: block;
    }

    #check:checked ~ .menu {
        right: 0;
    }

    .nav-social a img {
        width: 14px;
        margin-left: 1px;
    }

    .button {
        width: 48px;
        height: 20px;
        font-size: 6px;
        padding: 0;
        margin: 0;
        margin-left: 10px;
    }

    button a {
        font-size: 4px;
        font-weight: 100;
        letter-spacing: 0;
    }
}

/*Gallery*/
.container {
    padding-top: 80px;
    position: relative;
    min-height: 100vh;
    background-color: white;
}

    .container h1 {
        text-align: center;
        padding: 10px;
        font-size: 1.6rem;
    }

    .container .image-container {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        padding: 10px;
    }

        .container .image-container .image {
            height: 300px;
            width: 300px;
            border: 4px solid rgb(41, 41, 41);
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
        }

            .container .image-container .image img {
                width: 100%;
                height: 100%;
                border-radius: 6px;
                object-fit: cover;
                transition: 0.2s linear;
            }

            .container .image-container .image:hover img {
                transform: scale(1.1);
            }

        .container .image-container .image1 {
            height: 300px;
            width: 360px;
            border: 4px solid rgb(41, 41, 41);
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
        }

            .container .image-container .image1 img {
                width: 100%;
                height: 100%;
                border-radius: 6px;
                object-fit: cover;
            }

    .container .popup-image {
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.9);
        height: 100%;
        width: 100%;
        z-index: 100;
        display: none;
    }

        .container .popup-image span {
            position: absolute;
            top: 75px;
            right: 20px;
            font-size: 40px;
            font-weight: bolder;
            color: #fff;
            cursor: pointer;
            z-index: 100;
        }

        .container .popup-image img {
            position: absolute;
            top: 57%;
            left: 50%;
            transform: translate(-50%,-50%);
            border: 5px solid #fff;
            border-radius: 5px;
            width: 500px;
            object-fit: cover;
        }

@media (max-width:768px) {
    .container .popup-image img {
        width: 95%;
    }

    .container h1 {
        font-size: 1.3rem;
    }
}

@media (max-width:430px) {
    .container .popup-image img {
        width: 95%;
    }

    .container h1 {
        font-size: 1rem;
    }
}

@media (max-width:370px) {
    .container .popup-image img {
        width: 90%;
    }

    .container h1 {
        font-size: 1rem;
    }

    .container .image-container .image {
        width: 90%;
        height: 90%;
    }
}


/* Footer  */
footer {
    background-color: var(--heading-color);
    color: white;
    border-radius: 75px 0 75px 0;
    margin-top: 150px;
    margin-left: 5px;
    margin-right: 5px;
    padding: 50px 5%;
    height: auto;
}

/* Footer content styles */
.foot-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Footer section styles */
.foot-head,
.links,
.our-services,
.social,
.touch {
    flex: 1 1 auto;
    max-width: 250px;
    margin-top: 25px;
}

    .foot-head h1 {
        font-size: 1.5rem;
    }

.foot-box P {
    font-size: 0.8rem;
}

.links p,
.social p,
.touch p,
.our-services p {
    font-size: 0.8rem;
}

.links p, .our-services p {
    margin-left: 0;
}
/* Links styles */
.links a,
.our-services a,
.social a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    display: block;
    margin: 5px 0;
}

    /* Social links styles */
    .social a img {
        width: 25px;
        margin: 8px;
        transition: 0.2s ease-in-out;
    }

        .social a img:hover {
            transform: scale(1.15);
        }

/* Input styles */
.touch input {
    width: 100%;
    border-radius: 8px;
    padding: 5px;
    margin-top: 10px;
}


.rights {
    text-align: center;
    margin-top: 20px;
}

    .rights span, a {
        font-size: 14px;
        color: white;
        text-decoration: none;
        font-weight: bold;
    }


hr {
    margin: 10px 0 5px;
}


@media screen and (max-width: 768px) {
    .foot-head,
    .links,
    .our-services,
    .social,
    .touch {
        max-width: 100%;
    }
}

@media screen and (max-width: 430px) {
    .foot-head h1 {
        font-size: 1rem;
    }

    .foot-box P {
        font-size: 0.6rem;
    }

    .links p,
    .social p,
    .touch p,
    .our-services p {
        font-size: 0.6rem;
    }

    .links a,
    .our-services a,
    .social a {
        font-size: 0.6rem;
    }

    .rights span, a {
        font-size: 14px;
    }

    .rights p {
        font-size: 12px;
    }

    .social a img {
        margin: 1px 5px;
    }
}
