:root {
  --main-color: #0f8f45;
  --second-color: #eb3d34;
  --third-color: #9d9fa2;
  --placeholder-color: #a1a1a1;
  --white-color: #ffffff;
  --black-color: #000000;
  --box-shadow: 0 8px 32px 0 hsla(145, 81%, 31%, 0.3);
}

/* =================== @media (max-width: 576px) =================== */

/* =================== @media (max-width: 768px) =================== */

@media (max-width: 991px) {
  .content-footer {

    text-align: center;
  }

  .footer-social {
    display: flex;
    justify-content: center !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .about-elevators .main-img-wrapper .exp-box {
    padding: 1rem 2rem;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;

    align-items: center;
  }

  .main-img-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /* height: 100vh !important; */
  }

  .exp-box {
    width: 100%;
    min-height: 100px;
    max-height: 180px;
    padding: 1rem 0.5rem;
    font-size: 0.95rem;
  }

  .about-elevators .exp-number {
    font-size: 3rem;
    font-weight: bold;
    color: #222;
    line-height: 1;

    transform: rotate(270deg);
  }

  .about-elevators .exp-text {
    font-size: 1.5rem;
    color: #555;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: 0.5rem;
    font-weight: 700;
    text-wrap: nowrap;
  }

  .main-img {
    max-width: 100%;
    height: auto;
  }

  .sub-img-frame {
    left: 0;
    bottom: -20px;
    padding: 4px;
  }

  .main-img-wrapper .sub-img {
    width: 300px !important;
    height: 70px;
  }
}

@media (max-width: 1200px) {
  .product .owl-nav {
    display: flex;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    /* height:100%; */
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 2 !important;
  }

  .product .owl-nav .owl-prev {
    margin-right: -40px !important;

  }

  .product .owl-nav .owl-next {
    margin-left: -40px !important;

  }

  .navbar .navbar-container {
    width: 100% !important;
    margin: 0 auto;
    padding: 20px !important;
  }

  .navbar .col-md-2 {
    width: 100%;
  }

  .hero-slider {
    height: auto;
    position: relative;
  }

  .hero-slider video {
    object-fit: cover;
    width: 100%;
    height: 100% !important;
    position: relative;
    z-index: 1;
    object-fit: cover;
  }

  .about-elevators .main-img-wrapper .exp-box {
    padding: 1rem 2rem;
    z-index: 2;
    width: fit-content;
    display: flex;
    justify-content: center;
    /* flex-direction: column; */
    align-items: start;

    /* height: 500px; */
  }

  .about-elevators .exp-number {
    font-size: 3rem;
    font-weight: bold;
    color: #222;
    line-height: 1;

    transform: rotate(270deg);
  }

  .about-elevators .exp-text {
    font-size: 1.1rem;
    color: #555;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: 0.5rem;
    font-weight: 500;
    letter-spacing: 1px;
  }

  .main-img-wrapper {
    position: relative;
    border-radius: 0.2rem;
    width: 100%;
    height: 70vh;
  }

  .main-img-wrapper .main-img {
    width: 800px;
    height: 450px;

    object-fit: cover;
    /* border-radius: 1rem; */
    box-shadow: var(--box-shadow);
    display: block;
  }

  .main-img-wrapper .sub-img-frame {
    position: absolute;
    inset-inline-start: 40px;
    bottom: -40px;
    width: 450px;
    height: 300px;
    /* border-radius: 1rem; */

    z-index: 2;
  }

  .main-img-wrapper .sub-img {
    width: 100%;
    height: 100%;
    box-shadow: var(--box-shadow);
    background: #fff;
    padding: 12px;
    object-fit: cover;
    /* border-radius: 0.7rem; */
    display: block;
    inset-inline-end: 0;
  }
}

/* تنسيقات متجاوبة لقسم الأقسام */
@media (max-width: 768px) {
  .hero-left {
    z-index: 2 !important;
    text-align: center;
  }

  .hero-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
  }

  .hero-right {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1 !important;
    color: #fff;
  }

  .about-elevators .main-img-wrapper .exp-box {
    padding: 1rem 2rem;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .about-elevators .exp-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #222;
    line-height: 1;

    transform: rotate(0deg) !important;
  }

  .about-elevators .exp-text {
    font-size: 1.5rem;
    color: #555;
    writing-mode: revert !important;
    transform: rotate(0deg) !important;
    margin-top: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .main-img-wrapper {
    position: relative;
    border-radius: 0.2rem;
    max-width: 650px;
    width: 100%;
    height: 650px;
  }

  .main-img-wrapper .sub-img-frame {
    position: absolute;
    inset-inline-start: 0px !important;
    bottom: -40px;
    /* box-shadow: var(--box-shadow); */
    z-index: 2;
    width: 300px;
    height: 300px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .main-img-wrapper .sub-img-frame .sub-img {
    width: 100%;
    height: 100%;
    padding: 10px;
    /* background: #fff; */
    object-fit: cover;
    /* border-radius: 0.7rem; */
    display: block;
  }

  .footer-section .container-fluid {
    border-radius: 0 !important;
    padding: 0 10px !important;
    text-align: left;
  }

  .footer-title {
    font-size: 1.2rem;
    text-align: center;
  }

  .footer-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
  }

  .footer-links {
    flex-direction: column !important;

    gap: 8px;
  }

  .footer-link {
    display: block;
    text-align: right;
  }

  .footer-social {
    justify-content: center !important;
  }

  .footer-social-icon {
    margin: 0 6px;
    font-size: 1.3rem;
  }
}

@media (min-width: 992px) {
  .hero-slider {
    background-image: url("https://golden-eagle.co/public/assets/front/images/bg-1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: calc(100vh - 103px);
    position: relative;
  }

  .slider-content {
    padding: 0 40px 0 100px;
  }

}

@media (min-width: 1200px) {
  .navbar .navbar-container {
    width: 95% !important;
    margin: 0 auto;
  }

  .navbar .col-md-2 {
    border-right: 1px solid #e9ecef;
    padding: 30px 10px;
  }

  .navbar .col-md-10 {
    border-right: 1px solid #e9ecef;
  }

  .navbar .col-md-10 .row .col-12:nth-child(2) {
    border-top: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
  }

  .about-elevators .main-img-wrapper .exp-box {
    /* background: #fff; */
    /* box-shadow: var(--box-shadow); */
    padding: 1rem 2rem;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: start;
  }

  .about-elevators .exp-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #222;
    line-height: 3;

    transform: rotate(270deg);
  }

  .about-elevators .exp-text {
    font-size: 1.5rem;
    color: #555;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .main-img-wrapper {
    position: relative;
    border-radius: 0.2rem;
    max-width: 650px;
    width: 100%;
    height: 650px;
  }

  .main-img-wrapper .main-img {
    width: 400px;
    height: 450px;
    object-fit: cover;
    /* border-radius: 1rem; */
    box-shadow: var(--box-shadow);
    display: block;
  }

  .main-img-wrapper .sub-img-frame {
    position: absolute;
    inset-inline-start: 40px;
    bottom: 0px;
    /* border-radius: 1rem; */
    box-shadow: var(--box-shadow);
    z-index: 2;
    width: 300px;
    height: 350px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .main-img-wrapper .sub-img-frame .sub-img {
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 10px;
    object-fit: cover;
    /* border-radius: 0.7rem; */
    display: block;
  }

  .hero-slider-pages .text-slider h1 {
    font-size: 4rem;
    /* color: var(--second-color) !important; */
    font-weight: bold !important;
    text-wrap: nowrap;
  }

  .nav-link {
    position: relative;
  }

  .nav-link.active {
    position: relative;
    font-weight: 700 !important;
  }
}