@import url('https://fonts.googleapis.com/css2?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');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    width: 100%;
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
}

/* Header Styles */
header{
    width: 100%;
    padding: 16px 20px;
    background-color: #FFF;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .10);
    position: sticky;
    top: 0;
}

header nav ul.header-links{
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul.header-links li a{
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: all .2s ease-in-out;
    font-weight: 700;
}

header nav ul.header-links li a:hover{
    color: #900;
}

header nav ul.header-links li a:active{
    color: #900;
    font-weight: 700;
}

header .menu-btn{
    display: none;
    cursor: pointer;
    transition: all .2s ease-in-out;
    z-index: 99999;
}

header .menu-btn:hover{
    transform: scale(1.10);
}

/* Footer Styles */
footer{
    width: 100%;
    background-color: #F6F6F6;
}

footer .top-footer{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 32px;
    gap: 10px;
}

.footer-info{
    margin-top: 16px;
}

.footer-info .detail{
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 8px;
}

.footer-info .detail address, .footer-info .detail p{
    font-size: 13px;
    /* font-weight: 500; */
    font-family: 'Poppins', sans-serif;
}

.footer-info .detail a{
    text-decoration: none;
    font-size: 13px;
    color: #000;
}

footer .top-footer .right-footer{
    display: flex;
    gap: 50px;
}

footer .top-footer .right-footer ul.footer-links{
    list-style: none;
}


footer .top-footer .right-footer ul.footer-links li{
    margin-top: 10px;
}

footer .top-footer .right-footer ul.footer-links li a{
    font-size: 13px;
    color: #000;
    text-decoration: none;
    transition: all .15s ease-in-out;
}

footer .top-footer .right-footer ul.footer-links li a:hover{
    font-weight: 500;
    color: #900;
}

footer .copyright{
    width: 100%;
    display: grid;
    place-items: center;
    padding: 10px;
    font-size: 13px;
    background-color: #D9D9D9;
    text-align: center;
}

/* Slider Styling */
.slider{
    width: 100%;
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slider img.slider-image{
    width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -99;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.navigate{
    padding: 0 16px;
    color: #FFF;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 999;
}

.navigate.real-estate{
    background-color: #900;
    width: 400px;
}

.navigate.spal-farm{
    background-color: #00AE54;
    width: 250px;
}

.navigate.home-needs{
    background-color: #FEB934;
    width: 180px;
}


.navigate ul{
    list-style: none;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.navigate ul li{
    padding-top: 10px ;
    position: relative;
    cursor: pointer;
}

.navigate ul li.menu-link{
    align-items: center;
    gap: 4px;
    font-size: 13px;
    display: none;
    cursor: pointer;
}

.navigate ul li.farm-link .link{
    display: flex;
    gap: 4px;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    position: relative;
}

.navigate ul li.farm-link ol.services{
    list-style: none;
    position: absolute;
    background-color: #00AE54;
    width: 250px;
    left: -150px;
    top: -400px;
    transition: all .3s ease-in-out;
}

.navigate ul li.farm-link.active ol.services{
    top: 45px;
}

.navigate ul li.farm-link ol.services li{
    padding-left: 16px;
    padding-bottom: 8px;
    transition: all .2s ease-in-out;
}

.navigate ul li.farm-link ol.services li:hover{
    background: #333333;
}

.navigate ul li a{
    text-decoration: none;
    color: #FFF;
    font-size: 13px;
    transition: all .2s ease-in-out;
}

.navigate ul li .line{
    height: 5px;
    width: 100%;
    background-color: #FFF;
    margin-top: 8px;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.navigate ul li.normal-link:hover .line{
    opacity: 1;
}

.slider .display-info{
    margin-left: 32px;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.slider .display-info h1{
    font-size: 60px;
    color: #FFF;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, .30);
}

.slider .display-info h3{
    font-size: 35px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, .30);
    color: #d4d4d4;
    margin-bottom: 16px;
}

a.main-btn{
    padding: 10px 16px;
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    border-radius: 20px;
    transition: all .3s ease-in-out;
}

a.main-btn.real-estate{
    background-color: #900;
}

a.main-btn.real-estate:hover{
    background-color: rgb(99, 2, 2);
}

a.main-btn.spal-farm{
    background-color: #00AE54;
}

a.main-btn.spal-farm:hover{
    background-color: #026a35;
}

a.main-btn.home-needs{
    background-color: #FEB934;
}

a.main-btn.home-needs:hover{
    background-color: #d49311;
}

.slider .slide-arrow{
    display: flex;
    gap: 10px;
    align-items: center;
    position: absolute;
    width: 100%;
    justify-content: center;
    bottom: 20px;
}

.slider .slide-arrow .arrow{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 2px solid #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.slider .slide-arrow .arrow:hover{
    background-color: rgba(0, 0, 0, .60);
}

.about{
    width: 100%;
    margin-top: 20px;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.about h2{
    /* text-align: center; */
    color: #900;
    letter-spacing: 10px;
}

.about p{
    font-size: 14px;
    line-height: 2.5;
}

/* Input styling */

.input{
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input label{
    font-size: 15px;
    color: #333333;
}

.input input{
    width: 100%;
    height: 40px;
    padding: 0 8px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid #F1C0C0;
    transition: all .2s ease-in-out;
}

.input textarea{
    width: 100%;
    height: 120px;
    padding: 0 8px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid #F1C0C0;
    transition: all .2s ease-in-out;
}

.input input:focus, .input textarea:focus{
    border-bottom: 2px solid #900;
}

.input input::placeholder, .input textarea::placeholder{
    color: #D4D4D4;
}

button.submit-btn{
    padding: 8px 30px;
    border-radius: 20px;
    border: none;
    background-color: #900;
    color: #FFF;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

button.submit-btn:hover{
    background-color: #fcb0b0;
}

.question-box{
    width: 450px;
    position: fixed;
    bottom: 10px;
    right: -700px;
    background-color: #FFF;
    border-radius: 10px;
    border-bottom: 1px solid #333333;
    transition: all .2s ease-in-out;
}

.question-box.open{
    right: 10px;
}

.question-box .main{
    width: 100%;
}

.question-box .main .head{
    width: 100%;
    background-color: rgb(255, 107, 107);
    color: #FFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.question-box .main .head h3{
    font-size: 15px;
    font-weight: 400;
}

.question-box .main .head img{
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.question-box .main .head img:hover{
    transform: scale(1.15);
}

.question-box .main form{
    width: 100%;
    padding: 16px;
}

.mess-icon{
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: rgb(216, 111, 111);
    transition: all .3s ease-in-out;
    opacity: 1;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.mess-icon.close{
    opacity: 0;
    right: -50px;
}

.mess-icon:hover{
    background-color: #900;
}

@media screen and (max-width: 1100px){
    .slider{
        height: 70vh;
    }

    footer .top-footer{
        padding: 32px 16px;
    }
}

@media screen and (max-width: 960px) {
    header nav{
        position: fixed;
        top: -50px;
        left: 0;
        bottom: 0;
        right: 0;
        height: 0vh;
        pointer-events: none;
        overflow: hidden;
        width: 100%;
        background-color: #FFF;
        padding: 20px;
        transition: all .35s ease-in-out;
    }

    header nav.active{
        top: 0;
        height: 100vh;
        overflow: auto;
        pointer-events: all;
    }

    header nav ul.header-links{
        flex-direction: column;
        margin-top: 40px;
        gap: 30px;
    }

    header .menu-btn{
        display: block;
    }

    .slider{
        height: 65vh;
    }

    .slider .display-info h1{
        font-size: 40px;
    }

    .slider .display-info h3{
        font-size: 24px;
    }

    footer .top-footer .right-footer{
        gap: 20px;
    }

    footer .top-footer{
        flex-direction: column;
    }
}

@media screen and (max-width: 750px){
    .slider{
        height: 50vh;
    }
    .about{
        flex-direction: column;
        gap: 10px;
    }

    .about .title img{
        display: none;
    }

    .about h2{
        text-align: center;
        font-size: 20px;
    }
}

@media screen and (max-width: 600px){
    .slider{
        height: 40vh;
    }

    .slider .display-info{
        margin-left: 16px;
    }
    
    .slider .display-info h1{
        font-size: 25px;
    }
    
    .slider .display-info h3{
        font-size: 18px;
    }

    .navigate ul li.menu-link{
       display: flex;
       margin-bottom: 10px;
    }

    .navigate ul li.menu-link img.active{
        transform: rotate(180deg);
        transition: all .25s ease-in-out;
    }

    .navigate{
        height: 35px;
        overflow: hidden;
        transition: all .25s ease-in-out;
    }

    .navigate.real-estate.active{
        height: 180px;
        overflow: unset;
    }

    .navigate ul{
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .navigate.real-estate{
        width: unset;
    }

    a.main-btn{
        font-size: 14px;
    }
}

@media screen and (max-width: 500px){
    .question-box{
        width: 95%;
    }
}

@media screen and (max-width: 450px){
    header{
        padding: 8px 20px;
    }

    .slider{
        height: 30vh;
    }

    .slider .display-info h3{
        margin-bottom: 8px;
    }

    .slider .slide-arrow{
        bottom: 10px;
    }
    
    .slider .slide-arrow .arrow{
        height: 30px;
        width: 30px;
    }

    footer .top-footer .right-footer{
        flex-direction: column;
        gap: 10px;
    }

    .about{
        padding: 0 5px;
    }
}