html{
    scroll-behavior: smooth;
}

* {
    padding: 0%;
    margin: 0%;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;

 }

        .back-to-top{
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: #033604;
            border-radius: 0.5rem;
            padding: 0.5rem;
            text-decoration: none;
            transition: 0.25s ease-out;
        }
        .back-to-top span{
            color: beige;
            font-size: 2rem;
            transition: 0.2 ease-out;
        }
        .back-to-top:hover{
            background-color: beige;
        }
        .back-to-top:hover span{
            transform: translateY(-4px);
            color: #033604;
        }

.nav{
    background-image: url("backgroundp.jpg");
    background-repeat: no-repeat;
    background-size: cover,cover;
}
body{
    
    background-image: url('bg.jpeg');

    
}
body.nav{
    background-color: #1f2020;
}
#midt{
    color: beige;
    margin: 50;
    font-size: 50px;
    font-family:'Times New Roman', Times, serif;
    left: 1cm;
    position: relative;
}
#midt2{
    position: relative;
    left: 0.40cm;
    color: beige;
    font-size: 24px;
    top: 2.5cm;
    right: 5cm;
}

nav{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif ;

    height: 80%;
    width: 100%;

}
label.logo{
    color: aliceblue;
    font-size: 45px;
    line-height: 80px;
    padding:20px;
    font-weight:bold;
}
nav ul{
    float: right;
    margin-right: 20px;
}
nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 10px;
    
}
nav ul li a{
    color: white;
    font-size: 18px;
    padding: 7px 13px ;
    border-radius: 20px;
}
a.active,a:hover{
    background:#1f2020 ;
    transition: .3s ; 

} 
#ABS{
    color:#366a34ff;
    font-size: 40px;
    text-align: center;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #e9e4e4;
}


h1 {
    font-size: 4em;
    margin: 0;
	color: #033604;
    text-align: center;
}
 h3 {
    color: #033604;
    font-size: 2em;
    margin: 0;
    text-align: center;
}




/* CARDS STYLE */

.card-container{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
    gap: 25px;
	margin-top: 100px;
}

.card{
	width: 325px;
    height: 600px;
    border-radius: 20px;
	overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
    margin: 20px;
    background-color: rgb(236, 236, 235) ;

}
.card:hover{
    transform: translateY(-20px);
    transition: 0.3s;
}
.card img{
	width: 100%;
    height: 60%;
    object-fit: cover;
}

.card-content{
	padding: 10px;
}

.card-content h1{
	font-size: 24px;
	margin-bottom: 10px;
}

.card-content p{
	font-size: 15px;
	line-height: 1.3;
    margin-bottom: 20px;
}

.card-content .btn{
display: inline-block;
padding:8px 16px;
background-color: #033604;
text-decoration: none;
border-radius: 3px;
margin-top: 13px;
color: white;
}

/*About Us in Homepage Style */

.about-us{
    padding:80px 0px;
}
.cont{
    max-width: 1200px;
    margin:0 auto;
    padding:0 20px;
}
.row{
    display: flex;
    flex-wrap: wrap;
}
.flex{
    flex: 0 0 50%;
    max-width: 50%;
    padding:0 20px;
}
.about-us h3{
    font-size: 40px;
    margin-bottom: 20px;
    color: #033604;
}
.about-us h4{
    font-size: 22px;
    color: #033604;
    margin-bottom: 8px;
}

.about-us p{
    font-size: 18px;
    line-height: 1.5;
    color:/* rgb(240, 237, 237);*/ #033604;
    margin-bottom: 20px;
}
.about-us img{
    display: block;
    width: 13cm;

    max-width: 100%;
    height: auto;
    margin: 0 auto;
    position: absolute;
    top: 35cm;
    right: 2cm;
   /* border: 16px solid beige;*/
}
.btn{
    text-decoration: none;
    color: #ffff;
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    background-color: #033604;
}
.btn:hover{
    transform: translateY(-3px);
}


/* Gallery Style */

.gallery-section{
    width:100%;
}
.gallery-section .gallery-wrap{
    padding-top: 2px;
}
.gallery-section .gallery-wrap .gallery-img{
    width: 80%;
    margin: 0 auto;
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.gallery-section .gallery-wrap .gallery-img .gallery{
    width: 100%;
    position: relative;
}

.gallery-section .gallery-wrap .gallery-img .gallery .img-section{
    width: 100%;
}

.gallery-section .gallery-wrap .gallery-img .gallery .img-section img{
    width: 100%;
    height: 50%;
    padding: 10px;
    display: cover;
}

.gallery-section .gallery-wrap .gallery-img .gallery .caption-img{
    width: 100%;
    height: 80%;
    position: absolute;
    padding: 15px;
    top:0;
    left: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    color: #fff;
    opacity: 0;
    transition: opacity 0.30s;

}

.gallery-section .gallery-wrap .gallery-img .gallery .caption-img:hover{
    opacity: 1;
}
.gallery-section .gallery-wrap .gallery-img .gallery .caption-img h3{
  /*  color: rgb(91, 112, 91);*/
    font-size: 30px;
}










