@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Raleway", sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #def3f2;
}

.main {
    background-image: url(../pics/services-banner.png);
    height: 95vh;
    background-size: cover;
    background-position: center;
}

li{
    list-style: none;
}

a{
    text-decoration: none;
    color: #000;
    font-size: 1rem;
}
a:hover{
    color: #e64833;
}

header{
    position: relative;
    padding: 1.5rem 2rem;
    background: #fff;
}

.navbar{
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo img{
    margin-top: 0;
    height: auto;
    width: 200px;
}
.navbar .links {
    display: flex;
    gap: 30px;
    padding: 0px;
    margin: 0px;
    font-weight: 600;
}

.navbar .toggle_btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action_btn {
    background-color: #e64833;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    outline: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
    margin-left: 10px;
}

.action_btn:hover {
    scale: 1.05;
    color: #fff;
}

.action_btn:active {
    scale: 0.95;
}

.actions_btn {
    background-color: #e64833;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border: none;
    outline: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
}

.actions_btn:hover {
    scale: 1.05;
    color: #fff;
}

.actions_btn:active {
    scale: 0.95;
}

.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    width: 340px;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: 370px;
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .actions_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {

    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }
}

@media (max-width: 576px) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
}

.mainheading {
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #e64833;
    font-size: 75px;
    font-weight: bold;
}

/* services */
h1 {
    text-align: center;
    font-size: 50px;
    color: #e64833;
    font-weight: 600;
    margin: 55px 70px 0 70px;
}

hr{
    margin: 0 100px 0 100px;
    color: black;
}

.wrapper {
    padding: 10px 10%;
}

.box-area {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.box {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    height: 400px;
}

.box img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
    height: 100%;
    object-fit: cover;
}

.overlay {
    height: 0;
    width: 100%;
    background: linear-gradient(transparent, #244855 48%);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    color: white;
    transition: height 0.5s;
}

.overlay h3 {
    font-weight: 500;
    margin-bottom: 5px;
    margin-top: 50%;
    font-size: 30px;
    letter-spacing: 2px;
}

.box:hover img {
    transform: scale(1.2);
}

.box:hover .overlay {
    height: 100%;
}

/* footer */
footer{
    /* position: absolute;
    left: 0;
    right: 0; */
    background: #799e9d;
    /* height: auto; */
    width: 100%;
    padding-top: 40px;
    color: #000;
} 

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.footer-content h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #e64833;
    text-transform: capitalize;
    line-height: 3rem;
}

.footer-content p{
    max-width: 900px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 18px;
    color: #000;
}

.socials {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}

.socials li {
    margin: 0 10px;
}

.socials li a{
    text-decoration: none;
    color: #fff;
    border: 1px solid white;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.socials a:hover i {
    color: #e64833;
}

.footer-bottom {
    background: #244855;
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    text-align: center;
}

.footer-bottom p {
    text-align: center;
    font-size: 20px;
    word-spacing: 2px;
    color: #fff;
    text-transform: capitalize;
}

.footer-bottom p a {
    color: #e64833;
    font-size: 25px;
    text-decoration: none;
}

.footer-bottom span {
    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
}

.footer-menu {
    margin-bottom: 20px;

}

.footer-menu ul{
    padding: 0px;
    display: flex;
    justify-content: center;
    margin: 0px;
    gap: 15px;
    flex-direction: row;
    flex-wrap: wrap;
}
.footer-menu ul li {
    padding-right: 0px;
    display: block;
}
.footer-menu ul li a{
    color: #000;
    border: 1.3px solid #244855;
    padding: 6px 15px;
    text-decoration: none;
    border-radius: 10px;
    margin: 0px;
}

.footer-menu ul li a:hover {
    color: #e64833;
}

.design p {
    text-align: center;
}

.design span {
    color: #e64833;
    font-size: 25px;
    font-weight: 500;
}

@media (max-width:500px) {

    .footer-menu ul {
        display: inline;
    }

    .footer-menu ul li {
        margin-bottom: 20px;
    }

}




/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */