/* global design */

*{
    margin: 0;
    padding: 0;
}

:root{
    --primary:rgb(51, 133, 51);
    --main:linear-gradient(99deg, rgb(42, 96, 42)  15.5%, rgb(47, 183, 47) 100%);
    --main-2:linear-gradient(99deg, #00a9a4 15.5%, #00a9a4 100%);
    --secondary:#02b5af;
    --body:#fafbf9;
    --text:#555;
    --black:#363232;
}
.line{
    width: 100%;
    height: 1px;
    background-color:#ccc;
}
::placeholder {
    color:#aaa;
    font-size: 14px;
}
label {
    font-weight: 400;
    font-size: 15px;
}

.main-btn-2{
    border: none;
    outline: none;
    background: var(--main);
    width: 100%;
    padding: 15px 20px;
    color: white;
    border-radius: 5px;
    font-size: 18px;
}

.margin{
    margin: 0 4%;
}
body {
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
a{
    text-decoration: none;
}
/* end of global design */
.nav-bar-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-text{
    display: flex;
    align-content: center;
    gap: 70px;
}
.nav-text a{
    color: rgb(42, 96, 42);
    text-decoration: none;
    font-size: 20px;
}
.main-btn {
    border: none;
    outline: none;
    background: rgb(42, 96, 42);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.30s ease;
}
.main-btn:hover {
    border:1px solid rgb(42, 96, 42);
    outline: none;
    background:transparent;
    color: rgb(42, 96, 42);
}
.main-btn-1 {
    border: none;
    outline: none;
    background: rgb(42, 96, 42);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.30s ease;
    width: 40%;
    box-shadow: 2px 2px white;
}

.main-btn-1:hover {
    border:1px solid white;
    outline: none;
    background:transparent;
    color: white;
}
.nav-logo img{
    width: 100px;
}
.nav-bar{
    background: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.hero-left a {
    color: white;
    text-decoration: none;
}
.hero-section{
    background-image: url(../Images/slider-2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 30px 0 0 0 ;
}
.hero-section-content {
    display: flex;
    align-items: center;
}
.hero-right img{
    height:auto;
    width: 450px;
}

.hero-left h3{
color: yellow;
}
.hero-left h1 span{
    color: white; 
    font-size: 70px;
    display: block;
}
.hero-left p{
    color:white ;
    font-weight: bold;
}
.about-section-content{
    display: flex;
    align-items: flex-start;
    /* gap: 10px; */
}
.about-right h3{
    color:rgb(19, 195, 19);
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.about-right p{
    font-size: 17px;
}
.about-right h1{
    color: rgb(42, 96, 42);
}
.about-left{
    display: flex;
    margin: 20px;
    width: 50%;
}
.about-right{
    width: 50%;
}
.slide1{
    width: 300px;
    height: 400px;
    position: absolute;
    left: 50px;
    outline: 10px solid white;
}
.slide2{
    width: 250px;
    height: 250px;
    position:relative;
    left:250px;
    padding-top: 20px;
}
.slide3{
    width: 300px;
    height: 550px;
    position:relative;
    padding-top: 240px;
}
 .images{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr); 
}
.images-item img {
    width: 100%;
}
.images-item h3 {
    text-align: center;
    font-size: 23px;
    color: rgb(42, 96, 42);
    margin-top: 15px;
}
.service-header {
    text-align: center;
}
.our{
    color:rgb(19, 195, 19);
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.service-section-content h1{
    color:rgb(42, 96, 42); 
    font-weight: bolder;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.service-section-content p{
    font-weight: bold;
    font-family: 'Times New Roman';
    padding-top: 10px;
    padding-bottom: 10px;
}
.services{
    display: flex;
    gap: 10px;
}
.contact{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:20px;
    margin-top: 40px;
}
.all-contact{
    background-color: #f8f7f7;
}
.wheat{
    width: 40px;
    height: 40px;
}
.street{
    display: flex;
    gap: 10px;
    align-items: center;
}

.contact-left h3{
    color:rgb(19, 195, 19) ;
}
.contact-left h2{
    color: rgb(42, 96, 42);
}
.contact-left p span {
    display: block;
}
.street i {
    color: rgb(42, 96, 42);
}
.footer{
    background-color: rgb(42, 96, 42);
    text-align: center;
    padding: 30px 30px 10px 30px;
}
.footer p, .footer a {
    color: white;
    text-decoration: none;

}


/* ====================== sidebar section ======================== */
#sidebar {
    position: fixed;
    top: 0;
    left: -1000px;
    height: 100vh;
    background-color:white;
    width: 25%;
    /* border-right: 1px solid #ddd; */
    padding:10px 15px;
    color:  rgb(42, 96, 42);
    transition: left 1s ease;
    display: none;
    z-index: 10000;
}
#sidebar.show{
    left: 0;
}
.no-scroll {
    overflow: hidden;
}

.side-logo{
    justify-self: center;
    margin-bottom: 20px;
}
.side-item{
    display: flex;
    align-items: center;
    gap: 10px;
}
.side-item a{
    color: var(--main);
    font-size: 17px;
}
.side-logo img{
    padding-top: 25px;
}
.side-item i{
    color:var(--dash);
}
.bars {
    cursor: pointer;
    display: none;
}
.bars span {
    display: block;
    width: 20px;
    height: 2px;
    background-color:  rgb(42, 96, 42);
    margin-bottom: 5px;
    transition: 1s ease;
}
.bars span:nth-child(2){
    width: 15px;
}
.bars.show span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.bars.show span:nth-child(2) {
    opacity: 0;
}
.bars.show span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* ====================== end of sidebar section ======================== */




/* ============================================= register section ======================================= */
.register-content {
    display: flex;
    align-items: center;
    
}
.register-left{
    width: 50%;
    height: 100vh;
}
.register-left img {
    width: 90%;
}
.register-right{
    overflow-y:auto;
    width: 50%;
    height: 100vh;
    padding: 60px 40px;
    background-color: #f0f0f0;
}
.register-right::-webkit-scrollbar {
    width: 5px;
}
.register-right-content {
    background-color: var(--body);
    padding: 40px;
    border-radius: 15px;
}
.register-logo img{
    width: 80px;
}
.register-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    
}
.register-group input, .register-group select {
    border: 1px solid #e0e0e0;
    outline: none;
    background-color: transparent;
    color: var(--text);
    width: 100%;
    font-size: 14px;
    padding: 15px;
    border-radius: 5px;
}
.pass-group input {
    border: none;
    outline: none;
    background-color: transparent;
    color: var(--text);
    width: 100%;
    font-size: 14px;
}
.pass{
    border: 1px solid #e0e0e0;
    outline: none;
    background-color: transparent;
    color: var(--text);
    width: 100%;
    font-size: 14px;
    padding: 15px;
    border-radius: 5px;
}
.register-group, .pass-group {
    position: relative;
    width: 100%;
    /* margin-bottom: 20px; */
}
.register-group label {
    position: absolute;
    top: 16px;
    left: 15px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}
.pass-group label {
    position: absolute;
    top: -1px;
    left: -1px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}
.register-group input:focus + label,
.register-group input:not(:placeholder-shown) + label {
    top: -9px;
    font-size: 12px;
    background-color:var(--body);
    padding: 0 5px;
}
.register-group select:focus + label,
.register-group select:valid + label {
    top: -9px;
    font-size: 12px;
    background-color:var(--body);
    padding: 0 5px;
}
.pass-group input:focus + label,
.pass-group input:not(:placeholder-shown) + label {
    top: -25px;
    font-size: 12px;
    background-color: var(--body);
    padding: 0 5px;
}
.all-input {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pass {
    display: flex;
    align-items: center;
}
.pass i{
    color: var(--text);
    cursor: pointer;
}
.terms {
    display: flex;
    align-items: center;
    gap: 6px;
}
.terms label{
    font-size: 14px;
    color: var(--text);
}
.terms input{
    width: 17px;
    height: 17px;
    accent-color: var(--primary);
}
.terms span, .terms a {
    color: var(--primary);
    font-weight: bold;
    transition: 0.10s ease;
    cursor: pointer;
    font-size: 14px;
}
.terms span:hover, .login-redirect a:hover, .terms a:hover {
    padding-bottom: 5px;
    border-bottom: 2px solid var(--primary);
}
.login-redirect p{
    font-size: 15px;
    color: var(--text);
    text-align: center;
}
.login-redirect a {
    color: var(--primary);
    transition: 0.10s ease;
}
.register-head h4{
    font-weight: bold;
    color: var(--text);
}
.register-head p{
    color: var(--text);
    font-size: 15px;
}
/* ============================================= end of register section ======================================= */




/* ================================== preloader section ================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

}
.loader{
    display: flex;
}
.loader span {
    width: 13px;
    height: 13px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 5px;
    animation: loader 1s infinite;
}
.loader span:nth-child(1) {
    animation-delay: 0s;
}
.loader span:nth-child(2) {
    animation-delay: 00.2s;
}
.loader span:nth-child(3) {
    animation-delay: 0.4s;
}
.loader span:nth-child(4) {
    animation-delay: 0.6s;
}
.loader span:nth-child(5) {
    animation-delay: 00.8s;
}
@keyframes loader {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(1);
    }
}
.main-content {
    display: none;
}
/* ================================== end of preloader section ================================= */