/********** Template CSS **********/
:root {
    --primary: #144372;
    --secondary: #BDBDBF;
    --light: #F4F5F8;
    --dark: #222429;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
    font-family: 'Cairo', sans-serif;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
    font-family: 'Cairo', sans-serif;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
    font-family: 'Cairo', sans-serif;
}

.btn {
    font-family: 'Cairo', sans-serif;
    text-transform: uppercase;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Cairo', sans-serif;
    margin-right: 30px;
    padding: 40px 0;
    color: var(--dark);
    font-size: 20px;
    text-transform: uppercase;
    outline: none;
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 36, 41, .2);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
        font-family: 'Cairo', sans-serif;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
        font-family: 'Cairo', sans-serif;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

        #header-carousel {
            position: relative;
        }

        .carousel-item {
            height: 100vh;
            overflow: hidden;
        }

        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        @keyframes zoomPan {
            0% {
                transform: scale(1) translate(0, 0);
            }
            100% {
                transform: scale(1.15) translate(-30px, -30px);
            }
        }

        .carousel-item.active img {
            animation: zoomPan 8s linear forwards;
        }

        .carousel-caption {
            background: rgba(0, 0, 0, 0.45);
            inset: 0;
        }

        .slide-title {
            opacity: 0;
            transform: translateY(40px);
            transition: all 1s ease;
        }

        .slide-buttons {
            opacity: 0;
            transform: translateY(30px);
            transition: all 1s ease;
            transition-delay: 0.4s;
        }

        .carousel-item.active .slide-title,
        .carousel-item.active .slide-buttons {
            opacity: 1;
            transform: translateY(0);
        }

.carousel-item img {
    animation: zoomIn 15s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.slide-title {
    animation: slideInFromRight 1.5s ease-out forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-buttons {
    animation: fadeInUp 1.5s ease-out forwards;
    opacity: 0;
    animation-delay: 1s;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.carousel-item {
    transition: transform 2s ease, opacity 1s ease-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}


.carousel-inner {
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    min-height: 700px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: parallaxZoom 20s linear infinite;
}

@keyframes parallaxZoom {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.1) translateY(-20px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

.slider-content {
    padding: 2rem !important;
    animation: glowPulse 3s infinite alternate;
}

@keyframes glowPulse {
    from {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
    to {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    }
}


/* End Slider */

.bg-hero {
    background: linear-gradient(rgba(34, 36, 41, .8), rgba(34, 36, 41, .8)), url(../../img/slider/3.jpg) top center no-repeat;
    background-size: cover;
}

.programe::after {
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 45px);
    top: 135px;
    left: 0;
    background: var(--dark);
    z-index: -1;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-item .team-overlay {
    position: absolute;
    top: 50%;
    right: 50%;
    bottom: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 36, 41, .9);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.2);
}

@media (min-width: 991.98px) {
    .credit {
        background: var(--primary);
    }
}

/**/
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.title {
    margin-top: 50px;
}

.title h1 {
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: Arial;
    text-transform: uppercase;
    color: #d63031;
}

.title h1 span {
    display: block;
    color: #300a0a;
    font-size: 20px;
    margin-bottom: 10px;
}

/*Carousel Gallery*/
.carousel-gallery {
    margin: 50px 0;
    padding: 0 30px;
}

.carousel-gallery .swiper-slide a {
    display: block;
    width: 100%;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    -webkit-box-shadow: 3px 2px 20px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 2px 20px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 3px 2px 20px 0px rgba(0, 0, 0, 0.2);
}

.carousel-gallery .swiper-slide a:hover .image .overlay {
    opacity: 1;
}

.carousel-gallery .swiper-slide a .image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
}

.carousel-gallery .swiper-slide a .image .overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.8);
    text-align: center;
    opacity: 0;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.carousel-gallery .swiper-slide a .image .overlay em {
    color: #fff;
    font-size: 26px;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    display: inline-block;
}

.carousel-gallery .swiper-pagination {
    position: relative;
    bottom: auto;
    text-align: center;
    margin-top: 25px;
}

.carousel-gallery .swiper-pagination .swiper-pagination-bullet {
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.carousel-gallery .swiper-pagination .swiper-pagination-bullet:hover {
    opacity: 0.7;
}

.carousel-gallery .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #d63031;
    transform: scale(1.1, 1.1);
}

/*# Carousel Gallery*/
.plugins {
    text-align: center;
}

.plugins h3 {
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: Arial;
    text-transform: uppercase;
    color: #111;
}

.plugins a {
    display: inline-block;
    font-family: Arial;
    color: #777;
    font-size: 14px;
    margin: 10px;
    transition: all 0.2s linear;
}

.plugins a:hover {
    color: #d63031;
}

/* About Animation */
p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.gallery-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery {
  position: relative;
  width: 100%;
  height: 100%;
  flex: none;
}

.gallery__item {
  background-position: 50% 50%;
  background-size: cover;
  flex: none;
  position: relative;
  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

.gallery--bento {
  display: grid;
  gap: 1vh;
  grid-template-columns: repeat(3, 32.5vw);
  grid-template-rows: repeat(4, 23vh);
  justify-content: center;
  align-content: center;
}

.gallery--final.gallery--bento {
  grid-template-columns: repeat(3, 100vw);
  grid-template-rows: repeat(4, 49.5vh);
  gap: 1vh;
}

.gallery--bento .gallery__item:nth-child(1) {
  grid-area: 1 / 1 / 3 / 2;
}

.gallery--bento .gallery__item:nth-child(2) {
  grid-area: 1 / 2 / 2 / 3;
}

.gallery--bento .gallery__item:nth-child(3) {
  grid-area: 2 / 2 / 4 / 3;
}

.gallery--bento .gallery__item:nth-child(4) {
  grid-area: 1 / 3 / 3 / 3;
}

.gallery--bento .gallery__item:nth-child(5) {
  grid-area: 3 / 1 / 3 / 2;
}

.gallery--bento .gallery__item:nth-child(6) {
  grid-area: 3 / 3 / 5 / 4;
}

.gallery--bento .gallery__item:nth-child(7) {
  grid-area: 4 / 1 / 5 / 2;
}

.gallery--bento .gallery__item:nth-child(8) {
  grid-area: 4 / 2 / 5 / 3;
}

.section {
  padding: 2rem 5rem;
}

.footer{
    background: url(../../img/footer-bg.jpg);
}

:root {
    --primary-color: #144372; /* أحمر حديدي */
    --dark-color: #2c3e50;
    --text-color: #555;
    --bg-light: #f8f9fa;
}

.about-section {
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    background-color: #fff;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.sub-title {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    font-weight: 800;
}

.intro-content {
    background: var(--bg-light);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 40px;
    border-radius: 8px;
}

.company-name {
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: left;
}
.description,.commitment{
    text-align: left;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.category-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-card h4 {
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.sub-category h5 {
    color: #444;
    margin: 15px 0 5px 0;
    font-weight: bold;
    font-family: 'Cairo', sans-serif;
}

.category-card ul {
    list-style: none;
    padding: 0;
}

.category-card ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 30px;
    font-family: 'Cairo', sans-serif;
    font-size: 23px;
}
.text-red
{
color: #0d2a48 !important;
}

.category-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.highlighted {
    background: #144372;
    color: #fff;
}

.highlighted h4 {
    color: #fff;
    border-color: var(--primary-color);
}

.highlighted ul li::before {
    color: #fff;
}


/* Start Gallery */
body {
  overflow-x: hidden;
  margin: 0;
}
.row,
.section,
section {
  position: relative;
  overflow: hidden;
}
.section,
section {
  text-align: center;
}

.container-fluid {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}

.horiz-gallery-strip,
.horiz-gallery-wrapper {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
  position: relative;
}

.project-wrap {
  width: 33vw;
  padding: 2rem;
  box-sizing: content-box;
}
.project-wrap img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

#smooth-wrapper{
    direction: ltr;
}


/*  */
