:root {
    --cream: #EEE8DC;
    --brown: #983620;
    --black: #111111;
    --white: #FFFFFF;
}

body {
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--black);
    background-color: var(--cream);
}

.pt-30 {
    padding-top: 30px;
}
.pb-30 {
    padding-bottom: 30px;
}

.pt-60 {
    padding-top: 60px;
}
.pb-60 {
    padding-bottom: 60px;
}

.mt-20 {
    margin-bottom: 20px;
}

header {
    padding: 30px 0;
}
header .nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head {
    font-size: 54px;
    font-family: "Italiana", sans-serif;
}

.banner p {
    font-size: 30px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.2;
    text-align: center;
    padding-top: 140px;
    z-index: 1;
    align-content: end;
    position: relative;
    width: 70%;
    margin-left: auto;
}

.contact-form {
    padding: 20px;
    border-radius: 20px;
    background-color: var(--white);
    width: 320px;
    position: relative;
    top: -260px;
}
.contact-form h5 {
    padding-bottom: 10px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    background-color: #EEEEEE;
    padding: 12px 10px;
    margin-bottom: 10px;
}
.contact-form .btn-sub {
    border: none;
    border-radius: 14px;
    color: var(--white);
    font-size: 14px;
    padding: 5px 16px;
    background-color: var(--brown);
}

#notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4caf50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    display: none;
}
#messageStatus {
    margin-top: 10px;
    color: var(--brown);
}

.ser-card {
    max-width: 300px;
    height: 420px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    transition: transform 0.3s ease;
    /* cursor: pointer; */
}
.ser-card:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.ser-card::before {
    content: '';
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.ser-card-cont {
    position: absolute;
    padding: 10px;
    /* top: 50%;
    left: 50%; */
    /* transform: translate(-50%, -50%); */
    color: white;
    text-align: center;
    z-index: 2;
    height: 100%;
}
.ser-card-cont h4 {
    margin-bottom: 20px;
}
.ser-card-cont p {
    font-size: 14px;
    line-height: normal;
    padding: 0 10px;
    height: 100%;
}
.ser-card-cont .btn-view {
    position: absolute;
    left: 20px;
    bottom: 20px;
    font-size: 14px;
    text-decoration: none;
    color: var(--brown);
    background-color: var(--white);
    border-radius: 20px;
    padding: 5px 12px;
    transition: 0.3s;
}
.ser-card-cont .btn-view:hover {
    color: var(--white);
    background-color: var(--brown);
    transition: 0.3s;
}

a.pro-link {
    text-decoration: none;
    color: var(--white);
}

.compt-projects {
    position: relative;
    top: -80px;
}

.slick-slider {
    position: relative;
    overflow: hidden;
    margin: auto;
    width: 80%; /* Adjust the width of the slider */
}

.slick-slide img {
    width: 100%;
    height: auto;
}

.slick-prev, .slick-next {
    font-size: 20px;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
}

.slick-prev {
    left: 10px; /* Adjust position */
}

.slick-next {
    right: 10px; /* Adjust position */
}

.div-over {
    position: relative;
    top: -160px;
}

.test-div {
    border-radius: 20px;
    background-color: var(--white);
}
.test-card {
    max-width: auto;
    height: 300px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background-size: cover;
}
.test-card::before {
    content: '';
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.test-card-cont {
    position: absolute;
    padding: 10px;
    /* top: 50%;
    left: 50%; */
    /* transform: translate(-50%, -50%); */
    color: white;
    text-align: left;
    z-index: 2;
    height: 100%;
}
.test-cont {
    display: flex;
    justify-content: left;
    padding: 10px 20px;
}
.test-div .btn-view {
    font-size: 14px;
    text-decoration: none;
    color: var(--brown);
    background-color: var(--white);
    border: 1px solid var(--brown);
    border-radius: 20px;
    padding: 5px 12px;
    transition: 0.3s;
}
.test-div .btn-view:hover {
    color: var(--white);
    background-color: var(--brown);
    transition: 0.3s;
}

.brn-btn {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--cream);
    padding: 12px 40px;
    text-decoration: none;
    border: 2px solid var(--cream);
    border-radius: 50px;
    transition: 0.3s;
}
.brn-btn:hover {
    color: var(--black);
    background-color: var(--cream);
    transition: 0.3s;
}

.h-social a, .f-social a {
    color: transparent;
    margin: 0 10px;
}

.fb-head {
    color: var(--brown);
    font-weight: bold;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
/* .modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 100%;
    max-width: 900px;
} */
.modal-content {
    border-radius: 20px;
}
.modal-body img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}
.modal-backdrop {
    width: 0px;
}
.modal-header {
    border-bottom: none;
    padding: 16px 16px 10px 16px;
}
.modal-footer {
    justify-content: center;
    border-top: none;
    padding: 10px 12px 12px 12px;
}
.modal-footer a {
    font-size: 14px;
    text-decoration: none;
    color: var(--brown);
    background-color: var(--white);
    border: 1px solid var(--brown);
    border-radius: 20px;
    padding: 5px 12px;
    transition: 0.3s;
}
.modal-footer a:hover {
    color: var(--white);
    background-color: var(--brown);
    transition: 0.3s;
}
.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

footer {
    border-top: 1px solid var(--black);
    padding-top: 20px;
}
footer .pre-footer {
    color: var(--white);
    background-color: var(--brown);
    padding: 60px 0 80px;
}
footer .pre-footer .pf-head {
    font-size: 40px;
    font-family: "Italiana", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding-bottom: 16px;
}
footer {
    text-align: center;
}
footer a.f-link-bg {
    font-size: 54px;
    font-family: "Italiana", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--black);
    text-decoration: none;
}
footer .f-contact {
    font-size: 24px;
}
footer .f-contact a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}
footer .f-contact a:hover {
    text-decoration: underline;
    transition: 0.3s;
}
footer .footer-bottom {
    font-size: 14px;
}
footer .footer-bottom a {
    color: var(--black);
}
footer .footer-bottom .f-logo img {
    margin: 30px 0;
}
footer .footer-bottom hr {
    color: var(--black);
    opacity: 1;
}
footer .footer-menu a {
    color: var(--black);
    text-decoration: none;
}
footer .footer-menu a:hover {
    color: var(--brown);
    transition: 0.3s;
}
footer .footer-menu {
    display: flex;
    justify-content: space-around;
}

@media screen and (max-width: 991px) {
    .banner p {
        font-size: 18px;
        line-height: 1.2;
        width: 100%;
    }
    .contact-form {
        width: 100%;
        top: -192px;
    }
    .ser-card {
        max-height: 300px;
        margin-bottom: 20px;
    }
    .ser-card-cont p {
        padding: 0px;
    }
    .ser-card-cont .btn-view {
        left: 30px;
    }
    .test-div {
        margin-bottom: 20px;
    }
    .test-card {
        max-height: 220px;
    }
    .test-cont {
        text-align: center;
    }
    .head {
        font-size: 48px;
    }
    .h-social a, .f-social a {
        margin: 0px;
    }
    footer .pre-footer .pf-head {
        font-size: 36px;
    }
    footer a.f-link-bg {
        font-size: 40px;
    }
    footer .f-contact {
        font-size: 20px;
    }
    footer .footer-menu {
        display: block;
    }
}