@import url(../webfonts/ar/stylesheet.css);

/* Reset */
:root {
  --color-primary: #036a59;
  --color-secondary: #71bf45;
  --color-custom: #767676;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray: #f5f5f5;
  --color-light: #f0f0f0;
  --color-dark: #333333;
}

body {
  font-family: 'Lama Sans';
  background-color: var(--color-white);
  color: var(--color-custom);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  color: var(--color-primary);
  margin: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

p {
  line-height: 1.6;
  margin-bottom: 0;
}

.btn {
  border: none;
  padding: 10px 20px;
  border-radius: 50vmax;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-outline-primary {
  border: 1px solid var(--color-white);
  color: var(--color-white);
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.btn-link {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.btn-link:hover {
  color: var(--color-secondary);
}

/* 
*
##################### start Header
*
*/

.custom-logo-link {
  display: block;
  width: 150px;
}

.custom-logo-link img {
  width: 100%;
  height: auto;
  transition: filter 300ms;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 900;
  padding: 16px 0;
  background-color: var(--color-white);
  transition: background 300ms, box-shadow 300ms;
}

.site-header.sticky {
  background: var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.sticky .custom-logo-link img {
  filter: brightness(0) invert(1);
}

.site-header.sticky button.menu-toggle {
  color: var(--color-white);
}

.container.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

button.menu-toggle {
  background: transparent;
  border: none;
  color: var(--color-dark);
  padding: unset;
  width: 30px;
  height: 30px;
  font-size: 22px;
}

#primary-menu {
  position: fixed;
  width: 280px;
  top: 0;
  inset-inline-start: 0;
  height: 100vmax;
  background: var(--color-light);
  padding: 30px 0;
  transition: 300ms;
  transform: translateX(280px);
}

#primary-menu>li>a {
  display: block;
  padding: 10px 32px;
  font-weight: 600;
}

#primary-menu.active {
  transform: translateX(0);
}

#primary-menu>li>a:hover {
  color: #000;
}

/* 
*
##################### home-slider
*
*/

#home-slider {
  position: relative;
}

#home-slider img {
  object-fit: cover;
  height: 350px;
}

#home-slider .slider-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  color: var(--color-white);
  width: 100%;
  padding: 0 30px;
}

.caption-swiper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  opacity: 80%;
}

#home-slider .slider-caption h5 {
  color: var(--color-white);
  font-size: 17px;
  margin-block-end: 1rem;
  display: grid;
  gap: 21px;
}

#home-slider .slider-caption span {
  color: var(--color-white);
  font-size: 44px;
  display: block;
  padding-inline-end: 70px;
  line-height: 1.3;
}

#home-slider .slider-caption a {
  margin-block-start: 30px;
}

#about-us figure {
  position: relative;
  height: 280px;
  border-radius: 8px;
  padding-inline-start: 30px;
  margin-block-end: 50px;
}

#about-us figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

#about-us figure::after {
  content: '';
  position: absolute;
  width: 50%;
  top: 20px;
  height: 100%;
  inset-inline-start: 0;
  background: #88ca64;
  z-index: 0;
  border-radius: 7px;
}

#about-us h3 {
  font-size: 30px;
  margin-block-end: 20px;
  line-height: 1.5;
}

#about-us .btn-primary {
  margin-block-start: 20px;
}

.card {
  border: none;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem
}

.card figure {
  height: 100px;
  overflow: hidden;
  margin: 0;
}

.card figure img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.card:hover {
  transform: translateY(-10px);
}

.card-body .card-title {
  font-size: 16px;
  margin-block-end: 0;
}

#contact-cta {
  background-color: var(--color-primary);
}

#contact-cta h3 {
  color: var(--color-white);
  margin-block-end: 20px;
}

/* Footer */

footer .top {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 20px 0;
  text-align: center;
}

footer a {
  color: var(--color-secondary);
  text-decoration: none;
}

footer a:hover {
  color: var(--color-white);
}

footer h3 {
  color: var(--color-gray);
  margin-block-end: 20px;
}

footer p {
  margin-block-end: 6px;
  font-size: 14px;
}

footer .social-icons {
  margin-top: 10px;
  justify-content: center;
  margin-block-end: 30px;
}

footer .social-icons a {
  margin: 0 10px;
  color: var(--color-secondary);
  font-size: 20px;
}

footer .social-icons a:hover {
  color: var(--color-white);
}

.copyright {
  background: var(--bs-dark);
  padding: 17px;
}

.copyright p {
  margin: 0;
}

#how-to-start .box {
  background: var(--color-white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
}

#how-to-start .box:hover {
  transform: translateY(-10px);
}

#how-to-start .box h5 {
  margin: 0;
  color: var(--color-dark);
}

#how-to-start .box::after {
  content: counter(num);
  counter-increment: num;
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 22px;
  font-weight: bold;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 1;
}

#how-to-start.why-choose-masahat .box::after {
  display: none !important;
}

#how-to-start {
  counter-reset: num;
}


#how-to-start .box figure {
  height: 70px;
  overflow: hidden;
  margin-bottom: 20px;
}

#how-to-start .box figure img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

#how-to-start .box h3 {
  font-size: 20px;
}

.bg-primary {
  background-color: var(--color-primary) !important;
}

.bg-success {
  background-color: var(--color-secondary) !important;
}

#about-us p {
  font-weight: 600;
}

#subscription-packages .card {
  text-align: start;
  padding: 0;
  min-height: 360px;
  overflow: hidden;
}

#subscription-packages .card-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px;
  margin-block-end: 0;
  min-height: 80px;
  display: grid;
  place-content: center;
  text-align: center;
}

#subscription-packages .card-header h5 {
  margin: 0;
  color: #FFF;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  padding-inline: 40px;
}

#subscription-packages .card-body {
  position: relative;
}

#subscription-packages .card-body .discount {
  position: absolute;
  background: #71bf45;
  color: #FFF;
  width: 130px;
  text-align: center;
  transform: rotate(-45deg);
  min-height: 40px;
  line-height: 40px;
  top: -68px;
  left: -35px;
}

#subscription-packages .card-body ul {
  padding: 0;
}

#subscription-packages .card-body ul li {
  margin-bottom: 10px;
}

#subscription-packages .card-body ul li .title {
  color: var(--color-dark);
  display: inline-block;
  width: calc(100% - 50px);
  font-size: 14px;
}

#subscription-packages .card-body ul li .price {
  font-weight: bold;
  color: var(--color-secondary);
  width: 140px;
  flex: 0 0 auto;
  text-align: end;
  font-size: 13px;
}

#subscription-packages .card-body ul li::before {
  content: '✓';
  color: var(--color-secondary);
  margin-left: 4px;
  font-size: 14px;
}

#subscription-packages .card-body .btn {
  position: absolute;
  inset-inline: 1rem;
  bottom: 20px;
  padding: 16px 0;
  font-weight: 700;
}

#subscription-packages .card-body .old {
    color: #000;
    text-decoration: line-through;
    opacity: 50%;
}

/* Responsive */

@media (min-width: 768px) {
  #about-us p {
    font-size: 16px;
  }

  #about-us figure {
    margin: 0;
  }

  #about-us h2,
  #about-us h3 {
    font-size: 18px;
  }

  #about-us .btn-primary {
    margin-block-start: 10px;
  }

  #home-slider .slider-caption span {
    padding-inline-end: 340px;
  }
}

@media (min-width: 992px) {

  .site-header.sticky #primary-menu>li>a {
    color: var(--color-light);
  }

  button.menu-toggle {
    display: none;
  }

  #home-slider .slider-caption span {
    padding-inline-end: 580px;
  }

  #home-slider img {
    height: 540px;
  }

  .container.header-main {
    justify-content: space-between;
  }

  #primary-menu {
    position: static;
    width: auto;
    height: auto;
    transform: translateX(0);
    background: transparent;
    padding: 0;
    display: flex;
  }

  #primary-menu>li>a {
    padding: 10px 20px;
  }

  #home-slider img {
    height: 650px;
  }

}

@media (min-width: 1200px) {
  #home-slider .slider-caption h5 {
    font-size: 60px;
  }

  #home-slider img {
    height: 700px;
  }

  #about-us figure {
    padding-inline-end: 50px;
    height: 560px;
  }

  #about-us p {
    font-size: 22px;
  }

  #home-slider .slider-caption h5,
  #home-slider .slider-caption p {
    margin-block-end: 17px;
  }

  #home-slider .slider-caption {
    /* width: 580px; */
    font-size: 20px;
  }

  #home-slider .slider-caption span {
    font-size: 45px;
    padding-inline-end: 740px;
  }

  #home-slider .slider-caption h5 {
    gap: 20px;
    font-size: 18px;
  }

  .card-body .card-title {
    font-size: 20px;
  }

  #about-us h2 {
    font-size: 32px;
  }

  #about-us h3 {
    font-size: 30px;
    padding-inline-end: 290px;
  }

  .card figure,
  #how-to-start .box figure {
    height: 90px;
  }
}

@media (min-width: 1400px) {
  #home-slider .slider-caption span {
    padding-inline-end: 930px;
  }

}