/* ===========================================
   MWANZOYA LAND SHOP
   PREMIUM WEBSITE CSS
=========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{

    --green:#0B7A3B;
    --darkgreen:#045728;
    --gold:#D4AF37;
    --light:#f8f9fa;
    --dark:#222;
    --white:#fff;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#ffffff;
    color:#333;
    overflow-x:hidden;
}

/* Offset anchor scrolling so section tops aren't hidden under the fixed navbar */
section[id]{
    scroll-margin-top:80px;
}

/*=========================
 NAVBAR
==========================*/

.navbar{
    transition:.4s;
    padding:15px 0;
}

.navbar-brand{

    font-size:26px;
    font-weight:700;

}

.nav-link{

    color:white !important;
    margin-left:18px;
    font-weight:500;

}

.nav-link:hover{

    color:var(--gold)!important;

}

/*=========================
 HERO
==========================*/

.hero{

    background:url("../images/hero.jpg") center center;
    background-size:cover;
    background-attachment:fixed;
    min-height:100vh;
    position:relative;

}

.overlay{

    background:rgba(0,0,0,.65);
    min-height:100vh;

}

.hero h1{

    font-size:68px;
    font-weight:800;
    line-height:1.2;

}

.hero p{

    font-size:22px;
    margin-top:20px;
    margin-bottom:35px;

}

.hero .btn{

    padding:15px 35px;
    border-radius:50px;
    font-size:18px;

}

/*=========================
 BUTTONS
==========================*/

.btn-success{

    background:var(--green);
    border:none;

}

.btn-success:hover{

    background:var(--darkgreen);

}

.btn-warning{

    background:var(--gold);
    color:white;
    border:none;

}

.btn-warning:hover{

    background:#bf9723;
    color:white;

}

/*=========================
 HEADINGS
==========================*/

section{

    padding-top:90px;
    padding-bottom:90px;

}

h2{

    font-weight:700;
    margin-bottom:25px;

}

/*=========================
 CARDS
==========================*/

.card{

    border:none;
    border-radius:20px;
    overflow:hidden;
    transition:.4s;
    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 50px rgba(0,0,0,.15);

}

.card img{

    height:250px;
    object-fit:cover;

}

.card-body{

    padding:25px;

}

.card h4{

    color:var(--green);
    font-weight:700;

}

/*=========================
 ABOUT IMAGE
==========================*/

#about img{

    border-radius:20px;

}

/*=========================
 SERVICES
==========================*/

#services .card{

    padding:20px;

}

#services i{

    color:var(--green);

    transition:.4s;

}

#services .card:hover i{

    color:var(--gold);

    transform:scale(1.2);

}

/*=========================
 COUNTERS
==========================*/

.bg-success{

    background:linear-gradient(135deg,var(--green),var(--darkgreen))!important;

}

.bg-success h1{

    font-size:55px;
    font-weight:700;

}

/*=========================
 PARTNERS
==========================*/

#partners img{

    transition:.4s;
    opacity:.8;

}

#partners img:hover{

    transform:scale(1.1);

    opacity:1;

}

/*=========================
 BLOG
==========================*/

#blog img{

    height:220px;

    object-fit:cover;

}

#blog a{

    color:var(--green);

    font-weight:600;

    text-decoration:none;

}

#blog a:hover{

    color:var(--gold);

}

/*=========================
 LOGIN CARDS
==========================*/

#login .card{

    border-top:5px solid var(--green);

}

/*=========================
 CONTACT
==========================*/

input,
textarea{

    border-radius:12px!important;

    padding:15px!important;

}

input:focus,
textarea:focus{

    border-color:var(--green)!important;

    box-shadow:none!important;

}

/*=========================
 FOOTER
==========================*/

footer{

    font-size:15px;

}

/*=========================
 WHATSAPP
==========================*/

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:30px;

    z-index:999;

    box-shadow:0 10px 30px rgba(0,0,0,.3);

}

/*=========================
 ANIMATIONS
==========================*/

.fade-up{

    animation:fadeUp 1s;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(60px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*=========================
 SCROLLBAR
==========================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:var(--green);

}

::-webkit-scrollbar-track{

    background:#efefef;

}

/*=========================
 MOBILE
==========================*/

@media(max-width:991px){

.hero{

background-attachment:scroll;

}

.hero h1{

font-size:45px;

}

.hero p{

font-size:18px;

}

.navbar-brand{

font-size:20px;

}

}

@media(max-width:768px){

.hero{

text-align:center;

}

.hero h1{

font-size:38px;

}

.hero .btn{

margin-top:10px;

width:100%;

}

.card img{

height:200px;

}

.bg-success h1{

font-size:35px;

}

}

@media(max-width:576px){

.hero h1{

font-size:32px;

}

.hero p{

font-size:17px;

}

section{

padding-top:70px;

padding-bottom:70px;

}

}