@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap");

:root {
  --primary: #0f2c59;
  --secondary: #dac0a3;
  --light: white;
}

* {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.bg {
  background-color: #e9e9e9;
}

.color {
  color: var(--primary);
}

a {
  text-decoration: none;
}

hr {
  height: 2px;
  border-width: 0;
  color: var(--primary);
  background-color: var(--primary);
  opacity: 1;
  margin: 15px 20px;
}

/* line hight in navbar  */

.lh {
  line-height: 35px;
}

/* navbar start */

.navbar1 {
  z-index: 4;
  transition: all 0.7s ease-in-out;
}

.navbar-brand {
  color: var(--light) !important;
}

.nav-link {
  color: var(--light) !important;
}

.nav-link:hover {
  color: rgb(206, 206, 206) !important;
}

.navbar.show {
  background-color: var(--primary) !important;
}

.navbar-scrolled {
  background-color: var(--primary);
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.15);
}

.Contact-us-btn1 {
  color: var(--primary);
  background-color: var(--light);
  text-decoration: none;
  text-align: center;
  font-size: 1.1em;
  font-weight: 600;
  display: inline-block;
  padding: 0.6375em 1.5875em;
  letter-spacing: 1px;
  border-radius: 15px;
  margin-right: 10px;
  margin-left: 25px;
  transition: 0.7s ease;
}

.Contact-us-btn1:hover {
  color: var(--light);
  background-color: var(--secondary);
  transform: scale(1.1);
}

/* navbar end */

/* main video container start */

main {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.video-container {
  position: relative;
  width: 100vw;
  height: 100vh;
}

#background-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#video-style {
  z-index: 2;
  width: 100%;
  height: 100vh;
  background-color: #00000064;
  position: absolute;
}

.content {
  z-index: 3;
  position: absolute;
  height: 450px;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--light);
}

.content h2 {
  color: var(--light);
  font-size: 1.4em;
  font-weight: 500;
  text-align: end;
}

.content h2 span {
  display: inline-block;
  margin: 10px;
  color: var(--secondary);
  font-size: 3em;
  font-weight: 600;
  text-transform: uppercase;
}

.content h3 {
  color: var(--light);
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: end;
}

.Contact-us-btn {
  color: var(--light);
  background-color: var(--primary);
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  display: inline-block;
  padding: 0.9375em 2.1875em;
  letter-spacing: 1px;
  border-radius: 15px;
  margin-bottom: 40px;
  transition: 0.7s ease;
}

.Contact-us-btn:hover {
  color: var(--light);
  background-color: var(--secondary);
  transform: scale(1.1);
}

/* main video container end */

/*** Section Title ***/
.section-title h1 {
  position: relative;
  display: inline-block;
  padding: 20px 30px;
  font-weight: 600;
  font-size: 50px;
}

.section-title h1::before,
.section-title h1::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 5px;
  bottom: 0;
  background: var(--dark);
}

.section-title h1::before {
  left: 0;
}

.section-title h1::after {
  right: 0;
}

.section-title.text-start h1::before {
  display: none;
}

/*** About ***/
@media (min-width: 992px) {
  .container.about {
    max-width: 100% !important;
  }

  .about-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .about-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .about-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Service ***/
.service-item img {
  transition: 0.5s;
}

.service-item:hover img {
  transform: scale(1.1);
}

/*** Feature ***/
@media (min-width: 992px) {
  .container.feature {
    max-width: 100% !important;
  }

  .feature-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .feature-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .feature-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: 0.5s;
  border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--primary);
  border-color: var(--primary);
}

.portfolio-item img {
  transition: 0.5s;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 0;
  bottom: 0;
  left: 50%;
  background: rgba(53, 53, 53, 0.7);
  transition: 0.5s;
}

.portfolio-item:hover .portfolio-overlay {
  width: 100%;
  height: 100%;
  left: 0;
}

.portfolio-item .portfolio-overlay .btn {
  opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
  opacity: 1;
}

/*** Team ***/
.team-item img {
  transition: 0.5s;
}

.team-item:hover img {
  transform: scale(1.1);
}

.team-item .team-social {
  position: absolute;
  width: 38px;
  top: 50%;
  left: -38px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  background: var(--light);
  transition: 0.5s;
}

.team-item .team-social .btn {
  color: var(--primary);
  background: var(--light);
}

.team-item .team-social .btn:hover {
  color: var(--light);
  background: var(--primary);
}

.team-item:hover .team-social {
  left: 0;
}

/*** Contact ***/
@media (min-width: 992px) {
  .container.contact {
    max-width: 100% !important;
  }

  .contact-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .contact-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .contact-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/* img-gallery */

h2 {
  margin-bottom: 15px;
  margin-right: 15px;
}

img {
  max-width: 100%;
}
.gallery {
  background-color: #f1f1f1;
  padding: 80px 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  margin: 0px 10px;
  border-radius: 10px;
}
.gallery img {
  width: 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
  transition: transform 0.3s ease-in-out;
  transform: scale(1.1);
}

#gallery-modal .modal-img {
  width: 100%;
}

/*** Footer ***/
.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../imgs/footer-background.jpg) center center no-repeat;
  background-size: cover;
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid var(--light);
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: right;
  color: var(--light);
  font-size: 16px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::after {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .copyright a:hover {
  color: var(--primary);
}

#gotopbtn {
  position: fixed;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--light);
  bottom: 40px;
  right: 40px;
  text-decoration: none;
  text-align: center;
  line-height: 50px;
  font-size: 22px;
  transition: 0.5s ease;
}

/* dropdown menu */

@media (max-width: 991px) {
  .dropdown-item::after {
    transform: rotate(90deg);
  }
}
