/* Start Global Rules */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Tajawal", sans-serif !important;
  direction: rtl;
}

:root {
  --main-color: #0d3c00;
  --secondry-color: #639e2e;
  --text-color: #295600;
  --text-color2: #a7e500;
  --section-padding: 80px;
}
/* End Global Rules */

/* Start Header */

.header {
  background-color: transparent;
  min-height: 64px;
  position: absolute;
  z-index: 2;
  width: 100%;
  padding: 11px 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .container .logo a {
  text-decoration: none;
  color: white;
}
.header .container .links {
  display: flex;
  margin: 0;
  padding: 0;
}
.header .container .links li {
  list-style: none;

  position: relative;
}
.header .container .links li::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0px;
  height: 2px;
  background-color: var(--text-color2);
  transition: all 0.3s linear;
}
.header .container .links li:hover::before {
  width: 100%;
}
.header .container .links li a {
  color: white;
  text-decoration: none;
  padding: 20px;
  display: inline-block;
  font-size: 19px;
}
.menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
}
.line {
  fill: none;
  stroke: white;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
  stroke-dasharray: 35 207;
  stroke-width: 6;
}
.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}
.line3 {
  stroke-dasharray: 50 207;
  stroke-width: 6;
}
.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}
.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}
.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

@media (max-width: 768px) {
  .header .container .links {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: -100%;
    top: 64px;
    width: 100%;
    align-items: center;
    background: var(--main-color);
    bottom: 0;
    z-index: 5;
    transition: all 0.5s ease-in-out;
    padding-top: 30px;
  }
  .header {
    position: fixed;
    width: 100%;
    background-color: var(--main-color);
    border-bottom: 1px solid var(--text-color2);
    z-index: 9;
  }
}
@media (min-width: 768px) {
  .menu {
    display: none;
  }
}
.links.left {
  left: 0 !important;
}
/* End Header */

/* Start Auto Slide Section */

.auto-slide {
  background-image: url(../images/01.jpg);
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
  background-attachment: fixed;
  background-size: cover;
}
.auto-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0d3c00;
  opacity: 0.7;
  /* z-index: 2/; */
}
.gallary-slider .slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  color: white;
  line-height: 1.7;
  z-index: 3;
  width: 50%;
}
.gallary-slider .slide-content > h5 {
  color: var(--text-color2);
  font-size: 20px;
  font-weight: bold;
}
.gallary-slider .slide-content p:nth-child(2) {
  font-size: 31px;
  font-weight: bold;
}
.gallary-slider .slide-content a {
  text-decoration: none;
  color: var(--text-color2);
  font-size: 22px;
  transition: 0.3s;
}
.gallary-slider .slide-content a:hover {
  opacity: 0.8;
}
@media (max-width: 768px) {
  .gallary-slider .slide-content {
    width: 90%;
  }
  .gallary-slider .slide-content > h5 {
    font-size: 15px;
  }
  .gallary-slider .slide-content p:nth-child(2) {
    font-size: 20px;
  }
  .gallary-slider .slide-content a {
    font-size: 18px;
  }
}

/* End Auto Slide Section */

/* Start Shape Divider Section  */

.custom-shape-divider-bottom-1711206371 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 1;
}

.custom-shape-divider-bottom-1711206371 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.custom-shape-divider-bottom-1711206371 .shape-fill {
  fill: #f3f3f3;
}

/* Start Shape Divider Section  */

/* Start Our Services Section */

.our-service {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  /* background-image: url(../images/potted-plant-and-gardening-tool-1.png);
  background-repeat: no-repeat;
  background-position: right top; */
  background-color: #f3f3f3;
}
.title {
  text-align: center;
}
.title h2 {
  color: var(--main-color);
  font-size: 35px;
  font-weight: bold;
}
.title i {
  color: var(--secondry-color);
  font-size: 25px;
}
.our-service .cards-container {
  margin-top: 30px;
}
.cards-container .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.cards-container .container .card-content {
  background-color: white;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  padding: 15px;
}
.cards-container .container .card-content img {
  max-width: 100%;
  border-radius: 8px;
  transition: all 0.5s;
}
.cards-container .container .card-content .card-img-title {
  background-color: green;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* left: 8px; */
  right: 8px;
}
.cards-container .container .card-content .card-img-desc {
  position: absolute;
  left: 0px;
  right: 0px;
  background-color: #0d3c00;
  opacity: 0.7;
  min-height: 325px;
  top: -436px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 25px;
  text-align: center;
  transition: all 0.5s;
  border-radius: 5px;
}
.cards-container .container .card-content .card-img-desc h3 {
  font-weight: bold;
  font-size: 30px;
}
.cards-container .container .card-content .card-img-desc p {
  line-height: 1.7;
  font-size: 17px;
}
@media (max-width: 768px) {
  .cards-container .container .card-content .card-img-desc p {
    font-size: 16px;
  }
}
.cards-container .container .card-content:hover .card-img-desc {
  top: 0px;
  bottom: 0;
}
.cards-container .container .card-content:hover img {
  transform: rotate(4deg) scale(1.1);
}

/* End Service Our Section */

/* Start Our Advantages Section  */
.our-advantages {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-image: url(../images/potted-plant-and-gardening-tool-1.png);
  background-repeat: no-repeat;
}
.our-advantages .container .advantages-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
  margin: 40px 0 60px;
}
@media (max-width: 768px) {
  .our-advantages .container .advantages-cards {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
.our-advantages .advantages-cards .advantage-card {
  background-color: #f6f5f5;
  padding: 20px;
  min-height: 188px;
  position: relative;
  z-index: 2;
}
.our-advantages .advantages-cards .advantage-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0px;
  height: 0px;
  background-color: #ededed;
  transition: 0.3s;
  z-index: -1;
}
.our-advantages .advantages-cards .advantage-card:hover::before {
  width: 100%;
  height: 100%;
}
.our-advantages .advantages-cards .advantage-card i {
  color: var(--text-color2);
  font-size: 20px;
  background: var(--text-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
}
.our-advantages .advantages-cards .advantage-card h3 {
  font-size: 25px;
  color: var(--text-color);
}
.our-advantages .advantages-cards .advantage-card p {
  line-height: 1.7;
}
.advantage-card-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.img-box img {
  width: 300px;
  height: 300px;
}
/* End Our Advantages Section  */

/* Start Splide Slider Style */
.splide__slide {
  .imgs {
    display: block;
    width: 100%;
    border-radius: 15px;
    transition: transform 400ms;
    transform: scale(0.9);
    transform-origin: center center;
  }
}
.splide__slide.is-active {
  .imgs {
    transform: scale(1);
  }
}
.splide__arrow {
  background-color: var(--secondry-color) !important;
  display: none !important;
}
/* End Splide Slider Style */

.splide__slide {
  display: flex;
  justify-content: center;
}

.splide__slide .imgs {
  width: 350px;
  height: 400px;
}
@media (max-width: 768px) {
  .splide__slide .imgs {
    width: 260px;
    height: 350px;
  }
}
/* End Splide Slider Style */

/* Start Achievements Section */
.our-achievement {
  background-image: url(../images/nD7JTA.jpg);
  min-height: 300px;
  background-size: cover;
  background-attachment: fixed;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.our-achievement .container .achievement-boxs {
  background-color: #0d3c00;
  opacity: 0.9;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.our-achievement .container .achievement-boxs .box {
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-basis: 200px;
}
.our-achievement .container .achievement-boxs .box i {
  font-size: 20px;
  width: 50px;
  height: 50px;
  background-color: black;
  color: var(--text-color2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.our-achievement .container .achievement-boxs .box span {
  font-weight: bold;
  font-size: 45px;
  color: var(--text-color2);
}
.our-achievement .container .achievement-boxs .box p {
  font-size: 17px;
  color: var(--text-color2);
}

/* End Achievements Section */

/* Start Footer  */
.footer-sec {
  background-color: #202714;
  color: white;
}
.footer-sec .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px;
  border-bottom: 1px solid var(--text-color2);
  gap: 20px;
}
.footer-sec .footer-container .footer-right {
  flex-basis: 400px;
}

.footer-sec .footer-container .footer-right img {
  width: 50px;
}
.footer-sec .footer-container .footer-right h3 {
  margin: 20px 0;
}
.footer-sec .footer-container .footer-right p {
  line-height: 1.8;
  letter-spacing: 1px;
}
.footer-sec .footer-container .footer-center {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-sec .footer-container .footer-center .whats,
.footer-sec .footer-container .footer-center .phone,
.footer-sec .footer-container .footer-center .mail,
.footer-sec .footer-container .footer-center .location {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-sec .footer-container .footer-center i {
  font-size: 25px;
}
.footer-sec .footer-container .footer-center a {
  text-decoration: none;
  font-size: 20px;
  color: var(--secondry-color);
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.3s;
}
.footer-sec .footer-container .footer-center a:hover {
  color: var(--text-color2);
}
.footer-sec .footer-container .footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-sec .footer-container .footer-left ul {
  display: flex;
  gap: 20px;
  padding: 0;
  list-style: none;
}

.footer-sec .footer-container .footer-left ul li a {
  font-size: 20px;
  color: var(--secondry-color);
}
.footer-sec .footer-container .footer-left ul li a i {
  transition: 0.3s;
}
.footer-sec .footer-container .footer-left ul li a .fa-facebook:hover {
  color: #3b5998;
}
.footer-sec .footer-container .footer-left ul li a .fa-instagram:hover {
  color: #c32aa3;
}
.footer-sec .footer-container .footer-left ul li a .fa-youtube:hover {
  color: #ff0000;
}
.footer-sec .footer-container .footer-left ul li a .fa-twitter:hover {
  color: #1da1f2;
}
.footer-sec .footer-copywrite {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}
.footer-sec .footer-copywrite p {
  margin: 0;
}
/* End Footer  */

/* Start Gallary Slider  */
.gallary-slider {
  position: relative;
}
.gallary-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0d3c00;
  opacity: 0.7;
  z-index: 1;
}
.splide__slide img {
  height: 100vh;
}
.splide__arrow {
  background-color: var(--secondry-color) !important;
}
.splide__pagination {
  display: none !important;
}
.gallary-slider .our-work {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}
.gallary-slider .our-work h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 25px;
}
.gallary-slider .our-work p {
  font-size: 18px;
  line-height: 1.7;
}
/* End Gallary Slider  */
