
    
body {
  margin: 0;
  padding: 0;
  position: relative;
  /* background-color: #e8e8e8; */
  background-color: #fff;
  font-family: 'Audiowide', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn-shine {
  font-family: 'Audiowide', sans-serif;
}
.navbar-brand{
    color: #1a223e;
    background: linear-gradient(to right, #8cc14d 0, #fff 10%, #1a223e 20%);
  background-position: -130px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s infinite linear;
  animation-fill-mode: forwards;
}

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 60px 20px;
  width: 100%;
}


.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  background-color: #fff;
  height: auto;
}

.navbar-nav .nav-link {
  margin: 0 10px;
  transition: all 0.3s ease;
  color: #1a223e;
  font-weight: bold;
  font-size: 18px;
}

.navbar-nav .nav-link:hover {
  color: #8cc14d!important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: rgb(255, 255, 255) !important;
  font-weight: bold;
}


    
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
   
    #section1 {
    width: 100%;
    overflow: hidden;
}

.hero-container {
  position: absolute;

    display: flex;
    width: 100%;
    min-height: 70vh;
    direction: rtl; 
    z-index: 1;

    /* gap: 0; */
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    min-height: 100vh;

    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-3d {
    flex: 1;
    position: relative;
    min-height: 60vh;
}

.logo-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.space-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.space-text .letter {
    font-size: 4rem;
    font-weight: bold;
    color: #1a223e;
    background: linear-gradient(to right, #1a223e 0, #fff 10%, #8cc14d 20%);
    background-position: 0;
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s infinite linear;
    animation-fill-mode: forwards;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}


@media (min-width: 993px) {
    .hero-container {
        flex-direction: row;
        top:200px;
          pointer-events: none;
    }

    .space-text {
        max-width: 80%;
    }

    .space-text .letter {
        font-size: 4.5rem;
    }
    .icons{
      width: 70%;
      
     }
}


@media (max-width: 992px) and (min-width: 768px) {
    .hero-container {
        flex-direction: column;
        top:500px;
    }

    .hero-content, .hero-3d {
        flex: none;
        width: 100%;
    }

    .hero-content {
        padding: 10% 5%;
        min-height: 40vh;
        order: 2;
    }

    .hero-3d {
        min-height: 60vh;
        order: 1;
    }

    .space-text .letter {
        font-size: 3.5rem;
    }
    .icons{
      width: 70%;
     }
     
}

@media (max-width: 767px) {
    .hero-container {
        flex-direction: column;
        top:400px;
    }

    .hero-content, .hero-3d {
        flex: none;
        width: 100%;
    }

    .hero-content {
        padding: 15% 5%;
        min-height: 40vh;
        order: 2;
    }

    .hero-3d {
        min-height: 50vh;
        order: 1;
    }

    .space-text .letter {
        font-size: 2.5rem;
    }

}


@media (max-width: 480px) {
    .space-text .letter {
        font-size: 2rem;
    }

    .hero-content {
        padding: 10% 3%;
    }
}

.btn-shine {
  color: #fff;
  background: linear-gradient(to right, #8cc14d 0, #fff 10%, #1a223e 20%);
  background-position: -130px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s infinite linear;
  animation-fill-mode: forwards;
  font-weight: 600;
  font-size: 5rem;
  text-decoration: none;
  text-align: center;
  display: block;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .btn-shine {
    font-size: 3rem;
  }
  .about-text {
    flex: 1;
    max-width: 100%;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #1a223e;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
  }

  .video-container { 
    /*width: 100%;
    max-width: 800px;
    */
    width: 100vw;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.8s;
    position: relative;
  } 
}
@media(min-width: 768px) {
  .about-text {
    flex: 1;
    max-width: 50%;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #1a223e;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
  }

  .video-container { 
    /*width: 100%;
    max-width: 800px;
    */
    width: 30%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.8s;
    position: relative;
  } 
}
/* Add a gradient background to the body */
@keyframes shine {
  0% { background-position: -30px; }
  60% { background-position: 480px; }
  100% { background-position: 480px; }
}

/* Animated text */
.space-text {
  color: #868686;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 80%;
  text-align: center;
}

.letter {
  display: inline-block;
  position: relative;
  animation: floatLeftRight 2s infinite ease-in-out alternate;
}

@keyframes floatLeftRight {
  0% { transform: translateX(0px); }
  100% { transform: translateX(5px); }
}

.letter:nth-child(odd) {
  animation-duration: 3s;
}

.letter:nth-child(even) {
  animation-duration: 4.5s;
}

.letter:nth-child(3n) {
  animation-duration: 5s;
}

/* About section */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
}

#section2 {
  position: relative;
  overflow: hidden;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.indice {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1a223e;
  position: relative;
  display: inline-block;
}

.indice::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 2px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
/*
.about-text {
  flex: 1;
  width: 100%;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #1a223e;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out forwards;
}
  */
.description {
  font-size: 1.5rem;
  line-height: 1.8;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.5s;
  color: #1a223e;
  
}
/*
.video-container { 
  /*width: 100%;
  max-width: 800px;
  
  width: 30%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.8s;
  position: relative;
} 
*/
.video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;

  background: linear-gradient(45deg, #8cc14d 0%, transparent 100%);
  opacity: 0.3;
  pointer-events: none;
} 

video{
  width: 100%;
  height: auto;
}
iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.highlight {
  color: #8cc14d;
  font-weight: 700;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .indice {
    font-size: 2rem;
  }
  
  .description {
    font-size: 1rem;
  }
  
  iframe {
    height: 300px;
  }
}

.goal-section{
    background-color: #1a223e;
}
#goalsCarousel{
    margin-top: 30px;

}

.mycard {
 
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  background-color: transparent;
  color: white;
  border: none;
  /* max-width: 500px; */
  margin: 0 auto;
  
}

.mycard img {
  max-width: 80%;
  height: auto;
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  margin-top: 10px;
 
}

.mycard img:hover {
  transform: scale(1.05);
}

.mycard .card-body {
  padding: 20px;
  text-align: center;
}
.card-title{
    color: #8cc14d;
}



.wrapper {
width: 100%;
/* min-height: 100vh; */
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
margin-bottom: -10px;
}

.option-container {
display: flex;
flex-wrap: nowrap;
justify-content: center;
max-width: 1200px;
width: 100%;
}

.option-card {
width: 100px;
height: 600px;
border-radius: 3rem;
background-size: cover;
background-position: center;
cursor: pointer;
overflow: hidden;
margin: 0 10px;
display: flex;
align-items: flex-end;
transition: .6s cubic-bezier(.28,-0.03,0,.99);
box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
min-height: 400px;
flex-shrink: 0;
}

.option-card > .row {
color: white;
display: flex;
flex-wrap: nowrap;
width: 100%;
height: auto;
}

.option-card > .row > .icon {
background: #1a223e;
color: white;
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
margin: 20px;
margin-right:30px ;
border: 2px solid #fff;
flex-shrink: 0;
}

.option-card > .row > .description {
display: flex;
justify-content: center;
flex-direction: column;
overflow: hidden;
height: 100px;
width: 520px;
opacity: 0;
transform: translateY(30px);
transition-delay: .3s;
transition: all .3s ease;
padding-right: 15px;
margin: 0;

}

.description p {
color: #fff;
/* padding-top: 5px; */
font-size: 16px;

}

.description h4 {
text-transform: uppercase;
font-size: 18px;
margin-top: 40px;
color: #fff;
}

input {
display: none;
}

input:checked + label {
width: 600px;
}

input:checked + label .description {
opacity: 1 !important;
transform: translateY(0) !important;
width: calc(100% - 80px);
}

/* Original styles you provided */
#section4 {
background-color: #8cc14d;
}

#demo2 h2 {
/* margin-top: 80px; */
}

.option-card[for="c1"] {
background-image: url('images/solution.webp');
}
.option-card[for="c2"] {
background-image: url('images/efficiency.webp');
}
.option-card[for="c3"] {
background-image: url('images/plant.webp');
}
.option-card[for="c4"] {
background-image: url('images/soft.webp');
}

@media (max-width: 992px) {
input:checked + label {
    width: 450px;
}

}

@media (max-width: 768px) {
.option-container {
    flex-direction: column;
    height: auto;
}

.option-card {
    width: 100%;
    margin: 10px 0;
    min-height: 80px;
    max-height: 80px;
}

input:checked + label {
    width: 100%;
    max-height: 250px;
}

.option-card > .row > .description {
    width: calc(100% - 80px);
}
.icons{
  width: 100%;
}
}

#contact {
padding: 40px 0;
background-color: #fff;
}

.contact {
width: 90%;
max-width: 1200px;
margin: 70px auto 0;
padding: 20px;
display: flex;
flex-direction: row-reverse;
align-items: center;
justify-content: center;
background-color: #1a223e;
border-radius: 20px;
position: relative;
}

.contact h1 {
margin: 20px 0 10px;
text-align: center;
color: #fff;
}
.section-header{
margin-bottom: 30px;

}

.contact-wrapper {
flex: 1;
border-radius: 15px;
background-color: #1a223e;
/* padding: 30px; */
color: white;
position: relative;
min-height: 400px;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.direct-contact-container {
width: 100%;

}

.company-image {
width: 50%;
/* max-width: 180px;
min-width: 120px; */
aspect-ratio: 1/1;
border-radius: 50%;
overflow: hidden;
border-right: 20px solid #1a223e;
border-top: 20px solid #1a223e;
box-shadow: 5px 7px 25px #8cc14d;
background-color: #fff;
z-index: 10;
position: absolute;
left: 10px;
transition: transform 0.5s ease;
}

.company-image:hover {
transform: scale(1.1);
}

.contact-list {
list-style-type: none;
margin: 0;
padding: 0;
}

.list-item {
display: flex;
align-items: center;
padding: 15px 0;
border-bottom: 1px dashed #e0e0e0;
}

.list-item:last-child {
border-bottom: none;
}

.list-item i {
margin-left: 20px;
color: #8cc14d;
min-width: 30px;
display: flex;
justify-content: center;
font-size: 1.7rem;
}

.list-item span a {
margin-left: 20px;
color: #8cc14d;
min-width: 30px;
display: flex;
justify-content: center;
font-size: 1.5rem;
}

.contact-text {
font-size: 1.3rem;
color: #8cc14d;
font-weight: 500;

}

.contact-text a {
color: #8cc14d;
text-decoration: none;
transition: all 0.3s ease;
font-size: 1rem;
font-weight: 200;
}

.contact-text a:hover {
color: #fff; 
text-decoration: underline;
}

.contact-hr {
border-color: #e0e0e0;
margin: 5px 0;
opacity: 0.5;
}

.social-wrapper {
align-items: center;
text-align: center;
justify-content: center;
margin: 20px 0;
}
.icons{
  right: 0;

  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.social-title {
margin-bottom: 15px;
color: #fff;
font-weight: 600;
}

.social-media-list {
display: flex;
justify-content: start;
gap: 25px;
padding: 0;
margin: 0;
list-style: none;
flex-wrap: wrap;
}

.social-media-list li {
position: relative;
width: 50px;
height: 50px;
margin-top: 10px;
border-radius: 50%;
background-color: #f8f9fa;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-media-list i {
color: #1a223e;
}

.social-media-list i:hover {
color: #8cc14d;
}

.social-media-list li:hover {
transform: translateY(-5px);
}

.social-media-list li a {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
color: #333;
text-decoration: none;
transition: all 0.3s ease;
}

.social-media-list li:hover a {
color: #ffffff;
}

.copyright {
border-top: 1px solid #e0e0e080;
text-align: start;
color: #666;
font-size: 1rem;
width: 100%;
text-align: center;
padding-top: 10px;
}


@media screen and (max-width: 992px) {
.contact {
width: 95%;
padding: 15px;
}

.company-image {
left: 60px;
}
}

@media screen and (max-width: 768px) {
.contact {
flex-direction: column;
margin-top: 40px;
}

.company-image {
position: relative;
left: auto;
margin: -60px auto 20px;
width: 40%;
}

.contact-wrapper {
width: 100%;
}
}

@media screen and (max-width: 576px) {
.direct-contact-container {
padding: 15px;
}

.list-item i {
margin-left: 10px;
font-size: 1.2rem;
}

.list-item span a {
font-size: 1.2rem;
margin-left: 10px;
}

.contact-text {
font-size: 1rem;
}

.contact-text a {
font-size: 0.9rem;
}

.social-media-list {
gap: 15px;
}

.social-media-list li {
width: 40px;
height: 40px;
}

.company-image {
width: 60%;
border-right: 15px solid #1a223e;
border-top: 15px solid #1a223e;
}
}
.option-card .icon {
        transition: all 0.4s ease;
    }
    
    .option-card:hover .icon {
        transform: scale(1.2) rotate(5deg);
        background-color: #1a223e;
        color: white;
    }
.brand-name{
padding-left: 10px;
}
.card-img-bottom{
  width: 30%;
}
#logo{
position: relative;
  width: 100%;
height: 100vh;
overflow: hidden;
}

#logo canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* خلف النصوص */
}
svg {
  width: 32px !important;
  height: 32px !important;
}

svg:hover {
  transform: translateY(-2px);
}