@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-repeat: repeat;
  background-size: 100%;
  background-color: #f9f9f9;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
div pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
figure,
header,
section,
article,
aside,
footer,
figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

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

header,
nav,
section,
article,
aside,
footer,
hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: 'Poppins', sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1e1e1e;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 700;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 28px;
  color: #4a4a4a;
}

img {
  width: 100%;
  overflow: hidden;
}

/* Global Styles */
html,
body {
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: #8865E1;
  color: #fff;
}

::-moz-selection {
  background: #8865E1;
  color: #fff;
}

.section {
  padding-top: 30px;
  margin-top: 100px;
}

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

.section-heading h2 {
  font-size: 36px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 20px 0 100px;
  line-height: 44px;
}


.section-heading1 h2 {
  font-size: 36px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 20px 0;
  line-height: 44px;
}


.section-heading1 h2 em {
  color: #8865E1;
  font-style: normal;
}

.section-heading h2 em {
  color: #8865E1;
  font-style: normal;
}

.section-heading h6 {
  color: #8865E1;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
}

.section-heading1 h6 {
  color: #8865E1;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
}

.main-button a {
  display: inline-block;
  background-color: #fff;
  color: #8865E1;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  padding: 0px 25px;
  transition: all .3s;
}

.main-button a:hover {
  background-color: #8865E1;
  color: #fff;
}

.main-button2 {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.main-button2 a {
  display: inline-block;
  background-color: #8865E1;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  padding: 0px 25px;
  transition: all .3s;
  justify-content: center;
  align-items: center;
}


/* About Hero Section */
.about-hero {
  background: #8865E1;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0px 50px 0px;
  position: relative;
  overflow: hidden;
  perspective: 1500px;
}

.worldmap {
  width: 95%;
  margin: 30px auto;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 70px;
  margin-bottom: 10px;
}

.hero-content p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  line-height: 28px;
  color: #fff;
}

.world-map-container {
  position: relative;
  margin: 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.world-map {
  width: 100%;
  max-width: 700px;
  height: 400px;
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  backdrop-filter: blur(15px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.continent {
  fill: rgba(255, 255, 255, 0.9);
  stroke: rgba(255, 255, 255, 1);
  stroke-width: 2;
  transition: all 0.4s ease;
  cursor: pointer;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.continent:hover {
  fill: rgba(255, 255, 255, 1);
  transform: scale(1.05);
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.3));
}

.floating-voxel {
  position: absolute;
  width: 60px;
  height: 60px;
  transform-style: preserve-3d;
  animation: floatVoxel 8s ease-in-out infinite;
}

.floating-voxel:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-voxel:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.floating-voxel:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}

.floating-voxel:nth-child(4) {
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
}

.voxel-face {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(3px);
}

.voxel-face.front {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  transform: translateZ(30px);
}

.voxel-face.back {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  transform: translateZ(-30px) rotateY(180deg);
}

.voxel-face.right {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  transform: rotateY(90deg) translateZ(30px);
}

.voxel-face.left {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  transform: rotateY(-90deg) translateZ(30px);
}

.voxel-face.top {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15));
  transform: rotateX(90deg) translateZ(30px);
}

.voxel-face.bottom {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  transform: rotateX(-90deg) translateZ(30px);
}

@keyframes floatVoxel {

  0%,
  100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }

  25% {
    transform: translateY(-20px) rotateX(45deg) rotateY(45deg);
  }

  50% {
    transform: translateY(-40px) rotateX(90deg) rotateY(90deg);
  }

  75% {
    transform: translateY(-20px) rotateX(135deg) rotateY(135deg);
  }
}

/* SECTION 2: Why Voxoura Exists - Updated to 260px */
.why-voxoura-exists {
  background-color: #f9f9f9;
}

.belief-card {
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  height: 350px;
}

.belief-icon {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 0px;
  position: relative;
  width: 100%;
  height: 260px;
  perspective: 1000px;
}

.belief-content {
  display: none;
}

/* SECTION 4: Why Voxoura Works - Updated to 260px */
.why-voxoura-works {
  padding: 60px 0;
}

.feature-card {
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  height: 350px;
}

.feature-icon {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 0px;
  position: relative;
  width: 100%;
  height: 260px;
  perspective: 1000px;
}

.feature-content {
  display: none;
}

/* Cube Styles - Both sections now 260px */
.cube {
  width: 260px;
  height: 260px;
  position: relative;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
  margin: 0 auto;
  transition: transform 0.6s;
  cursor: pointer;
}

.belief-card:hover .cube,
.feature-card:hover .cube {
  transform: rotateY(180deg);
  animation: none;
}

.cube-face {
  position: absolute;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.1);
  backface-visibility: hidden;
}

.cube-content {
  text-align: center;
  padding: 25px;
  width: 100%;
}

.cube-content i {
  font-size: 50px;
  margin-bottom: 20px;
  display: block;
}

.cube-content h4 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: white;
}

.cube-content p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  color: white;
  font-weight: 400;
}

.cube-face.front {
  transform: translateZ(130px);
}

.cube-face.back {
  transform: rotateY(180deg) translateZ(130px);
}

.cube-face.right {
  transform: rotateY(90deg) translateZ(130px);
}

.cube-face.left {
  transform: rotateY(-90deg) translateZ(130px);
}

.cube-face.top {
  transform: rotateX(90deg) translateZ(130px);
}

.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(130px);
}

.cube-purple .cube-face {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.cube-blue .cube-face {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.cube-green .cube-face {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotateX(10deg) rotateY(10deg);
  }

  50% {
    transform: translateY(-15px) rotateX(10deg) rotateY(10deg);
  }
}

.belief-card:hover .cube-face.front,
.feature-card:hover .cube-face.front {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.belief-card:hover .cube-face.back,
.feature-card:hover .cube-face.back {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Timeline Section */
/* Timeline Section */
.timeline-section {
  background-color: #f9f9f9;
  margin-bottom: 60px;
  position: relative;
}

.timeline-section .section-heading p {
  color: #666;
  font-size: 16px;
  margin-top: 10px;
}

.timeline-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 80px;
  margin-bottom: 100px;
  padding: 0 50px;
}

.timeline-line {
  position: absolute;
  top: 60px;
  left: 50px;
  right: 50px;
  height: 4px;
  background: linear-gradient(90deg, #8865E1, #6b46c1);
  border-radius: 2px;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.timeline-step:nth-child(2) {
  animation-delay: 0.1s;
}

.timeline-step:nth-child(3) {
  animation-delay: 0.2s;
}

.timeline-step:nth-child(4) {
  animation-delay: 0.3s;
}

.timeline-step:nth-child(5) {
  animation-delay: 0.4s;
}

.timeline-step:nth-child(6) {
  animation-delay: 0.5s;
}

.timeline-step:nth-child(7) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-icon-container {
  position: relative;
  margin-bottom: 30px;
}

.step-number {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #8865E1;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(136, 101, 225, 0.3);
}

.timeline-cube {
  width: 80px;
  height: 80px;
  position: relative;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.3s ease;
  transform: rotateY(15deg) rotateX(10deg);
}

.timeline-cube:hover {
  transform: scale(1.1) rotateY(25deg) rotateX(15deg);
}

.timeline-cube .cube-face {
  position: absolute;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #8865E1, #6b46c1);
}

.timeline-cube .cube-face.front {
  transform: translateZ(40px);
}

.timeline-cube .cube-face.back {
  transform: rotateY(180deg) translateZ(40px);
}

.timeline-cube .cube-face.right {
  transform: rotateY(90deg) translateZ(40px);
}

.timeline-cube .cube-face.left {
  transform: rotateY(-90deg) translateZ(40px);
}

.timeline-cube .cube-face.top {
  transform: rotateX(90deg) translateZ(40px);
}

.timeline-cube .cube-face.bottom {
  transform: rotateX(-90deg) translateZ(40px);
}

.timeline-content {
  max-width: 160px;
  height: 210px; /* ثابت الارتفاع لجميع الصناديق */
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  background-color: #ffffff; /* لون خلفية الصندوق */
  border: 2px solid #8865E1; /* إضافة حدود للصندوق */
  border-radius: 10px; /* إضافة حواف دائرية */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* إضافة ظل خفيف */
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(136, 101, 225, 0.3);
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 10px;
  line-height: 1.3;
}

.timeline-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

.timeline-step:hover .timeline-cube {
  transform: scale(1.15) rotateY(25deg) rotateX(15deg);
}

.timeline-step:hover .step-number {
  transform: scale(1.2);
  background: #6b46c1;
}

.timeline-step:hover .timeline-content h4 {
  color: #8865E1;
}


/* Vision Section */
.vision-section {
  background: #ffffff; /* خلفية بيضاء */
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.4;
  z-index: 1;
}

.vision-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.vision-content h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #8865E1; /* نص بنفسجي */
  line-height: 1.3;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.vision-content p {
  font-size: 1.5rem;
  color: #8865E1; /* نص بنفسجي */
  font-weight: 500;
  margin: 0;
}

/* together: أزرق فاتح مع أبيض */
.typing-text {
  background: linear-gradient(90deg, #60A5FA, #8865E1); /* أزرق إلى بنفسجي */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  position: relative;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.1); /* ظل ناعم */
}


/* الحركة الوامضة للمؤشر */
.typing-text::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #8865E1; /* نفس لون البنفسجي */
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* movement: أزرق موحّد */
.blue-text {
  color: #3b82f6;
  font-weight: bold;
}


/* Footer */
footer {
  margin-top: 150px;
  position: relative;
  background-color: #8865E1;
  vertical-align: middle;
  min-height: 150px;
}

footer p {
  text-align: center;
  line-height: 150px;
  color: #fff;
  font-weight: 400;
}

footer p a {
  color: #fff;
  transition: all .3s;
  position: relative;
  z-index: 3;
}

footer p a:hover {
  opacity: 0.75;
}

footer::before {
  background: url("../images/cube-group.6f59d1967a85.png");
  position: absolute;
  left: 60px;
  opacity: 1;
  bottom: 0;
  width: 266px;
  height: 143px;
  content: '';
  z-index: 2;
}

/* ENHANCED RESPONSIVE DESIGN */

/* Large Desktop */
@media (max-width: 1400px) {
  .cube {
    width: 240px;
    height: 240px;
  }

  .cube-face {
    width: 240px;
    height: 240px;
  }

  .cube-face.front,
  .cube-face.back {
    transform: translateZ(120px);
  }

  .cube-face.back {
    transform: rotateY(180deg) translateZ(120px);
  }

  .cube-face.right {
    transform: rotateY(90deg) translateZ(120px);
  }

  .cube-face.left {
    transform: rotateY(-90deg) translateZ(120px);
  }

  .cube-face.top {
    transform: rotateX(90deg) translateZ(120px);
  }

  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(120px);
  }
}

/* Desktop */
@media (max-width: 1200px) {
  .timeline-wrapper {
    padding: 0 30px;
  }

  .timeline-line {
    left: 30px;
    right: 30px;
  }

  .timeline-content {
    max-width: 180px;
    padding: 15px;
  }

  .timeline-content h4 {
    font-size: 16px;
  }

  .timeline-content p {
    font-size: 13px;
  }

  .cube {
    width: 220px;
    height: 220px;
  }

  .cube-face {
    width: 220px;
    height: 220px;
  }

  .cube-face.front,
  .cube-face.back {
    transform: translateZ(110px);
  }

  .cube-face.back {
    transform: rotateY(180deg) translateZ(110px);
  }

  .cube-face.right {
    transform: rotateY(90deg) translateZ(110px);
  }

  .cube-face.left {
    transform: rotateY(-90deg) translateZ(110px);
  }

  .cube-face.top {
    transform: rotateX(90deg) translateZ(110px);
  }

  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(110px);
  }

  .cube-content i {
    font-size: 45px;
  }

  .cube-content h4 {
    font-size: 20px;
  }

  .cube-content p {
    font-size: 15px;
  }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
  .nav {
    gap: 2px;
  }

  .nav-link {
    padding: 10px 15px;
    font-size: 15px;
  }

  .sign-in-button {
    padding: 10px 20px;
    font-size: 15px;
  }

  .cube {
    width: 200px;
    height: 200px;
  }

  .cube-face {
    width: 200px;
    height: 200px;
  }

  .cube-face.front,
  .cube-face.back {
    transform: translateZ(100px);
  }

  .cube-face.back {
    transform: rotateY(180deg) translateZ(100px);
  }

  .cube-face.right {
    transform: rotateY(90deg) translateZ(100px);
  }

  .cube-face.left {
    transform: rotateY(-90deg) translateZ(100px);
  }

  .cube-face.top {
    transform: rotateX(90deg) translateZ(100px);
  }

  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(100px);
  }

  .cube-content i {
    font-size: 40px;
  }

  .cube-content h4 {
    font-size: 18px;
  }

  .cube-content p {
    font-size: 14px;
  }

  .belief-card,
  .feature-card {
    height: 320px;
  }

  .belief-icon,
  .feature-icon {
    height: 200px;
  }
}

/* Tablet Portrait */
@media (max-width: 992px) {

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-content h2 {
    font-size: 2rem;
  }

  .timeline-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .timeline-line {
    display: none;
  }

  .timeline-step {
    flex-direction: row;
    text-align: left;
    margin-bottom: 50px;
    max-width: 600px;
    width: 100%;
  }

  .timeline-step:nth-child(even) {
    flex-direction: row-reverse;
  }

  .timeline-step:nth-child(even) .timeline-content {
    text-align: right;
    margin-right: 30px;
    margin-left: 0;
  }

  .timeline-icon-container {
    margin-bottom: 0;
    margin-right: 30px;
    flex-shrink: 0;
  }

  .timeline-step:nth-child(even) .timeline-icon-container {
    margin-right: 0;
    margin-left: 30px;
  }

  .timeline-content {
    max-width: none;
    flex: 1;
    padding: 25px;
  }

  .timeline-content h4 {
    font-size: 20px;
  }

  .timeline-content p {
    font-size: 15px;
  }

  .cube {
    width: 180px;
    height: 180px;
  }

  .cube-face {
    width: 180px;
    height: 180px;
  }

  .cube-face.front,
  .cube-face.back {
    transform: translateZ(90px);
  }

  .cube-face.back {
    transform: rotateY(180deg) translateZ(90px);
  }

  .cube-face.right {
    transform: rotateY(90deg) translateZ(90px);
  }

  .cube-face.left {
    transform: rotateY(-90deg) translateZ(90px);
  }

  .cube-face.top {
    transform: rotateX(90deg) translateZ(90px);
  }

  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(90px);
  }

  .cube-content i {
    font-size: 35px;
  }

  .cube-content h4 {
    font-size: 16px;
  }

  .cube-content p {
    font-size: 13px;
  }

  .belief-card,
  .feature-card {
    height: 280px;
    margin-bottom: 40px;
  }

  .belief-icon,
  .feature-icon {
    height: 180px;
  }

  .vision-content h2 {
    font-size: 2.5rem;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  .timeline-section {
    padding: 60px 0;
  }

  .timeline-cube {
    width: 60px;
    height: 60px;
    transform: rotateY(15deg) rotateX(10deg);
  }

  .timeline-cube:hover {
    transform: scale(1.1) rotateY(25deg) rotateX(15deg);
  }

  .timeline-cube .cube-face {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .timeline-cube .cube-face.front {
    transform: translateZ(30px);
  }

  .timeline-cube .cube-face.back {
    transform: rotateY(180deg) translateZ(30px);
  }

  .timeline-cube .cube-face.right {
    transform: rotateY(90deg) translateZ(30px);
  }

  .timeline-cube .cube-face.left {
    transform: rotateY(-90deg) translateZ(30px);
  }

  .timeline-cube .cube-face.top {
    transform: rotateX(90deg) translateZ(30px);
  }

  .timeline-cube .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(30px);
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 11px;
    top: -12px;
    right: -12px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-content h4 {
    font-size: 18px;
  }

  .timeline-content p {
    font-size: 14px;
  }

  .timeline-icon-container {
    margin-right: 20px;
  }

  .timeline-step:nth-child(even) .timeline-icon-container {
    margin-right: 0;
    margin-left: 20px;
  }

  .cube {
    width: 160px;
    height: 160px;
  }

  .cube-face {
    width: 160px;
    height: 160px;
  }

  .cube-face.front,
  .cube-face.back {
    transform: translateZ(80px);
  }

  .cube-face.back {
    transform: rotateY(180deg) translateZ(80px);
  }

  .cube-face.right {
    transform: rotateY(90deg) translateZ(80px);
  }

  .cube-face.left {
    transform: rotateY(-90deg) translateZ(80px);
  }

  .cube-face.top {
    transform: rotateX(90deg) translateZ(80px);
  }

  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(80px);
  }

  .cube-content i {
    font-size: 32px;
  }

  .cube-content h4 {
    font-size: 15px;
  }

  .cube-content p {
    font-size: 12px;
  }

  .belief-card,
  .feature-card {
    height: 250px;
    margin-bottom: 30px;
  }

  .belief-icon,
  .feature-icon {
    height: 160px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    padding: 0 20px;
  }

  .world-map {
    height: 300px;
  }

  .floating-voxel {
    width: 40px;
    height: 40px;
  }

  .voxel-face {
    width: 40px;
    height: 40px;
  }

  .vision-content h2 {
    font-size: 2rem;
    padding: 0 20px;
  }

  .vision-content p {
    font-size: 1.2rem;
    padding: 0 20px;
  }

  .timeline-section,
  .why-voxoura-exists,
  .why-voxoura-works {
    padding: 60px 0;
  }

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

/* تصحيح المكعبات الطائرة للموبايل */
@media (max-width: 768px) {
  .floating-voxel {
    width: 40px;
    height: 40px;
  }

  .voxel-face {
    width: 40px;
    height: 40px;
  }

  .voxel-face.front {
    transform: translateZ(20px);
  }

  .voxel-face.back {
    transform: translateZ(-20px) rotateY(180deg);
  }

  .voxel-face.right {
    transform: rotateY(90deg) translateZ(20px);
  }

  .voxel-face.left {
    transform: rotateY(-90deg) translateZ(20px);
  }

  .voxel-face.top {
    transform: rotateX(90deg) translateZ(20px);
  }

  .voxel-face.bottom {
    transform: rotateX(-90deg) translateZ(20px);
  }
}

@media (max-width: 480px) {
  .floating-voxel {
    width: 30px;
    height: 30px;
  }

  .voxel-face {
    width: 30px;
    height: 30px;
  }

  .voxel-face.front {
    transform: translateZ(15px);
  }

  .voxel-face.back {
    transform: translateZ(-15px) rotateY(180deg);
  }

  .voxel-face.right {
    transform: rotateY(90deg) translateZ(15px);
  }

  .voxel-face.left {
    transform: rotateY(-90deg) translateZ(15px);
  }

  .voxel-face.top {
    transform: rotateX(90deg) translateZ(15px);
  }

  .voxel-face.bottom {
    transform: rotateX(-90deg) translateZ(15px);
  }
}


/* Mobile Portrait */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }


  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-content h2 {
    font-size: 1.75rem;
  }

  .section-content p {
    font-size: 1rem;
  }

  .timeline-step {
    flex-direction: column !important;
    text-align: center;
  }

  .timeline-step:nth-child(even) .timeline-content {
    text-align: center;
    margin-right: 0;
  }

  .timeline-icon-container {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .timeline-step:nth-child(even) .timeline-icon-container {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .timeline-content {
    padding: 15px;
  }

  .cube {
    width: 140px;
    height: 140px;
  }

  .cube-face {
    width: 140px;
    height: 140px;
  }

  .cube-face.front,
  .cube-face.back {
    transform: translateZ(70px);
  }

  .cube-face.back {
    transform: rotateY(180deg) translateZ(70px);
  }

  .cube-face.right {
    transform: rotateY(90deg) translateZ(70px);
  }

  .cube-face.left {
    transform: rotateY(-90deg) translateZ(70px);
  }

  .cube-face.top {
    transform: rotateX(90deg) translateZ(70px);
  }

  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(70px);
  }

  .cube-content {
    padding: 15px;
  }

  .cube-content i {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .cube-content h4 {
    font-size: 13px;
    line-height: 1.2;
  }

  .cube-content p {
    font-size: 11px;
    line-height: 1.3;
  }

  .belief-card,
  .feature-card {
    height: 220px;
    margin-bottom: 25px;
    padding: 15px;
  }

  .belief-icon,
  .feature-icon {
    height: 140px;
    margin-bottom: 20px;
  }

  .vision-content h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .vision-content p {
    font-size: 1rem;
  }

  .section-heading h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .section-heading h6 {
    font-size: 12px;
  }

  .section {
    margin-top: 80px;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .cube {
    width: 120px;
    height: 120px;
  }

  .cube-face {
    width: 120px;
    height: 120px;
  }

  .cube-face.front,
  .cube-face.back {
    transform: translateZ(60px);
  }

  .cube-face.back {
    transform: rotateY(180deg) translateZ(60px);
  }

  .cube-face.right {
    transform: rotateY(90deg) translateZ(60px);
  }

  .cube-face.left {
    transform: rotateY(-90deg) translateZ(60px);
  }

  .cube-face.top {
    transform: rotateX(90deg) translateZ(60px);
  }

  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(60px);
  }

  .cube-content i {
    font-size: 24px;
  }

  .cube-content h4 {
    font-size: 12px;
  }

  .cube-content p {
    font-size: 10px;
  }

  .belief-card,
  .feature-card {
    height: 200px;
  }

  .belief-icon,
  .feature-icon {
    height: 120px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .section-heading h2 {
    font-size: 24px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */


@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}