@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap");
body {
  color: #0c0c0c;
  background-color: #d9dcdd;
  overflow-x: hidden;
  align-items: center;
}

.layout_padding {
  padding: 40px 0;
}

.layout_padding2 {
  padding: 75px 0;
}

.layout_padding2-top {
  padding-top: 75px;
}

.layout_padding2-bottom {
  padding-bottom: 75px;
}

.layout_padding-top {
  padding-top: 90px;
}

.layout_padding-bottom {
  padding-bottom: 90px;
}

h1,
h2 {
  font-family: 'Dancing Script', cursive;
}


/**********************************/
/********** Top Bar CSS ***********/
/**********************************/

.hero {
  
      background-size: cover;
      background-position: center;
      height: 400px;
      position: relative;
    }
    .service-box {
      padding: 20px;
      text-align: center;
      background: #8fa0936e; 
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      transition: 0.3s;
    }
    .service-box:hover {
      transform: scale(1.05);
    }
    .service-box i {
      font-size: 2rem;
      margin-bottom: 10px;
    }
 .slider_section {
    padding-top: 80px; /* عدل حسب ارتفاع الهيدر */
    position: relative;
  }

  /* تنسيق الهيدر */
  .header_section {
    z-index: 1050;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .search input {
    border-radius: 25px;
    padding: 5px 15px;
  }
 .top-bar-right {
    display: flex;
    align-items: right;
    justify-content: flex-end;
    margin-right: 15px;
}

.top-bar .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 60px;
    padding: 0 10px;
    text-align: right;
    
}

.top-bar .text h2 {
    color: #eeeeee;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    margin: 0;
}

.top-bar .text p {
    color: #eeeeee;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

.top-bar .social {
    display: flex;
    height: 60px;
    font-size: 0;
    justify-content: flex-end;
}

.top-bar .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;
    font-size:  35px;
    color:  #e1dcdd;
    
}

.top-bar .social a:hover {
    color:#000000;
    background: #0b4b1a;
}

.heading_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.heading_container h2 {
  position: relative;
  margin-bottom: 0;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
}

.heading_container h2 span {
  color:  #0b4b1a;
}

.heading_container p {
  margin-top: 10px;
  margin-bottom: 0;
}

.heading_container.heading_center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover,
a:focus {
  color: initial;
}

.btn,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/*header section*/
.hero_area {
  position: relative;
 
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.hero_area .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero_area .hero-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hero_area .hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
}

.sub_page .hero_area {
  min-height: auto;
}

.sub_page .hero_area .hero_bg_box {
  display: none;
}

.header_section {
  padding: 5px 0;
}

.header_section .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.navbar-brand {
  font-family: 'Dancing Script', cursive;
}

.navbar-brand span {
  font-weight: bold;
  font-size: 32px;
  color: #ffffff;
}
.navbar-nav{
  direction: rtl;
  margin: right 0;
}

.custom_nav-container {
  padding: 0;
  
}

.custom_nav-container .navbar-nav {
  margin-left: auto;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
  padding: 5px 20px;
  color: #ffffff;
  text-align:right;
  text-transform: uppercase;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-nav .nav-item .nav-link svg {
  width: 17px;
  height: auto;
  fill: #ffffff;
  margin-bottom: 2px;
}

.custom_nav-container .navbar-nav .nav-item .nav-link:hover {
  color:  #838080;
}
.custom_nav-container .navbar-nav .nav-item .nav-link:hover svg {
  fill:  #0b4b1a;
}

.custom_nav-container .navbar-nav .nav-item.active .nav-link {
  color: #ffffff;
  background-color: #0b4b1a;
}


 /* ✅ القواعد لجعل الصفحة متجاوبة */
    img {
      max-width: 100%;
      height: auto;
    }

    .navbar-nav {
      text-align: right;
    }

    .navbar-nav .nav-item {
      margin: 5px 10px;
    }
    .nav-link{
      color: #f1f0f0;
    } 


    .btn-box {
      text-align: center;
      margin-top: 20px;
    }

    .transparent-btn {
     
      color: #fff;
      padding: 10px 25px;
      border-radius: 30px;
      transition: 0.3s;
      display: inline-block;
    }

    .transparent-btn:hover {
      background: #fff;
      color: #000;
    }
   
.custom_nav-container .nav_search-btn {
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
  color: #ffffff;
}

.custom_nav-container .nav_search-btn:hover {
  color: #0b4b1a;
}

.custom_nav-container .navbar-toggler {
  outline: none;
}

.custom_nav-container .navbar-toggler {
  padding: 0;
  width: 37px;
  height: 42px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span {
  display: block;
  width: 35px;
  margin: 7px 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  border-radius: 5px;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::before, .custom_nav-container .navbar-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  /* background-color: #ffffff; */
  top: -10px;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::after {
  top: 10px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] {
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span::before, .custom_nav-container .navbar-toggler[aria-expanded="true"] span::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
          
  top: 0;
}
.dropdown-menu {
  text-align: right;
  background-color: #494747;
  box-shadow: none;
}
.dropdown-menu a {
  color: #fff;
}
.dropdown-menu a:hover {
  color:#fff;
  background: #0b4b1a;
}
/*end header section*/
/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio {
  position: relative;
  padding: 45px 0 15px 0;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: -15px 0 25px 0;
  list-style: none;
  font-size: 0;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  margin: 5px;
  padding: 8px 15px;
  color: #1d2434;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  background: none;
  border: 2px solid  #0b4b1a;
  transition: .3s;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  background: #1d2434;
  color: #D5B981;
}

.portfolio .portfolio-item {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  transition: .3s;
}

.portfolio .portfolio-item:hover {
  margin-top: -10px;
}
.portfolio .portfolio-wrap {
  position: relative;
  width: 100%;
}

.portfolio .portfolio-wrap a::after {
  position: absolute;
  content: "";
  top: 30px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  background: transparent;
  border: 1px solid  #F6F6F7;
  transition: .3s;
  z-index: 1;
}

.portfolio .portfolio-wrap:hover a::after {
  border-color:#0b4b1a;
}

.portfolio img {
  position: relative;
  width: 100%; 
  height: 100%; 
  object-fit: cover;
}

/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
  position: relative;
  width: 100%;
  padding: 45px 0 15px 0;
}

.service .service-item {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  
}

.service .service-img {
  position: relative;
  width: 100%;
}

.service .service-img img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service .service-img::after {
  position: absolute;
  content: "";
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  background: transparent;
  border: 1px solid  #0b4b1a;
  z-index: 1;
}

.service .service-item h3 {
  margin: 0;
  
  padding: 25px 15px 15px 15px;
  font-size: 25px;
  font-weight: 700;
}

.service .service-item p {
  margin: 0;
  padding: 0 25px 25px 25px;
  font-size: 16px;
}

.service .service-item a.btn {
  position: relative;
  margin-bottom: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  border: 2px solid  #0b4b1a;
  border-radius: 0;
  background: none;
  transition: .3s;
}

.service .service-item:hover a.btn {
  color: #0b4b1a;
  background: #000;
  border-color:#000;
}
.service-item {
height: 50px
}
/* slider section */
.slider_section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  padding: 45px 0 75px 0;
}

.slider_section .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.slider_section #customCarousel1 {
  width: 100%;
  position: unset;
}

.slider_section .detail-box {
  color: #ffffff;
  text-align: center;
}

.slider_section .detail-box h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.slider_section .detail-box p {
  font-size: 14px;
}

.slider_section .detail-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #0b4b1a;
  color: #ffffff;
  border-radius: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
  margin-top: 10px;
}

.slider_section .detail-box a:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
}

.slider_section .img-box img {
  width: 100%;

}

.slider_section .carousel-indicators {
  position: unset;
  margin: 25px 0 0 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.slider_section .carousel-indicators li {
  background-color: #ffffff;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  opacity: 1;
}

.slider_section .carousel-indicators li.active {
  width: 20px;
  height: 20px;
  background-color: #0b4b1a;
}
.plant_section .heading_container {
  margin-bottom: 20px;
}

.plant_section .box {
  position: relative;
  margin-top: 25px;
  padding: 15px;
  border-radius: 10px;
  border:solid  #0b4b1a;
  -webkit-transition: all .3s;
  transition: all .3s;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.25);
}

.plant_section .box .img-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 215px;
}

.plant_section .box .img-box img {
  max-width: 100%;
  max-height: 145px;
  -webkit-transition: all .3s;
  transition: all .3s;
 
}

.plant_section .box .detail-box {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.plant_section .box .detail-box a {
  color: #000000;
  font-weight: 600;
  font-size: 18px;
}

.plant_section .box .detail-box h6 {
  margin-top: 10px;
  color: #206a5d;
  font-weight: 600;
}

.plant_section .box:hover img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.plant_section .box:hover .option_container {
  opacity: 1;
  visibility: visible;
}

.plant_section .option_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: rgba(255, 255, 255, 0.65);
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.plant_section .options {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 175px;
  background-color: #ffffff;
  border: 1px solid #f5f6f7;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
          box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
  padding: 10px 35px;
  border-radius: 10px;
}

.plant_section .options a {
  color: #81b214;
}

.plant_section .options a svg {
  width: 20px;
  height: auto;
  fill: #81b214;
}

.plant_section .options::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: calc(100% - 20px);
  background-color: #000000;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.plant_section .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 45px;
}

.plant_section .btn-box a {
  display: inline-block;
  padding: 10px 40px;
  background-color:  #0b4b1a;
  color: #ffffff;
   border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.plant_section .btn-box a:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
}

.contact_section .heading_container {
  margin-bottom: 15px;
}

.contact_section .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.contact_section .img-box img {
  max-width: 100%;
     border-radius: 8px;
}

.contact_section .detail-box h3 {
  font-weight: bold;
}

.contact_section .detail-box p {
  margin-top: 15px;
}

.contact_section .detail-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #0b4b1a;
  color: #ffffff;
  border-radius: 5px;
  transition: all 0.3s;
  border: none;
  margin-top: 15px;

}

.contact_section .detail-box a:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
}

.why_section {
  background-color: #f7f7f8;
}

.why_section .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  margin-top: 45px;
}

.why_section .box .img-box {
  margin-bottom: 15px;
}

.why_section .box .img-box img {
  max-width: 75px;
  max-height: 75px;
  -webkit-filter: invert(61%) sepia(77%) saturate(617%) hue-rotate(34deg) brightness(91%) contrast(84%);
          filter: invert(61%) sepia(77%) saturate(617%) hue-rotate(34deg) brightness(91%) contrast(84%);
}

.why_section .box h5 {
  font-weight: 600;
}

.why_section .box p {
  font-size: 14px;
}

.contact_section {
  position: relative;
}

.contact_section .heading_container {
  margin-bottom: 25px;
}

.contact_section .form_container input {
  width: 100%;
  border: none;
  height: 50px;
  margin-bottom: 15px;
  padding-left: 20px;
  outline: none;
  color: #101010;
  border-radius: 45px;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
}

.contact_section .form_container input::-webkit-input-placeholder {
  color: #206a5d;
}

.contact_section .form_container input:-ms-input-placeholder {
  color: #206a5d;
}

.contact_section .form_container input::-ms-input-placeholder {
  color: #206a5d;
}

.contact_section .form_container input::placeholder {
  color: #206a5d;
}

.contact_section .form_container input.message-box {
  height: 120px;
  border-radius: 15px;
}

.contact_section .form_container button {
  margin-top: 15px;
  border: none;
  text-transform: uppercase;
  display: inline-block;
  padding: 12px 55px;
  background-color: #0b4b1a;
  color: #ffffff;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.contact_section .form_container button:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
}

.contact_section .map_container {
  border-radius: 25px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  padding: 0;
}

.contact_section .map_container .map {
  height: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.contact_section .map_container .map #googleMap {
  height: 100%;
}

/* client section start */
.client_section .heading_container {
  margin-bottom: 30px;
}

.client_section .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 15px;
}

.client_section .box .img-box {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 105px;
  margin-bottom: -50px;
  margin-left: 25px;
  position: relative;
}

.client_section .box .img-box img {
  border-radius: 100%;
  border: 5px solid #efefef;
}

.client_section .box .detail-box {
  background-color: #ffffff;
  padding: 60px 25px 15px 25px;
  border: 5px solid #efefef;
}

.client_section .box .detail-box h6 {
  font-weight: 600;
  font-size: 18px;
  margin: 15px 0 5px 0;
}

.client_section .box .detail-box p {
  margin-bottom: 0;
  font-size: 15px;
  margin-bottom: 10px;
}

.client_section .owl-carousel .owl-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 45px;
  padding: 0 15px;
}

.client_section .owl-carousel .owl-nav .owl-prev,
.client_section .owl-carousel .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  background-color: #0b4b1a;
  color: #ffffff;
  outline: none;
  bottom: 0px;
  font-size: 24px;
  margin: 0 5px;
}
/* cards */
.card {
  height:290px;

}
.cards {
width: 360px;
height: 220px}

/* ////////////////////////////////////////////////////////////////// */


.modern-icon-box {
  background: #d9dfdd;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: inline-block;
}

.modern-icon-box:hover {
  background: linear-gradient(135deg, #90a59c, #ecfcf4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.modern-icon-img {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  transition: transform 1.5s ease;  /* مدة الحركة أطول لبطء الدوران */
}

.modern-icon-box:hover .modern-icon-img {
  transform: scale(1.1) rotate(15deg); /* تدوير بسيط 15 درجة مع تكبير خفيف */
  filter: brightness(1.1) saturate(1.3);
}
/* صندوق النص بلون ناعم */
.modern-service-box {
  background: #f0fdf4;
  padding: 20px;
  margin-top: 20px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(5, 88, 49, 0.5);
 
  text-align: center;
}

.modern-service-box h3 {
  
  font-size: 20px;
  color: #1b4332;
  margin-bottom: 10px;
}

.modern-service-box p {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
}

/* زر بلون أخضر عصري */
.modern-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 30px;
  background: #2d6a4f;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.4s ease-in-out, transform 0.4s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.modern-btn:hover {
  background: linear-gradient(45deg, #40916c, #74c69d);
  transform: scale(1.12) translateY(-3px);
  color: #053717;
  box-shadow: 0 8px 25px  rgba(0, 0, 0, 0.35);
}
/* ////////////////////////////////////////////////////////////////// */

.icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  background: rgba(29, 36, 52, .04);
  height:40px;

}

.icon-title img {
  width: 40px;
  height:40px;
  object-fit: contain;
}
.icon-title img {
  width: 30px;   /* حجم الأيقونة */
  height: auto;
}

.transparent-btn {
  display: inline-block;
  padding: 12px 25px;
  color: #fffcfc;
  text-decoration: none;
  
  border-radius: 8px;
  background-color:#0b4b1a;
  transition: all 0.3s ease;
  font-weight: bold;
}

.transparent-btn:hover {
  background-color: rgba(0, 0, 0, 0.1); /* يتغير عند المرور */

}

/*  footer */
/* === footer style === */
.footer_section {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* المحتوى العام للفوتر */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* النص */
.footer-text {
  font-size: 14px;
  margin-bottom: 15px;
}

/* الأيقونات */
.footer-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.footer-icons a {
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.3s;
}

.footer-icons a:hover {
  color:  #838080;
}

.footer-icons i {
  font-size: 28px;
  margin-bottom: 5px;
}

.footer-icons p {
  margin: 0;
  font-size: 14px;
}

/* ✅ عند الشاشات المتوسطة والكبيرة: يكون النص يمين والأيقونات يسار في نفس السطر */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between; /* تباعد يمين ويسار */
    align-items: center;
    text-align: right;
  }

  .footer-text {
    margin-bottom: 0;
  }

  .footer-icons {
    justify-content: flex-start;
  }
}

/* تصغير في الشاشات الصغيرة */
@media (max-width: 576px) {
  .footer-icons {
    gap: 25px;
  }
  .footer-icons i {
    font-size: 24px;
  }
  .footer-icons p {
    font-size: 12px;
  }
}

/* الصورة تتناسب مع حجم الكارد أو العمود */
.img-box1 img {
  width: 100%;       /* العرض يأخذ كامل مساحة العمود */
  height: auto;      /* يحافظ على نسبة الطول للعرض */
  max-height: 600px; /* أقصى ارتفاع للصورة على الشاشات الكبيرة */
  border-radius: 8px; /* حواف ناعمة اختياري */
}

/* تنسيق الأعمدة لتبقى متناسقة مع النصوص */
@media (max-width: 992px) {
  .about_section .row {
    flex-direction: column; /* الصورة فوق النص على الشاشات المتوسطة والصغيرة */
  }
  .img-box1 img {
    max-height: 400px; /* يقل الحد الأقصى للارتفاع لتناسب الشاشات المتوسطة */
  }
}

@media (max-width: 576px) {
  .img-box1 img {
    max-height: 300px; /* أقصى ارتفاع على الهواتف الصغيرة */
  }
}

.carousel-img {
  width: 100%;           /* يجعل الصورة تأخذ كامل عرض العنصر */
  height: auto;           /* يحافظ على نسبة العرض إلى الارتفاع */
  object-fit: cover;      /* يملأ الإطار بدون تشويه */
  max-height: 500px;      /* ارتفاع مناسب للشاشات الكبيرة */
  
}

/* ✅ تناسب الصورة مع الأجهزة المختلفة */
@media (max-width: 992px) {
  .carousel-img {
    max-height: 400px;
  }
}

@media (max-width: 576px) {
  .carousel-img {
    max-height: 300px;
  }
}


/*  رسالة تم الارسال*/
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-popup .popup-content {
  background: #28a745;
  color: #fff;
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.error-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.error-popup .popup-content {
  background: #e74c3c;
  color: #fff;
  padding: 20px 40px;
  border-radius: 12px;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}
.content-paragraph {
  text-align: justify;      /* يجعل النص متساوي الحواف من اليمين واليسار */
  text-align-last: right;    /* يجعل آخر سطر على اليمين */
  line-height: 1.8;         /* زيادة المسافة بين السطور لتسهيل القراءة */
  direction: rtl;           /* من اليمين لليسار */
  margin: 20px 0;           /* مسافة حول الفقرة */
  font-size: 16px;          /* حجم الخط */
  word-break: break-word;   /* لف الكلمات الطويلة */
}