
/* @import url("https://fonts.googleapis.com/css2?family=Bentham&family=Cairo:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"); */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');
@import url("https://unpkg.com/boxicons@latest/css/boxicons.min.css");

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
}

:root {
  --main-color: #174ec6;
  --second-color: #4bb5cf;
  --hover-color: #5dd8d1;
  --dark-color: #001b40;
  --font-color: #7d7d7d;
  --light-color: #f4f4f4;
  --white-color: #fff;

  /* Certificate Section Variables */
  --brand: #2aa9ff;
  --brand2: #22c55e;
  --muted: rgba(255, 255, 255, 0.6);
  --text: #ffffff;
  --card: rgba(255, 255, 255, 0.05);
  --stroke: rgba(255, 255, 255, 0.12);
  --radius: 24px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

html {
  box-sizing: inherit;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  font-family: "Cairo", sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: -webkit-fill-available;
  color: #5e6282;
  /* background-color: #0b1d26; */
  background-image: radial-gradient(
      circle at 40% 45%,
      rgba(10, 169, 248, 0.2) 0%,
      rgba(11, 29, 38, 0.2) 35%,
      rgba(15, 35, 46, 0.25) 35%,
      rgba(15, 35, 46, 0.25) 65%,
      rgba(20, 45, 60, 0.3) 65%,
      rgba(0, 178, 248, 0.3) 100%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(0, 114, 255, 0.15) 0%,
      rgba(0, 198, 255, 0.1) 40%,
      rgba(11, 29, 38, 0.3) 100%
    ),
    radial-gradient(
      circle at 20% 90%,
      rgba(0, 198, 255, 0.1) 0%,
      rgba(11, 29, 38, 0.2) 60%,
      rgba(11, 29, 38, 0.4) 100%
    ),
    linear-gradient(135deg, #034c70, #0240c591);
}

body.overflow-hidden {
  overflow: hidden;
}

main {
  overflow: hidden;
}

a,
button {
  cursor: pointer;
  border: none;
  outline: none;
  user-select: none;
  background: none;
  box-shadow: none;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cairo", serif;
}

.container {
  max-width: 1462px;
  height: auto;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Navigation Start   */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: auto;
  margin: 0 auto;
  transition: all 0.35s ease;
}

.header-container {
  width: 100%;
  /* padding: 0 24px; */
}

.header.on-scroll {
  background: rgba(11, 29, 38, 0.25); 
   backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px); 
   
}

.header.on-scroll-s-screen {
    background-image: radial-gradient(
        circle at 40% 45%,
        rgba(10, 169, 248, 0.2) 0%,
        rgba(11, 29, 38, 0.2) 35%,
        rgba(15, 35, 46, 0.25) 35%,
        rgba(15, 35, 46, 0.25) 65%,
        rgba(20, 45, 60, 0.3) 65%,
        rgba(0, 178, 248, 0.3) 100%
      ),
      radial-gradient(
        circle at 70% 70%,
        rgba(0, 114, 255, 0.15) 0%,
        rgba(0, 198, 255, 0.1) 40%,
        rgba(11, 29, 38, 0.3) 100%
      ),
      radial-gradient(
        circle at 20% 90%,
        rgba(0, 198, 255, 0.1) 0%,
        rgba(11, 29, 38, 0.2) 60%,
        rgba(11, 29, 38, 0.4) 100%
      ),
      linear-gradient(135deg, #034c70, #0240c591);
  }

.navbar {
  width: 100%;
  transition: all 0.4s ease-in-out;
  padding: 20px 0;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15),
    inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.navbar .header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  /* column-gap: 35px; */
}



.menu {
  position: fixed;
  top: 0;
  left: 0;
  /* width: 320px;
  height: 100vh; */
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  transform: translateX(-150%);
  z-index: 10;
  background-color: #0b1d26;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-is-active .menu {
  transform: translateX(0%);
}

/* .menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px;
  row-gap: 24px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
} */

.menu-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 24px;
    row-gap: 3rem;
    border-radius: 30px;
    /* background-color: rgba(255, 255, 255, 0.1); */
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


.menu-link {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  transition: all 0.3s ease;
}

.menu-block {
  display: flex;
  /* column-gap: 30px; */
  /* margin-left: auto; */
  align-items: center;
}

.menu-block-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  margin-left: auto;
  transition: all 0.3s ease-in-out;
  padding: 8px 8px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.menu-block-link .bx {
  font-size: 20px;
}

.menu-block-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-block-link:hover .a {
  color: #ffffff;
}

/* Language Switcher Styles */
.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  gap: 4px;
}
.lang-switch svg {
  vertical-align: middle;
}
.lang-switch span {
  color: white;
  font-weight: bold;
  font-size: 15px;
}

.burger {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
  order: -1;
  padding: 5px;
  border-radius: 5px;
  border: none;
  outline: none;
  background: none;
  visibility: visible;
  transform: rotate(0deg);
  transition: 0.35s ease;
  /* margin-right: 24px; */
}

.burger-line-wrapper {
  height: 20px;
  width: 20px;
  position: relative;
}

.burger-line {
  position: absolute;
  display: block;
  left: 0px;
  width: 20px;
  height: 2px;
  border: none;
  outline: none;
  opacity: 1;
  border-radius: 20px;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
  background-color: #ffffff;
}

.burger-line:nth-child(1) {
  top: 0px;
}

.burger-line:nth-child(2) {
  top: 0.5rem;
  width: 70%;
}

.burger-line:nth-child(3) {
  top: 1rem;
}

.close-menu {
  order: 0;
  background-color: #0b1d26;
}

.header-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.menu-is-active .header-backdrop {
  visibility: visible;
  opacity: 0.5;
}

.burger.is-active .burger-line:nth-child(1) {
  top: 0.5rem;
  transform: rotate(135deg);
}

.burger.is-active .burger-line:nth-child(2) {
  opacity: 0;
  visibility: hidden;
}

.burger.is-active .burger-line:nth-child(3) {
  top: 0.5rem;
  transform: rotate(-135deg);
}

/* Header Navigation End   */

/* 🔹 Background gradient animation */
@keyframes whatsappGradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 🔹 Smooth up-down float animation */
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* 🔹 Custom WhatsApp button style */
.floating-wpp-button.custom-gradient {
  background: linear-gradient(
    90deg,
    var(--main-color),
    var(--second-color)
  ) !important;
  background-size: 200% 200%;
  animation: whatsappGradientMove 4s ease infinite,
    floatUpDown 3s ease-in-out infinite;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.floating-wpp-button.custom-gradient:hover {
  transform: scale(1.1);
}

/* Hero Section Start   */

.hero-section {
  position: relative;
  padding-bottom: 140px;
  overflow: hidden;
  max-height: 100vh;
}

.hero-section::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    -33.26deg,
    rgba(11, 29, 38, 0%) 0%,
    rgba(11, 29, 38, 0.6) 100%
  );
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 550px;
  z-index: 5;
  background-image: linear-gradient(
    180deg,
    rgba(11, 29, 38, 0),
    #0b1d26,
    #113d55
  );
}

.hero-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.hero-image-wrapper img {
  width: 60%;
  height: auto;
}

.hero-image-wrapper img.sky {
  margin-top: 0%;
  position: relative;
  transform: translateY(-50%);
  height: 100vh;
  object-fit: cover;
}

/* Hero full-screen video */
.hero-section {
  /* min-height: 100vh; */
  padding-bottom: 0;
}

/* .hero-image-wrapper {
  height: 100vh;
} */

.hero-image-wrapper video.sky {
  margin-top: 0;
  position: relative;
  transform: none;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* .hero-image-wrapper img.mountains {
  margin-top: -170%;
  z-index: 1;
  height: 100vh;
  object-fit:cover;
  
}

.hero-image-wrapper img.man-standing {
  margin-top: -150%;
  z-index: 4;
  height: 330px;
  object-fit: cover;
} */

.hero-image-wrapper img.mountains {
  margin-top: -170%;
  z-index: 4;
  height: 100vh;
  object-fit: cover;
  position: relative;
  left: 200px; /* move mountains to the right */
}

.hero-image-wrapper img.man-standing {
  margin-top: -150%;
  z-index: 4;
  height: 330px;
  object-fit: cover;
  position: relative;
  left: -200px; /* move man to the left */
}

.hero-content {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  z-index: 6;
  height: auto;
  width: 100%;
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-subtitle {
  font-size: 12px;
  color: var(--second-color);
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

/* .hero-subtitle::before {
  content: "";
  height: 2px;
  width: 40px;
  background-color: #fbd784;
  display: inline-block;
} */

.hero-title {
  font-size: 50px;
  line-height: 40px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 32px;
}

.hero-title span {
  display: inline-block;
}

.hero-description {
  /* font-size: 18px;
  line-height: 28px;
  font-weight: 400; */
  color: var(--light-color);
}

.hero-action {
  font-size: 18px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #fff;
}

.hero-action svg {
  animation: scroll-down-arrow 2.5s infinite;
}

@keyframes scroll-down-arrow {
  0%,
  20%,
  55%,
  80%,
  100% {
    transform: translate3d(-50%, 0, 0);
  }

  40% {
    transform: translate3d(-50%, -15px, 0);
  }

  70% {
    transform: translate3d(-50%, -10px, 0);
  }

  90% {
    transform: translate3d(-50%, -5px, 0);
  }
}

/* Hero Section End   */

.content-section {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding-top: 40px; /* Consistent space after certificates section */
}

.content-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.content-wrapper:not(:last-child) {
  margin-bottom: 80px;
}

.content-wrapper .content-image {
  width: 100%;
}

.content-image img {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}

.content-content {
  flex: 1;
  padding-left: 0px;
}

.content-subtitle {
  font-size: 14px;
  color: var(--second-color);
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  position: relative;
  transition: all 0.4s ease-in-out;
}

.content-subtitle::before {
  content: "";
  height: 2px;
  width: 40px;
  background-color: var(--second-color);
  display: inline-block;
}

.content-title {
  font-size: 34px;
  color: #fff;
  margin-bottom: 27px;
  font-weight: 500;
}

.content-title span {
  display: inline-block;
  transition: all 0.4s ease-in-out;
}

.content-copy {
  font-size: 14px;
  color: #ffffff;
  line-height: 32px;
  margin-bottom: 27px;
  transition: all 0.4s ease-in-out;
}

.content-action {
  color: var(--second-color);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: all 0.4s ease-in-out;
}

.content-action:hover {
  gap: 20px;
}

.content-subtitle .counter {
  font-size: 140px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.4s ease-in-out;
  letter-spacing: 0;
}

/* Footer Section Start   */

footer {
  padding-top: 100px;
  /* padding-bottom: 50px; */
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 50px;
}

.footer-column-logo {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.footer-copy-rights {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-top: auto;
  justify-self: center;
}

.footer-column-link {
  width: auto;
}

.footer-logo {
  margin-bottom: 19px;
}

.footer-copy {
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-heading {
  font-size: 24px;
  color: #fbd784;
  font-weight: bold;
  margin-bottom: 24px;
  font-family: "Roboto", sans-serif;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-item a {
  color: #ffffff;
  font-size: 18px;
  line-height: 32px;
}

/* Footer Section End   */

.slider {
  position: fixed;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  z-index: 9;
}

/* Partners Section */
.partners-section {
  background: #ffffff;
  /* margin-top: 100px; */
  margin-bottom: 100px;
  padding-top: 100px;
  padding-bottom: 100px;

  /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
  /* border: 1px solid #e0e0e0; */
  /* backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); */
  /* border: 1px solid rgba(255, 255, 255, 0.15); */
  /* backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); */

  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); */
  padding: 60px 0;
}

.partners-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #0b1d26;
  margin-bottom: 32px;
}

.partners-swiper {
  padding: 10px 0;
}

.partners-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-swiper img {
  width: 150px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partners-swiper img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

/* Hide scrollbar/pagination for partners */
.partners-swiper .swiper-scrollbar,
.partners-swiper .swiper-pagination,
.partners-swiper .swiper-button-prev,
.partners-swiper .swiper-button-next {
  display: none !important;
}

-------- title style ------- .projects-section .line-title {
  position: relative;
  width: 400px;
}
.projects-section .line-title::before,
.projects-section .line-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 2px;
}
.projects-section .line-title::before {
  width: 100%;
  background: #f2f2f2;
  opacity: 0.25;
}
.projects-section .line-title::after {
  width: 32px;
  background: var(--second-color);
}

/******* Projects Section CSS Start ******/
.projects-section {
  padding: 60px 50px;
  /* background: #f9f9f9; */
  position: relative;
  overflow: hidden;
}

.projects-bg-move {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0.08;
  animation: floatPolygon 10s ease-in-out infinite alternate;
}

@keyframes floatPolygon {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(25px) rotate(4deg);
  }
}

.projects-section .owl-stage {
  margin: 15px 0;
  display: flex;
}

.projects-section .item {
  margin: 0 15px 60px;
  width: 320px;
  height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(0.95);
}

.projects-section .item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgb(22 76 193 / 40%));
  transition: opacity 0.4s ease-in-out;
}

.projects-section .item.active {
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.projects-section .item.active::after {
  opacity: 0.9;
}

.projects-section .item-desc {
  padding: 0 24px 16px;
  color: #fff;
  position: relative;
  z-index: 1;
  transform: translateY(calc(100% - 54px));
  transition: all 0.4s ease-in-out;
  backdrop-filter: blur(0px);
}

.projects-section .item.active .item-desc {
  transform: translateY(0);
  backdrop-filter: blur(5px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* @keyframes fadeUp {
  from {  transform: translateY(30px); }
  to {  transform: translateY(0); }
} */

.projects-section .item-desc h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
}

.projects-section .item-desc p {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.4s ease-in-out 0.2s;
  line-height: 1.6;
}

.projects-section .item.active .item-desc p {
  opacity: 1;
  transform: translateY(0);
}

/* Dots Style */
.projects-section .owl-theme.custom-carousel .owl-dots {
  margin-top: -20px;
  position: relative;
  z-index: 5;
}

.projects-section .owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: #bbb;
  transition: all 0.3s ease;
}

.projects-section .owl-theme .owl-dots .owl-dot.active span {
  background: var(--second-color);
  width: 18px;
}

/***** Responsive CSS Start ******/
@media (min-width: 992px) and (max-width: 1199px) {
  .projects-section {
    padding: 50px 30px;
  }
  .projects-section .item {
    width: 260px;
    height: 360px;
  }
  .projects-section .item.active {
    width: 400px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .projects-section {
    padding: 50px 30px 40px;
  }
  .projects-section .item {
    width: 240px;
    height: 330px;
  }
  .projects-section .item.active {
    width: 360px;
  }
}

@media (max-width: 767px) {
  .projects-section {
    padding: 30px 15px 20px;
  }
  .projects-section .item {
    width: 200px;
    height: 280px;
  }
  .projects-section .item.active {
    width: 270px;
    box-shadow: 6px 10px 10px rgba(0, 0, 0, 0.25);
  }
  .projects-section .item-desc {
    padding: 0 14px 5px;
    transform: translateY(calc(100% - 42px));
  }
}
/******* Projects Section CSS End ******/

.slider .container {
  padding: 0;
  display: flex;
  gap: 32px;
  justify-content: flex-end;
  max-width: 1500px;
}

.slider-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 15px 0;
}

.slider-list-item a {
  color: #ffffff;
  font-weight: bold;
}

.slider-progress {
  height: auto;
  width: 4px;
  background-color: rgba(255, 255, 255, 0.2);
}

.slider-progress-bar {
  width: 100%;
  height: 100%;
  background-color: #fff;
}

/* Why Us (Stacked Cards) */
.whyus-stack-section {
  position: relative;
  padding: 80px 0;
}

.whyus-stack-area {
  width: 100%;
  height: 300vh;
  position: relative;
  display: flex;
}

.whyus-left {
  height: 100vh;
  flex-basis: 50%;
  position: sticky;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-direction: column;
}

.whyus-right {
  height: 100vh;
  flex-basis: 50%;
  position: sticky;
  top: 0;
}

.whyus-title {
  width: 420px;
  font-size: 64px;
  line-height: 72px;
  font-weight: 700;
  color: #fff;
}

.whyus-sub-title {
  width: 420px;
  font-size: 14px;
  margin-top: 24px;
  color: #ffffff;
}

.whyus-btn {
  font-size: 14px;
  padding: 12px 24px;
  background: #000;
  color: #fff;
  border-radius: 24px;
  border: none;
  outline: none;
  cursor: pointer;
  margin-top: 16px;
}

.whyus-card {
  width: 350px;
  height: 350px;
  border-radius: 25px;
  margin-bottom: 10px;
  position: absolute;
  top: calc(50% - 175px);
  left: calc(50% - 175px);
  transition: 0.5s ease-in-out;
  box-sizing: border-box;
  padding: 35px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

/* themed card colors */
.whyus-card:nth-child(1) {
  background: rgb(64, 122, 255);
}
.whyus-card:nth-child(2) {
  background: rgb(221, 62, 88);
}
.whyus-card:nth-child(3) {
  background: rgb(186, 113, 245);
}
.whyus-card:nth-child(4) {
  background: rgb(247, 92, 208);
}

.whyus-sub {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.whyus-content {
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  color: #fff;
}

.whyus-away {
  transform-origin: bottom left;
}

/* What Will Get Section */
#what-will-get {
  position: relative;
  padding: 60px 0;
}

#what-will-get .wwg-intro {
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}

#what-will-get .wwg-intro h2 {
  font-size: 50px;
  margin: 0 0 8px;
  color: #ffffff;
}

#what-will-get .wwg-intro .wwg-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

#what-will-get .wwg-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}

@media (min-width: 640px) {
  #what-will-get .wwg-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 980px) {
  #what-will-get .wwg-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

#what-will-get .wwg-card {
  position: relative;
  border-radius: 18px;
  padding: 20px;
  min-height: 140px;
  /* background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  ); */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  /* backdrop-filter: blur(8px) saturate(120%); */
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.36s ease, border-color 0.36s ease;
  will-change: transform;
}

#what-will-get .wwg-card:focus {
  outline: 2px solid rgba(52, 245, 155, 0.12);
  box-shadow: 0 10px 30px rgba(52, 245, 155, 0.06);
}

#what-will-get .wwg-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.7);
}

#what-will-get .wwg-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 8px;
  /* background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  ); */
  border: 1px solid rgba(255, 255, 255, 0.02);
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); */
  color: #5ddad1;
}

#what-will-get .wwg-card h3 {
  margin: 6px 0 8px;
  font-size: 25px;
  color: #ffffff;
}

#what-will-get .wwg-card p {
  margin: 0;
  text-align: justify;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.45;
}

#what-will-get .wwg-meta {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

#what-will-get .wwg-pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: linear-gradient(
    90deg,
    rgba(52, 245, 155, 0.08),
    rgba(52, 245, 155, 0.02)
  );
  color: #5ddad1;
  border: 1px solid rgba(52, 245, 155, 0.06);
}

#what-will-get .wwg-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(52, 245, 155, 0.06),
    rgba(52, 245, 155, 0) 40%
  );
  transform: translateZ(0);
  pointer-events: none;
  mix-blend-mode: screen;
}

.wwg-bg-logo {
  position: absolute;
  top: 50%;
  right: -300px;
  width: 50%;
  height: auto;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
  transform: translateY(-50%);
  animation: move-logo-left 50s linear infinite;
}

@keyframes move-logo-left {
  0% {
    right: -300px;
  }
  100% {
    right: 100vw;
  }
}

#what-will-get .container > *:not(.wwg-bg-logo) {
  position: relative;
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(12px) scale(0.995);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.tilt-inner {
  transition: transform 0.12s cubic-bezier(0.2, 0.9, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .tilt-inner {
    transition: none;
  }
  .reveal.in-view {
    transition: none;
  }
}

/* Right Choice Section */
#right-choice {
  /* background: linear-gradient(135deg, #0e0e0e 0%, #1a1a1a 100%); */
  color: #f5f5f7;
  font-family: "cairo", "Poppins", Arial, sans-serif;
  padding: 64px 0 64px 0;
  position: relative;
  overflow: hidden;
}
.right-choice-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.right-choice-heading {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.right-choice-desc {
  font-size: 1.5rem;
  color: #d1d5db;
  margin-bottom: 40px;
}
.right-choice-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.right-choice-tab {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f5f5f7;
  background: none;
  border: none;
  padding: 12px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  outline: none;
  opacity: 0.85;
}
.right-choice-tab:hover,
.right-choice-tab.active {
  color: #fff;
  opacity: 1;
}
.right-choice-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #87d8ef, #7fb0ed);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: left, width;
  z-index: 1;
}
.right-choice-tab-content {
  min-height: 80px;
  position: relative;
}
.right-choice-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.right-choice-content p {
  font-size: 1.5rem;
}

.right-choice-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
@media (max-width: 700px) {
  .right-choice-container {
    padding: 0 8px;
  }
  .right-choice-heading {
    font-size: 1.3rem;
  }
  .right-choice-tabs {
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .right-choice-tab {
    padding: 10px 0;
    font-size: 1rem;
  }
}
/* Fade-in on scroll */
#right-choice.fade-in {
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Right Choice GIF Responsive */
.right-choice-gif {
  display: block;
  margin: 24px auto 32px auto;
  max-width: 85%;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.18);
  background: #181818;
}
@media (max-width: 700px) {
  .right-choice-gif {
    max-width: 95vw;
    margin: 16px auto 24px auto;
    border-radius: 10px;
  }
}

.projects-section {
  position: relative;
  overflow: hidden;
  /* background-color: #0b1d26; */
}

.projects-bg-move {
  position: absolute;
  left: 50%;
  top: -40%;
  width: 100%;
  height: 100%;
  /* max-width: 90vw; */
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
  transform: translateX(-50%) scale(1);
  animation: move-down-project-bg 30s linear infinite;
}

@keyframes move-down-project-bg {
  0% {
    top: -10%;
    /* opacity: 0.12; */
  }
  70% {
    /* opacity: 0.18; */
  }
  100% {
    top: 30%;
    /* opacity: 0.12; */
  }
}

/* @keyframes move-down-project-bg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} */

.projects-section > .container-fluid,
.projects-section .owl-carousel {
  position: relative;
  z-index: 2;
}

.features-section {
  position: relative;
  padding: 64px 0 64px 0;
  color: #fff;
  overflow: hidden;
}

/* Animated Gradient Background */
.features-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* background: linear-gradient(270deg, #0a0a0a, #1a1a1a, #0a0a0a, #1a1a1a); */
  background-size: 800% 800%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.features-section .container {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.heading-title {
  font-size: 3.4rem;
  margin-bottom: 10px;
  font-weight: 700;
  background: linear-gradient(90deg, #87d8ef, #7fb0ed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-description {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 50px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* صفين، كل صف بطاقتين */
  gap: 30px;
}

/* Glassmorphism Cards */
/* .wwg-card {
  position: relative;
  border-radius: 18px;
  padding: 20px;
  min-height: 180px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.36s ease, border-color 0.36s ease;
  will-change: transform;
} */

.wwg-card {
  position: relative;
  border-radius: 18px;
  padding: 20px;
  min-height: 180px;
  /* background: linear-gradient(180deg, rgb(211 200 200 / 2%), rgb(73 61 61 / 1%)); */
  /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6),
  inset 0 1px 0 rgba(255, 255, 255, 0.02); */
  /* backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%); */
  /* border: 1px solid rgba(255, 255, 255, 0.03); */
  overflow: hidden;
  transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.36s ease, border-color 0.36s ease;
  will-change: transform;
}

.wwg-card:focus {
  outline: 2px solid rgba(52, 245, 155, 0.12);
  box-shadow: 0 10px 30px rgba(52, 245, 155, 0.06);
}

.wwg-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 10px rgba(0, 0, 0, 0.1);
}

.wwg-icon {
  width: 300px;
  height: 300px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 8px;
  /* background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); */
  color: #5ddad1;
}

.wwg-card h3 {
  margin: 6px 0 8px;
  font-size: 2.5rem;
  color: #5ddad1;
}

.wwg-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.45;
}

.wwg-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(52, 245, 155, 0.06),
    rgba(52, 245, 155, 0) 40%
  );
  transform: translateZ(0);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-title {
    font-size: 2rem;
  }
  .wwg-card {
    padding: 25px 15px;
  }
}

.footer-social {
  text-align: center;
}

.footer-social .footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
}

.social-icons {
  display: flex;
  justify-content: start;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: #fff;
  transform: translateY(-4px);
}

/* Welcome Section Styles */
.welcome-section {
  /* padding: 100px 0; */
  background-color: #ffffff;
}

.wellcome-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* height: 200vh; */
}

.welcome-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text {
  font-size: 8vw;
  letter-spacing: -0.01em;
  line-height: 20rem;
  margin: 0;
  width: 100%;
  color: #0c5891;
  background: linear-gradient(to right, #b6b6b6, #b6b6b6) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 0%;
  transition: background-size cubic-bezier(0.1, 0.5, 0.5, 1) 0.5s;
  /* border-bottom: 1px solid #2F2B28; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* .text span {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #4246ce;
  color: #59d2d1;
  clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
  transform-origin: center;
  transition: all cubic-bezier(0.1, 0.5, 0.5, 1) 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
} */

.text span {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #0c5891;
  color: #ffffff;
  clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
  transform-origin: center;
  transition: all cubic-bezier(0.1, 0.5, 0.5, 1) 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text:hover > span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.text span a {
  text-decoration: none;
  color: inherit;
}

/* ===== AWd page loader styles (moved from index.html) ===== */
/* Prefixed with awd- to avoid collisions */
#awd-page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  overflow: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  visibility: visible;

  /* ✨ Added Blur Effect */
  background: rgba(11, 29, 38, 0.4); /* Adjust color + opacity to your theme */
  backdrop-filter: blur(12px); /* Creates the glassy blur */
  -webkit-backdrop-filter: blur(12px); /* For Safari support */
}

#awd-page-loader.awd-fade-out{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.awd-loader{ position:relative; perspective:800px; }
.awd-glow-bg{
  position:absolute; width:30px; height:30px; border-radius:50%;
  background:radial-gradient(circle, #0072ff, #00ffff, transparent);
  filter:blur(80px); opacity:0.5;
  animation:awd-bgPulse-2025 4s ease-in-out infinite alternate;
  top:50%; left:50%; transform:translate(-50%,-50%);
  pointer-events:none;
}
.awd-glow-logo{ width:180px; height:auto; position:relative;
  animation:awd-spin3D-2025 4s linear infinite, awd-glowPulse-2025 2s ease-in-out infinite alternate;
  filter:drop-shadow(0 0 25px #00c6ff) drop-shadow(0 0 50px #0072ff);
  will-change:transform, filter;
  display:block;
}

@keyframes awd-spin3D-2025{
  0%{ transform:rotateY(0deg) rotateX(0deg); }
  50%{ transform:rotateY(180deg) rotateX(15deg); }
  100%{ transform:rotateY(360deg) rotateX(0deg); }
}
@keyframes awd-glowPulse-2025{
  0%{ filter:drop-shadow(0 0 20px #00c6ff) drop-shadow(0 0 40px #0072ff); transform:scale(1); }
  100%{ filter:drop-shadow(0 0 40px #00ffff) drop-shadow(0 0 70px #0077ff); transform:scale(1.05); }
}
@keyframes awd-bgPulse-2025{
  0%{ transform:scale(1); opacity:0.4; }
  100%{ transform:scale(1.3); opacity:0.7; }
}

@media (prefers-reduced-motion: reduce){
  .awd-glow-bg, .awd-glow-logo{ animation:none !important; }
}





/* الشهادات */

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Section ---------- */
.section {
  padding: clamp(0px, 10vw, 0px) 0;
}

.certificates-section {
  position: relative;
  z-index: 7;
  margin-top: -120px; /* Overlap with hero bottom */
  padding-top: 0; /* Start content near the top of the overlap */
}

@media (max-width: 991px) {
  .certificates-section {
    margin-top: -80px;
  }
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}

/* ---------- Content ---------- */
.content {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 34px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  /* entry animation */
  animation: riseIn 800ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 4px rgba(42, 169, 255, 0.18);
}

.title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.title .blue {
  color: var(--brand);
  font-weight: 800;
}

.desc {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 2;
  font-size: 14px;
}

.bullet {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text);
}

.bullet li {
  position: relative;
  padding-right: 18px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.bullet li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}

/* ---------- Buttons ---------- */
.actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  appearance: none;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);

  transition: transform 240ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 240ms cubic-bezier(0.2, 0.9, 0.2, 1),
    background 240ms ease,
    border-color 240ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  border-color: rgba(42, 169, 255, 0.35);
  background: linear-gradient(135deg, rgba(42, 169, 255, 0.28), rgba(34, 197, 94, 0.18));
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Media ---------- */
.media {
  direction: ltr;
  display: grid;
  place-items: center;
}

.mediaShell {
  width: min(420px, 92vw);
  aspect-ratio: 6 / 5;
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;

  /* entry animation delayed */
  animation: floatIn 900ms cubic-bezier(0.2, 0.9, 0.2, 1) 120ms both;

  transition: transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mediaShell:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card {
  position: absolute;
  inset: 22px;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  z-index: 2;

  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mediaShell:hover .card {
  transform: scale(1.02);
}

.card img {
  width: clamp(220px, 22vw, 270px);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.28));
  transform: translateY(4px);

  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.mediaShell:hover .card img {
  transform: translateY(0);
}

.glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(42, 169, 255, 0.35), transparent 55%),
    radial-gradient(circle at 70% 55%, rgba(34, 197, 94, 0.26), transparent 58%);
  filter: blur(18px);
  opacity: 0.9;
  z-index: 1;

  animation: drift 6s ease-in-out infinite;
}

/* ---------- Animations ---------- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(-2%, -2%, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(2%, 1%, 0) rotate(2deg);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .media {
    order: -1;
  }
}

/* الشهادات */