body, html {
  padding:0; margin:0;
}
@font-face
{
    font-family: sm;
    src:url('../fonts/cairo-semibold.ttf');
}
@font-face
{
    font-family: cb;
    src:url('../fonts/cairo-bold.ttf');
}
*
{
   font-family: sm;
   direction: ltr;
   text-align: left;
}

a {
  color: #4f4f4f;
}

a:hover{
  color: rgb(48, 159, 46);
}

.navbar img {
  width: 150px;
}

.nav a {
  color: #fff;
}

.nav a:hover{
  color: rgb(48, 159, 46);
}

li.nav-item {
  border-right: 2px solid #ccc;
  padding: 0 20px 0 20px;
}

li.nav-item:last-child {
  border-right: none;
}

.nav a.active {
  color: #136014;
  background: #fff;
}

.navbar {
  padding: 1rem 1rem;
}

.nav .dropdown-menu {
  background-color: #343a40;
}

/* nav.navbar {
  position: fixed;
  width: 100%;
  z-index: 2;
}

ul.nav {
  z-index: 2;
  position: fixed;
  top: 74px;
  width: 100%;
} */

/* SO : Carousel */

.carousel.slide img {
  height: 600px;
  object-fit: cover;
}
.slider__description {
  position: absolute;
  top: 35%;
  left: 15%;
  text-align: center;
  color: #fff;
  max-width: 1000px;
  background: rgba(0,0,0,0.5);
  padding: 25px;
}

.slider__description h1 {
  font-size: 5rem;
}
.slider__description p {
    font-size: 18px;
    margin: 1rem 0 2rem 0;
}
.slider__description a {
  display: inline-block;
  padding: 10px 15px;
  background-color: white;
  font-size: 1.2rem;
  font-weight: bold;
  color: black;
  text-decoration: none;
  transition: 0.5s;
}
.slider__description a:hover {
  opacity: 0.5;
}

/* */
.carousel-control-next, .carousel-control-prev {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 3%;
  border: 1px solid #fff;
}
/* EO : Carousel */


/* SO : Section Title */
.section-title {
  text-align: center;
  padding: 20px;
}

.section-header {
  font-size: 32px;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #216d34;
  text-align: center;
}

.section-header::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #216d34;
  bottom: 1px;
  left: calc(50% - 60px);
}
.section-header::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 4px;
  background: #216d34;
  bottom: 0;
  left: calc(50% - 20px);
}

/* EO : Section Title */

/* SO : gird Cards modern */

.gridCards {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  width: 100vw;
  padding: 0 100px;
}

.gridCards:hover .section {
  filter: brightness(60%);
}
.gridCards:hover .section:hover {
  filter: brightness(100%);
}
  

.section {
  flex-grow: 1;
  position: relative;
  height: 80%;
  transition: all 0.4s;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  flex: 1;
  padding: 10px;
  margin: 5px;
}
.cont_title {
  position:relative;
  margin: auto;
  width: 100%;
  height: auto;
  text-align: center;
  margin-top: 30vh;
}


.cont_title h2 {
  text-align: center;
    color: white;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.5);
    font-size: 2vw;
    margin: 0;
    transition: font-size 0.3s;
    vertical-align: middle;
    padding-bottom: 20px;
  }
      
    
.cont_desc {
  position: relative;
  display: block;
  text-align: center;
  text-align: center;
  width: 22vw;
  height: auto;
  margin: auto;
  opacity: 0;
  transition: opacity 0.8s, transform 0.7s, padding-top 0.9s;
  padding-top: 6vh;
  transform: scale(1);
}
.cont_desc p {
  margin: 0;
  color: white;
  font-size: 12px;
}
  
    
.section:hover {
  flex-grow: 1.8;
  transition: flex 0.2s;
}

.section:hover .cont_title {
  margin-top: 18vh;
  transition: margin-top 0.4s;
}
.section:hover .cont_title h1 {
  font-size: 2vw;
  transition: font-size 0.4s;
  text-decoration: underline;
}
      
.section:hover .cont_desc {
  opacity: 1;
  margin-top: 2vh;
  transform: scale(1.5);
  transition: opacity 0.7s, padding-top 0.5s, transform 0.1s;
  transition-delay: 0s, 0.1s, 0s;
  background: rgba(0,0,0,0.5);
  padding: 10px;
}
    
.section:nth-child(1) {
  background: url("../img/agri3.jpg") center no-repeat;
  background-size: cover;
}
.section:nth-child(2) {
  background: url("../img/agri8.jpg") center no-repeat;
  background-size: cover;
}
.section:nth-child(3) {
  background: url("../img/agri10.jpeg") center no-repeat;
  background-size: cover;
}

/* EO : gird Cards modern */

/* SO : Grid Cards */

#grid-card-section {
  background-image: url('../img/gradient.jpg');
}

#grid-card-section .card {
  border: 1px solid #ccc;
  display: flex;
  margin-bottom: 30px;
  box-shadow: 5px 5px 4px #cccccca6;
  border-radius: 15px;
  padding: 10px;
}

#grid-card-section .card-img-top {
  border-radius: 15px;
  height: 200px;
  padding: 10px;
}

.date {
  padding: 10px;
  background: #414040;
  color: #fff;
  position: absolute;
  top: 30px;
  left: 30px;
  text-align: center;
  font-size: 14px;
  border-radius: 5px;
  /* margin: 0; */
  height: 40px;
  width: 89px;
}

/* EO : Grid Cards */

/* SO : Publiciation */

#publication-section {
  margin-bottom: 30px;
}

#publication-section .publication-paragraph{
  padding-bottom: 20px;
}

/* EO : Publication */

/* SO : Footer */

footer {
    background: #707070;
    color: #fff;
    padding: 15px;
}

.copy-right p {
  display: inline-block;
  padding: 0 40px;
  border-right: 1px solid;
}
.copy-right p:last-child {
  border-right: none;
}
/* EO : Footer */

.see-more {
  color: #f65858 !important;
  cursor: pointer;
}




.toggle-btns {
  text-align: center;
}

.toggle-btns button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

#grid-card-section .card-text {
  font-size: 14px;
  color: #4f4f4f;
  line-height: 1.5;
}