:root {
  --tg-heading-font-family: "Tajawal", sans-serif;
  --tg-heading-font-color: #222222;
  --tg-heading-line-height: 1.2;
  --tg-white: #fff;
  --tg-main-color: #0A4462;
  --tg-main2-color: #56a2bb;
  --tg-primary-color: #9C5925;
}
body {
  margin: 0;
  background-color: #fff;
  color: #333;
  scroll-behavior: smooth;
  font-family: var(--tg-heading-font-family);
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--tg-heading-font-family);
  color: var(--tg-heading-font-color);
  margin-top: 0px;
  margin-bottom: 0.7rem;
  font-style: normal;
  line-height: var(--tg-heading-line-height);
  font-weight: 500;
  text-transform: uppercase;
}
section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  margin: -27px 0;
}
#home,
.about,
#contact {
  width: calc(100% - 55px);
}
#home {
  color: white;
  padding: 100px 0;
}
#home .home-container {
  width: 100%;
}
#home .home-header {
  width: 100%;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
}
#home .home-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  width: 100%;
}
#home .home-content .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
#home .home-content .logo .logo-content {
  width: 250px;
  height: 250px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  margin-top: 85px;
}
#home .home-content .logo img {
  width: 100%;
}
#home .home-header::before {
  content: "";
  background-image: url(../images/header_shape.png);
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-size: cover;
  background-position: center;
}
#home .bg-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}
#home .bg-img div {
  background-image: url(../images/banner1.png);
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: auto;
  overflow: hidden;
  pointer-events: none;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  margin-top: -31.7781px;
  z-index: 1;
  right: 0;
  bottom: 0;
}
#home .home-container::before {
  content: "";
  background-image: url(../images/banner_bg_shape.png);
  position: absolute;
  left: 0px;
  bottom: -1px;
  width: 100%;
  height: 210px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  z-index: 2;
}
#home .home-container::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(5deg, var(--tg-main2-color) 0%, #0a4462 100%);
  opacity: 0.87;
  z-index: 1;
  bottom: 0;
}
#home .home-caption {
  /* height: 600px; */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 85px;
}
#home .home-caption .sub-title {
  font-size: 20px;
  color: var(--tg-white);
  margin-bottom: 10px;
  text-transform: uppercase;
}
#home .home-caption .title {
  font-size: 35px;
  color: var(--tg-white);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
#home .home-caption p {
  font-size: 25px;
  color: var(--tg-white);
  font-weight: 500;
  width: 95%;
}
.home-content2 > ul {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-color);
  padding: 0;
}
.home-content2 ul.social {
  display: flex;
  margin: 35px 0 0 0;
  justify-content: center;
  padding: 0;
}

.home-content2 ul.social li {
  margin: 0 8px 0 0;
}

.home-content2 ul.social li a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--tg-main-color);
  font-size: 20px;
}

.home-content2 ul li {
  display: flex;
  flex-direction: row;
  justify-content: end;
  margin: 13px 0 0 0;
}



.home-content2 ul li .info-content {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

.home-content2 ul li span.icon {
  font-size: 20px;
}

.home-content2 ul li .title {
  display: flex;
  flex-direction: column;
  margin-right: 18px;
  align-items: center;
}

.home-content2 ul li .title span {
  font-size: 1.2rem;
  font-weight: 400;
}

.home-content2 ul li .location.title span {
  font-weight: 400;
}
#home h2 {
  font-size: 72px;
  line-height: 1.13;
  margin: 0 0 61px;
}
#home .home-content2 {
  z-index: 3;
  /* padding: 100px 0; */
  margin: 40px 0 65px 0px;
}

/* ----------------------------about */
.about {
  color: white;
  align-items: center;
  padding: 150px 0; 
}
.about .left-about,.about .right-about{
  padding: 0;
}
.about .left-about img{
  width: 100%;
}
.about .right-about p{
  font-size: 18px;
}
.about h2 {
  z-index: 2;
}
.about p {
  z-index: 2;
  color: #000;
}
#location {
  background-color: #ffc107;
  color: #333;
}
#contact {
  background-color: #ebebeb;
  color: white;
}

h2 {
  font-size: 3em;
  margin-bottom: 20px;
}

.sidebar {
  height: 100%;
  width: 55px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ffffffcc;
  padding-top: 20px;
  transition: all 0.3s ease;
  opacity: 1;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  box-shadow: 0 0 20px -12px #000000e0;
}

.sidebar.visible {
  opacity: 1;
  visibility: visible;
}

.sidebar a {
  padding: 15px 0;
  text-decoration: none;
  font-size: 10px;
  color: #222222;
  display: block;
  width: 100%;
  text-align: center;
  transition: color 0.3s;
}
.sidebar a.active i {
  color: var(--tg-primary-color);
}
.sidebar a:hover {
  color: var(--tg-main2-color);
}

.sidebar a i {
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}
/* -------------------------------about */

.testimonial-rating {
  display: block;
  line-height: 1;
  font-size: 20px;
  color: var(--tg-primary-color);
  margin: 0 0 35px;
}

.testimonial-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0.85;
  z-index: -1;
}

.carousel {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.carousel-control-prev,
.carousel-control-next {
  width: 55px;
  height: 55px;
  background: var(--tg-main2-color);
  border-radius: 50%;
  position: unset !important;
  /* margin: 0 -130px; */
}

.carousel-control-prev i,
.carousel-control-next i {
  color: #fff;
  font-size: 30px;
}
.carousel-control-prev::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  background: var(--tg-secondary-color);
  opacity: 0.3;
  border-radius: 50%;
  transition: all 0.3s ease-out 0s;
  z-index: -1;
}
.carousel-inner {
  width: 90%;
}
.carousel-item > p {
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  margin: 0 0;
}
.testi-link a {
  display: inline-block;
  padding: 10px 25px;
  background-color: #3847a1;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(56, 71, 161, 0.3);
}
.testi-link {
  margin-top: 100px;
}
.testi-link a:hover {
  background-color: #2c357f; /* لون أغمق شوية عند hover */
  transform: translateY(-2px); /* رفع بسيط للزر */
  box-shadow: 0 6px 12px rgba(56, 71, 161, 0.4);
}
/* -----------------------------contacts */
#contact {
  padding: 100px 0;
}

#contact::before {
  content: "";
  background-image: url(../images/header_shape.png);
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  height: 100px;
  z-index: 3;
  background-size: cover;
  background-position: center;
}
.contact-box {
  box-shadow: 0 8px 16px rgba(102, 102, 102, 0.07);
  padding: 50px;
  background: var(--tg-white);
  position: relative;
  transition: all 0.2s ease-in-out;
  margin: 0 0 30px;
  text-align: center;
  height: 350px;
  border-radius: 10px;
}

.contact-box::before,
.contact-box::after {
  position: absolute;
  content: "";
  border-left: 4px solid var(--tg-main2-color);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 160px;
  width: 5px;
  transition: all 0.3s ease-in-out;
  opacity: 0;
}
.contact-icon {
  font-size: 100px;
  color: var(--tg-main-color);
  line-height: 1;
  position: relative;
  display: inline-flex;
  margin: 0 0 25px;
}

.contact-icon .overlay-icon {
  position: absolute;
  top: -5px;
  width: 26px;
  height: 26px;
  font-size: 14px;
  line-height: 26px;
  background: var(--tg-white);
  border-radius: 100%;
  box-shadow: 0 8px 16px rgba(102, 102, 102, 0.1);
  color: var(--tg-main-color);
  left: -10px;
}
.contact-box::after {
  left: auto;
  right: 0;
}
.contact-content .title {
  font-size: 20px;
  margin: 0 0 15px;
}
.contact-content .contact-desc {
  margin-bottom: 0;
  color: #777;
  font-size: 18px;
}
.contact-box-wrapper {
  margin-top: 110px;
}
.map-location iframe {
  width: 100%;
}
.container1{
  padding: 0 50px;
}
/* -----------------------------query */

@media (min-width: 768px) {
  #home .home-content {
    flex-direction: row;
  }
  #home .home-container {
    margin-bottom: 10px;
    margin-top: 70px;
  }
  #home .home-caption {
    width: 65%;
    margin-top: unset;
    align-items: start;
    padding: 0 60px 0 0;
  }
  #home .home-content .logo {
    width: 45%;
    justify-content: center;
  }
  #home .home-content .logo .logo-content {
    margin-top: unset;
    width: 400px;
    height: 400px;
  }

  #home .home-caption .sub-title {
    font-size: 30px;
  }
  #home .home-caption .title {
    font-size: 54px;
  }
  .home-content2 ul li .title span {
    font-size: 1.5rem;
  }
  .about .right-about p{
  font-size: 22px;
}
  .container1{
  padding: 0 200px;
}
  .carousel-item > p {
  font-size: 20px;

}
.home-content2 > ul {
  padding: 0 40px 0 0;
}
  .home-content2 ul li .info-content {
    flex-direction: row;
}
  .home-content2 ul li .title {
    margin-right: 18px;

}
  .home-content2 ul li span.icon {
    /* margin-bottom:50px; */
}
.carousel-control-prev, .carousel-control-next{
width: 55px;
height: 55px;
}
.carousel-control-prev i, .carousel-control-next i{
  font-size: 22px;
}
}
