/* =====================================================
   GLOBAL RESET & VARIABLES
===================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary:      #04D892;
  --color-bg:           #020815;
  --color-text:         #7B7B7B;
  --color-white:        #ffffff;
  --color-white-soft:   rgba(255, 255, 255, 0.82);
  --color-white-dim:    rgba(255, 255, 255, 0.65);
  --color-white-faint:  rgba(255, 255, 255, 0.08);
  --color-primary-glow: rgba(4, 216, 146, 0.5);

  --pad-x-desktop: 5%;
  --pad-x-mobile:  20px;
}

html, body {
  background: var(--color-bg);
}

body {
  font-family: 'Camel', sans-serif;
}

/* =====================================================
   FONTS
===================================================== */

@font-face {
  font-family: 'Camel';
  src: url('assets/fonts/TheYearofTheCamel-Light.otf');
  font-weight: 300;
}

@font-face {
  font-family: 'Camel';
  src: url('assets/fonts/TheYearofTheCamel-Regular.otf');
  font-weight: 400;
}

@font-face {
  font-family: 'Camel';
  src: url('assets/fonts/TheYearofTheCamel-Medium.otf');
  font-weight: 500;
}

@font-face {
  font-family: 'Camel';
  src: url('assets/fonts/TheYearofTheCamel-Bold.otf');
  font-weight: 700;
}

@font-face {
  font-family: 'Camel';
  src: url('assets/fonts/TheYearofTheCamel-ExtraBold.otf');
  font-weight: 800;
}

/* =====================================================
   KEYFRAMES
===================================================== */

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

@keyframes partnersMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes blink {
  0%, 100% { opacity: 0.25; }
  50%       { opacity: 0.65; }
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar {
  padding: 20px 30px;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
  z-index: 999;
}

.navbar.scrolled {
  background: rgba(2, 8, 21, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 30px;
}

.logo {
  width: 100px;
  cursor: pointer;
}

.navbar-nav .nav-link {
  color: var(--color-white);
  font-size: 18px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  height: 2px;
  width: 0;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: width 0.4s;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* =====================================================
   LANGUAGE TOGGLE
===================================================== */

.lang-toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 120px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
}

.lang-toggle .option {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 7px 0;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
  user-select: none;
  font-family: 'Camel', sans-serif;
}

.lang-toggle .option.active {
  color: var(--color-white);
}

.lang-toggle .pill {
  position: absolute;
  top: 4px;
  right: 4px;
  width: calc(50% - 5px);
  height: calc(100% - 8px);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  z-index: 1;
}

/* =====================================================
   BANNER / HERO
===================================================== */

.banner {
  width: 100%;
  height: 100vh;
  background-image: url("assets/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#glowCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  width: 100%;
  padding-right: var(--pad-x-desktop);
  padding-left:  var(--pad-x-desktop);
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  z-index: 2;
  position: relative;
  transition: transform 0.25s linear, opacity 0.25s linear;
}

.hero-container.hero-scrolled {
  transform: translateX(180px);
  opacity: 0.2;
}

.hero-title {
  font-size: 120px;
  line-height: 0.9;
  margin: 0;
  font-family: 'Camel';
  font-weight: 800;
}

.hero-top {
  color: var(--color-white);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-middle {
  color: var(--color-bg);
  text-shadow:
     1px  0   rgba(4, 216, 146, 0.7),
    -1px  0   rgba(4, 216, 146, 0.7),
     0    1px  rgba(4, 216, 146, 0.7),
     0   -1px  rgba(4, 216, 146, 0.7);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.hero-bottom {
  color: var(--color-primary);
  text-shadow: 0 0 20px var(--color-primary);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.hero-contact-btn {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-radius: 0 30px 0 30px;
  padding: 12px 50px;
  font-size: 22px;
  font-family: 'Camel', sans-serif;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow:
    0 0 8px  rgba(255, 255, 255, 0.35),
    0 0 18px rgba(255, 255, 255, 0.15),
    inset 0 0 2px rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 1.1s;
}

.hero-contact-btn:hover {
  transform: translateY(-3px);
  background: rgba(4, 216, 146, 0.18);
  border-color: var(--color-primary);
}

.hero-stats {
  position: absolute;
  bottom: 20px;
  right: 5%;
  left: 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  transition: transform 0.25s linear, opacity 0.25s linear;
}

.hero-stats.hero-scrolled {
  transform: translateX(-180px);
  opacity: 0.2;
}

.stats-group {
  display: flex;
  align-items: center;
}

.stat-box {
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 50px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

.stat-box:nth-child(1) { animation-delay: 1.3s; }
.stat-box:nth-child(2) { animation-delay: 1.5s; }
.stat-box:nth-child(3) { animation-delay: 1.7s; }

.stat-box:not(:last-child) {
  border-inline-end: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-box h2 {
  color: var(--color-primary);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 10px;
  transition: font-size 0.3s ease;
}

.stat-box p {
  font-size: 18px;
  color: var(--color-white);
  transition: font-size 0.3s ease;
}

.hint {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(4, 216, 146, 0.30);
  font-size: 13px;
  letter-spacing: 2px;
  font-family: 'Camel', sans-serif;
  z-index: 3;
  pointer-events: none;
  animation: blink 2.5s ease-in-out infinite;
}

/* =====================================================
   ABOUT SECTION
===================================================== */

.about-section {
  background: var(--color-bg);
  padding: 90px var(--pad-x-desktop) 40px;
  position: relative;
  overflow: hidden;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.about-title-box {
  opacity: 0;
  transform: translateY(80px);
  transition: transform 1s ease, opacity 1s ease;
}

.about-title-box h1 {
  color: var(--color-white);
  font-size: 72px;
  line-height: 1;
  font-family: 'Camel';
  font-weight: 800;
}

.about-content-box {
  max-width: 560px;
}

.about-line {
  width: 90px;
  height: 14px;
  background: var(--color-primary);
  margin-bottom: 24px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1s ease;
}

.about-content-box p {
  color: var(--color-white);
  font-size: 28px;
  line-height: 1.7;
  font-family: 'Camel';
  font-weight: 400;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: transform 1.2s ease, opacity 1.2s ease, filter 1.2s ease;
}

.about-section.active .about-title-box  { opacity: 1; transform: translateY(0); }
.about-section.active .about-line       { transform: scaleX(1); }
.about-section.active .about-content-box p {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* =====================================================
   SERVICES SECTION
===================================================== */

.services-section {
  background: var(--color-bg);
  padding: 40px var(--pad-x-desktop) 80px;
}

.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.services-header h1 {
  color: var(--color-white);
  font-size: 72px;
  font-family: 'Camel';
  font-weight: 800;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.services-line {
  width: 90px;
  height: 14px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s ease 0.2s;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  height: 430px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover img {
  transform: scale(1.08);
}

.light-card .card-title h2    { color: var(--color-bg); }
.light-card .card-details p   { color: rgba(2, 8, 21, 0.82); }
.light-card .card-details ul li { color: rgba(2, 8, 21, 0.88); }

.card-title {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: 22px 20px 16px;
  z-index: 2;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.card-title h2 {
  color: var(--color-white);
  font-size: 26px;
  line-height: 1.3;
  font-family: 'Camel';
  font-weight: 700;
}

.service-card:hover .card-title {
  transform: translateY(-80px);
  opacity: 0;
}

.card-details {
  position: absolute;
  bottom: 24px;
  right: 20px;
  left: 20px;
  z-index: 2;
}

.card-details p {
  color: var(--color-white-soft);
  font-size: 16px;
  line-height: 1.7;
  font-family: 'Camel';
  font-weight: 400;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.service-card:hover .card-details p {
  transform: translateY(-40px);
  opacity: 0;
}

.card-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0;
  transform: translateY(80px);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease;
}

.service-card:hover .card-details ul {
  opacity: 1;
  transform: translateY(0);
}

.card-details ul li {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.6;
  font-family: 'Camel';
  font-weight: 400;
  padding-right: 18px;
  position: relative;
}

.card-details ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.services-section.active h1             { opacity: 1; transform: translateY(0); }
.services-section.active .services-line { transform: scaleX(1); }
.services-section.active .service-card  { opacity: 1; transform: translateY(0); }

.services-section.active .service-card:nth-child(1) { transition-delay: 0.10s; }
.services-section.active .service-card:nth-child(2) { transition-delay: 0.25s; }
.services-section.active .service-card:nth-child(3) { transition-delay: 0.40s; }
.services-section.active .service-card:nth-child(4) { transition-delay: 0.55s; }

/* =====================================================
   METHODOLOGY SECTION
===================================================== */

.methodology-section {
  background: var(--color-bg);
  padding: 90px var(--pad-x-desktop);
  position: relative;
}

.methodology-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.methodology-container h1 {
  color: var(--color-white);
  font-size: 72px;
  line-height: 1.2;
  font-family: 'Camel';
  font-weight: 800;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.methodology-line {
  width: 90px;
  height: 14px;
  background: var(--color-primary);
  margin-bottom: 36px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s ease;
}

.methodology-container p {
  color: var(--color-white);
  font-size: 28px;
  line-height: 1.8;
  font-family: 'Camel';
  font-weight: 400;
  max-width: 900px;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 1.2s ease, transform 1.2s ease, filter 1.2s ease;
}

.methodology-section.active h1               { opacity: 1; transform: translateY(0); }
.methodology-section.active .methodology-line { transform: scaleX(1); }
.methodology-section.active p                { opacity: 1; transform: translateY(0); filter: blur(0); }

/* =====================================================
   VALUES SECTION
===================================================== */

.values-section {
  background: var(--color-bg);
  padding: 20px var(--pad-x-desktop);
  position: relative;
  min-height: 200vh;
}

.values-header {
  position: sticky;
  top: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 0;
}

.values-header h1 {
  color: var(--color-white);
  font-size: 72px;
  font-family: 'Camel';
  font-weight: 800;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.values-line {
  width: 100px;
  height: 16px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s ease;
}

.values-section.active .values-header h1 { opacity: 1; transform: translateY(0); }
.values-section.active .values-line      { transform: scaleX(1); }

.values-cards {
  position: relative;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card {
  position: relative;
  width: 500px;
  margin-bottom: 20px;
  overflow: hidden;
}

.value-card img {
  width: 100%;
  display: block;
}

.card-one   { right: -300px; }
.card-two   { left:  -300px; }
.card-three { right: -300px; }

.value-overlay {
  position: absolute;
  inset: 0;
}

.overlay-front {
  position: absolute;
  bottom: 36px;
  right: 28px;
  left: 28px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.overlay-front h2 {
  color: var(--color-white);
  font-size: 38px;
  line-height: 1.3;
  font-family: 'Camel';
  font-weight: 500;
}

.value-card:hover .overlay-front {
  transform: translateY(-130%);
  opacity: 0;
}

.card-three .overlay-front h2,
.card-three .value-number {
  color: var(--color-bg);
}

.overlay-back {
  position: absolute;
  bottom: 36px;
  right: 28px;
  left: 28px;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
    opacity   0.45s ease 0.05s;
}

.value-card:hover .overlay-back {
  transform: translateY(0);
  opacity: 1;
}

.overlay-back p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.7;
  font-family: 'Camel';
  font-weight: 400;
}

.card-three .overlay-back p {
  color: rgba(2, 8, 21, 0.8);
}

/* =====================================================
   PROJECTS SECTION
===================================================== */

.projects-section {
  background: var(--color-bg);
  padding: 100px 70px 100px var(--pad-x-desktop);
  overflow: hidden;
}

.projects-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.projects-header h1 {
  color: var(--color-white);
  font-size: 72px;
  line-height: 1.2;
  font-family: 'Camel';
  font-weight: 800;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.projects-line {
  width: 90px;
  height: 14px;
  background: var(--color-primary);
  margin-bottom: 40px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s ease;
}

.projects-slider {
  overflow: hidden;
  opacity: 0;
  transform: translateY(70px);
  filter: blur(10px);
  transition: opacity 1.2s ease, transform 1.2s ease, filter 1.2s ease;
}

.projects-track {
  display: flex;
  gap: 70px;
  transition: transform 0.7s ease;
}

.project-card {
  /* اعدل حجم الكارد اذا نبي نضيف تفاصيل للمشروع ٧٢٠ */
  min-width: 70px; 
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-shrink: 0;
}

.project-card img {
  width: 500px;
  height: 320px;
  object-fit: cover;
  flex-shrink: 0;
}

.project-info {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
}

.project-info h2 {
  color: var(--color-white);
  font-size: 34px;
  line-height: 1.2;
  font-family: 'Camel';
  font-weight: 700;
}

.project-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.7;
}

.projects-controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0.4s;
}

.project-btn {
  width: 65px;
  height: 65px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  font-size: 20px;
  cursor: pointer;
  transition: 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-btn:hover {
  background: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-4px);
}

.projects-section.active .projects-header h1 { opacity: 1; transform: translateY(0); }
.projects-section.active .projects-line      { transform: scaleX(1); }
.projects-section.active .projects-slider    { opacity: 1; transform: translateY(0); filter: blur(0); }
.projects-section.active .projects-controls  { opacity: 1; transform: translateY(0); }

/* =====================================================
   PARTNERS SECTION
===================================================== */

.partners-section {
  background: var(--color-bg);
  padding: 180px 0;
  overflow: hidden;
}

.partners-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 120px;
}

.partners-header h1 {
  color: var(--color-white);
  font-size: 72px;
  font-family: 'Camel';
  font-weight: 800;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.partners-line {
  width: 120px;
  height: 16px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s ease;
}

.partners-slider {
  height: 30px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 140px;
  width: max-content;
  animation: partnersMove 15s linear infinite;
}

.partner-item {
  color: rgba(255, 255, 255, 0.75);
  font-size: 70px;
  font-family: 'Camel';
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.partner-item:hover {
  color: var(--color-primary);
}

.partners-section.active h1               { opacity: 1; transform: translateY(0); }
.partners-section.active .partners-line   { transform: scaleX(1); }
.partners-section.active .partners-slider { opacity: 1; }

/* =====================================================
   CONTACT SECTION
===================================================== */

.contact-section {
  background: var(--color-bg);
  position: relative;
  font-family: 'Camel', sans-serif;
}

.contact-section::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: rgba(4, 216, 146, 0.14);
  filter: blur(140px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.contact-header {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  pointer-events: none;
}

.contact-header h1 {
  color: var(--color-white);
  font-size: 72px;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.contact-line {
  width: 120px;
  height: 16px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s ease 0.3s;
}

.contact-section.active .contact-header h1 { opacity: 1; transform: translateY(0); }
.contact-section.active .contact-line       { transform: scaleX(1); }

.contact-scroll-zone {
  position: relative;
  height: 340vh;
  z-index: 2;
  overflow-x: clip;
  padding-bottom: 150px;
}

.contact-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 300px;
  box-sizing: border-box;
}

.contact-center-text {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 700px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-center-text h2 {
  color: var(--color-white);
  font-size: clamp(36px, 6vw, 72px);
  font-family: 'Camel', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.contact-center-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.9;
  margin-bottom: 32px;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

.contact-center-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-center-details span {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 22px);
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

.contact-track {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0 8vw;
  will-change: transform;
  position: relative;
  z-index: 5;
  margin-top: 40px;
}

.contact-info {
  flex-shrink: 0;
  width: clamp(300px, 40vw, 650px);
}

.contact-info h2 {
  color: var(--color-white);
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.2;
  margin-bottom: 30px;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

.contact-info p {
  color: var(--color-white-soft);
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.9;
  margin-bottom: 48px;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.detail-item svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.detail-item svg * {
  stroke: var(--color-white);
  fill: transparent;
}

.detail-item:hover svg {
  transform: scale(1.08);
  opacity: 0.9;
}

.detail-item i {
  color: var(--color-white);
  font-size: 18px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-item span {
  color: var(--color-white);
  font-size: clamp(14px, 1.8vw, 24px);
  direction: ltr;
  line-height: 1.6;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

.contact-form-box {
  flex-shrink: 0;
  width: clamp(200px, 35vw, 500px);
}

.contact-form-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form-box label {
  color: var(--color-white);
  font-size: clamp(14px, 1.6vw, 22px);
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
  color: var(--color-white);
  font-size: clamp(14px, 1.4vw, 18px);
  font-family: 'Camel', sans-serif;
  font-weight: 700;
  padding: 16px 22px;
  border-radius: 28px;
  backdrop-filter: blur(15px);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
  border-color: rgba(4, 216, 146, 0.5);
  background: rgba(4, 216, 146, 0.05);
}

.contact-form-box select option {
  background: var(--color-bg);
  color: var(--color-white);
}

.contact-form-box textarea {
  min-height: 130px;
  resize: none;
  border-radius: 20px;
}

.contact-form-box button {
  width: 100%;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-size: clamp(20px, 2.5vw, 36px);
  font-family: 'Camel', sans-serif;
  font-weight: 700;
  border-radius: 0 28px 0 28px;
  backdrop-filter: blur(15px);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-form-box button:hover {
  background: rgba(4, 216, 146, 0.18);
  border-color: var(--color-primary);
}

/* =====================================================
   FOOTER
===================================================== */

.footer-section {
  background: var(--color-bg);
  padding: 70px var(--pad-x-desktop) 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.145);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  width: 170px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--color-white-dim);
  line-height: 1.9;
  font-size: 16px;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

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

.footer-links h3 {
  color: var(--color-white);
  margin-bottom: 12px;
  font-size: 22px;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

.footer-links a {
  color: var(--color-white-dim);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 16px;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(-4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact h3 {
  color: var(--color-white);
  margin-bottom: 5px;
  font-size: 22px;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

.footer-email {
  color: var(--color-white-dim);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 16px;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

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

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  font-size: 18px;
}

.footer-socials a:hover {
  background: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  letter-spacing: 1px;
  font-family: 'Camel', sans-serif;
  font-weight: 700;
}

/* =====================================================
   RESPONSIVE — TABLET (max 1200px)
===================================================== */

@media (max-width: 1200px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card {
    min-width: 700px;
  }

  .project-card img {
    width: 450px;
    height: 300px;
  }

}
/* =====================================================
   RESPONSIVE — MOBILE (max 768px)
===================================================== */

@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  /* =========================
     GLOBAL FIXES
  ========================= */

  .banner,
  .about-section,
  .services-section,
  .methodology-section,
  .values-section,
  .projects-section,
  .partners-section,
  .contact-section,
  .footer-section {
    overflow-x: hidden;
  }

  /* =========================
     NAVBAR
  ========================= */

  .navbar {
    padding: 14px 18px !important;

    background: rgba(2, 8, 21, 0.45);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom:
      1px solid rgba(255,255,255,0.05);
  }

  .logo {
    width: 82px;
  }

  .navbar-toggler {
    padding: 8px 10px;
    border-radius: 14px;
  }

  /* =========================
     HERO
  ========================= */

  .banner {

    min-height: 100svh;

    padding:
      200px
      20px
      70px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    overflow: hidden;
  }

  /* Glow */

  .banner::before {

    content: '';

    position: absolute;
    inset: 0;

    background:
      radial-gradient(
        circle at 25% 25%,
        rgba(4,216,146,0.10),
        transparent 42%
      );

    pointer-events: none;
  }

  /* Hide heavy effects */

  #glowCanvas,
  .hint {
    display: none;
  }

  /* Hero content */

  .hero-container {

    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 0;
    margin: 0;

    gap: 0;

    transform: none !important;
    opacity: 1 !important;
  }

  /* Slogan */

  .hero-title {

    font-size: 90px;

    line-height: 0.95;

    text-align: center;

    margin: 0;
  }

  .hero-middle {
    margin-top: 8px;
  }

  .hero-bottom {
    margin-top: 4px;
  }

  /* Button */

  .hero-contact-btn {

    margin-top: 34px;

    font-size: 15px;

    padding:
      13px
      32px;

    border-radius: 18px;

    transform: none !important;
  }

  /* Hero Stats */
.hero-stats {

  position: relative;
  inset: auto;

  width: 100%;

  margin-top: 70px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 60px;

  transform: none !important;
  opacity: 1 !important;
}

/* الإحصائيات تحت بعض */

.stats-group {

  width: 100%;

  display: flex;
  justify-content: center;

  gap: 24px;
}

/* البوكس */

.stat-box {

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 0;

  border: none !important;
}

 .stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 55px;
    background: rgba(255,255,255,0.18);
  }
/* الرقم */

.stat-box h2 {

  font-size: 28px !important;

  margin-bottom: 4px;
}

/* النص */

.stat-box p {

  font-size: 12px !important;

  line-height: 1.5;

  text-align: center;

  color: rgba(255,255,255,0.78);
}

  /* Disable scroll animation */

  .hero-container.hero-scrolled,
  .hero-stats.hero-scrolled {

    transform: none !important;
    opacity: 1 !important;
  }

  /* =========================
     SECTION TITLES
  ========================= */

  .about-title-box h1,
  .services-header h1,
  .methodology-container h1,
  .values-header h1,
  .projects-header h1,
  .partners-header h1,
  .contact-header h1 {

    font-size: 35px;
    line-height: 1.2;
  }

  /* =========================
     ABOUT
  ========================= */

  .about-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .about-section {
  padding: 70px 20px 40px !important;
}

  .about-title-box {
    width: 100%;
  }

  .about-line {
    margin: 0 auto 24px;
  }

  .about-content-box {
    max-width: 100%;
  }

  .about-content-box p {
    font-size: 25px;
    text-align: center;
  }

  /* =========================
     SERVICES
  ========================= */

  .services-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .service-card {

    height: auto;
    min-height: auto;

    background: rgba(255,255,255,0.04);

    border:
      1px solid rgba(255,255,255,0.08);

    border-radius: 18px;

    overflow: hidden;
  }

  .service-card img {
    display: none;
  }

  /* Disable hover */

  .service-card:hover .card-title {
    transform: none;
    opacity: 1;
  }

  .service-card:hover .card-details p {
    transform: none;
    opacity: 1;
  }

  .service-card:hover .card-details ul {
    opacity: 0;
    transform: none;
  }

  /* Light cards */

  .light-card .card-title h2,
  .light-card .card-details p,
  .light-card .card-details ul li {
    color: var(--color-white);
  }

  /* Title */

  .card-title {

    position: relative;
    inset: auto;

    background: transparent;

    padding: 22px 20px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
  }

  /* Plus */

  .card-title::after {

    content: '+';

    position: absolute;

    left: 20px;
    top: 22px;

    color: var(--color-primary);

    font-size: 24px;
  }

  .service-card.active .card-title::after {
    content: '−';
  }

  .card-title h2 {

    font-size: 18px;

    margin: 0;

    width: 100%;
  }

  /* Description */

  .card-details {

    position: relative;
    inset: auto;

    display: block;

    padding:
      0
      20px
      20px;
  }

  .card-details p {

    display: block;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 16px;

    color: rgba(255,255,255,0.75);
  }

  /* Hidden details */

  .card-details ul {

    position: relative;

    display: none;

    opacity: 1;

    transform: none;

    margin-top: 10px;

    gap: 10px;
  }

  .service-card.active .card-details ul {
    display: flex;
    opacity: 1;
  }

  .card-details ul li {

    font-size: 13px;

    line-height: 1.7;
  }

  /* =========================
     METHODOLOGY
  ========================= */

  .methodology-container {
    text-align: center;
    align-items: center;
  }

  .methodology-line {
    margin-right: auto;
    margin-left: auto;
  }

  .methodology-container p {
    font-size: 25px;
    text-align: center;
  }

  /* =========================
     VALUES
  ========================= */

  .values-section {
    min-height: auto;
    padding: 60px 20px 40px;
  }

  /* ── Header: خليه عادي مو sticky ── */
  .values-header {
    position: relative;
    top: auto;
    margin-bottom: 32px;
  }

  .values-header h1 {
    font-size: 36px;
    text-align: center;
  }

  /* ── Cards Container ── */
  .values-cards {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  /* ── كل كارت: reset الـ positioning ── */
  .value-card {
    width: 100%;
    margin-bottom: 0;
    border-radius: 16px;
    overflow: hidden;
  }

  /* هذا هو بيت القصيد — إلغاء الـ offset ── */
  .card-one,
  .card-two,
  .card-three {
    right: auto !important;
    left: auto !important;
    position: relative !important;
  }

  /* ── الصورة ── */
  .value-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  /* ── عرض العنوان والنص دائماً (بدون hover) ── */
  .overlay-front {
    bottom: auto;
    top: 16px;
    right: 20px;
    left: 20px;
    transform: none !important;
    opacity: 1 !important;
  }

  .overlay-front h2 {
    font-size: 22px;
  }

  .overlay-back {
    bottom: 16px;
    right: 20px;
    left: 20px;
    transform: none !important;
    opacity: 1 !important;
  }

  .overlay-back p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* ── الكارت الثالث نصوصه داكنة — خليها تشتغل ── */
  .card-three .overlay-front h2 { color: var(--color-bg); }
  .card-three .overlay-back p   { color: rgba(2, 8, 21, 0.8); }


  /* =========================
     PROJECTS
  ========================= */

  .projects-section {
    padding: 80px var(--pad-x-mobile);
  }

  .projects-header {
    margin-bottom: 36px;
  }

  .projects-header h1 {
    text-align: center;
  }

  .projects-line {
    width: 70px;
    height: 12px;
  }

  .project-card {

    min-width:
      calc(100vw - 40px);

    flex-direction: column;

    align-items: flex-start;

    gap: 20px;
  }

  .project-card img {

    width: 100%;

    height: 220px;
  }

  .project-info {
    width: 100%;
  }

  .project-info h2 {
    font-size: 26px;
  }

  .project-info p {
    font-size: 15px;
  }

  .project-btn {

    width: 50px;
    height: 50px;

    font-size: 16px;
  }

  .projects-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* إخفاء شريط التمرير */
    scrollbar-width: none;
  }
  .projects-slider::-webkit-scrollbar { display: none; }

  .projects-track {
    /* إلغاء الـ transform اللي بيحرك الكروت */
    transform: none !important;
    transition: none !important;
    gap: 20px;
    padding: 0 var(--pad-x-mobile);
  }

  .project-card {
    scroll-snap-align: start;
  }

  /* =========================
     PARTNERS
  ========================= */

  .partners-section {
    padding: 80px 0;
  }

  .partners-header {
    margin-bottom: 60px;
  }

  .partners-header h1 {
    text-align: center;
    padding: 0 var(--pad-x-mobile);
  }

  .partner-item {
    font-size: 36px;
  }

  .partners-slider {
    height: 22px;
  }

  /* =========================
     CONTACT
  ========================= */

  .contact-scroll-zone {
    height: auto;
    padding-bottom: 80px;
  }

  .contact-sticky {

    position: relative;

    height: auto;

    padding-top: 120px;

    display: flex;
    flex-direction: column;

    align-items: stretch;
  }

  .contact-header {

    position: relative;

    top: auto;
    left: auto;

    transform: none;

    padding:
      0
      var(--pad-x-mobile);

    margin-bottom: 40px;

    text-align: center;

    z-index: 5;
  }

  .contact-header h1 {

    font-size: 38px;

    line-height: 1.2;
  }

  .contact-line {
    margin: 18px auto 0;
  }

  .contact-center-text,
  .contact-info {
    display: none;
  }

  .contact-track {

    display: block;

    transform: none !important;
    opacity: 1 !important;

    padding:
      0
      var(--pad-x-mobile);
  }

  .contact-form-box {
    width: 100%;
    margin: 0;
  }

  .contact-form-box form,
  .contact-form-box input,
  .contact-form-box select,
  .contact-form-box textarea,
  .contact-form-box button {
    width: 100%;
  }

  .contact-center-details {

    flex-direction: column;

    gap: 16px;

    align-items: center;
  }

  /* =========================
     FOOTER
  ========================= */

  .footer-section {

    padding:
      50px
      var(--pad-x-mobile)
      20px;
  }

  .footer-container {

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 40px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-links a:hover {
    transform: none;
  }

}
/* =====================================================
   RESPONSIVE — SMALL PHONES (max 480px)
===================================================== */

@media (max-width: 480px) {

  .hero-title { font-size: 70px; }

  .stat-box         { padding: 0 12px; }
  .stat-box h2      { font-size: 32px; }
  .stat-box p       { font-size: 13px; }

  .about-title-box h1 { font-size: 40px; }

  .services-header h1,
  .methodology-container h1,
  .values-header h1,
  .projects-header h1,
  .partners-header h1 {
    font-size: 36px;
  }

}