@font-face{
    font-family: "farsi-meduim";
    src: url("../font/vazir-font-v16.1.0/vazir-font-v16.1.0/Vazir-Medium.ttf");
}
@font-face{
   font-family: "english";
   src: url("../font/poppins/Poppins-Medium.ttf");
}
@font-face{
    font-family: "farsi-bold";
    src: url("../font/vazir-font-v16.1.0/vazir-font-v16.1.0/Vazir-Bold.ttf")
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header{
    background-color: #ffffff;
    width: 100%;
    min-height: 100vh;
}
nav{
    
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.bannerLogo{
    width: 300px;
    height: 300px;
}
.bannerLogo img{
    width: 100%;
    height: 100%;
    margin-left: 80px;
}
#bannerMenu{
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 25px;
    margin: 100px;
}
#bannerMenu li a{
    text-decoration: none;
    color: var(--color);
    text-transform: capitalize;
    font-weight: bold;
    font-size: 16px;
    font-family: "farsi-meduim";
}
#bannerMenu li a.active{
    color: #4F7C4A;
    border-bottom: 2px solid #4F7C4A;
}
.login-btn{
    background-color: #264f21;
    color: white ;
    padding: 10px 20px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "farsi-meduim";
    transition: 0.3s ease;
}

.login-btn:hover{
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.login-btn:hover i{
    transform: translateX(-5px);
}
.login-btn span{
    color: white;
}

.login-btn i{
    color: white;
}

.giraff{
    width: 100%;
    min-height: 490px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.giraff::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imags/background\ header.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(2px);

}

.giraffText{
    position: relative;
    z-index: 1;
    
}
.giraffText h1{
   
    font-weight: 700;
    font-size: 45px;
    font-family: "english";
    padding-left: 90px;
    margin-bottom: 15px;
}
.giraffText h1 span{
    font-weight: 700;
    font-size: 45px;
    font-family: "english";
    padding-left: 90px;
    color: #264f21;
    margin-bottom: 15px;

}
.giraffImage{
    position: relative;
    z-index: 1;
    bottom: -20px;
}

.giraffImage img{
    width: 730px;
    height: auto;
    
}
.giraffText p{
    font-size: 17px;
    font-family: "english";
    padding-left: 90px;
    margin-bottom: 15px;
}
.buttons{
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 90px;
    margin-top: 30px;
}
.learn-btn,.join-btn{
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-family: "english";
    gap: 10px;
    width: 150px;
    height: 50px;
    justify-content: center;
    font-size: 13px;
    text-transform: capitalize;

}
.learn-btn{
    background-color: #264f21;     
    border: 2px solid #264f21;
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;   
}
   .join-btn{
    color: black;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid black;
}
.main-giraff{
    width: 100%;
    min-height: 700px;
    background-image: url('../imags/background-main.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
}
.why-text{
    text-align: right;
    margin-right: 100px;
    direction: rtl;
}
.why-giraffes h2 .active{
    border-top: 2px solid #264f21;
     
 
}
.why-giraffes h2{
    text-transform: capitalize;
    font-weight: 700;
    font-size: 23px;
    font-family: "farsi-bold";
    padding-right: 110px;
    margin-bottom: 15px;
    margin-top: 50px;
    text-align: right;
}
.why-giraffes P{
    font-size: 15px;
    padding-right: 110px;
    font-family: "farsi-meduim";
    margin-bottom: 15px; 
    text-align: right;
}
.why-image{
    margin-left: 150px;
}
.why-image img{
    width: 450px;
    height: auto;
    margin-top: 50px;
    border-radius: 10px;
}
.why-giraffes{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 150px;
    flex-direction: row-reverse;
}
.why-btn{
    margin-top: 35px;
    margin-right: 60px;
    text-align: center;
}

.why-btn a{   
    text-decoration: none;
    background-color: #264f21;
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    font-family: "farsi-bold";
}
.threats{
    padding: 50px 100px;
    direction: rtl;
}
.threats h2{
    font-family: "farsi-bold";
    font-size: 25px;
    margin-bottom: 30px;
    text-align: center;
}
.threats h2 span,.how-help h2 span,.gallery h2 span{
    border-bottom: 2px solid #264f21;
}
.cards{
    display: flex;
    justify-content: center;
    gap: 30px;
}
.card{
    width: 300px;
    min-height: 280px;
    padding: 30px;
    border-radius: 12px;
    direction: rtl;
    background-color: #FDFBF6;
    border: 1px solid #E8E4DA;
    box-shadow: 0 5px 15px rgba(38, 79, 33, 0.08);
    transition: 0.3s ease;
}
.card:hover{
    transform: translateY(-10px);
}
.card i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 25px;
    color: white;
    margin-bottom: 20px;
}
.card:nth-child(1) i {
    background-color: #7D9B62;
}

.card:nth-child(2) i {
    background-color: #C98B3C;
}

.card:nth-child(3) i {
    background-color: #8b6f47;
}
.card h3{
    font-family: "farsi-bold";
    font-size: 20px;
    margin-bottom: 10px;
}
.card p{
    font-family: "farsi-meduim";
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}
.card-tahdid{
   text-decoration: none;
   font-family: "farsi-bold";
   font-size: 14px;
}
.card:nth-child(1) .card-tahdid{
    color: #7D9B62;
}

.card:nth-child(2) .card-tahdid{
    color: #C98B3C;
}

.card:nth-child(3) .card-tahdid{
    color: #8b6f47;
}
.how-help{
    padding: 30px 100px;
    direction: rtl;
    background-color: #F8F5EE;
}
.how-help h2{
    text-align: center;
    font-family: "farsi-bold";
    font-size: 25px;
    margin-bottom: 30px;
}
.help-items{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.help-item{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 30px;
    border-left: 1.5px solid #d8d8d8;
    flex-direction: row-reverse;
}
.help-item:last-child{
    border-left: none;
}
.help-item i{
    width: 55px;
    height: 55px;
    border-radius: 50px;
    background-color: #ffffff;
    color: #264f21;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}
.help-item h3{
    font-family: "farsi-bold";
    font-size: 16px;
    margin-bottom: 5px;
}
.help-item p{
    font-family: "farsi-meduim";
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 5px;
}
.help-item a{
    text-decoration: none;
    font-family: "farsi-bold";
    font-size: 14px;
    color: #234c22;
}
.gallery{
    padding: 20px 100px 70px;
    text-align: center;
}

.gallery h2{
    font-family: "farsi-bold";
    font-size: 25px;
    margin-bottom: 30px;
}

.gallery-images{
    display: flex;
    justify-content: center;
    gap: 30px;
}

.gallery-images img{
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-btn{
    margin-top: 35px;
    text-align: center;
}

.gallery-btn a{   
    text-decoration: none;
    background-color: #264f21;
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    font-family: "farsi-bold";
}
.footer{
    width: 100%;
    background-image: url("../imags/background-footer.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
    color: white;
    direction: rtl;
    padding-top: 35px;
    position: relative;
    overflow: hidden;
}
.footer::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(38, 79, 33, 0.85);
    z-index: 1;
}
.footer-container,.footer-bottom{
    position: relative;
    z-index: 2;
}

.footer-container{
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.footer-divider{
    width: 1px;
    height: 150px;
    background: rgba(255,255,255,.25);
}



.footer-column h3{
    font-family: "farsi-bold";
    font-size: 18px;
    margin: 15px 10px;
}

.footer-column ul{
    list-style: none;
}

.footer-column ul li{
    margin-bottom: 8px;
}

.footer-column ul li a{
    color: white;
    text-decoration: none;
    font-family: "farsi-meduim";
    font-size: 15px;
}


.footer-logo{
    width: 180px;
    height: 180px;
    margin-top: 10px;
}

.footer-social{
    display: flex;
    gap: 12px;
}

.footer-social a{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #234c22;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}
.footer-social a:hover{
    background-color: #157819;
    color: #ffffff;
}
.newsletter{
    display: flex;
    margin-top: 18px;
}

.newsletter input{
    width: 220px;
    height: 46px;
    border: none;
    outline: none;
    padding: 0 15px;
    font-family: "farsi-meduim";
    border-radius: 8px;
}

.newsletter button{
    width: 55px;
    height: 46px;
    border: none;
    cursor: pointer;
    background: #3D7A39;
    color: white;
    border-radius: 8px;
}
.footer-bottom p{
    font-family: "farsi-meduim";
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}