@import url("https://fonts.googleapis.com/css?family=Josefin+Sans:100,100i,300,300i,400,400i,600,600i,700,700i&display=swap");

* {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 ;
}

body {
  font-family: Arial, sans-serif;
  background-color: #bbf7ff;
  color: #333;
}

.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: #aedded !important;
}

.nav-link:hover,
.dropdown-item:hover {
  color: #0077B6;
}

.dropdown-toggle::after {
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
}

.nav-link {
  position: relative;
  font-weight: bold;
  font-size: 18px;
  color: #0900b6;
  transition: color 0.3s;
  margin: 0 5px;

}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #0077B6;
  transition: width 0.4s ease-in-out;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #0077B6;
}


.nav-link,
.dropdown-item {
  font-weight: bold;
  font-size: 18px;
  color: #0900b6;
}

.active {
  color: #0077B6 !important;
}

.active::after {

  left: 0;
  bottom: 0;
  width: 100%;

}


.home {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  padding: 0 20px;
  background-image: url('assets/c48f956213e8e3afdf9466f5c3e38dcf.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 0;
}

.home-text {
  position: relative;
  z-index: 2;
}
.animated-text {
  font-size: 4rem;
  font-weight: 900;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #0077B6;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.animated-text span {
  display: inline-block;
  animation: floatMove 3s ease-in-out infinite;
}

.animated-text span:nth-child(1) { animation-delay: 0s; }
.animated-text span:nth-child(2) { animation-delay: 0.1s; }
.animated-text span:nth-child(3) { animation-delay: 0.2s; }
.animated-text span:nth-child(4) { animation-delay: 0.3s; }
.animated-text span:nth-child(5) { animation-delay: 0.4s; }
.animated-text span:nth-child(6) { animation-delay: 0.5s; }
.animated-text span:nth-child(7) { animation-delay: 0.6s; }
.animated-text span:nth-child(8) { animation-delay: 0.7s; }
.animated-text span:nth-child(9) { animation-delay: 0.8s; }
.animated-text span:nth-child(10) { animation-delay: 0.9s; }
.animated-text span:nth-child(11) { animation-delay: 1s; }
.animated-text span:nth-child(12) { animation-delay: 1.1s; }

@keyframes floatMove {
  0%, 100% {
    transform: translateY(0) translateX(0);
    filter: drop-shadow(0 0 5px #00c6ff);
  }
  50% {
    transform: translateY(-10px) translateX(3px);
    filter: drop-shadow(0 5px 8px #00c6ff);
  }
}

.typewriter {
  font-size: 22px;
  color: #0077B6;
  margin-top: 10px;
  min-height: 30px;
  border-left: 2px solid #0077B6;
  white-space: nowrap;
  overflow: hidden;
}

.home .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: #00B4D8;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.home .btn:hover {
  background: #0077B6;
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-wrap: wrap;

}

.about-section,
.vision-section,
.section-project,
.section-employee {
  background: linear-gradient(to bottom right, #cfe7ff, #ffffff);
  padding: 60px 20px;
  text-align: justify;
  height: 100vh;
  padding-top: 100px;
}


.about-section .details {
  background-image: url('assets/about.png');
  background-size: cover;
  background-position: center;
  border-radius: 100%;
  height: 500px;
}



.section-title {
  font-size: 48px;
  color: #0077B6;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.text-muted {
  color: #000000;
  font-size: 25px;
  line-height: 1.6;
}



.company-section,
.services-section,
.client-section,
.contact-section {
  background: linear-gradient(to bottom left, #ffffff, #cfe7ff);
  padding: 60px 20px;
  text-align: justify;
  height: 100vh;
  padding-top: 100px;
}

.company-section .details2 {
  background-image: url('assets/981340938_----.thumb.jpg.182eae380cd56a2dbb4efe129489b84d.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 88% 12% 30% 70% / 17% 31% 69% 83%;
  height: 500px;
}

.orbit-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
  margin: auto;
}

.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

.icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 24px;
  color: #0077B6;
  animation: counterRotate 20s linear infinite;
}

.cards2 {
  align-items: center;
  justify-items: center;
}

.title {
  display: flex;
  justify-content: center;
  color: #4f4d4d;
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 30px;
}

.content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 30px;
}



    .services-section .content {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .card2 {
  background-color: #ffffff2c;
        border-radius: 15px;
  padding: 25px;
  width: 21.25em;
        text-align: center;
        backdrop-filter: blur(5px);
        box-shadow: 0 0 15px rgba(79, 172, 254, 0.5);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
    }


    .card2::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent
        );
        transform: rotate(25deg);
        animation: shine 3s infinite;
    }

    @keyframes shine {
        0% { transform: translateX(-100%) rotate(25deg); }
        100% { transform: translateX(100%) rotate(25deg); }
    }

    .card2:hover {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 0 25px rgba(79, 172, 254, 0.8);
    }

.iconn i {
  display: inline-block;
  color: #0077B6;
  font-size: 8em;
  text-align: center;
}

.iconn {
  text-align: center;
}

.info {
  text-align: center;
}

.info h3 {
  color: #4f4d4d;
  font-size: 1.2em;
  font-weight: 700;
  margin: 10px;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes counterRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.section-project .card-title h2 {
  color: black;
  font-weight: bold !important;
  text-align: center;
  padding: 30px;
}

.section-project .card-container {
  margin-top: 100px;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  width: 100%;

}

.section-project .card {
  margin: 20px 40px 40px 20px;
  width: 350px;
  height: 400px;
  transform-style: preserve-3d;
  perspective: 600px;
  transition: 0.5s;
  background-color: #aedded;
  text-align: center;
  border-radius: 50px;

}

.section-project .cards2 {
  align-items: center;
  justify-items: center;
}

.section-project .card .front {
  padding: 25px;
  border: solid 10px whitesmoke;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: 0.5s;
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
  border-radius: 50px;

}

.section-project .card:hover .front {
  transform: rotateY(-180deg);
  border-radius: 50px;
}

.section-project .card .back {
  border: solid 10px whitesmoke;
  width: 100%;
  height: 100%;
  background: #0077B6;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  transition: 0.5s;
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
  box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
  border-radius: 50px;
}

.section-project .card:hover .back {
  transform: rotateY(0deg);
  border-radius: 50px;
}

.section-project .card .back .details {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  width: 100%;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.section-project .card .back .details .caption {
  font-weight: 100;
  font-style: italic;
}

.section-project .card .back .details .caption,

.section-project span {
  color: whitesmoke;
}

.section-project .card-text-details {
  font-size: 13px;
  text-align: justify;
}





#pyramid {
  position: relative;
  width: 360px;
  height: 300px;
}

.bubble {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgb(190 231 255 / 93%), #477fb770 60%), radial-gradient(circle at 70% 70%, rgb(200 220 255 / 52%), #4fe4e326 70%);
  box-shadow:
    inset 0 -5px 15px rgba(255 255 255 / 0.3),
    0 15px 25px rgba(100 150 255 / 0.4);
  overflow: visible;
  cursor: pointer;
  transition: box-shadow 0.5s ease, filter 0.5s ease;
  z-index: 10;
}

.bubble::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255 255 255 / 0.5), transparent 60%),
    radial-gradient(circle at 65% 65%, rgba(100 150 255 / 0.25), transparent 60%);
  filter: blur(5px);
  transition: filter 0.5s ease;
  z-index: 1;
}

.bubble img.logo {
  position: relative;
  width: 60px;
  height: 60px;
  margin: auto;
  top: 50%;
      left: 20%;
  transform: translateY(-50%);
  display: block;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.bubble:hover {
  box-shadow:
    inset 0 -8px 20px rgba(5, 74, 139, 0.489),
    0 25px 40px rgba(100, 180, 255, 0.662),
    0 0 30px rgba(105, 181, 248, 0.801);
  filter: saturate(1.3) brightness(1.2);
}

.bubble:hover::before {
  filter: blur(10px);
}

.bubble .arrow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(0, 99, 161, 0.7);
  box-shadow: 0 0 4px rgba(40, 161, 241, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.bubble .label {
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(0, 99, 161, 0.7);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 0 0 4px rgba(40, 161, 241, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  z-index: 5;
}

.bubble:hover .arrow,
.bubble:hover .label {
  opacity: 1;
}

#fixedTooltip {
  position: fixed;
  top: 100%;
  transform: translateY(-50%);
  width: 220px;
  background: rgba(30, 40, 60, 0.95);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(100, 150, 255, 0.8);
  padding: 10px;
  text-align: center;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
}

#fixedTooltip img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

#fixedTooltip.visible {
  opacity: 1;
  pointer-events: auto;
}

.scene {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}

.cube {
  flex: 1 1 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
  aspect-ratio: 1 / 1;
  position: relative;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.8s;
}

.face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  border: 2px solid #555;
  border-radius: 12px;
  box-sizing: border-box;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.face.front {
  transform: translateZ(calc(var(--cube-size) / 2));
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.face.back {
  transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2));
  background: #333;
  color: white;
  font-weight: bold;
  text-align: center;
  flex-direction: column;
  display: flex;
  padding: 10px;
  font-size: 1.2rem;
}

.face.right {
  transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2));
  background: #111;
}

.face.left {
  transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2));
  background: #111;
}

.face.top {
  transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2));
  background: #111;
}

.face.bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2));
  background: #111;
}

.cube {
  --cube-size: 100px;
}

.cube.open {
  transform: rotateY(180deg) scale(1.1);
  z-index: 10;
}

.face.back p {
  font-size: 1rem;
  color: #70b1a0;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .cube {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .cube {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



.cards-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card-contact {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  width: 250px;
  height: 150px;
  text-align: center;
  transition: transform 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-contact:hover {
  transform: rotateY(10deg) rotateX(10deg) scale(1.05) !important;
}

.card-contact h3 {
  margin-bottom: 10px;
  color: #0077B6;
}

.card-contact p {
  font-size: 14px;
  color: #265e7d;
}

.chat-box {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 15px;
  padding: 20px;
  width: 519.94px;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.chat-box textarea {
  width: 100%;
  height: 80px;
  border-radius: 10px;
  border: none;
  padding: 10px;
  resize: none;
  font-size: 14px;
}

.chat-box button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background: #4facfe;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.chat-box button:hover {
  background: #3a8dde;
}

.chat-message {
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
  display: none;
}

.contact-section {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
}

footer {
  background: linear-gradient(to bottom right, #cfe7ff, #c3fffe, #aedded);
  padding: 60px 20px;
  text-align: justify;
  height: auto;
}

.bubbles-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.bubble-row-footer {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.bubble-footer {
  width: 40px;
  height: 40px;
  background: #aedded;
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: wave 4s ease-in-out infinite;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.bubble-footer img {
  width: 20px;
  height: 20px;
}

.bubble-footer:nth-child(1) {
  animation-delay: 0s;
}

.bubble-footer:nth-child(2) {
  animation-delay: 0.3s;
}

.bubble-footer:nth-child(3) {
  animation-delay: 0.6s;
}

.bubble-footer:nth-child(4) {
  animation-delay: 0.9s;
}

.bubble-footer:nth-child(5) {
  animation-delay: 1.2s;
}

.bubble-footer:nth-child(6) {
  animation-delay: 1.5s;
}

.bubble-footer:hover {
  transform: scale(1.3);
}

@keyframes wave {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

footer h3{
  color: #0077B6;
  font-weight: bold;
  
}
footer p{
  color: #2193d1;
  font-weight: bold;
  margin-bottom: 20px;
}
.fa-phone, .fa-envelope{
  color: #0077B6;
  font-size: 55px;
}
.cards-contact h6{
  color: #0077B6;
  font-weight: bold;
}

.translate-dropdown{
 
  background-color: #00466e;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #ffffff !important;
}
.translate-dropdown a{

  color: #ffffff !important;
}
.translate-dropdown a{

  color: #ffffff !important;
}
.translate-dropdown .dropdown-item:hover{

  color: #ffffff !important;
  background-color: #0077B6;
}



@media (max-width: 768px) {
   .home-text {
  
    width: 100%;
}
.animated-text {
    font-size: 2rem;
   
}
.section-title {
    font-size: 35px;
  
}
.text-muted {
    font-size: 20px;
}
.about-section .details,.company-section .details2 {
    height: 300px;
}
.content {

    padding: 0px;
}
.card2 {
    width: 100%;
  }
  .iconn i {
    
    font-size: 4em;
}
.info p{
    font-size: 10px;
}
.section-project, .services-section, .company-section, .contact-section{
  height: auto;
  padding: 20px;
}
/* .navbar {
    background-color: transparent;
    background-color: #a5c8dc;
    position: relative;
    width: 100%;
    top: 0;
   z-index: 1000; 
} */
.orbit-wrapper img{
  width: 100px;
}
.orbit-wrapper {
  position: relative;
  width: 100%;
  max-width: 275px; /* أو حسب ما يناسبك للموبايل */
  max-height: 275px; /* أو حسب ما يناسبك للموبايل */
  margin: auto;
  overflow: hidden; /* يمنع خروج العناصر خارج الحاوية */
}

.orbit {
  position: relative;
  width: 100%;
  height: 100%;
}
.bubble {
    width: 75px;
    height: 75px;
}
#pyramid {
    width: 100%;
}
.bubble img.logo {
    width: 50px;
    height: 50px;
            left: 20%;
}
#fixedTooltip {
  position: fixed;
  top: 600%;
  transform: translateY(-50%);
  width: 220px;
  background: rgba(30, 40, 60, 0.95);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(100, 150, 255, 0.8);
  padding: 10px;
  text-align: center;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
}
}
