*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  outline: none;
}

:root {
  /* Background Color */
  --bg-white: #fff;

  /* Text Colors */
  --primary-text: #061738;
  --secondary-color: #ff9191;
  --light-color: #f6dede;
  --dark-color: #2c0303;
  --text-white: #fff;
  --text-gray: #dee2e6;
  --anchor-color: #007aff;

  /* Font Family */
  --primary-font: 'Cairo', sans-serif;
  --secondary-font: 'Cairo', sans-serif;
}
html {
  scroll-behavior: smooth;
  font-size: 10px;
}
body {
  direction: rtl !important;
  color: var(--primary-text);
  font-size: 10px;
  font-weight: 400;
  font-family: var(--primary-font);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1 {
  font-size: 9rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--primary-text);
}

h2 {
  color: var(--primary-text);
  font-size: 4.7rem;
  font-weight: 600;
  display: inline-block;
  text-transform: capitalize;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h3 {
  color: var(--text-white);
  font-size: 3.1rem;
  line-height: 1.2;
  font-weight: 700;
}
span,
i {
  font-size: 2rem !important;
}
h4 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-text);
}

h5 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--primary-text);
}

p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: var(--primary-text);
  font-family: var(--secondary-font);
}

embed,
iframe,
img,
object {
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a,
a:active,
a:focus,
a:hover,
button {
  text-decoration: none;
  outline: 0;
}

li a {
  color: var(--text-white);
}

a:hover,
button:hover {
  -webkit-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--white);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
}

.main-btn {
  position: relative;
  color: var(--bg-white);
  background: linear-gradient(to right, #740404, #b91717);
  z-index: 1;
  overflow: hidden;
  border: 0.2rem solid var(--bg-white);
  border-radius: 3.5rem;
  text-transform: uppercase;
  padding: 1rem 3.5rem;
  font-weight: 600;
  font-size: 1.8rem;
  margin-top: 1.5rem;
  letter-spacing: 0.2rem;
}

.main-btn:hover {
  background: var(--bg-white);
  color: var(--secondary-color);
  border: 0.2rem solid var(--secondary-color);
}

section {
  padding: 5rem 0;
}

.section-title {
  font-size: 4rem;
  font-weight: 600;
  color: var(--primary-text);
  text-transform: capitalize;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--primary-text);
  font-family: var(--secondary-font);
  max-width: 40%;
  margin: auto;
  margin-bottom: 1.5rem;
}

.about .banner_section,
.product .banner_section,
.gallery .banner_section,
.contact .banner_section,
.distributors .banner_section {
  background: url('../images/banner-slide/image2.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 17rem;
  padding-bottom: 10rem;
  min-height: auto;
}

.contact .contact-form,
.distributors .contact-form {
  background-color: var(--light-color);
  padding: 5rem;
  box-shadow: 0 0.2rem 1.5rem rgb(0 0 0 / 4%);
}

.contact .contact-form .form-control:focus,
.distributors .contact-form .form-control:focus {
  outline: none;
  box-shadow: none;
}

.contact .contact-form .form-control::placeholder,
.distributors .contact-form .form-control::placeholder {
  color: var(--primary-text);
}

.contact .contact-form .form-control,
.distributors .contact-form .form-control {
  padding: 1rem 1.5rem;
  border-radius: 0rem;
  border: 0.1rem solid var(--secondary-color);
  color: var(--primary-text);
  font-size: 1.5rem;
  font-weight: 400;
  font-family: var(--secondary-font);
}

/* 01 navbar css */

/* 02 Banner Section */

.banner_section {
  background: url('../images/banner-slide/image.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 90vh;
}

.banner_section .carousel-item {
  padding: 3rem 0;
  height: 90vh;
}

.banner_section .carousel-caption {
  top: 25%;
  bottom: 0;
  right: 3%;
  left: 0;
  text-align: right;
  width: 100%;
}

.banner_section .carousel-caption h3,
.banner_section .carousel-caption h4 {
  color: #fff;
  padding: 0.5rem 0.5rem;
  background-color: #85031e;
  display:inline;
  margin-top: 4rem;
}

.banner_section .carousel-caption p {
  max-width: 40rem;
  margin-bottom: 0.2rem;
  margin-top: 2rem;
}

/* Features CSS */

.feature_section .features-box {
  background-color: transparent;
  border: 0.15rem solid var(--light-color);
  padding: 8rem 0;
  transition: all 0.3s;
}

.feature_section .features-box .features-icon-border {
  background-color: transparent;
  border-radius: 50%;
  border: 0.2rem solid var(--light-color);
  padding: 1.3rem;
  display: inline-block;
}

.feature_section .features-box .features-icon {
  height: 6.5rem;
  width: 6.5rem;
  background-color: var(--light-color);
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature_section .features-box .features-icon i {
  /* width: 3.7rem; */
  font-size: 3.7rem;
  color: #85031e;
}

.feature_section .features-box h3 {
  margin-top: 1.5rem;
  color: var(--primary-text);
}

.feature_section .features-box:hover {
  background-color: #03262c;
  border-color: #03262c;
}

.feature_section .features-box:hover h3 {
  color: #fff;
}
.feature_section .features-box:hover p {
  color: #fff;
}
.feature_section .features-box:hover .features-icon-border {
  border-color: #970e0e;
}

/* About Section */

.landing_about_section {
  background: url('../images/about/about.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 9rem 0;
}

.landing_about_section p {
  color: var(--primary-text);
  margin-bottom: 2rem;
}

/* product card design */

/* تصميم البطاقة */
.landing_product_section .testimonial-wrap {
  padding-left: 50px;
}

.landing_product_section .swiper-container {
  overflow: hidden;
  position: relative;
  padding-left: 40px;
  padding-right: 40px;
}

.landing_product_section .swiper-wrapper {
  transition: transform 0.5s ease;
}

.landing_product_section .swiper-container::before,
.landing_product_section .swiper-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  background: rgba(255, 255, 255, 0.5);
  z-index: 10;
}

.landing_product_section .swiper-container::before {
  left: 0;
}

.landing_product_section .swiper-container::after {
  right: 0;
}

.landing_product_section .product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 0.2rem solid var(--light-color);
  padding: 2rem 1rem;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
  align-items: center;
}

/* تصميم الصورة */
.landing_product_section .product-card .product-img {
  margin-bottom: 0.5rem;
  text-align: center;
  height: 200px;
}

.landing_product_section .product-card .product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

/* تفاصيل المنتج */
.landing_product_section .product-card h3 {
  color: var(--primary-text);
  margin: 0;
  margin-bottom: 10px;
  text-align: center;
}

.landing_product_section .product-card span {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary-color);
  text-decoration: line-through;
  transition: all 0.3s;
  text-align: center;
}

/* معلومات إضافية تظهر عند التمرير */
.landing_product_section .product-detail {
  position: absolute;
  bottom: -22rem;
  right: 0;
  left: 0;
  text-align: center;
  padding: 5rem 1rem;
  background-color: var(--dark-color);
  transition: all 0.5s ease;
}

.landing_product_section .product-card:hover .product-detail {
  bottom: 0;
}
.landing_product_section .swiper-pagination {
  margin-top: 50px;
  position: relative;
}

.landing_product_section .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #cc1919;
}

.landing_product_section .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #9f0000;
}

/* 4.5 Testimonial */
.testimonial_section {
  background-color: var(--light-color);
  padding-bottom: 8rem;
}

.testimonial_section .carousel-indicators {
  bottom: -6rem;
}

.testimonial_section .carousel-indicators button {
  background-color: var(--dark-color);
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
}

.testimonial_section .card {
  background: url('../images/testimonial/testimonial-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  text-align: right;
  padding: 5rem 5rem 5rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
  border: 0.1rem solid transparent;
}

.testimonial_section .profile-box {
  padding: 1.875rem;
  background-color: var(--dark-color);
  border-radius: 0.5rem 0 0 0.5rem;
}

.testimonial_section .profile-box img {
  border-radius: 0.625rem 3.125rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial_section .desc-box {
  padding-left: 2.5rem;
}

/* Gallery CSS */

.gallery_section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer CSS */

.footer_wrapper {
  background: url('../images/footer-bg/footer_bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  padding-top: 15rem;
  padding-bottom: 0rem;
}

.footer_wrapper h5 {
  color: var(--text-white);
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.footer_wrapper ul li {
  margin-bottom: 0.5rem;
  list-style: none;
}

.footer_wrapper .company_details {
  font-size: 1.6rem;
}

.footer_wrapper .contact-info li a {
  color: var(--text-gray);
  font-size: 1.6rem;
}

.footer_wrapper .link-widget li a,
.footer_wrapper p {
  color: var(--text-gray);
  font-size: 1.7rem;
  padding-left: 1.5rem;
  position: relative;
  -webkit-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

.footer_wrapper .link-widget li a::before {
  content: '\f104';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
}

.footer_wrapper .link-widget li a:hover {
  margin-left: 0.625rem;
  color: var(--secondary-color);
}

.footer_wrapper .social-network a {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.125rem solid var(--text-gray);
  color: var(--text-gray);
  text-align: center;
  border-radius: 100%;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.footer_wrapper .social-network a:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-white);
  box-shadow: 0 0.625rem 0.9375rem 0 rgb(0 0 0 / 10%);
  transform: translateY(-0.1875rem);
}

.footer_wrapper .form-control {
  font-size: 2rem;
  color: white;
}

.footer_wrapper .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--secondary-color);
}

.footer_wrapper .copyright-section {
  background-color: var(--secondary-color);
  text-align: center;
  margin-top: 5rem;
}

.footer_wrapper .copyright-section p {
  margin-top: 0;
  padding: 3rem 0;
  line-height: 0;
}

.footer_wrapper .copyright-section a {
  color: var(--primary-text);
  font-weight: 600;
}

/* ===========================
           About Page CSS
           ============================== */

.about .about-details p {
  color: var(--primary-text);
}

/* ===========================
           Contact Page CSS
           ============================== */
.contact .contact-form textarea {
  min-height: 15rem;
}

.contact .content-box .info-box li {
  position: relative;
  padding-left: 7rem;
  padding-bottom: 3.5rem;
  margin-bottom: 2.9rem;
}

.contact .content-box .info-box li i {
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-size: 4.5rem;
  line-height: 4.5rem;
  color: var(--primary-text);
}

.contact .content-box .info-box li p {
  color: var(--primary-text);
}

.contact .content-box .info-box li a {
  color: var(--dark-color);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0;
  font-family: var(--secondary-font);
}

/* ===========================
           Product Page CSS
           ============================== */

.product .product-details p {
  margin-bottom: 1.5rem;
}

@media (max-width: 1170px) {
  /* General CSS */
  .section-subtitle {
    max-width: 60%;
  }
  /* 02 Banner Section */
  .banner_section .carousel-item {
    height: 90vh;
  }
}

/* Media Query 991px */
@media (max-width: 991px) {
  /* General CSS */
  .about .banner_section,
  .product .banner_section,
  .Gallery .banner_section,
  .contact .banner_section {
    padding-top: 12.5rem;
    padding-bottom: 3rem;
  }
}

/* Media Query 767px */
@media (max-width: 767px) {
  /* General CSS */
  body,
  html {
    font-size: 8px;
  }

  .section-subtitle {
    max-width: 80%;
  }

  /* 02 Banner Section */
  .banner_section {
    min-height: 70vh;
  }

  .banner_section .carousel-item {
    height: 90vh;
  }
}

/* Media Query 590px */
@media (max-width: 590px) {
  /* General CSS */
  body,
  html {
    font-size: 7px;
  }
}
