/* en */
@font-face {
  font-family: 'SpaceGrotesk';
  src: local('SpaceGrotesk'), url("../fonts/SpaceGrotesk-Bold.ttf") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'SpaceGrotesk';
  src: local('SpaceGrotesk'), url("../fonts/SpaceGrotesk-Medium.ttf") format("woff");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'SpaceGrotesk';
  src: local('SpaceGrotesk'), url("../fonts/SpaceGrotesk-Regular.ttf") format("woff");
  font-weight: 400;
  font-style: normal;
}

/* ar */
@font-face {
    font-family: 'SomarSans';
    src: local('SomarSans'), url("../fonts/SomarSans-Bold.ttf") format("woff");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'SomarSans';
    src: local('SomarSans'), url("../fonts/SomarSans-Medium.ttf") format("woff");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'SomarSans';
    src: local('SomarSans'), url("../fonts/SomarSans-Regular.ttf") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
  font-family: 'Bathilda';
  src: local('Bathilda'), url("../fonts/Bathilda.otf") format("woff");
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
html[lang="ar"], body[lang="ar"], body:lang(ar), button:lang(ar), input:lang(ar), textarea:lang(ar) {
  font-family: 'SomarSans', sans-serif !important;
  direction: rtl
}

:root {
  /* Colors */
  /* Text Colors */
  --text-color: #FFFFFF; /* اللون الأساسي للنصوص */
  --placeholder-color: #D6D6D6; /* لون النصوص الثانوية */
  --disabled-color: #A3A3A3; /* لون النصوص المعطلة */
  --hover-color: #2E90FA; /* لون النصوص عند التمرير (Hover) */
  --gray-color: #737373; /* لون رمادي للنصوص */

  /* Icon Colors */
  --icon-color: #FFFFFF; /* لون الأيقونات */
  --icon-hover-color: #007BFF; /* لون الأيقونات عند التمرير */

  /* Border Colors */
  --border-color: #525252; /* لون الحدود */
  --divider-color: #1C2C3B; /* لون الفواصل */
  --thin-line-color: #002E4E; /* لون الخطوط الرفيعة */

  /* Link Colors */
  --link-color: #00C8FF; /* لون الروابط */
  --link-hover-color: #0095FF; /* لون الروابط عند التمرير */
  --link-active-color: #005F99; /* لون الروابط عند التفاعل */

  /* Button Colors */
  --button-color: #007BFF; /* لون الأزرار */
  --button-hover-color: #0056CC; /* لون الأزرار عند التمرير */
  --button-active-color: #005F99; /* لون الأزرار عند التفاعل */
  --button-disabled-color: #4C657D; /* لون الأزرار المعطلة */
  --button-disabled-text-color: #8898A8; /* لون النصوص داخل الأزرار المعطلة */
  
  /* Section Padding */
  --section-padding: 0 42px;

  /* Spacing */
  --spacing: 8px;
  --spacing-xxs: 2px;
  --spacing-xs: 4px;
  --spacing-sm: 6px;
  --spacing-lg: 12px;
  --spacing-xl: 16px;
  --spacing-1xl: 18px;
  --spacing-2xl: 20px;
  --spacing-3xl: 24px;
  --spacing-4xl: 32px;
  --spacing-5xl: 40px;
  --spacing-6xl: 48px;
  --spacing-7xl: 64px;
  --spacing-8xl: 80px;

  /* Border Radius */
  --radius-xs: 4px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-3xl: 20px;
  --radius-4xl: 24px;
  --radius-full: 360px;
}
@media (max-width: 750px) {
  :root {
    --section-padding: 0 24px;
  }
}


body {
  background: linear-gradient(270deg, 
    #00111C -30.35%,  /* Very dark color */
    #002137 18.5%,    /* Dark blue */
    #003356 62.44%,   /* Ideal blue for gradient */
    #00406C 126.6%    /* Final harmonious color */
  );
  font-family: 'SpaceGrotesk';
  color: var(--text-color);
}

/* Start Content */
.content-dev {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
main {
  width: 100%;
  flex: 1;
  margin: auto;
  padding: 62px 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8xl);
  position: relative;
  height: 100%;
  overflow-x: hidden;
  min-height: 100vh;
}
@media (max-width: 700px) {
  main {
    padding-top: 49px;
    gap: var(--spacing-5xl);
  }
}
.header-container {
  padding: 0 18px;
  min-height: 61px;
  transition-duration: 1s !important;
  transition: all .6s ease;
}

/* Start menu */
#header {
  max-width: 913px;
  width: 100%;
  margin: auto;
}
header {
  position: relative;
  max-width: 913px;
  height: 61px;
  padding: var(--spacing-sm) var(--spacing-3xl);
  gap: 0px;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(121, 121, 121, 0.25) 0%, rgba(62, 62, 62, 0.5) 100%);
  border: 1px solid var(--border-color, #525252);
  backdrop-filter: blur(71px);
  transition: all .6s ease;
}
.fixed {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 999;
  width: calc(100% - 36px) !important;
  transition: all 0.3s ease;
}
#header .logo {
  height: 47px;
  width: auto;
  display: block;
}
#header ul {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
  justify-content: center;
}
#header ul li a {
  color: var(--text-color, #FFFFFF);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
  transition: all .6s ease;
}
#header ul li a:hover{
  color: var(--hover-color, #2E90FA);
}
#header ul li a:active {
  color: var(--hover-color, #2E90FA);
}
#header ul li a.active {
  color: var(--hover-color, #2E90FA);
}
.menu-btn {
  display: none;
}
.nav-header {
  flex: 0;
  width: 100%;
  display: flex;
  align-items: center;
}
#header {
  height: 61px;
  max-width: 913px;
  width: 100%;
}
.menu-daisy-1,
.menu-daisy-2 {
    display: none;
}

@media (max-width: 700px) {
  #header {
    margin: auto;
  }
  #mobile-nav ul {
    display: none;
    transition: all 1.10s ease;
  }
  .menu-btn {
    display: block;
    height: 24px;
    width: 40px;
    cursor: pointer;
    z-index: 10;
    background: transparent;
    border: none;
  }
  .menu-btn svg path {
    fill: var(--icon-color, #FFFFFF);
    stroke: var(--icon-color, #FFFFFF);
  }
  header {
    margin: auto;
    height: auto;
    flex-direction: column;
    min-height: 100%;
    align-items: center;
    z-index: 99;
    overflow: hidden;
  }
  #mobile-nav.active {
    padding: var(--spacing-3xl);
    min-height: calc(100vh - 95px);
  }
  .fixed #mobile-nav.active {
    min-height: calc(100vh - 64px);
  }
  #mobile-nav.active ul {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: all .03s ease;
  }
  .nav-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .close-menu,
  #mobile-nav.active .nav-header .bar-menu {
    display: none;
  }
  #mobile-nav.active .nav-header .close-menu,
  .bar-menu {
    display: flex;
  }
  #header ul li a,
  #header ul li button  {
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
  }


  #mobile-nav.active .menu-daisy-1,
  #mobile-nav.active .menu-daisy-2 {
    display: flex;
    position: absolute;
  }
  #mobile-nav.active .menu-daisy-1 {
    display: flex;
    position: absolute;
    width: 89.41px;
    height: 84.31px;
    right: -27px;
    bottom: -31px;
    animation: sway 4s infinite ease-in-out;
  }
  #mobile-nav.active .menu-daisy-2 {
    display: flex;
    position: absolute;
    width: 55.22px;
    height: 52.07px;
    left: -18px;
    bottom: -16px;
    animation: sway 4s infinite ease-in-out;
  }
  @keyframes sway {
    0%,
    100% {
      transform: rotate(0deg) translateX(0);
    }
    50% {
      transform: rotate(10deg) translateX(3px);
    }
  }
}
/* End menu */


/* Start hero section */
#hero{
  padding: var(--section-padding);
  max-width: calc(913px + 36px);
  width: 100%;
  margin: auto;
  position: relative;
}
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--spacing-1xl);
  max-width: 671px;
}
.hero-section .welcoming {
  color: var(--text-color, #FFFFFF);
  font-size: 26px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.15px;
}
.hero-section .welcoming strong {
  font-size: 26px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.15px;
  color: #2a90ff;
}
.hero-section .title {
  font-size: 52px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: 0.15px;
  color: var(--text-color, #FFFFFF);
}
.hero-section .brief {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: var(--placeholder-color, #D6D6D6);
}
.star-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 158px;
  height: 56px;
  padding: var(--spacing-xs);
  gap: 8px;
  border-radius: var(--radius-2xl);
  background: #FFFFFF38;
  border: 1px solid #FFFFFF33;
  box-shadow: 0px 10px 18px -2.5px #0000000D;
  position: relative;
}
.diamond-canvas-class {
  display: block;
  margin: 0 auto;
  width: 173px !important;
  height: 100px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 1;
}
.star-btn a {
  width: 150px;
  height: 48px;
  padding: var(--spacing-lg);
  gap: 8px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.5) 0%, #F5F8FF 100%);
  border: 1px solid #FFFFFF;
  color: #333B4A;
  font-size: 16px;
  font-weight: 500;
  line-height: 20.42px;
  text-align: center;
  text-decoration: none;
}

.hero-spider-1 {
  position: absolute;
  top: -109px;
  right: -10%;
  right: -70px;
  background-position: center;
  background-size: auto;
  width: 212.89px;
  height: 212.81px;
  animation: hero-spider-1 4s infinite ease-in-out;
  z-index: -1;
  will-change: transform;
}
.hero-spider-1:lang(ar) {
  left: -10%;
  right: unset;
  scale: -1 1;
}
.hero-spider-2 {
  position: absolute;
  top: -76px;
  right: 12%;
  width: 111.67px;
  height: 111.81px;
  rotate: -120deg;
  filter: blur(23.3px);
  animation: hero-spider-2 7s infinite ease-in-out;
}
.hero-spider-2:lang(ar) {
    left: 13%;
    right: unset;
}
.hero-spider-3 {
  position: absolute;
  width: 70.76px;
  height: 70.17px;
  top: 52px;
  right: 9%;
  rotate: -120deg;
  filter: blur(11.7px);
  animation: hero-spider-3 7s infinite ease-in-out;
}
.hero-spider-3:lang(ar) {
    left: 10%;
    right: unset;
}

@keyframes hero-spider-1 {
  0%,
  100% {
      transform: rotate(0deg) translateX(0);
  }
  50% {
      transform: rotate(1deg) translateX(2px);
  }
}
@keyframes hero-spider-2 {
  0%,
  100% {
      transform: rotate(0deg) translateX(0);
      filter: blur(23.3px);
  }
  50% {
      transform: rotate(10deg) translateX(15px);
      filter: blur(15.7px);
  }
}
@keyframes hero-spider-3 {
  0%,
  100% {
      transform: rotate(0deg) translateX(0);
      filter: blur(8.7px);
  }
  50% {
      transform: rotate(10deg) translateX(15px);
      filter: blur(10.7px);
  }
}

@media (max-width: 700px) {
  .hero-section .welcoming {
      font-size: 20px;
      line-height: 24px;
  }
  .hero-section .welcoming strong {
      font-size: 20px;
      line-height: 24px;
  }
  .hero-section .title {
      font-size: 36px;
      line-height: 42px;
  }
  .hero-section .brief {
      font-size: 14px;
      line-height: 18px;
  }

  /* todo tell ayat */
  .hero-spider-1 {
      width: 127.04px;
      height: 127px;
      top: -50px;
      right: -17px;
  }
  .hero-spider-3,
  .hero-spider-2 {
      display: none;
  }
}
/* End hero section */

/* Section Divider */
.section-divider {
  position: relative;
  width: 100%;
  height: 80px; 
  display: flex;
  justify-content: center;
  align-items: center;
  margin: var(--spacing-1xl) 0; 
}
.section-divider::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #FFFFFF, #E0E0E0);
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  box-shadow: 0px 4px 6px rgba(255, 255, 255, 0.3); 
  animation: glow 2s infinite alternate;
}
@keyframes glow {
  0% {
    opacity: 0.5;
    transform: scaleX(0.9);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@media (min-width: 1280px) {
  .section-divider::before {
    width: 68%;
  }
}

/* Section Titles */
.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 51.04px;
  color: var(--text-color, #FFFFFF);
}
.section-title strong {
  font-family: Bathilda;
  font-weight: 400;
}

/* Start about section */
#about-grid {
  display: grid;
  padding: var(--section-padding);
  gap: var(--spacing-1xl);
  max-width: calc(913px + 36px);
  margin: 0 auto;
}
#about {
  display: flex;
  gap: var(--spacing-1xl);
  width: 100%;
}
#about-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  flex: 1;
}
#about-info p {
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
  color: var(--text-placeholder, #D6D6D6);
}
.about-btn {
  max-width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 150px;
  height: 48px;
  gap: 8px;
  border-radius: var(--radius-xl);
  box-shadow: 0px 10px 18px -2.5px #0000000D;
  position: relative;
}
.diamond-canvas-class {
  display: block;
  margin: 0 auto;
  width: 170px !important;
  height: 100px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10px;
  margin: auto;
  z-index: 1;
  pointer-events: none;
}
.diamond-canvas-class {
  right: -10px;
  left: unset;
}
.about-btn a {
  min-width: 150px;
  height: 48px;
  padding: var(--spacing-lg);
  gap: 8px;
  border-radius: var(--radius-xl);
  background: var(--info-500, #2E90FA);
  border: 1px solid #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  line-height: 20.42px;
  color: var(--white, #ffffff);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing);
  cursor: pointer;
}

#about-img {
  display: flex;
  position: relative;
  padding: var(--spacing);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(121, 121, 121, 0.25) 0%, rgba(62, 62, 62, 0.5) 100%);
  border: 1px solid var(--text-secondary, #525252);
  backdrop-filter: blur(16px);
}
#about-img img:not(.about-daisy-1) {
  border-radius: var(--radius-4xl);
  background: var(--text-secondary, #525252);
  border: 1px solid var(--text-tertiary, #737373);
  box-shadow: 0px 4px 20.8px 0px #FFFFFF40 inset;
  width: 345px;
  /* aspect-ratio: 1/1.2;  */
}

#about-img .about-daisy-1 {
  position: absolute;
  top: -38px;
  right: -51px;
  width: 116.64px;
  height: 116.59px;
  rotate: -62.68deg;
  animation: sway 4s infinite ease-in-out;
}
@keyframes sway {
  0%,
  100% {
    transform: rotate(7deg) translateX(0);
  }
  50% {
    transform: rotate(10.32deg) translateX(2px);
  }
}

@media (max-width: 940px) {
  #about-grid {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 750px) {
  #about-grid {
    padding: var(--section-padding);
  }
  #about {
    flex-direction: column;
  }
  #about-img {
    width: 100%;
    order: 1;
  }
  #about-img img:not(.about-daisy-1) {
      width: 100%;
  }
  #about-img .about-daisy-1 {
    width: 106.64px;
    height: 106.59px;
    top: -30px;
    right: -50px;
  }
}
/* End about section */


/* Start skills section */
#skills {
  padding: var(--section-padding);
  max-width: calc(913px + 36px);
  margin: auto;
}
#skills .section-title {
  margin-bottom: 12px;
}

/* Techniques */
#techniques {
  padding: var(--spacing-3xl);
  gap: var(--spacing-3xl);
  border-radius: var(--radius-2xl);
  background: #FFFFFF1A;
  border: 1px solid var(--text-secondary, #525252);
  backdrop-filter: blur(4px);
  display: flex;
  overflow: hidden;
  position: relative;
  margin-bottom: var(--spacing-3xl);
}
.techniques-items {
  display: flex;
  white-space: nowrap;
  gap: var(--spacing-3xl);
  animation: marquee 25s linear infinite;
}
.techniques-items:lang(ar) {
  display: flex;
  white-space: nowrap;
  gap: var(--spacing-3xl);
  animation: marquee2 25s linear infinite;
}
@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes marquee2 {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(100%);
  }
}
.techniques-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: fit-content;
  height: 48px;
  padding: var(--spacing) var(--spacing-xl);
  gap: 8px;
  border-radius: var(--radius-full);
  background: #FFFFFF1A;
}
.techniques-badge img {
  width: 32px;
  height: 32px;
}
.techniques-badge span {
  word-break: keep-all;
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
  color: var(--white, #FFFFFF);
  text-transform: uppercase;
}

/* Skills Grid */
#skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  margin-top: 0;
}
@media (min-width: 940px) {
  #skills-grid {
  grid-template-columns: 1fr 1fr;
  }
}

.skills-box {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-3xl);
  gap: var(--spacing-3xl);
  border-radius: var(--radius-2xl);
  background: #FFFFFF1A;
  border: 1px solid var(--text-secondary, #525252);
  backdrop-filter: blur(4px);
}
.item-title {
  color: var(--white, #FFFFFF);
  font-size: 20px;
  font-weight: 700;
  line-height: 25.52px;
}

/* Soft Skills */
.skills-items {
  display: flex;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}
.skills-items .skills-badge {
  height: 34px;
  padding: var(--spacing) var(--spacing-xl);
  gap: 8px;
  border-radius: var(--radius-full);
  background: #FFFFFF1A;
  display: flex;
  align-items: center;
  justify-content: center;
}
.skills-items .skills-badge span {
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
  color: var(--white, #FFFFFF);
}

/* Services */
.services-items {
  display: grid;
  gap: var(--spacing-xl);
  grid-template-columns: repeat(2, 1fr);
}
.service-item {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-xl);
  gap: var(--spacing-lg);
  border-radius: var(--radius-4xl);
  border: 1px solid #FFFFFF4D;
  position: relative;
  overflow: hidden;
  transition: background-color 0.5s ease-in-out, all 0.5s ease-in-out;
}
.service-item:hover {
  border: 1px solid #AEAEAE4D;
  background: linear-gradient(108.88deg, rgba(182, 182, 182, 0.14) 1.01%, #071828 133.43%);
}
.service-image img {
  width: 61px;
  height: 61px;
  border-radius: var(--radius-xl);
}
.service-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
}
.service-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 20.42px;
  color: var(--text-placeholder, #D6D6D6);
}
.service-description {
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
  color: var(--text-disabled, #A3A3A3);
}

@media (max-width: 940px) {
  .services-items {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 750px) {
  #skills {
    padding: var(--section-padding);
  }
  .techniques-badge {
    height: auto;
    padding: var(--spacing-sm) var(--spacing-lg);
  }
}
/* End skills section */


/* Projects section */
#works {
  padding: var(--section-padding);
  max-width: calc(913px + 36px);
  margin: auto;
}
#works .section-title {
  margin-bottom: 12px;
}
.projects-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
/* Project items */
.project-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  border-radius: var(--radius-4xl);
  color: var(--text-primary, #141414);
  background: linear-gradient(0deg, var(--grey-200, #DCDFEA), var(--grey-200, #DCDFEA)), linear-gradient(270deg, #000000 -30.35%, #191919 18.5%, #0E1E39 62.44%, #001216 126.6%);
  border: 1px solid var(--text-tertiary, #737373);
  box-shadow: 0px 4px 20.8px 0px #00000040 inset;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
}

.project-img {
  width: 100%;
  aspect-ratio: 1.83/1;
  position: relative;
  border-radius: var(--radius-4xl) var(--radius-4xl) 0 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.project-img:hover {
  transform: scale(1.05); 
}

.project-content {
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* flex-wrap: wrap; */
  backdrop-filter: blur(71.5999984741211px);
  padding: var(--spacing-3xl);
  background: var(--text-primary, #141414);
  border-top: 1px solid var(--text-tertiary, #737373);
  border-radius: 0 0 var(--radius-4xl) var(--radius-4xl);
  backdrop-filter: blur(71.5999984741211px);
  gap: 12px;
  box-shadow: 0px -3px 27.2px 0px #0000000D;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);

}

.project-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  gap: var(--spacing);
}

.project-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 25.52px;
  color: var(--white, #FFFFFF);
}

.project-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.42px;
  color: var(--white, #FFFFFF);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-lg);
}

.project-tags .tag-badge {
  height: 34px;
  padding: var(--spacing) var(--spacing-xl);
  gap: 8px;
  border-radius: var(--radius-full);
  background: var(--text-secondary, #525252);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-tags .tag-badge span {
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
  color: var(--white, #FFFFFF);
}


.explore-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 158px;
  height: 56px;
  padding: var(--spacing-xs);
  gap: 8px;
  border-radius: var(--radius-2xl);
  background: var(--info-50, #EFF8FF);
  border: 1px solid #FFFFFF33;
  box-shadow: 0px 10px 18px -2.5px #0000000D;
  position: relative;
}

.diamond-canvas-class {
  display: block;
  margin: 0 auto;
  width: 170px !important;
  height: 100px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10px;
  margin: auto;
  z-index: 1;
}

.explore-btn button {
  width: 150px;
  height: 48px;
  padding: var(--spacing-lg);
  gap: 8px;
  border-radius: var(--radius-xl);
  background: var(--info-500, #2E90FA);
  border: 1px solid #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  line-height: 20.42px;
  color: var(--white, #ffffff);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing);
  cursor: pointer;
}
.explore-btn button svg:lang(ar) {
  transform: scaleX(-1);
}

.project-icon {
  position: absolute;
  bottom: 16px; 
  right: 16px;
  width: 48px;
  height: 48px;
  display: none;
  justify-content: center;
  align-items: center;
  background: var(--info-500, #2E90FA);
  border-radius: var(--radius-2xl);
  opacity: 0; 
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-icon:lang(ar) {
  right: unset;
  left: 16px;
}

.project-item:hover .project-icon {
  opacity: 1; 
  transform: scale(1); 
}

@media (max-width: 600px) {
  .explore-btn {
    display: none;
  }
  .project-icon {
    display: flex; 
  }
}
/* End Projects section */

/* Contact section */
#contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-1xl);
  max-width: calc(913px + 36px);
  padding: var(--section-padding);
  margin: auto;
}


#contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  flex: 1;
}

#contact-info h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 40.83px;
  color: var(--white, #FFFFFF);
}

#contact-info strong {
  font-family: Bathilda;
  font-weight: 400;
}

#contact-info p {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.42px;
  color: var(--text-placeholder, #D6D6D6);
}

#contact-info svg path {
  fill: var(--white, #FFFFFF);
}

.contact-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}

.direct-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl);
  background: linear-gradient(180deg, rgba(121, 121, 121, 0.25) 0%, rgba(62, 62, 62, 0.5) 100%);
  border: 1px solid var(--text-secondary, #525252);
  backdrop-filter: blur(16px);
  border-radius: var(--spacing-lg);
}

.direct-contact a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
  color: var(--white, #FFFFFF);
  text-decoration: none;
}

#contact-form {
  overflow: hidden;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  padding: var(--spacing-3xl);
  border-radius: var(--spacing-2xl);
  background: linear-gradient(180deg, rgba(121, 121, 121, 0.25) 0%, rgba(62, 62, 62, 0.5) 100%);
  border: 1px solid var(--text-secondary, #525252);
  backdrop-filter: blur(16px);

}
.contact-daisy {
  width: 111.67px;
  height: 111.81px;
  rotate: -120deg;
  position: absolute;
  bottom: -52px;
  right: -52px;
  animation: sway 4s infinite ease-in-out;
}
.contact-daisy:lang(ar) {
  left: -50px;
  right: unset;
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(0deg) translateX(0);
  }
  50% {
    transform: rotate(10deg) translateX(3px);
  }
}

#contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 25.52px;
  color: var(--white, #FFFFFF);
}

#contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
}

#contact-form label {
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
  color: var(--text-placeholder, #D6D6D6);
}

#contact-form input {
  font-size: 14px;
  font-weight: 500;
  line-height: 22.4px;
  color: var(--white, #FFFFFF);
  width: 100%;
  height: 52px;
  padding: var(--spacing-3xl);
  gap: var(--spacing-3xl);
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, rgba(121, 121, 121, 0.25) 0%, rgba(62, 62, 62, 0.5) 100%);
  border: 1px solid var(--text-secondary, #525252);
  backdrop-filter: blur(16px);
}

#contact-form textarea {
  font-size: 14px;
  font-weight: 500;
  line-height: 22.4px;
  color: var(--white, #FFFFFF);
  width: 100%;
  padding: var(--spacing-3xl);
  gap: var(--spacing-3xl);
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, rgba(121, 121, 121, 0.25) 0%, rgba(62, 62, 62, 0.5) 100%);
  border: 1px solid var(--text-secondary, #525252);
  backdrop-filter: blur(16px);
  resize: none;
}

#contact-form input:hover {
  border: 1px solid var(--white, #FFFFFF);
}

.contact-btn {
  max-width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 150px;
  height: 48px;
  gap: 8px;
  border-radius: var(--radius-xl);
  box-shadow: 0px 10px 18px -2.5px #0000000D;
  position: relative;
}

.diamond-canvas-class {
  display: block;
  margin: 0 auto;
  width: 170px !important;
  height: 100px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10px;
  margin: auto;
  z-index: 1;
  pointer-events: none;
}

.diamond-canvas-class {
  right: -10px;
  left: unset;
}

.contact-btn button {
  min-width: 150px;
  height: 48px;
  padding: var(--spacing-lg);
  gap: 8px;
  border-radius: var(--radius-xl);
  background: var(--info-500, #2E90FA);
  border: 1px solid #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  line-height: 20.42px;
  color: var(--white, #ffffff);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing);
  cursor: pointer;
}
.contact-btn button svg:lang(ar) {
  transform: scaleX(-1);
}
.contact-btn button:disabled{
  opacity: 0.6;
}
button:disabled ~ .diamond-canvas-class{
  display: none;
}

#copied-message {
  transition: all .3s ease;
  display: none;
  position: fixed;
  z-index: 99;
  bottom: 20%;
  right: 0;
  left: 0;
  left: 0;
  margin: auto;
  background: linear-gradient(92.07deg, #7A7A7A -0.28%, #494949 91.5%);
  width: fit-content;
  height: 56px;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xl) var(--spacing-2xl);
  gap: var(--spacing);
  border-radius: var(--radius-full);
  opacity: 0px;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  color: var(--white, #FFFFFF);
}

.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 3px solid white;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  position: absolute;
  display: none;
}
.spinner.active{
  display: flex;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width:750px) {
  #contact {
    flex-direction: column;
  }
  .contact-socials,.direct-contact{
    display: none;
  }
}
/* End Contact section */



/* Start Footer section */
#footer {
  width: 100%;
  padding: var(--spacing-3xl) 0px;
  gap: var(--spacing-3xl);
  background: linear-gradient(270deg, #00111C -30.35%,#002137 18.5%, #003356 62.44%, #00406C 126.6%);
  border-top: 1px solid var(--text-secondary, #525252);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

footer {
  max-width: 913px;
  padding: var(--section-padding);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  position: relative;
}

.footer-about {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-3xl);
  flex-wrap: wrap;
}

.footer-divider {
  background-color: var(--white, #FFFFFF);
  width: 100%;
  height: 1px;
}

.soical-and-about {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
}


.soical-and-about .about-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}

.soical-and-about .about-info .about-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.soical-and-about .about-info .avatar {
  width: 50px;
  height: 71px;
  border-radius: var(--radius-full);
  background: var(--grey-200, #DCDFEA);
  border: 1px solid var(--white, #FFFFFF);
  box-shadow: 0px 4px 20.8px 0px #FFFFFF40 inset;
}

.soical-and-about .about-info .avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
}

.soical-and-about .about-info h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 22.97px;
  color: var(--white, #FFFFFF);

}

.soical-and-about .about-info h4 {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.42px;
  color: var(--text-placeholder, #D6D6D6);
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

}

.contact-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-3xl);
}

.contact-info a {
  display: flex;
  align-items: center;
  color: var(--text-placeholder, #D6D6D6);
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
  text-decoration: none;
  gap: var(--spacing);
}

.soical-and-about a svg path,
.contact-info a svg path {
  fill: var(--white, #FFFFFF);
}

.link-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.25) 0%, rgba(245, 248, 255, 0.5) 100%);
  border: 1px solid var(--white, #FFFFFF);
  backdrop-filter: blur(16px);
}

#footer ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
}

#footer ul li a {
  color: var(--white, #FFFFFF);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
}

#footer ul li a:hover {
  color: var(--info-Base-500, #2E90FA);
}

#footer ul li a:active {
  color: var(--info-Base-500, #2E90FA);
}


#footer ul li a.active {
  color: var(--info-Base-500, #2E90FA);
}

#footer .footer-links span {
  font-size: 14px;
  font-weight: 400;
  line-height: 17.86px;
  color: var(--white, #FFFFFF);
}


.footer-daisy-1 {
  position: absolute;
  bottom: 8px;
  left: calc(-48.98px + -1%);
  width: 48.98px;
  height: 48.57px;
  rotate: -120deg;
  backdrop-filter: blur(17.83213996887207px);
  animation: footer-daisy-1 6s infinite ease-in-out;
}

.footer-daisy-2 {
  position: absolute;
  top: 39px;
  right: calc(-78.67px + -3%);
  width: 78.67px;
  height: 78.77px;
  rotate: -120deg;
  backdrop-filter: blur(64.92012786865234px);
  animation: footer-daisy-2 10s infinite ease-in-out;

}
@keyframes footer-daisy-1 {

  0%,
  100% {
      transform: rotate(0deg) translateX(0);
      filter: blur(17.83213996887207px);
  }

  50% {
      transform: rotate(10deg) translateX(10px);
      filter: blur(1.7px);
  }
}


@keyframes footer-daisy-2 {

  0%,
  100% {
      transform: rotate(0deg) translateX(0);
      filter: blur(64.92012786865234px);
  }

  50% {
      transform: rotate(10deg) translateX(15px);
      filter: blur(1.7px);
  }
}
@media (max-width: 700px) {
  #footer ul{gap: 22px;}
}


.logo-dark{
  display: none;
}

/* End Footer section */