:root {
  --navy: #08182f;
  --navy-2: #0d2443;
  --gold: #d6aa54;
  --gold-2: #f0cd84;

  --paper: #fbfaf7;
  --white: #ffffff;

  --text: #0d1727;
  --muted: #687487;

  --line: rgba(8, 24, 47, .12);
  --dark-line: rgba(255, 255, 255, .12);

  --radius: 24px;

  --shadow:
    0 20px 60px rgba(5, 18, 35, .12);

  --container: 1360px;
}


/* ===================================
   RESET
=================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: "Cairo", sans-serif;

  color: var(--text);

  background: var(--paper);

  line-height: 1.8;

  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin-inline: auto;
}


/* ===================================
   HEADER
=================================== */

.site-header {
  position: fixed;

  inset: 0 0 auto;

  z-index: 100;

  color: #fff;

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

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(6px);

  border-bottom:
    1px solid rgba(255, 255, 255, .14);

  transition:
    background .3s ease,
    box-shadow .3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .12);

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

  box-shadow:
    0 10px 35px rgba(0, 0, 0, .18);
}

.nav-wrap {
  min-height: 88px;

  display: flex;

  align-items: center;

  gap: 24px;
}

.brand {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 46px;

  display: grid;

  place-items: center;

  border-radius:
    5px 18px 5px 18px;

  background:
    linear-gradient(
      145deg,
      var(--gold-2),
      var(--gold)
    );

  color: var(--navy);

  font-size: 22px;

  font-weight: 900;
}

.brand-text {
  color: #fff;

  font-size: 22px;

  font-weight: 800;

  line-height: 1;
}

.brand-text small {
  display: block;

  margin-top: 6px;

  color: var(--gold-2);

  font-size: 8px;

  letter-spacing: 2px;
}

.main-nav {
  flex: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 28px;
}

.main-nav a {
  position: relative;

  color:
    rgba(255, 255, 255, .82);

  font-size: 14px;

  transition: .25s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a::after {
  content: "";

  position: absolute;

  right: 0;
  left: 100%;

  bottom: -8px;

  height: 2px;

  background: var(--gold);

  transition: .3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  left: 0;
}

.lang-link {
  color:
    rgba(255, 255, 255, .72);

  font-size: 12px;

  font-weight: 700;
}

.menu-toggle {
  display: none;

  padding: 8px;

  border: 0;

  background: transparent;
}

.menu-toggle span {
  display: block;

  width: 24px;
  height: 2px;

  margin: 5px;

  background: #fff;
}


/* ===================================
   BUTTONS
=================================== */

.btn {
  min-height: 48px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  padding:
    0 22px;

  border:
    1px solid transparent;

  border-radius: 10px;

  font-size: 14px;

  font-weight: 700;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    background .3s ease,
    color .3s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-gold {
  color: var(--navy);

  background:
    linear-gradient(
      135deg,
      var(--gold-2),
      var(--gold)
    );

  box-shadow:
    0 12px 28px
    rgba(214, 170, 84, .18);
}

.btn-gold:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 16px 34px
    rgba(214, 170, 84, .26);
}

.btn-outline {
  color: #fff;

  border-color:
    rgba(255, 255, 255, .42);

  background:
    rgba(255, 255, 255, .04);
}

.btn-outline:hover {
  background: #fff;

  color: var(--navy);
}

.btn-navy {
  color: #fff;

  background: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-2);

  transform:
    translateY(-2px);
}

.nav-cta {
  min-height: 42px;

  padding-inline: 18px;
}


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

.hero-v2 {
  position: relative;

  min-height: 740px;

  overflow: hidden;

  background: var(--navy);

  color: #fff;
}

.hero-v2-image {
  position: absolute;

  inset: 0;

  background:
    url("assets/hero.png")
    center 65px /
    cover no-repeat;
}

.hero-v2-video {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;

  /* يرفع الفيديو شوية ويظهر الجزء العلوي أكتر */
  object-position: center 38%;

  pointer-events: none;
}
.hero-v2-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(8, 24, 47, .12) 0%,
      rgba(8, 24, 47, .22) 32%,
      rgba(8, 24, 47, .66) 62%,
      rgba(8, 24, 47, .94) 82%,
      rgba(8, 24, 47, .99) 100%
    );
}

.hero-v2::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .08),
      transparent 45%,
      rgba(3, 12, 25, .28)
    );

  pointer-events: none;
}

.hero-v2-content {
  position: relative;

  z-index: 2;

  min-height: 740px;

  display: flex;

  align-items: center;

  justify-content: flex-end;

  padding:
    150px 0 76px;
}

.hero-v2-copy {
  width: min(535px, 100%);

  text-align: right;
}

.hero-v2-kicker {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 18px;

  color: var(--gold);

  font-size: 14px;

  font-weight: 700;
}

.hero-v2-kicker::after {
  content: "";

  width: 34px;
  height: 1px;

  background: var(--gold);
}

.hero-v2-copy h1 {
  max-width: 535px;

  margin: 0;

  font-size:
    clamp(
      46px,
      5vw,
      70px
    );

  line-height: 1.16;

  letter-spacing: -1px;

  font-weight: 800;
}

.hero-v2-copy h1 span {
  display: block;

  margin-top: 5px;

  color: var(--gold-2);
}

.hero-v2-copy p {
  max-width: 515px;

  margin:
    24px 0 0;

  color:
    rgba(255, 255, 255, .76);

  font-size: 16px;

  line-height: 2;
}

.hero-v2-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}

.hero-v2-outline {
  color: #fff;

  border:
    1px solid
    rgba(255, 255, 255, .40);

  background:
    rgba(255, 255, 255, .05);
}

.hero-v2-outline:hover {
  background: #fff;

  color: var(--navy);
}


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

.hero-v2-features {
  position: relative;

  z-index: 4;

  background: #061426;

  border-top:
    1px solid
    rgba(255, 255, 255, .08);

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

.hero-v2-features-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);
}

.hero-v2-feature {
  position: relative;

  min-height: 108px;

  padding:
    22px 26px;

  display: flex;

  align-items: center;

  gap: 14px;
}

.hero-v2-feature:not(:last-child)::after {
  content: "";

  position: absolute;

  left: 0;

  top: 26%;

  width: 1px;
  height: 48%;

  background:
    rgba(255, 255, 255, .10);
}

.hero-v2-feature-icon {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  border-radius: 12px;

  background:
    rgba(214, 170, 84, .10);

  color: var(--gold-2);
}

.hero-v2-feature-icon svg {
  width: 20px;
  height: 20px;
}

.hero-v2-feature strong {
  display: block;

  color: #fff;

  font-size: 13px;

  font-weight: 700;
}

.hero-v2-feature small {
  display: block;

  margin-top: 3px;

  color:
    rgba(255, 255, 255, .48);

  font-size: 11px;
}


/* ===================================
   STATS
=================================== */

.stats-strip {
  background: var(--paper);

  border-bottom:
    1px solid var(--line);
}

.stats-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);
}

.stats-grid article {
  position: relative;

  padding:
    28px 16px;

  text-align: center;
}

.stats-grid article:not(:last-child)::after {
  content: "";

  position: absolute;

  left: 0;

  top: 28%;

  width: 1px;
  height: 44%;

  background: var(--line);
}

.stats-grid strong {
  display: block;

  color: var(--navy);

  font-size: 32px;

  line-height: 1.1;
}

.stats-grid span {
  display: block;

  margin-top: 8px;

  color: var(--muted);

  font-size: 13px;
}


/* ===================================
   GENERAL SECTIONS
=================================== */

.section {
  position: relative;

  padding:
    105px 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  color: #fff;

  background:
    linear-gradient(
      180deg,
      var(--navy),
      #061426
    );
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading.centered {
  max-width: 800px;

  margin-inline: auto;

  text-align: center;
}

.section-heading.centered p {
  margin-inline: auto;
}

.section-heading.with-action {
  display: flex;

  align-items: end;

  justify-content: space-between;

  gap: 30px;
}

.section-heading h2,
.content-block h2 {
  margin:
    12px 0 16px;

  font-size:
    clamp(
      34px,
      4vw,
      52px
    );

  line-height: 1.25;
}

.section-heading p,
.content-block > p {
  max-width: 720px;

  margin-top: 0;

  color: var(--muted);
}

.section-dark
.section-heading p {
  color:
    rgba(255, 255, 255, .65);
}

.section-kicker {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: var(--gold);

  font-size: 14px;

  font-weight: 700;
}

.section-kicker::before {
  content: "";

  width: 28px;
  height: 1px;

  background: currentColor;
}

.section-kicker.gold {
  color: var(--gold-2);
}


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

.split-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  align-items: center;

  gap: 60px;
}

.about-grid .media-card {
  position: relative;

  height: 480px;

  overflow: hidden;

  border-radius: 22px;

  box-shadow: var(--shadow);
}

.about-grid .media-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position:
    center 38%;
}

.media-caption {
  position: absolute;

  right: 18px;
  left: 18px;
  bottom: 18px;

  padding:
    14px 18px;

  border-radius: 12px;

  color: #fff;

  background:
    rgba(8, 24, 47, .90);

  backdrop-filter:
    blur(10px);
}

.media-caption span {
  margin-left: 8px;

  color: var(--gold-2);

  font-weight: 800;
}

.mini-feature-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 12px;

  margin:
    32px 0;
}

.mini-feature-grid div {
  padding: 18px;

  border:
    1px solid var(--line);

  border-radius: 16px;

  background: #fff;
}

.mini-feature-grid svg {
  width: 22px;
  height: 22px;

  color: var(--gold);
}

.mini-feature-grid b {
  display: block;

  margin-top: 10px;

  font-size: 14px;
}

.mini-feature-grid span {
  display: block;

  margin-top: 5px;

  color: var(--muted);

  font-size: 12px;
}

.text-link {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  color: var(--navy);

  font-weight: 800;
}

.text-link svg {
  width: 18px;
}

.text-link.light {
  color: #fff;
}


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

.service-grid {
  display: grid;

  grid-template-columns:
    repeat(12, 1fr);

  gap: 20px;
}

.service-card {
  grid-column:
    span 4;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, .11);

  border-radius: 20px;

  background:
    rgba(255, 255, 255, .04);

  transition:
    transform .35s,
    border-color .35s;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column:
    span 6;
}

.service-card:hover {
  transform:
    translateY(-7px);

  border-color:
    rgba(214, 170, 84, .45);
}

.service-card img {
  height: 235px;

  object-fit: cover;
}

.service-body {
  padding: 22px;
}

.service-tag {
  color: var(--gold-2);

  font-size: 12px;

  font-weight: 700;
}

.service-body h3 {
  margin:
    8px 0 10px;

  font-size: 21px;
}

.service-body p {
  margin:
    0 0 18px;

  color:
    rgba(255, 255, 255, .62);

  font-size: 14px;
}

.service-body a {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  color: var(--gold-2);

  font-size: 13px;

  font-weight: 700;
}

.service-body a svg {
  width: 16px;
}

.services-cta {
  display: flex;

  justify-content: center;

  margin-top: 46px;
}

.services-cta .btn {
  min-width: 160px;
}


/* ===================================
   WHY TAMYOUZ
=================================== */

.why-section {
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(214, 170, 84, .11),
      transparent 28%
    ),
    #f6f3ed;
}

.why-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}

.why-card {
  position: relative;

  min-height: 290px;

  padding:
    30px 28px;

  border:
    1px solid
    rgba(8, 24, 47, .10);

  border-radius: 22px;

  background: #fff;

  box-shadow:
    0 15px 40px
    rgba(8, 24, 47, .04);

  transition:
    transform .3s,
    border-color .3s;
}

.why-card:hover {
  transform:
    translateY(-6px);

  border-color:
    rgba(214, 170, 84, .45);
}

.why-card.featured {
  color: #fff;

  background:
    linear-gradient(
      145deg,
      #0d2443,
      #08182f
    );
}

.why-icon {
  width: 52px;
  height: 52px;

  display: grid;

  place-items: center;

  border-radius: 14px;

  background:
    rgba(214, 170, 84, .13);

  color: var(--gold);
}

.why-number {
  position: absolute;

  left: 26px;

  top: 28px;

  color:
    rgba(8, 24, 47, .24);

  font-weight: 800;
}

.why-card.featured
.why-number {
  color:
    rgba(255, 255, 255, .28);
}

.why-card h3 {
  margin:
    28px 0 10px;
}

.why-card p {
  color: var(--muted);

  font-size: 13px;
}

.why-card.featured p {
  color:
    rgba(255, 255, 255, .66);
}


/* ===================================
   PROCESS
=================================== */

.process-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 18px;
}

.process-item {
  position: relative;

  padding:
    28px 24px;

  border:
    1px solid var(--line);

  border-radius: 18px;

  background: #fff;

  box-shadow:
    0 12px 32px
    rgba(8, 24, 47, .04);
}

.process-item > span {
  position: absolute;

  left: 20px;

  top: 18px;

  color:
    rgba(8, 24, 47, .28);

  font-weight: 800;
}

.process-item svg {
  width: 31px;
  height: 31px;

  color: var(--gold);
}

.process-item h3 {
  margin:
    20px 0 8px;
}

.process-item p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
}


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

.projects-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}

.project-card {
  overflow: hidden;

  border:
    1px solid var(--dark-line);

  border-radius: 20px;

  background:
    rgba(255, 255, 255, .035);
}

.project-card img {
  height: 260px;

  object-fit: cover;

  transition:
    transform .45s;
}

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

.project-card div {
  padding: 20px;
}

.project-card span {
  color: var(--gold-2);

  font-size: 12px;
}

.project-card h3 {
  margin:
    7px 0 8px;
}

.project-card p {
  color:
    rgba(255, 255, 255, .62);

  font-size: 13px;
}


/* ===================================
   TESTIMONIALS
=================================== */

.testimonials-light {
  background: #fff;
}

.testimonial-shell {
  max-width: 900px;

  margin: auto;

  display: grid;

  grid-template-columns:
    50px 1fr 50px;

  gap: 20px;

  align-items: center;
}

.testimonial-track {
  position: relative;

  min-height: 270px;
}

.testimonial {
  position: absolute;

  inset: 0;

  opacity: 0;

  transform:
    translateY(12px);

  pointer-events: none;

  padding:
    36px 48px;

  border:
    1px solid var(--line);

  border-radius: 22px;

  text-align: center;

  background: var(--paper);

  transition:
    opacity .4s,
    transform .4s;
}

.testimonial.active {
  opacity: 1;

  transform: none;

  pointer-events: auto;
}

.testimonial p {
  max-width: 680px;

  margin:
    0 auto 26px;

  color: var(--navy);

  font-size: 19px;
}

.avatar {
  width: 50px;
  height: 50px;

  margin:
    0 auto 10px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  background: var(--gold-2);

  color: var(--navy);

  font-weight: 800;
}

.testimonial small {
  display: block;

  color: var(--muted);
}

.slider-btn {
  width: 46px;
  height: 46px;

  display: grid;

  place-items: center;

  border:
    1px solid var(--line);

  border-radius: 50%;

  background: transparent;

  color: var(--navy);
}

.slider-btn:hover {
  background: var(--gold);

  color: var(--navy);
}

.slider-dots {
  display: flex;

  justify-content: center;

  gap: 8px;

  margin-top: 24px;
}

.slider-dots button {
  width: 8px;
  height: 8px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background:
    rgba(8, 24, 47, .20);
}

.slider-dots button.active {
  width: 24px;

  border-radius: 20px;

  background: var(--gold);
}


/* ===================================
   TEAM
=================================== */

.team-section {
  background: #f7f3eb;
}

.team-section
.section-heading.center {
  max-width: 760px;

  margin:
    0 auto 46px;

  text-align: center;
}

.team-section
.section-heading.center p {
  margin-inline: auto;
}

.team-cards {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 20px;
}

.team-card {
  position: relative;

  height: 360px;

  overflow: hidden;

  border-radius: 20px;

  background: var(--navy);

  box-shadow:
    0 14px 35px
    rgba(8, 24, 47, .08);
}

.team-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position:
    center top;
}

.team-card::after {
  content: "";

  position: absolute;

  inset:
    auto 0 0;

  height: 46%;

  background:
    linear-gradient(
      transparent,
      rgba(8, 24, 47, .96)
    );
}

.team-card-info {
  position: absolute;

  z-index: 2;

  right: 20px;
  left: 20px;
  bottom: 18px;

  color: #fff;
}

.team-card-info h3 {
  margin:
    0 0 3px;
}

.team-card-info span {
  color: var(--gold-2);

  font-size: 12px;
}

.team-actions {
  display: flex;

  justify-content: center;

  margin-top: 34px;
}


/* ===================================
   BLOG
=================================== */

.blog-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}

.blog-card {
  overflow: hidden;

  border:
    1px solid var(--dark-line);

  border-radius: 18px;

  background:
    rgba(255, 255, 255, .04);
}

.blog-card img {
  height: 210px;

  object-fit: cover;
}

.blog-card div {
  padding: 20px;
}

.blog-card span {
  color: var(--gold-2);

  font-size: 12px;
}

.blog-card h3 {
  margin:
    8px 0 14px;

  line-height: 1.6;
}

.blog-card a {
  color:
    rgba(255, 255, 255, .66);
}


/* ===================================
   FAQ
=================================== */

.faq-grid {
  display: grid;

  grid-template-columns:
    .75fr 1.25fr;

  gap: 70px;
}

.faq-list {
  border-top:
    1px solid var(--line);
}

details {
  border-bottom:
    1px solid var(--line);
}

summary {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding:
    20px 0;

  cursor: pointer;

  font-weight: 700;

  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary svg {
  width: 18px;

  transition:
    transform .3s;
}

details[open]
summary svg {
  transform:
    rotate(45deg);
}

details p {
  margin:
    0 0 20px;

  color: var(--muted);

  font-size: 14px;
}


/* ===================================
   CLOSING CTA
=================================== */

.closing-section {
  padding-top: 88px;

  background: var(--paper);
}

.closing-cta {
  max-width: 1180px;

  margin: auto;

  padding:
    38px 44px;

  display: grid;

  grid-template-columns:
    1fr auto;

  gap: 54px;

  align-items: center;

  border:
    1px solid
    rgba(214, 170, 84, .34);

  border-radius: 24px;

  color: #fff;

  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(214, 170, 84, .16),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #102239,
      #08182f
    );

  box-shadow:
    0 22px 60px
    rgba(8, 24, 47, .13);
}

.closing-kicker {
  display: block;

  color: var(--gold-2);

  font-size: 13px;

  font-weight: 800;
}

.closing-cta h2 {
  margin:
    5px 0 7px;

  font-size:
    clamp(
      28px,
      3vw,
      40px
    );
}

.closing-cta p {
  margin-bottom: 0;

  color:
    rgba(255, 255, 255, .64);

  font-size: 13px;
}

.closing-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;
}


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

.footer {
  margin-top: 56px;

  padding:
    64px 0 22px;

  color: #fff;

  background: #061326;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.15fr
    .8fr
    1.05fr
    1.15fr;

  gap: 62px;
}

.footer h4 {
  margin-top: 0;
}

.footer a,
.footer span,
.footer p {
  color:
    rgba(255, 255, 255, .58);

  font-size: 12px;
}

.footer a {
  display: block;

  margin:
    7px 0;
}

.footer a:hover {
  color: var(--gold-2);
}

.footer-brand
.brand-text {
  color: var(--gold-2);
}

.footer-contact p {
  display: flex;

  align-items: center;

  gap: 8px;
}

.footer-contact svg {
  width: 14px;

  color: var(--gold-2);
}

.social-links {
  display: flex;

  gap: 8px;

  margin-top: 14px;
}

.social-links a {
  width: 28px;
  height: 28px;

  display: grid;

  place-items: center;

  margin: 0;

  border:
    1px solid
    rgba(255, 255, 255, .12);

  border-radius: 50%;
}

.newsletter-form {
  display: flex;

  max-width: 275px;

  height: 40px;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, .12);

  border-radius: 8px;
}

.newsletter-form input {
  flex: 1;

  min-width: 0;

  padding:
    0 13px;

  border: 0;

  outline: 0;

  color: #fff;

  background: transparent;
}

.newsletter-form button {
  width: 42px;

  border: 0;

  background: var(--gold-2);

  color: var(--navy);
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  margin-top: 42px;

  padding-top: 16px;

  border-top:
    1px solid
    rgba(255, 255, 255, .08);
}

.footer-legal {
  display: flex;

  gap: 24px;
}


/* ===================================
   WHATSAPP
=================================== */

.whatsapp-float {
  position: fixed;

  right: 24px;

  bottom: 22px;

  z-index: 50;

  width: 52px;
  height: 52px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  background: #25d366;

  color: #fff;

  box-shadow:
    0 12px 30px
    rgba(0, 0, 0, .20);
}

.whatsapp-float svg {
  width: 25px;
  height: 25px;
}


/* ===================================
   ANIMATION
=================================== */

.reveal {
  opacity: 0;

  transform:
    translateY(24px);

  transition:
    opacity .7s ease,
    transform .7s ease;
}

.reveal.visible {
  opacity: 1;

  transform: none;
}


/* ===================================
   TABLET
=================================== */

@media (max-width: 1024px) {

  .main-nav {
    position: fixed;

    top: 78px;

    right: 20px;
    left: 20px;

    padding: 24px;

    flex-direction: column;

    align-items: stretch;

    gap: 8px;

    background: #0a1b32;

    border-radius: 16px;

    opacity: 0;

    visibility: hidden;

    transform:
      translateY(-15px);

    box-shadow: var(--shadow);

    transition: .3s;
  }

  .main-nav.open {
    opacity: 1;

    visibility: visible;

    transform: none;
  }

  .menu-toggle {
    display: block;

    margin-right: auto;
  }

  .nav-cta {
    display: none;
  }

  .hero-v2 {
    min-height: 610px;
  }

  .hero-v2-content {
    min-height: 610px;
  }

  .hero-v2-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(8, 24, 47, .24),
        rgba(8, 24, 47, .62) 48%,
        rgba(8, 24, 47, .97)
      );
  }

  .hero-v2-copy {
    width: 500px;
  }

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

  .hero-v2-feature:nth-child(2)::after {
    display: none;
  }

  .hero-v2-feature {
    border-bottom:
      1px solid
      rgba(255, 255, 255, .06);
  }

  .split-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .about-grid .media-card {
    height: 450px;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column:
      span 6;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .projects-grid,
  .blog-grid {
    grid-template-columns:
      1fr 1fr;
  }

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

  .footer-grid {
    grid-template-columns:
      1fr 1fr;
  }

}


/* ===================================
   MOBILE
=================================== */

@media (max-width: 720px) {

  .container {
    width:
      calc(100% - 28px);
  }

  .section {
    padding:
      76px 0;
  }

  .hero-v2 {
    min-height: 720px;
  }

  .hero-v2-image {
    background-position:
      62% center;
  }

  .hero-v2-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 24, 47, .25) 0%,
        rgba(8, 24, 47, .68) 46%,
        rgba(8, 24, 47, .98) 100%
      );
  }

  .hero-v2-content {
    min-height: 720px;

    align-items: flex-end;

    padding:
      120px 0 58px;
  }

  .hero-v2-copy {
    width: 100%;
  }

  .hero-v2-copy h1 {
    font-size: 46px;
  }

  .hero-v2-copy p {
    font-size: 15px;
  }

  .hero-v2-actions {
    flex-direction: column;
  }

  .hero-v2-actions .btn {
    width: 100%;
  }

  .hero-v2-features-grid {
    grid-template-columns: 1fr;
  }

  .hero-v2-feature {
    min-height: auto;

    padding:
      18px 8px;
  }

  .hero-v2-feature::after {
    display: none;
  }

  .hero-v2-feature:not(:last-child) {
    border-bottom:
      1px solid
      rgba(255, 255, 255, .08);
  }

  .stats-grid {
    grid-template-columns:
      1fr 1fr;
  }

  .about-grid .media-card {
    height: 390px;
  }

  .mini-feature-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    display: block;
  }

  .service-card {
    margin-bottom: 16px;
  }

  .services-cta {
    margin-top: 32px;
  }

  .why-grid,
  .process-grid,
  .projects-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.with-action {
    align-items: flex-start;

    flex-direction: column;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .testimonial-track {
    min-height: 350px;
  }

  .testimonial {
    padding:
      28px 20px;
  }

  .team-cards {
    grid-template-columns: 1fr;
  }

  .closing-cta {
    grid-template-columns: 1fr;

    gap: 22px;

    padding:
      30px 26px;
  }

  .closing-actions {
    justify-content: flex-start;
  }

  .footer {
    margin-top: 42px;

    padding-top: 44px;
  }

  .footer-grid {
    grid-template-columns:
      1fr 1fr;

    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;
  }

}


/* ===================================
   SMALL MOBILE
=================================== */

@media (max-width: 480px) {

  .hero-v2-copy h1 {
    font-size: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid article::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .closing-actions {
    flex-direction: column;
  }

  .closing-actions .btn {
    width: 100%;
  }

  .footer-legal {
    flex-wrap: wrap;

    gap: 12px 18px;
  }

  .whatsapp-float {
    right: 15px;

    bottom: 15px;

    width: 48px;
    height: 48px;
  }

}

/* ===== HERO IMAGE UPDATE ===== */

.hero-v2-image {
  background-image: url("assets/hero.png") !important;
  background-position: left center !important;
}

.hero-v2-overlay {
  background:
  linear-gradient(
    270deg,
    rgba(8,24,47,.98) 0%,
    rgba(8,24,47,.90) 25%,
    rgba(8,24,47,.55) 48%,
    rgba(8,24,47,.15) 75%,
    transparent 100%
  ) !important;
}

.hero-v2-content {
  direction: ltr;
  justify-content: flex-end;
}

.hero-v2-copy {
  direction: rtl;
  text-align: right;
  margin-left: auto;
  max-width: 520px;
}

@media(max-width:900px){
  .hero-v2-content {
    direction: rtl;
  }
}

.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  color: #fff;
  padding: 8px 10px;
  border-radius: 12px;
  transition: .25s ease;
}

.lang-link span {
  font-size: 18px;
  opacity: .8;
}

.hero-v2-copy h1 span {
  margin-top: 14px;
  line-height: 1.25;
}


/* ===== Final hero / navbar refinements ===== */

.site-header{
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-logo{
  width: 36px;
  height: 72px;
  object-fit: contain;
}

 .language-switcher{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:4px 8px;
  background:transparent;
  border:none;
  color:#687487;
  font-size:14px;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  transition:.25s ease;
}

.language-switcher:hover{
  opacity:.75;
}

.language-switcher .flag{
  font-size:25px;
  line-height:1;
}

.language-switcher .chevron{
  font-size:18px;
  color:#687487;
  margin-top:-3px;
  opacity:.9;
}

.hero-v2-image{
  background-position:center 150px;
}

.hero-v2-content{
  padding-top:55px;
}

.hero-v2-copy h1 span{
  display:block;
  margin-top:14px;
}

/* Arabic language switcher final refinement */
.nav-actions{
  display:flex;
  align-items:center;
  gap:34px;
  flex-direction:row;
}

.language-menu{
  position:relative;
  flex:0 0 auto;
}

.language-switcher{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:122px;
  height:44px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:13px;
  background:rgba(7,24,46,.62);
  color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.language-switcher .lang-icon{
  width:19px;
  height:19px;
  color:var(--gold-2);
  stroke-width:2;
  flex:0 0 auto;
}

.language-switcher .lang-text{
  font-size:14px;
  font-weight:700;
  color:#fff;
  white-space:nowrap;
}

.language-switcher .chevron{
  width:16px;
  height:16px;
  color:#fff;
  opacity:.9;
  transition:transform .2s ease;
  flex:0 0 auto;
}

.language-switcher:hover,
.language-switcher:focus-visible,
.language-menu.open .language-switcher{
  background:rgba(11,36,67,.92);
  border-color:var(--gold-2);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}

.language-switcher:focus-visible{
  outline:2px solid var(--gold-2);
  outline-offset:3px;
}

.language-menu.open .language-switcher .chevron{
  transform:rotate(180deg);
}

.language-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:178px;
  padding:7px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:rgba(8,24,47,.97);
  box-shadow:0 18px 45px rgba(0,0,0,.28);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  opacity:0;
  visibility:hidden;
  transform:translateY(-7px) scale(.98);
  transform-origin:top right;
  transition:opacity .18s ease,visibility .18s ease,transform .18s ease;
  z-index:1200;
}

.language-menu.open .language-dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}

.language-option{
  width:100%;
  min-height:42px;
  display:grid;
  grid-template-columns:30px minmax(0,1fr) 15px;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#eef4fb;
  font-family:inherit;
  font-size:13px;
  font-weight:600;
  line-height:1.2;
  text-decoration:none;
  text-align:start;
  direction:ltr;
  cursor:pointer;
  transition:background .18s ease,color .18s ease;
}

.language-option + .language-option{
  margin-top:3px;
}

.language-option:hover,
.language-option:focus-visible{
  background:rgba(255,255,255,.09);
  color:#fff;
}

.language-option:focus-visible{
  outline:1px solid var(--gold-2);
  outline-offset:-1px;
}

.language-option.is-active{
  background:rgba(206,169,91,.13);
  color:#fff;
}

.language-code{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:25px;
  border:1px solid rgba(206,169,91,.45);
  border-radius:7px;
  color:var(--gold-2);
  font-size:10px;
  font-weight:800;
  letter-spacing:.4px;
  flex:0 0 auto;
}

.language-label{
  min-width:0;
  white-space:nowrap;
  color:inherit;
}

.language-option[data-language="ar"] .language-label{
  direction:rtl;
  text-align:left;
}

.language-option[data-language="en"] .language-label{
  direction:ltr;
  text-align:left;
}

.language-check{
  width:15px;
  height:15px;
  color:var(--gold-2);
  stroke-width:2.4;
  opacity:0;
  visibility:hidden;
}

.language-option.is-active .language-check{
  opacity:1;
  visibility:visible;
}

@media (max-width: 520px){
  .nav-actions{
    gap:12px;
  }

  .language-switcher{
    min-width:108px;
    height:40px;
    padding:0 10px;
    gap:7px;
  }

  .language-switcher .lang-text{
    font-size:13px;
  }

  .language-dropdown{
    width:166px;
  }
}


/* ===================================
   ENGLISH VERSION LAYOUT OVERRIDES
=================================== */

body[data-language="en"] {
  direction: ltr;
}

body[data-language="en"] .nav-wrap {
  direction: ltr;
}

body[data-language="en"] .main-nav {
  justify-content: center;
}

body[data-language="en"] .nav-actions {
  flex-direction: row;
}

body[data-language="en"] .hero-v2-image {
  transform: scaleX(-1);
  transform-origin: center;
  background-position: center 150px;
}

body[data-language="en"] .hero-v2-overlay {
  background: linear-gradient(
    90deg,
    rgba(8, 24, 47, .99) 0%,
    rgba(8, 24, 47, .94) 18%,
    rgba(8, 24, 47, .66) 38%,
    rgba(8, 24, 47, .22) 68%,
    rgba(8, 24, 47, .12) 100%
  );
}

body[data-language="en"] .hero-v2-content {
  justify-content: flex-start !important;
  align-items: center;
  padding: 136px 0 84px;
}

body[data-language="en"] .hero-v2-copy {
  width: min(610px, 100%);
  text-align: left;
  margin-inline-start: 0;
  margin-inline-end: auto;
}

body[data-language="en"] .hero-v2-kicker::after {
  order: 2;
}

body[data-language="en"] .hero-v2-copy h1 {
  max-width: 600px;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.12;
}

body[data-language="en"] .hero-v2-copy p {
  max-width: 590px;
  margin-top: 26px;
  line-height: 1.9;
}

body[data-language="en"] .hero-v2-actions {
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  body[data-language="en"] .hero-v2-content {
    justify-content: flex-start !important;
    align-items: flex-start;
    padding: 126px 0 72px;
  }

  body[data-language="en"] .hero-v2-copy {
    width: 100%;
  }

  body[data-language="en"] .hero-v2-overlay {
    background: linear-gradient(
      90deg,
      rgba(8, 24, 47, .97),
      rgba(8, 24, 47, .62) 52%,
      rgba(8, 24, 47, .24) 100%
    );
  }
}

@media (max-width: 720px) {
  body[data-language="en"] .hero-v2-image {
    transform: none;
    background-position: 38% center;
  }

  body[data-language="en"] .hero-v2-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 24, 47, .25) 0%,
      rgba(8, 24, 47, .68) 46%,
      rgba(8, 24, 47, .98) 100%
    );
  }

  body[data-language="en"] .hero-v2-content {
    justify-content: flex-end !important;
    align-items: flex-end;
    padding: 120px 0 58px;
  }

  body[data-language="en"] .hero-v2-copy {
    text-align: left;
  }
}


/* ===== English hero position hard-fix ===== */
@media (min-width: 1025px) {
  body[data-language="en"] .hero-v2-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center !important;
    justify-content: initial !important;
    padding-top: 118px !important;
    padding-bottom: 70px !important;
  }

  body[data-language="en"] .hero-v2-copy {
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    width: min(610px, 92%) !important;
    margin: 0 !important;
    text-align: left !important;
  }
}


/* ===== English hero buttons alignment fix ===== */
body[data-language="en"] .hero-v2-actions {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
  direction: ltr !important;
  margin-top: 30px;
}

body[data-language="en"] .hero-v2-actions .btn-gold {
  order: 1 !important;
}

body[data-language="en"] .hero-v2-actions .hero-v2-outline {
  order: 2 !important;
}


/* ===== English hero: remove right-side gradient overlay ===== */
body[data-language="en"] .hero-v2-overlay {
  background: linear-gradient(
    90deg,
    rgba(8, 24, 47, .96) 0%,
    rgba(8, 24, 47, .88) 24%,
    rgba(8, 24, 47, .48) 48%,
    rgba(8, 24, 47, .14) 68%,
    rgba(8, 24, 47, 0) 100%
  ) !important;
}

body[data-language="en"] .hero-v2::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, .05),
    transparent 42%,
    rgba(3, 12, 25, .18)
  ) !important;
}


/* =================================
   HERO TYPEWRITER ANIMATION
================================= */

.hero-typewriter {
  min-height: 190px;
}

.typewriter-line {
  display: block;
}

.typewriter-main {
  color: #fff;
}

.typewriter-gold {
  color: var(--gold-2);
  margin-top: 12px;
}

/* المؤشر أثناء الكتابة */
.typewriter-line.is-typing::after {
  content: "";
  display: inline-block;

  width: 3px;
  height: .9em;

  margin-inline-start: 8px;

  background: currentColor;

  vertical-align: -2px;

  animation: typewriterCursor .7s infinite;
}

@keyframes typewriterCursor {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}



/* ================================
   HERO FEATURES ANIMATION
================================ */

.hero-v2-feature {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .6s ease,
    transform .6s ease;
}

.hero-v2-feature.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================================
   STATS ANIMATION
================================ */

.stat-item {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .6s ease,
    transform .6s ease;
}

.stat-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-item strong {
  display: inline-block;
  transform: scale(.94);
  transition: transform .45s ease;
}

.stat-item.is-visible strong {
  transform: scale(1);
}

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

.about-animate-copy {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .7s ease,
    transform .7s ease;
}

.about-animate-copy.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.about-animate-media {
  opacity: 0;
  transform: translateX(48px) scale(.98);
  transition:
    opacity .8s ease,
    transform .8s ease;
}

.about-animate-media.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}


/* الكروت */

.about-mini-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .55s ease,
    transform .55s ease;
}

.about-mini-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* الشريط فوق الصورة */

.about-caption-animate {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .55s ease,
    transform .55s ease;
}

.about-caption-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* اللينك */

.about-link-animate {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity .5s ease,
    transform .5s ease;
}

.about-link-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* English version */

body[data-language="en"] .about-animate-media {
  transform: translateX(-48px) scale(.98);
}

body[data-language="en"] .about-animate-media.is-visible {
  transform: translateX(0) scale(1);
}

/* =================================
   SERVICES LIVE ANIMATION
================================= */

.services-heading {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .65s ease,
    transform .65s ease;
}

.services-heading.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.service-card {
  opacity: 0;
  transform: translateY(30px) scale(.985);

  transition:
    opacity .6s ease,
    transform .6s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* HOVER */

.service-card:hover {
  transform:
    translateY(-8px)
    scale(1.025);

  box-shadow:
    0 22px 45px
    rgba(0, 0, 0, .22);

  border-color:
    rgba(240, 205, 132, .6);
}


/* IMAGE ZOOM */

.service-card img {
  transition:
    transform .5s ease,
    filter .5s ease;
}

.service-card:hover img {
  transform: scale(1.055);
  filter: brightness(1.05);
}


/* GOLD LIGHT */

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      transparent 55%,
      rgba(240, 205, 132, .08)
    );

  opacity: 0;

  transition:
    opacity .35s ease;
}

.service-card:hover::after {
  opacity: 1;
}


/* LINK */

.service-card .service-body a {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  transition:
    transform .3s ease,
    color .3s ease;
}

.service-card:hover .service-body a {
  transform: translateX(-4px);
}

body[data-language="en"]
.service-card:hover .service-body a {
  transform: translateX(4px);
}


/* CTA */

.services-cta {
  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity .55s ease,
    transform .55s ease;
}

.services-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   WHY SECTION FALL ANIMATION
================================ */

.why-heading {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .65s ease,
    transform .65s ease;
}

.why-heading.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.why-card {
  opacity: 0;
  transform: translateY(-90px) scale(.96);
  transition:
    opacity .65s ease,
    transform .78s cubic-bezier(.2, .85, .25, 1.15),
    box-shadow .35s ease,
    border-color .35s ease;
}

.why-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hover effect */
.why-card.is-visible:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 45px rgba(8, 24, 47, .12);
}

/* لو عايزة الكارت المميز يبقى أوضح شوية */
.why-card.featured.is-visible:hover {
  transform: translateY(-10px) scale(1.025);
}

/* ================================
   WORK ANIMATION - FIXED
================================ */

.work-animate-heading,
.work-animate-card {
  opacity: 0;
  transform: translateY(40px);
}

.work-animate-heading.work-show,
.work-animate-card.work-show {
  opacity: 1;
  transform: translateY(0);

  transition:
    opacity .7s ease,
    transform .7s ease;
}


/* Hover */

.work-animate-card {
  transition:
    opacity .7s ease,
    transform .35s ease,
    box-shadow .35s ease;
}

.work-animate-card.work-show:hover {
  transform:
    translateY(-10px)
    scale(1.025);

  box-shadow:
    0 22px 45px
    rgba(0, 0, 0, .22);
}


/* Image zoom */

.work-animate-card {
  overflow: hidden;
}

.work-animate-card img {
  transition: transform .5s ease;
}

.work-animate-card:hover img {
  transform: scale(1.06);
}

/* ==================================
   WORK SECTION ANIMATION
================================== */

#work .work-animate-heading {
  opacity: 0;
  transform: translateY(35px);
}

#work .work-animate-card {
  opacity: 0;
  transform: translateY(55px) scale(.96);
}


/* عند التشغيل */

#work .work-animate-heading.work-visible {
  opacity: 1;
  transform: translateY(0);

  transition:
    opacity .7s ease,
    transform .7s ease;
}

#work .work-animate-card.work-visible {
  opacity: 1;
  transform: translateY(0) scale(1);

  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.2,.8,.2,1);
}


/* Hover */

#work .work-animate-card.work-visible {
  transition:
    opacity .7s ease,
    transform .35s ease,
    box-shadow .35s ease;
}

#work .work-animate-card.work-visible:hover {
  transform: translateY(-10px) scale(1.025);

  box-shadow:
    0 22px 50px rgba(0,0,0,.28);
}


/* Image zoom */

#work .work-animate-card {
  overflow: hidden;
}

#work .work-animate-card img {
  transition: transform .55s ease;
}

#work .work-animate-card:hover img {
  transform: scale(1.065);
}
/* ================================
   BLOG SECTION ANIMATION
================================ */

.blog-heading {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .65s ease,
    transform .65s ease;
}

.blog-heading.blog-visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-all-link {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity .5s ease,
    transform .5s ease;
}

.blog-all-link.blog-visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-animate-card {
  opacity: 0;
  transform: translateY(34px) scale(.98);

  transition:
    opacity .65s ease,
    transform .65s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.blog-animate-card.blog-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* Hover */

.blog-animate-card.blog-visible:hover {
  transform:
    translateY(-8px)
    scale(1.02);

  box-shadow:
    0 22px 45px
    rgba(0, 0, 0, .22);
}


/* Image zoom */

.blog-animate-card {
  overflow: hidden;
}

.blog-animate-card img {
  transition:
    transform .5s ease,
    filter .5s ease;
}

.blog-animate-card:hover img {
  transform: scale(1.055);
  filter: brightness(1.04);
}

.footer-logo {
  width: 50px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ================================
   TEAM JOURNEY SECTION
================================ */

.team-journey-section {
  position: relative;
  overflow: hidden;

  background: #08182f;

  padding: 70px 0 0;

  color: #fff;
}


.team-journey-heading {
  text-align: center;

  margin-bottom: 35px;
}


.team-journey-heading h2 {
  margin: 0;

  color: #d6aa54;

  font-size: clamp(34px, 4vw, 58px);

  font-weight: 500;

  line-height: 1.3;
}


.team-journey-visual {
  position: relative;

  width: 100%;

  min-height: 520px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  background:
    linear-gradient(
      180deg,
      #0d2443 0%,
      #08182f 100%
    );
}


.team-journey-image {
  width: min(94%, 1700px);

  height: auto;

  object-fit: contain;

  object-position: center bottom;

  display: block;

  margin-inline: auto;
}


/* MOBILE */

@media (max-width: 768px) {

  .team-journey-section {
    padding-top: 50px;
  }

  .team-journey-heading {
    margin-bottom: 25px;
  }

  .team-journey-heading h2 {
    font-size: 34px;
  }

  .team-journey-visual {
    min-height: 330px;
  }

  .team-journey-image {
    width: 115%;
    max-width: none;
  }

}

/* ================================
   TEAM JOURNEY SECTION - CLEAN
================================ */

.team-journey-section {
  position: relative;
  overflow: hidden;

  background: #08182f;

  padding: 75px 0 0;

  color: #fff;
}


/* العنوان */

.team-journey-heading {
  text-align: center;
  margin-bottom: 15px;
}

.team-journey-heading h2 {
  margin: 0;

  color: #fff;

  font-size: clamp(38px, 4vw, 58px);

  font-weight: 500;

  line-height: 1.25;
}


/* الصورة */

.team-journey-visual {
  position: relative;

  width: 100%;

  min-height: 500px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  /* مهم جدًا */
  background: transparent;
}


/* صورة الفريق */

.team-journey-image {
  display: block;

  width: min(92%, 1650px);

  height: auto;

  object-fit: contain;
  object-position: center bottom;

  margin: 0 auto;

  transform: translateY(15px);
}


/* MOBILE */

@media (max-width: 768px) {

  .team-journey-section {
    padding-top: 50px;
  }

  .team-journey-heading h2 {
    font-size: 32px;
  }

  .team-journey-visual {
    min-height: 330px;
  }

  .team-journey-image {
    width: 115%;
    max-width: none;
  }

}

/* ==================================================
   TAMYOUZ REDESIGN - THEGEM ISOLATION FIX
================================================== */

body.tamiyouz-redesign-page {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Cairo", sans-serif !important;
  color: #0d1727 !important;
  background: #fbfaf7 !important;
  overflow-x: hidden !important;
}

body.tamiyouz-redesign-page * {
  box-sizing: border-box;
}

body.tamiyouz-redesign-page .container {
  width: min(calc(100% - 40px), 1360px) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* =========================
   HEADINGS
========================= */

body.tamiyouz-redesign-page h1,
body.tamiyouz-redesign-page h2,
body.tamiyouz-redesign-page h3,
body.tamiyouz-redesign-page h4,
body.tamiyouz-redesign-page h5,
body.tamiyouz-redesign-page h6 {
  font-family: "Cairo", sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

body.tamiyouz-redesign-page .section-dark h2,
body.tamiyouz-redesign-page .section-dark h3,
body.tamiyouz-redesign-page .section-dark h4 {
  color: #fff !important;
}

body.tamiyouz-redesign-page .section-light h2,
body.tamiyouz-redesign-page .section-light h3,
body.tamiyouz-redesign-page .why-section h2,
body.tamiyouz-redesign-page .why-section h3 {
  color: #0d1727 !important;
}

body.tamiyouz-redesign-page .section-heading h2,
body.tamiyouz-redesign-page .content-block h2 {
  margin: 12px 0 16px !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}


/* =========================
   SECTIONS
========================= */

body.tamiyouz-redesign-page .section {
  position: relative !important;
  width: 100% !important;
  padding: 105px 0 !important;
}

body.tamiyouz-redesign-page .section-light {
  background: #fbfaf7 !important;
}

body.tamiyouz-redesign-page .section-dark {
  color: #fff !important;
  background: linear-gradient(
    180deg,
    #08182f,
    #061426
  ) !important;
}

body.tamiyouz-redesign-page .section-heading {
  margin-bottom: 48px !important;
}

body.tamiyouz-redesign-page .section-heading.centered {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}


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

body.tamiyouz-redesign-page .split-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  gap: 60px !important;
}

body.tamiyouz-redesign-page .about-grid .media-card {
  width: 100% !important;
  height: 480px !important;
  max-width: none !important;
  border-radius: 22px !important;
}

body.tamiyouz-redesign-page .about-grid .media-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.tamiyouz-redesign-page .content-block {
  width: 100% !important;
  max-width: none !important;
}

body.tamiyouz-redesign-page .mini-feature-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  margin: 32px 0 !important;
}

body.tamiyouz-redesign-page .mini-feature-grid div {
  padding: 18px !important;
  background: #fff !important;
}


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

body.tamiyouz-redesign-page .service-grid {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr) !important;
  gap: 20px !important;
}

body.tamiyouz-redesign-page .service-card {
  grid-column: span 4 !important;
  width: auto !important;
  max-width: none !important;
  background: rgba(255,255,255,.04) !important;
}

body.tamiyouz-redesign-page .service-card:nth-child(4),
body.tamiyouz-redesign-page .service-card:nth-child(5) {
  grid-column: span 6 !important;
}

body.tamiyouz-redesign-page .service-card h3 {
  color: #fff !important;
}

body.tamiyouz-redesign-page .service-body p {
  color: rgba(255,255,255,.62) !important;
}


/* =========================
   WHY
========================= */

body.tamiyouz-redesign-page .why-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

body.tamiyouz-redesign-page .why-card {
  min-height: 290px !important;
  padding: 30px 28px !important;
  background: #fff !important;
}

body.tamiyouz-redesign-page .why-card.featured {
  color: #fff !important;
  background: linear-gradient(
    145deg,
    #0d2443,
    #08182f
  ) !important;
}

body.tamiyouz-redesign-page .why-card.featured h3 {
  color: #fff !important;
}


/* =========================
   WORK
========================= */

body.tamiyouz-redesign-page .projects-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

body.tamiyouz-redesign-page .project-card {
  width: auto !important;
  max-width: none !important;
  background: rgba(255,255,255,.035) !important;
}

body.tamiyouz-redesign-page .project-card h3 {
  color: #fff !important;
}

body.tamiyouz-redesign-page .project-card p {
  color: rgba(255,255,255,.62) !important;
}


/* =========================
   BLOG
========================= */

body.tamiyouz-redesign-page .blog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

body.tamiyouz-redesign-page .blog-card {
  width: auto !important;
  max-width: none !important;
  background: rgba(255,255,255,.04) !important;
}

body.tamiyouz-redesign-page .blog-card h3 {
  color: #fff !important;
}

body.tamiyouz-redesign-page .blog-card a {
  color: rgba(255,255,255,.7) !important;
}


/* =========================
   FAQ
========================= */

body.tamiyouz-redesign-page .faq-grid {
  display: grid !important;
  grid-template-columns: .75fr 1.25fr !important;
  gap: 70px !important;
}


/* =========================
   CTA
========================= */

body.tamiyouz-redesign-page .closing-cta h2 {
  color: #fff !important;
}

body.tamiyouz-redesign-page .closing-cta p {
  color: rgba(255,255,255,.64) !important;
}


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

body.tamiyouz-redesign-page .footer {
  width: 100% !important;
  margin-top: 56px !important;
  padding: 64px 0 22px !important;
  color: #fff !important;
  background: #061326 !important;
}

body.tamiyouz-redesign-page .footer-grid {
  display: grid !important;
  grid-template-columns:
    1.15fr .8fr 1.05fr 1.15fr !important;
  gap: 62px !important;
}

body.tamiyouz-redesign-page .footer h4 {
  color: #fff !important;
}

body.tamiyouz-redesign-page .footer a,
body.tamiyouz-redesign-page .footer span,
body.tamiyouz-redesign-page .footer p {
  color: rgba(255,255,255,.58) !important;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  body.tamiyouz-redesign-page .split-grid,
  body.tamiyouz-redesign-page .faq-grid {
    grid-template-columns: 1fr !important;
  }

  body.tamiyouz-redesign-page .service-card,
  body.tamiyouz-redesign-page .service-card:nth-child(4),
  body.tamiyouz-redesign-page .service-card:nth-child(5) {
    grid-column: span 6 !important;
  }

  body.tamiyouz-redesign-page .projects-grid,
  body.tamiyouz-redesign-page .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

}

@media (max-width: 640px) {

  body.tamiyouz-redesign-page .service-card,
  body.tamiyouz-redesign-page .service-card:nth-child(4),
  body.tamiyouz-redesign-page .service-card:nth-child(5) {
    grid-column: 1 / -1 !important;
  }

  body.tamiyouz-redesign-page .projects-grid,
  body.tamiyouz-redesign-page .blog-grid,
  body.tamiyouz-redesign-page .why-grid,
  body.tamiyouz-redesign-page .mini-feature-grid {
    grid-template-columns: 1fr !important;
  }

  body.tamiyouz-redesign-page .footer-grid {
    grid-template-columns: 1fr !important;
  }

}

/* ==================================================
   FINAL LAYOUT LOCK — TAMYOUZ REDESIGN
================================================== */

/* ---------- GLOBAL GRID SAFETY ---------- */

body.tamiyouz-redesign-page .hero-v2-feature,
body.tamiyouz-redesign-page .stat-item,
body.tamiyouz-redesign-page .about-grid > *,
body.tamiyouz-redesign-page .footer-grid > * {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* ---------- HERO FEATURES ---------- */

body.tamiyouz-redesign-page .hero-v2-features-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: min(calc(100% - 40px), 1360px) !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  gap: 0 !important;
}

body.tamiyouz-redesign-page .hero-v2-feature {
  grid-column: auto !important;
  grid-row: auto !important;
  min-height: 108px !important;
  padding: 22px 26px !important;
  display: flex !important;
  align-items: center !important;
}


/* ---------- STATS ---------- */

body.tamiyouz-redesign-page .stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: min(calc(100% - 40px), 1360px) !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  gap: 0 !important;
}

body.tamiyouz-redesign-page .stats-grid .stat-item {
  grid-column: auto !important;
  grid-row: auto !important;
  display: block !important;
  padding: 28px 16px !important;
  text-align: center !important;
}


/* ---------- ABOUT ---------- */

body.tamiyouz-redesign-page .about-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 60px !important;
}

body.tamiyouz-redesign-page .about-grid .media-card,
body.tamiyouz-redesign-page .about-grid .content-block {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
}

body.tamiyouz-redesign-page .about-grid .media-card {
  height: 480px !important;
}

body.tamiyouz-redesign-page .about-grid .content-block {
  align-self: center !important;
}


/* ---------- FAQ ---------- */

body.tamiyouz-redesign-page .faq-grid {
  display: grid !important;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr) !important;
  align-items: start !important;
  gap: 70px !important;
}


/* ---------- FOOTER ---------- */

body.tamiyouz-redesign-page .footer-grid {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, .8fr)
    minmax(0, 1.05fr)
    minmax(0, 1.15fr) !important;

  align-items: start !important;
  gap: 50px !important;

  width: min(calc(100% - 40px), 1360px) !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
}

body.tamiyouz-redesign-page .footer-brand,
body.tamiyouz-redesign-page .footer-col,
body.tamiyouz-redesign-page .footer-contact {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  align-self: start !important;
}

body.tamiyouz-redesign-page .footer-contact {
  grid-column: auto !important;
  grid-row: auto !important;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1024px) {

  body.tamiyouz-redesign-page .hero-v2-features-grid,
  body.tamiyouz-redesign-page .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.tamiyouz-redesign-page .about-grid,
  body.tamiyouz-redesign-page .faq-grid {
    grid-template-columns: 1fr !important;
  }

  body.tamiyouz-redesign-page .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}


@media (max-width: 640px) {

  body.tamiyouz-redesign-page .hero-v2-features-grid,
  body.tamiyouz-redesign-page .stats-grid,
  body.tamiyouz-redesign-page .footer-grid {
    grid-template-columns: 1fr !important;
  }

}