/* Start variables */
:root {
  --main-color: black;
  --second-color: rgba(0, 0, 0, 0.705);
  --white-color: white;
  --text-color: black;
  --sec-text-color: white;
  --bg-color: white;
  --main-transition: 0.3s;
}

/* End variables */
/* Start Global Rules */

* {
  box-sizing: border-box;
  margin: 0;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Cairo", sans-serif;
  background-color: var(--bg-color);
  position: relative;
}
j ::selection {
  background-color: var(--second-color);
  color: var(--white-color);
}

::-webkit-scrollbar {
  width: 12px;
  background-color: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-left: 2px solid black;
}

html {
  scroll-behavior: smooth;
}

.section-heading {
  color: var(--main-color);
  padding: 0 0 100px;
  text-align: center;
  font-size: 1.8em;
  position: relative;
  text-transform: uppercase;
  -webkit-animation: appear linear;
  animation: appear linear;
  animation-range: entry 0% cover 40%;
  animation-timeline: view();
}

.section-heading::before,
.section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  background-color: var(--main-color);
}

.section-heading::before {
  height: 5px;
  width: 150px;
  -webkit-transform: translate(-50%, -200%);
  -moz-transform: translate(-50%, -200%);
  -ms-transform: translate(-50%, -200%);
  -o-transform: translate(-50%, -200%);
  transform: translate(-50%, -200%);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
}

.section-heading::after {
  background-color: var(--main-color);
  width: 15px;
  height: 15px;
  -webkit-transform: translate(-50%, -6%) rotate(45deg);
  -moz-transform: translate(-50%, -6%) rotate(45deg);
  -ms-transform: translate(-50%, -6%) rotate(45deg);
  -o-transform: translate(-50%, -6%) rotate(45deg);
  transform: translate(-50%, -6%) rotate(45deg);
  border: 4px solid white;
  outline: 2px solid;
}

.container {
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 48rem) {
  .container {
    width: 48rem !important;
  }
}

@media (min-width: 62rem) {
  .container {
    width: 62rem !important;
  }
}

@media (min-width: 75rem) {
  .container {
    width: 75rem !important;
  }
}

.no-scroll {
  overflow: hidden;
}

/* End Global Rules */

.scroll-to-top {
  cursor: pointer;
  display: none;
  z-index: 9999;
  right: 25px;
  bottom: 25px;
  width: 35px;
  height: 35px;
  position: fixed;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.scroll-to-top span {
  display: block;
  text-align: center;
  background-color: var(--text-color);
  font-weight: bold;
  font-size: 27px;
  color: white;
  border: 3px solid;
  outline: 2px solid var(--second-color);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
}

.scroll-to-top span:hover {
  background-color: var(--main-color);
}

.scroll-to-top span::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f062";
  font-size: 25px;
  position: relative;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0px 2px 20px 0px #413f3f;
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
}

header .container {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
}

@media (max-width: 767px) {
  header .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

header .container.sec-pages {
  justify-content: space-between;
}

header .container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  z-index: -1;
}

header .logo {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .logo img {
  width: 220px;
}

header .links {
  gap: 5px;
}

header .links li {
  /* overflow: hidden !important; */
  width: 100px;
  height: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
}

header .links li a {
  color: var(--sec-text-color);
  width: 100%;
  height: 100%;
  font-size: 1.1em;
  font-weight: 500;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}

header .container .icons i {
  color: var(--white-color);
  display: none;
  cursor: pointer;
  font-size: 1.7em;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all var(--main-transition);
  -moz-transition: all var(--main-transition);
  -ms-transition: all var(--main-transition);
  -o-transition: all var(--main-transition);
  transition: all var(--main-transition);
}

@media (max-width: 855px) {
  header .container .icons i {
    right: 2.4rem;
  }
}
@media (max-width: 767px) {
  header .container .icons i {
    right: 20px;
  }
}

/* For the navbar in the pojects pages */
@media (max-width: 1055px) {
  header .container.sec-pages .icons i {
    right: 2.4rem;
  }
}
@media (max-width: 767px) {
  header .container.sec-pages .icons i {
    right: 20px;
  }
}

#checked {
  display: none;
}

@media (max-width: 855px) {
  header .container .icons i {
    display: inline-flex;
  }
  header .container .icons i:nth-child(2) {
    display: none;
  }
}

/* For the navbar in the pojects pages */
@media (max-width: 1055px) {
  header .container.sec-pages .icons i {
    display: inline-flex;
  }
  header .container.sec-pages .icons i:nth-child(2) {
    display: none;
  }
}

#checked:checked ~ .icons #open-menu {
  display: none;
}

#checked:checked ~ .icons #close-menu {
  display: inline-flex;
}

@media (max-width: 855px) {
  header .container .links {
    flex-direction: column;
    position: absolute;
    width: 0;
    right: -50px;
    top: 100%;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    -webkit-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    -ms-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
  }
  header .container .links li {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #777;
  }
  header .container .links li a {
    display: flex;
    text-align: center;
    margin-left: 0;
  }
}

/* For the navbar in the pojects pages */

@media (max-width: 1055px) {
  header .container.sec-pages .links {
    flex-direction: column;
    position: absolute;
    width: 0;
    right: -50px;
    top: 100%;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(50px);
    backdrop-filter: blur(50px);
    -webkit-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    -ms-transition: 0.5s ease;
    -o-transition: 0.5s ease;
    transition: 0.5s ease;
  }
  header .container.sec-pages .links li {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #777;
  }
  header .container.sec-pages .links li a {
    display: flex;
    text-align: center;
    margin-left: 0;
  }
}

#checked:checked ~ .links {
  width: 100%;
  right: 0;
}

header .links li:hover a {
  background-color: var(--bg-color);
  border-color: var(--bg-color);
  color: var(--main-color);
  font-weight: 700;
}

.home {
  background: url(../Images/backgroundONe.webp) center no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

section.home .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  text-align: center;
  width: 100%;
  height: 100vh;
}

@media (max-width: 767px) {
  section.home .container {
    padding-left: 20px;
    padding-right: 20px;
    height: calc(100vh - 55px);
  }
}

.home::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .home::before {
    height: calc(100vh - 55px);
  }
}

.home .info {
  position: relative;
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

section.home .container .text {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.home .container > div .home-bottom {
  text-align: left;
  position: relative;
  top: 25px;
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -o-transform: translateY(20px);
  transform: translateY(20px);
}

.home h2 {
  text-align: left;
  font-size: 1.4em;
  font-weight: bold;
  font-weight: 600;
  color: var(--bg-color);
  -webkit-animation: text-clip-path 1.5s forwards ease-out;
  animation: text-clip-path 1.5s forwards ease-out;
}

.home h2 span.name {
  position: relative;
  color: wheat;
  font-weight: bold;
  font-size: 1.45em;
}

.home h2 span.name::before {
  content: "";
  position: absolute;
  background: url(../Images/circle.webp);
  background-position: center;
  background-size: 100%;
  width: 190px;
  aspect-ratio: 3 / 2;
  left: -35px;
  top: -32px;
  z-index: -2;
}

.home h2 span.job {
  display: block;
  color: var(--white-color);
  font-size: 3em;
  font-weight: 700;
  margin: 20px 0 10px;
  letter-spacing: -1px;
  -webkit-transform: translateX(-4px);
  -moz-transform: translateX(-4px);
  -ms-transform: translateX(-4px);
  -o-transform: translateX(-4px);
  transform: translateX(-4px);
}

@media (max-width: 767px) {
  .home h2 {
    margin: 0;
  }
}

.home h3 {
  text-align: left;
  color: var(--bg-color);
  font-weight: 600;
  font-size: 1.5em;
  padding-bottom: 10px;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  -webkit-animation: text-clip-path 1.5s ease-out 0.5s forwards;
  animation: text-clip-path 1.5s ease-out 0.5s forwards;
}

.home .container a.main-btn {
  position: relative;
  width: 131.36px;
  height: 54px;
  font-weight: 700;
  padding: 8px 17px;
  color: var(--sec-text-color);
  background: linear-gradient(
    to right,
    var(--bg-color) 50%,
    var(--main-color) 50%
  );
  background-size: 200% 98%;
  background-position: right bottom;
  border: 2px solid;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  overflow: hidden;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  /* Adjusted to 'Medium' timing: duration 0.7s, slight lead-in before icons */
  -webkit-animation: text-clip-path 0.7s ease-out 0.08s forwards;
  animation: text-clip-path 0.7s ease-out 0.08s forwards;
}

.home .container a.main-btn:hover {
  background-position: left bottom;
  color: var(--text-color);
  border-color: var(--bg-color);
}

.social-icons {
  display: flex;
  justify-content: left;
}

.home .social-icons {
  margin-top: 35px;
}

.home .social-icons > div {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  width: 15px;
  height: 15px;
  margin-left: 5px;
  background: linear-gradient(
    to right,
    var(--bg-color) 50%,
    var(--main-color) 50%
  );
  background-size: 203% 103%;
  background-position: right bottom;
  border: 2px solid var(--main-color);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  -webkit-transition: 0.5s ease;
  -moz-transition: 0.5s ease;
  -ms-transition: 0.5s ease;
  -o-transition: 0.5s ease;
  transition: 0.5s ease;
}

.home .social-icons > div:first-of-type {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  -webkit-animation: text-clip-path 0.7s ease-out 0.2s forwards;
  animation: text-clip-path 0.7s ease-out 0.2s forwards;
}

.home .social-icons > div:nth-of-type(2) {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  -webkit-animation: text-clip-path 0.7s ease-out 0.32s forwards;
  animation: text-clip-path 0.7s ease-out 0.32s forwards;
}

.home .social-icons > div:nth-of-type(3) {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  -webkit-animation: text-clip-path 0.7s ease-out 0.44s forwards;
  animation: text-clip-path 0.7s ease-out 0.44s forwards;
}

.home .social-icons > div:nth-of-type(4) {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  -webkit-animation: text-clip-path 0.7s ease-out 0.56s forwards;
  animation: text-clip-path 0.7s ease-out 0.56s forwards;
}

.home .social-icons > div:nth-of-type(5) {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  -webkit-animation: text-clip-path 0.7s ease-out 0.68s forwards;
  animation: text-clip-path 0.7s ease-out 0.68s forwards;
}

.home .social-icons > div:hover {
  background-position: left bottom;
}

.social-icons > div a i {
  color: var(--bg-color);
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.home .social-icons > div:hover a i {
  color: var(--main-color);
}

.home .image {
  display: flex;
  flex: 1;
  align-items: end;
  width: 100%;
  max-width: 100%;
  z-index: 1;
}

.home .image img {
  position: relative;
  bottom: 0;
  z-index: 100;
  max-width: 100%;
  width: 0%;
  max-height: calc(100% - 70px);
  object-fit: contain;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  -webkit-animation: img-appear 0.8s 0s 1 forwards;
  animation: img-appear 0.8s 0s 1 forwards;
}

@media (min-width: 992px) {
  .home .image img {
    width: 100%;
    max-width: 850px;
  }
}

@media (min-width: 691px) {
  .home .image img {
    width: 700px;
    max-width: none;
  }
}

@media (max-width: 690px) {
  .home .image img {
    right: 25%;
    width: 630px;
    max-width: none;
  }
}

@media (max-width: 535px) {
  .home .image img {
    right: 100%;
    width: 630px;
    max-width: none;
  }
}

.expertise {
  position: relative;
  padding: 70px 0;
}

.expertise::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background: url(../Images/landingE.webp) center no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  z-index: -1;
  -webkit-filter: blur(5px);
  filter: blur(5px);
}

.expertise .container {
  display: grid;
  grid-template-columns: minmax(0, 35%) minmax(0, 65%);
  gap: 25px;
}

.expertise .container > * {
  min-width: 0;
}

.expertise img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .expertise .container {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }
}

@media (max-width: 767px) {
  .expertise .container .technical ul li {
    padding: 5px 12px 5px 0;
  }
}

.expertise .container .technical ul {
  position: relative;
  opacity: 0;
  -webkit-transform: translateX(-100px);
  -moz-transform: translateX(-100px);
  -ms-transform: translateX(-100px);
  -o-transform: translateX(-100px);
  transform: translateX(-100px);
}

@media (max-width: 767px) {
  .expertise .container .technical ul {
    position: relative;
    opacity: 0;
    -webkit-transform: translateX(-30px);
    -moz-transform: translateX(-30px);
    -ms-transform: translateX(-30px);
    -o-transform: translateX(-30px);
    transform: translateX(-30px);
  }
}

.expertise .container .technical ul li {
  -webkit-transition: var(--main-transition) ease-out;
  -moz-transition: var(--main-transition) ease-in-out;
  -ms-transition: var(--main-transition) ease-in-out;
  -o-transition: var(--main-transition) ease-in-out;
  transition: var(--main-transition) ease-in-out;
}

.expertise .container .technical ul li:hover {
  scale: 1.02;
  background-color: wheat;
}

.expertise .container .management ul {
  opacity: 0;
  -webkit-transform: translateX(-100px);
  -moz-transform: translateX(-100px);
  -ms-transform: translateX(-100px);
  -o-transform: translateX(-100px);
  transform: translateX(-100px);
}

.expertise .container h3 {
  text-align: center;
  padding: 10px 15px;
  margin-bottom: 5px;
  background-color: var(--main-color);
  color: var(--bg-color);
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  -ms-border-radius: 35px;
  -o-border-radius: 35px;
  border-radius: 35px;
}

.expertise .container ul {
  display: flex;
  flex-direction: column;
  justify-content: left;
  padding-left: 0;
}

.expertise .container .technical ul li {
  display: flex;
  align-items: center;
  padding: 5px 45px 5px 0;
  margin-top: 10px;
  border: 1px solid;
  font-weight: bold;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}

.expertise .container .technical ul li img {
  width: 25px;
  margin: 0 10px 0 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.expertise .container .management .content {
  display: flex;
  flex-direction: column;
  margin-left: 25px;
}

.expertise .container .management ul li {
  margin-top: 15px;
  position: relative;
}

.expertise .container .management ul li::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: -15px;
  top: 3px;
  background-color: var(--main-color);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
}

.services {
  padding: 70px 0;
  background: url(../Images/backgroundTwo.webp) no-repeat;
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
}

@media (max-width: 767px) {
  .services {
    background-position: top right;
  }
}

.services::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.62);
}

.services h2 {
  color: var(--bg-color);
}

.services h2::before {
  background-color: var(--bg-color);
}

@media (max-width: 767px) {
  .services {
    padding: 50px 0;
  }
}

.services .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}

@media (max-width: 767px) {
  .services .container {
    gap: 20px;
    padding: 0 20px;
  }
}

.services .container .service {
  position: relative;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 2px 10px 0px;
  text-align: center;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
  opacity: 0;
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -o-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
}

@media (min-width: 768px) {
  .services .container .service:hover {
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}

.services .container .service .image {
  position: relative;
  overflow: hidden;
}

.services .container .service .image::after {
  content: "";
  background-color: white;
  position: absolute;
  width: 250%;
  height: 100px;
  left: -50%;
  bottom: -40px;
  -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  -ms-transform: rotate(-10deg);
  -o-transform: rotate(-10deg);
  transform: rotate(-10deg);
  -webkit-transition: var(--main-transition) ease;
  -moz-transition: var(--main-transition) ease;
  -ms-transition: var(--main-transition) ease;
  -o-transition: var(--main-transition) ease;
  transition: var(--main-transition) ease;
}

@media (min-width: 768px) {
  .services .container .service:hover .image::after {
    bottom: -50px;
    -webkit-transform: rotate(10deg);
    -moz-transform: rotate(10deg);
    -ms-transform: rotate(10deg);
    -o-transform: rotate(10deg);
    transform: rotate(10deg);
  }
}

.services .container .service .image img {
  max-height: 100%;
  width: 100%;
}

.services .container .service h3 {
  position: relative;
  padding: 15px 0;
  color: var(--main-color);
  font-weight: 700;
  font-size: 1.7em;
}

.services .container .service h3::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 6px;
  font-size: 20px;
  background-color: var(--main-color);
  left: 50%;
  bottom: 0%;
  -webkit-transform: translate(-50%, 100%);
  -moz-transform: translate(-50%, 100%);
  -ms-transform: translate(-50%, 100%);
  -o-transform: translate(-50%, 100%);
  transform: translate(-50%, 100%);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}

.services .container .service h3::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--main-color);
  left: 50%;
  bottom: -14px;
  outline: 4px solid white;
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
  transform: translate(-50%);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
}

.services .container .service p {
  padding: 25px;
  overflow-y: scroll;
  max-height: 300px;
  margin: 30px 0 0;
  font-size: 1em;
  color: var(--text-color);
  line-height: 2;
  font-weight: 500;
}

@media (max-width: 767px) {
  .services .container .service p {
    max-height: 1000px;
  }
}

.services .container .service p::-webkit-scrollbar {
  width: 2px;
}

.services .container .service a {
  background-color: var(--main-color);
  color: white;
  padding: 12px;
  display: block;
  bottom: 0;
  font-weight: 600;
  position: relative;
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
}

.services .container .service a:hover {
  background-color: #1f1610;
}

.projects {
  padding: 70px 0;
  position: relative;
}

.projects::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background: url(../Images/landingP.webp) no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  z-index: -1;
  -webkit-filter: blur(1px);
  filter: blur(1px);
}

@media (max-width: 767px) {
  .projects {
    padding: 50px 0;
  }
}

.projects .section-heading,
.projects .section-heading,
.expertise .section-heading,
.expertise .section-headingexpertise {
  color: var(--text-color);
}
.expertise .section-heading::before,
.expertise .section-heading::after,
.projects .section-heading::before,
.projects .section-heading::after {
  background-color: var(--main-color);
}

.projects .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}

@media (max-width: 767px) {
  .projects .container {
    padding: 0 20px;
  }
}

@media (max-width: 826px) {
  .projects .container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.projects .container .box {
  position: relative;
  padding-top: 50px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  -ms-transition: 0.6s;
  -o-transition: 0.6s;
  transition: 0.6s;
}

.projects .container .box::before {
  content: "";
  position: absolute;
  background-color: #f3f3f3;
  right: 0;
  top: 0;
  width: 85%;
  height: 100%;
  z-index: -1;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.projects .container .box:after {
  content: "";
  position: absolute;
  right: -85%;
  top: 0;
  right: 0;
  background-color: #d3d2d2;
  width: 0%;
  height: 100%;
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  z-index: -1;
}

.projects .container .box:hover {
  cursor: pointer;
  -webkit-transform: translateY(-20px);
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -o-transform: translateY(-20px);
  transform: translateY(-20px);
}

.projects .container .box:hover::after {
  right: 0;
  width: 85%;
}

.projects .container .box img {
  max-width: 85%;
  aspect-ratio: 3 / 3;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
  box-shadow: 0px 4px 6px 2px rgba(0, 0, 0, 0.2);
}

.projects .container .box:hover img {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

.projects .container .info {
  display: flex;
  flex-direction: column;
  padding: 0 20% 10px;
}

.projects .container .info h3 {
  margin: 10px 0;
  font-weight: 800;
}

.projects .container .info a {
  background-color: var(--main-color);
  width: fit-content;
  border: 3px solid var(--white-color);
  outline: 3px solid var(--main-color);
  padding: 8px 12px;
  margin: 6px 0 16px;
  color: var(--white-color);
  font-weight: 600;
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
}

.projects .container .info a:hover {
  font-weight: bold;
  transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
}

.projects .container .info a i {
  padding: 0 5px 0;
}

.projects .container .box:hover a i {
  -webkit-animation: arrowMoveToRight 0.8s infinite;
  animation: arrowMoveToRight 0.8s infinite;
}

@keyframes arrowMoveToRight {
  0% {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
    -webkit-transform: translateX(8px);
    -moz-transform: translateX(8px);
    -ms-transform: translateX(8px);
    -o-transform: translateX(8px);
  }
  100% {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
  }
}

.contact {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}

.contact .container {
  padding-top: 80px;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact::before {
  background: url(../Images/contactLanding.webp) center no-repeat;
  background-size: cover;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  -webkit-filter: brightness(0.4) blur(2px);
  filter: brightness(0.4) blur(2px);
}

@media (max-width: 767px) {
  .contact {
    padding: 50px 0;
  }
  .contact .container {
    flex-direction: column;
    padding: 40px 0;
  }
}

.contact h2 {
  color: var(--bg-color);
}

.contact h2::before {
  background-color: var(--bg-color);
}

.contact .contact-content {
  display: flex;
  justify-content: space-evenly;
  align-items: start;
  position: relative;
  gap: 40px;
}

@media (max-width: 785px) {
  .contact .contact-content {
    flex-direction: column;
    align-items: center;
  }
}

.contact .contact-content > div,
.contact .contact-content a {
  flex: 1 1 auto;
}

.contact .contact-content > a {
  text-align: center;
}

.contact .contact-content img {
  max-width: 250px;
  margin: auto;
}

.contact .contact-content .social-icons.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0px;
  background-color: black;
  max-width: 200px;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.contact .contact-content .social-icons.contact div {
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  width: 15px;
  height: 15px;
  border: 4px solid;
  border: none;
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
}

.contact .contact-content .social-icons.contact div:hover {
  background-color: var(--main-color);
  border-color: var(--white-color);
}


.contact .contact-content .social-icons.contact div i {
  font-size: 26px;
}

.contact .contact-methods {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (min-width: 785px) {
  .contact .contact-methods {
    -webkit-transform: translateY(-30%);
    -moz-transform: translateY(-30%);
    -ms-transform: translateY(-30%);
    -o-transform: translateY(-30%);
    transform: translateY(-30%);
  }
}

.contact .contact-methods .parent-div {
  color: var(--sec-text-color);
  width: 220px;
}

.contact .contact-methods .parent-div > div {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
}

.contact .contact-methods .parent-div i {
  font-size: 40px;
}

.contact .contact-methods .phone span {
  display: block;
}

.contact .contact-methods .mail a {
  color: var(--sec-text-color);
  -webkit-transition: var(--main-transition);
  -moz-transition: var(--main-transition);
  -ms-transition: var(--main-transition);
  -o-transition: var(--main-transition);
  transition: var(--main-transition);
}

.contact .contact-methods .mail a:hover {
  color: red;
}

footer {
  padding: 15px 0;
  width: 100%;
  text-align: center;
  background-color: var(--main-color);
  color: var(--sec-text-color);
}

/*! ---------------------------------Other Pages Layout--------------------------------*/
.page .home .container.sec-pages {
  margin-bottom: 100px;
}

h1.section-heading {
  top: 50px;
  padding-bottom: 70px;
  font-size: 32px;
  word-spacing: 3px;
}

h1.section-heading::before {
  width: 250px;
  -webkit-transform: translate(-50%, 15px);
  -moz-transform: translate(-50%, 15px);
  -ms-transform: translate(-50%, 15px);
  -o-transform: translate(-50%, 15px);
  transform: translate(-50%, 15px);
}

h1.section-heading::after {
  -webkit-transform: translate(-50%, 24px) rotate(45deg);
  -moz-transform: translate(-50%, 24px) rotate(45deg);
  -ms-transform: translate(-50%, 24px) rotate(45deg);
  -o-transform: translate(-50%, 24px) rotate(45deg);
  transform: translate(-50%, 24px) rotate(45deg);
}

@media (max-width: 449px) {
  h1.dressing::before {
    -webkit-transform: translate(-50%, 40px);
    -moz-transform: translate(-50%, 40px);
    -ms-transform: translate(-50%, 40px);
    -o-transform: translate(-50%, 40px);
    transform: translate(-50%, 40px);
  }
}

@media (max-width: 449px) {
  h1.dressing::after {
    -webkit-transform: translate(-50%, 48px) rotate(45deg);
    -moz-transform: translate(-50%, 48px) rotate(45deg);
    -ms-transform: translate(-50%, 48px) rotate(45deg);
    -o-transform: translate(-50%, 48px) rotate(45deg);
    transform: translate(-50%, 48px) rotate(45deg);
  }
}

.projects-wrapper {
  overflow: hidden;
  padding: 64px 0;
}

.projects-wrapper .container {
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 48px;
}

.projects-wrapper .container section {
  animation: curtain-move 1s 1 0s;
}

@keyframes curtain-move {
  from {
    scale: 0.5;
    opacity: 0.7;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .projects-wrapper {
    padding: 0;
  }
}

@media (max-width: 767px) {
  .projects-wrapper .container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    padding: 20px;
    gap: 20px;
  }
}

.container section {
  height: 420px;
}

/* ! New Styling */
.projectContainer {
  background-color: #18181b;
  color: #a1a1aa;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid #27272a;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/*! Annimation */

@keyframes appear {
  0% {
    opacity: 0;
    scale: 0.5;
    -webkit-transform: translateY(200px);
    -moz-transform: translateY(200px);
    -ms-transform: translateY(200px);
    -o-transform: translateY(200px);
    transform: translateY(200px);
  }
  100% {
    opacity: 1;
    scale: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes scale-on-load {
  from {
    -webkit-transform: translateY(200px);
    -moz-transform: translateY(200px);
    -ms-transform: translateY(200px);
    -o-transform: translateY(200px);
    transform: translateY(200px);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes img-entry {
  from {
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
    -webkit-filter: brightness(0.5);
    filter: brightness(0.5);
    scale: 0.8;
  }
  to {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
    -webkit-filter: brightness(1);
    filter: brightness(1);
    scale: 1;
  }
}

/* New image appearance animation: smoother translate + fade + brightness */
@keyframes img-appear {
  from {
    opacity: 0;
    -webkit-transform: translateX(40px) scale(0.98);
    transform: translateX(40px) scale(0.98);
    -webkit-filter: brightness(0.85);
    filter: brightness(0.85);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
    -webkit-filter: brightness(1);
    filter: brightness(1);
  }
}

@-webkit-keyframes img-appear {
  from {
    opacity: 0;
    -webkit-transform: translateX(40px) scale(0.98);
    transform: translateX(40px) scale(0.98);
    -webkit-filter: brightness(0.85);
    filter: brightness(0.85);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
    -webkit-filter: brightness(1);
    filter: brightness(1);
  }
}

@keyframes left-entry {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes service-entry {
  0% {
    opacity: 0;
    -o-transform: translateY(100px);
    -webkit-transform: translateY(100px);
    -moz-transform: translateY(100px);
    -ms-transform: translateY(100px);
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes text-clip-path {
  from {
    -webkit-clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  to {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@-webkit-keyframes text-clip-path {
  from {
    -webkit-clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  to {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.animate {
  -webkit-animation: left-entry 1s ease 0s 1 forwards;
  animation: left-entry 1s ease 0s 1 forwards;
}

.animate-two {
  -webkit-animation: left-entry 1s ease 0.5s 1 forwards;
  animation: left-entry 1s ease 0.5s 1 forwards;
}
@media (max-width: 767px) {
  .animate-two {
    animation-delay: 0s;
  }
}

.service-animate {
  -webkit-animation: service-entry 1s ease 0s 1 forwards;
  animation: service-entry 1s ease 0s 1 forwards;
}

/* قبل تحميل الصفحة */
body:not(.loaded) * {
  opacity: 0;
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
  -webkit-animation: none !important;
  animation: none !important;
}

/* بعد ما الصفحة تتحمّل */
body.loaded {
  opacity: 1;
  transition: opacity 0.4s ease;
}
/* ---------------------------- */
/* شغل الكارد الجديد */

/* =========================================
   التنسيقات الأساسية الخاصة بك (بدون تغيير)
   ========================================= */

.project-container {
  background-color: #18181b;
  color: #a1a1aa;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid #27272a;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.project-header {
  padding: 24px;
}

.project-title {
  padding-bottom: 8px;
  color: white;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.project-category {
  font-size: 14px;
  color: gray;
  font-weight: 500;
}

.slider-container {
  position: relative;
  width: 100%;
  background-color: black;
}

.slides {
  height: 100%;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* scroll-behavior: smooth; */

  scroll-snap-stop: always;
} 

/* لإخفاء السكرول في Chrome و Safari و Edge */
.slides::-webkit-scrollbar {
  display: none;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  pointer-events: none;
}

/* New css for the slider */
.image-counter {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00000099;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-btn:hover {
  background: #000000e6;
  transform: translateY(-50%) scale(1.05);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.prev-btn { right: 16px; }
.next-btn { left: 16px; }

/* تنسيق زر التكبير الجديد في الوضع العادي (فوق على اليمين) */
.fs-btn {
  top: 16px;
  right: 16px;
  transform: none; /* عشان نلغي الـ translateY اللي واخدها من .nav-btn */
}
.fs-btn:hover {
  transform: scale(1.05);
}
.fs-btn:disabled {
  transform: none;
}

@media (max-width: 500px) {
  .nav-btn { display: none; /* إخفاء الأزرار على الشاشات الصغيرة والاعتماد على السحب */ }
  .fs-btn { display: flex; /* إظهار زر التكبير حتى في الموبايل */ }
}

.project-footer {
  background-color: #18181b;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.dots-wrapper {
  display: flex;
  gap: 6px;
  justify-content: center;
  cursor: pointer; /* عشان يبان إن النقط قابلة للضغط */
  user-select: none;
  -webkit-user-select: none; /* لمتصفحات Safari و Chrome موبايل */
  -moz-user-select: none;
  -ms-user-select: none;

  /* 2. إلغاء الـ "Tap Highlight" الأزرق أو الرمادي اللي بيظهر حول الـ wrapper */
  -webkit-tap-highlight-color: transparent;

  /* 3. منع ظهور القوائم المنبثقة عند الضغط المطول (للآيفون) */
  -webkit-touch-callout: none;

  /* 4. التأكد إن الـ wrapper مبيخدش Focus (البرواز الأزرق) */
  outline: none;
}

.dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.dot.active {
  background: #ffffff;
  width: 24px; /* نقطة ممتدة لشكل عصري */
  border-radius: 4px;
}

.project-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #71717a;
}

/* =========================================
   تنسيقات وضع ملء الشاشة (Full-screen)
   ========================================= */

/* 1. الطبقة الخلفية السوداء */
.fs-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* 2. زر الإغلاق (X) */
.fs-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  color: white;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.fs-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* 3. حاوية المشروع في الفول سكرين (تجريدها من الحواف والخلفية) */
.project-container.in-fullscreen {
  width: 100%;
  height: 100vh;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  display: flex;
  justify-content: center;
}

.project-container.in-fullscreen .slider-container {
  height: 100%;
  background: transparent;
}

/* 4. تعديل أبعاد الصور لتناسب الشاشة دون قص */
.project-container.in-fullscreen .slides img {
  aspect-ratio: auto; /* إلغاء نسبة 4/3 */
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain; /* عرض الصورة بالكامل */
}

/* 5. النقط (الفوتر) في الفول سكرين */
.project-container.in-fullscreen .project-footer {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  padding: 0;
  width: auto;
  z-index: 10000;
}

/* إضافة خلفية زجاجية للنقط في الفول سكرين عشان تبان لو الصورة فاتحة */
.project-container.in-fullscreen .dots-wrapper {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 20px;
}

/* أنيميشن الدخول */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------------------------- */
body:not(.main) {
  background-color: black;
}

.section-heading:not(.main):not(.footer) {
  background-color: #101010;
  top: 0;
  color: white;
  padding: calc(64px + 70px) 0 96px;
  margin: 0;
}

.section-heading:not(.main):not(.footer):before {
  background-color: white;
  -webkit-transform: translate(-50%, 63px);
  -moz-transform: translate(-50%, 63px);
  -ms-transform: translate(-50%, 63px);
  -o-transform: translate(-50%, 63px);
  transform: translate(-50%, 63px);
}

.section-heading:not(.main):not(.footer)::after {
  -webkit-transform: translate(-50%, 72px) rotate(45deg);
  -moz-transform: translate(-50%, 72px) rotate(45deg);
  -ms-transform: translate(-50%, 72px) rotate(45deg);
  -o-transform: translate(-50%, 72px) rotate(45deg);
  transform: translate(-50%, 72px) rotate(45deg);
}
