#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

#loading-screen.fade-out {
  opacity: 0;
  transform: scale(1.1);
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.water-drops {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  position: relative;
}

.water-drop {
  width: 60px;
  height: 70px;
  background: linear-gradient(145deg, #00bcd4, #0097a7);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3), inset 0 -5px 10px rgba(255, 255, 255, 0.2), inset 0 5px 10px rgba(0, 0, 0, 0.1);
  animation: drop-bounce 1.8s infinite ease-in-out;
}

.water-drop:nth-child(1) {
  animation-delay: 0s;
}

.water-drop:nth-child(2) {
  animation-delay: 0.3s;
  transform: scale(0.8);
}

.water-drop:nth-child(3) {
  animation-delay: 0.6s;
  transform: scale(0.6);
}

.water-drop::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 25%;
  width: 20px;
  height: 25px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: shimmer 2s infinite ease-in-out;
}

@keyframes drop-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  25% {
    transform: translateY(-30px) scale(1.05);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-45px) scale(1.1);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-20px) scale(1.02);
    opacity: 0.9;
  }
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.loading-text {
  color: #0277bd;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  opacity: 0;
  animation: text-fade-in 1s ease-out 0.5s forwards;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.loading-subtitle {
  color: #0288d1;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  opacity: 0;
  animation: text-fade-in 1s ease-out 1s forwards;
  letter-spacing: 0.5px;
}

@keyframes text-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress-bar {
  width: 250px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  margin-top: 30px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00bcd4, #4fc3f7);
  border-radius: 10px;
  width: 0%;
  animation: progress-load 5s ease-out forwards;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

@keyframes progress-load {
  0% {
    width: 0%;
  }
  20% {
    width: 30%;
  }
  40% {
    width: 55%;
  }
  60% {
    width: 70%;
  }
  80% {
    width: 85%;
  }
  95% {
    width: 98%;
  }
  100% {
    width: 100%;
  }
}

.ripple {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  border: 2px solid rgba(0, 188, 212, 0.2);
  border-radius: 50%;
  animation: ripple-effect 3s infinite ease-out;
}

.ripple:nth-child(2) {
  animation-delay: 1s;
  border-color: rgba(0, 188, 212, 0.15);
}

.ripple:nth-child(3) {
  animation-delay: 2s;
  border-color: rgba(0, 188, 212, 0.1);
}

@keyframes ripple-effect {
  0% {
    transform: translateX(-50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(1.5);
    opacity: 0;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .water-drop {
    width: 45px;
    height: 55px;
  }

  .loading-text {
    font-size: 20px;
  }

  .loading-subtitle {
    font-size: 14px;
  }

  .progress-bar {
    width: 200px;
  }
}

button {
  background-color: #006ac6;
  color: white;
  padding: 10px 35px;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  cursor: pointer;
}

i:hover {
  cursor: pointer;
  color: #00539f;
}
.swiper i {
  font-size: 30px;
  color: white;
}
.gap-lg-5 {
  gap: 3rem;
}
.button_active {
  background-color: white;
  color: #006ac6;
  border: 1px solid #006ac6;
}
.swiper {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: auto;
}
.swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  color: black;
}
.swiper1 {
  width: 100%;
  height: auto;
  background-image: url("image/Untitled-1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.swiper1 .swiper1-content {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  text-align: start;
  color: #00539f;
}
.swiper1 .swiper1-content h1 {
  line-height: 0.85;
  font-size: 70px;
  font-weight: bold;
  color: #00539f;
}
.swiper1 .swiper1-content p {
  line-height: 0.7;
  font-size: 20px;
  color: #00539f;
}
.swiper1 .swiper1-content .space {
  margin-top: 40px;
}
.swiper2 {
  width: 100%;
  height: auto;
  background-image: url("image/Untitled-1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.swiper3 {
  width: 100%;
  height: auto;
  background-image: url("image/Untitled-1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.swiper .swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.swiper .swiper-pagination-bullet {
  list-style: none;
  width: 14px;
  height: 14px;
  background-color: #000000;
  margin: 0 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  border: 2px solid transparent;
}

.swiper .swiper-pagination-bullet-active {
  width: 20px;
  height: 20px;
  background-color: white;
  position: relative;
  border: 2px solid #00bfa6;
}

.swiper .swiper-pagination-bullet-active::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #006ac6;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*  */
.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  position: absolute;
  color: #006ac6;
  width: 50px;
  height: 50px;
  background-color: white;
  border: #006ac6 2px solid;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper .swiper-button-next {
  right: 3%;
}
.swiper .swiper-button-prev {
  left: 3%;
}
.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
  font-size: 0px;
}
/* OurProducts */
.OurProducts h1 {
  font-size: 60px;
  color: #006ac6;
}
/* عند إخفاء النص */
#product-text.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* عند إظهار النص */
#product-text.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.fadeOutRight {
  animation: fadeOutRight 0.5s forwards;
}

.fadeInLeft {
  animation: fadeInLeft 0.5s forwards;
}
/* حركات الصور */
#product-image.animate-out {
  animation: slideOutRight 0.5s forwards;
}

#product-image.animate-in {
  animation: slideInLeft 0.5s forwards;
}

@keyframes slideOutRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* our_story */
.our_story h1 {
  font-weight: 700;
  font-size: 60px;
  color: #006ac6;
  margin-left: 100px;
}
.our_story h5 {
  font-size: 20px;
}
#product-text {
  text-align: justify;
  padding-right: 5px;
  word-break: break-word;
  white-space: normal;
}
.button_active {
  background-color: white;
  color: #006ac6;
  border: 1px solid #006ac6;
}

.button_active.active {
  background-color: #006ac6;
  color: white;
}

/* our_story2 */

.timeline-container {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.timeline-line {
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #615f68;
  background: linear-gradient(180deg, transparent 0%, #615f68 20%, #615f68 80%, transparent 100%);
}
.timeline-item {
  position: relative;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 12px;
  background-color: #615f68;
  box-shadow: 0 0 0 6px #ffffff;
  border-radius: 50%;
  margin-right: 20px;
}

.timeline-year {
  font-size: 4rem;
  font-weight: lighter;
  margin: 0;
  color: #cccccc;
}

.timeline-year.highlight {
  color: #007bff;
  font-weight: lighter;
}
.timeline-year1.highlight {
  color: #007bff;
  font-weight: lighter;
}
#timeline-text {
  text-align: justify;
}

.text-blue {
  color: #0074d9 !important;
}

#our_contact2 h1 {
  color: #00539f;
  font-weight: bold;
}
#our_contact2 .box {
  border-radius: 25px;
  background-color: #f0f0f0;
  padding: 30px;
}
.box form {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
}
.box form input,
.box form textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 2px solid #000;
  border-radius: 0px;
  background-color: #f0f0f0;
  font-size: 16px;
}
.box form input:focus,
.box form textarea:focus {
  outline: none;
  border-bottom: 2px solid #006ac6;
}
.box form textarea {
  height: 100px;
  resize: none;
}
footer .hover_footer {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition: all 0.4s ease-out;
  display: inline-block;
  margin-right: 40px;
}
footer .hover_footer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #006ac6;
  transition: width 0.4s ease-out;
}
footer .hover_footer:hover {
  cursor: pointer;
  color: #006ac6;
}
footer .hover_footer:hover i {
  opacity: 1;
  visibility: visible;
}

footer .hover_footer:hover::after {
  width: 100%;
}

/* Sibling fade animation */
.footer:has(.hover_footer:hover) .hover_footer:not(:hover) {
  opacity: 0.4;
}
#our-contact-text {
  font-size: 200px;
}
@media (max-width: 768px) {
  .swiper1,.swiper2,.swiper3 {
    background-position: 65% center; /* حرك النقطة البصرية أكثر لليمين */
    background-size: cover;        /* يظهر الصورة كاملة (قد يظهر فراغات) */
    background-repeat: no-repeat;
  }
}
/* Responsive */
@media screen and (max-width: 1400px) {
  .swiper i {
    font-size: 25px;
  }
  .swiper {
    max-width: 100%;
    height: 600px;
  }
  .swiper1 .swiper1-content h1 {
    font-size: 50px;
  }
  .swiper1 .swiper1-content p {
    font-size: 15px;
  }
  .swiper .swiper-button-next,
  .swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  /* OurProducts */
  .OurProducts h1 {
    font-size: 50px;
  }
  /* our story */
  .our_story h1 {
    font-size: 40px;
    margin-left: 80px;
  }
  .our_story .h1_story {
    margin-top: 20px !important;
  }
  .our_story h5 {
    font-size: 18px;
  }
  .our_story .timeline-year {
    font-size: 3rem;
  }
}
@media screen and (max-width: 1150px) {
  .swiper i {
    font-size: 18px;
  }
  .our_story h5 {
    font-size: 15px;
    font-weight: 400;
  }
  #our-contact-text {
    font-size: 100px;
  }
}
@media screen and (max-width: 992px) {
  .swiper i {
    font-size: 16px;
  }
  .swiper {
    height: 500px;
    border-radius: 15px;
  }
  .swiper .swiper-button-next,
  .swiper .swiper-button-prev {
    display: none;
  }
  /* OurProducts */
  .OurProducts h1 {
    font-size: 40px;
  }
  /* our_story */
  .our_story h1 {
    font-size: 30px;
  }
  .our_story .h1_story {
    margin-top: 0px !important;
  }
  .our_story h5 {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .swiper i {
    font-size: 12px;
  }
  #our-contact-text {
    font-size: 50px;
  }

  .swiper {
    /* height: 400px; */
    border-radius: 12px;
  }
  .swiper1 .swiper1-content h1 {
    font-size: 40px;
  }
  .swiper1 .swiper1-content p {
    font-size: 15px;
  }
  .swiper1 .swiper1-content .space {
    margin-top: 20px;
  }
  .swiper .swiper1-btn button {
    padding: 10px 20px;
    font-size: 12px;
  }
  .swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
  .swiper .swiper-pagination-bullet-active {
    width: 16px;
    height: 16px;
  }
  .swiper .swiper-pagination-bullet-active::after {
    width: 8px;
    height: 8px;
  }

  /* OurProducts */
  .gap-lg-5 {
    gap: 1rem;
  }
  .container-lg {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .OurProducts h1 {
    font-size: 40px;
  }
  .OurProducts p {
    font-size: 20px;
  }

  .OurProducts .img2,
  .h1_1,
  .con_img {
    width: 100%;
    height: auto;
    display: block !important;
  }
  .OurProducts .con_img {
    display: flex !important;
  }
  /* our story */
  .our_story h1 {
    font-size: 40px;
    margin-left: 60px;
  }
}
@media screen and (max-width: 576px) {
  .swiper i {
    font-size: 10px;
  }
  .swiper {
    /* height: 300px; */
    border-radius: 10px;
  }
  .swiper1 .swiper1-content h1 {
    font-size: 30px;
  }
  .swiper1 .swiper1-content p {
    line-height: 0.4;
    font-size: 10px;
  }
  .swiper1 .swiper1-content .space {
    margin-top: 20px;
  }
  .swiper .swiper1-btn button {
    padding: 10px 20px;
    font-size: 10px;
  }
  /* OurProducts */
  .OurProducts h1 {
    font-size: 30px;
  }
  .OurProducts p {
    font-size: 16px;
  }
  .OurProducts button {
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 10px;
  }
  /* our story */
  .our_story h1 {
    font-size: 20px;
    margin-left: 40px;
  }
  .our_story h5 {
    font-size: 12px;
  }
}
/* تحديد شكل العنصر النشط */
.timeline-year.active,
.timeline-year1.active {
  color: #007bff;
  transition: all 0.3s ease;
}

@media screen and (max-width: 410px) {
  .swiper i {
    font-size: 8px;
  }
  .swiper {
    /* height: 200px; */
    border-radius: 5px;
  }
  .swiper1 .swiper1-content h1 {
    font-size: 20px;
  }
  .swiper1 .swiper1-content p {
    line-height: 0.2;
    font-size: 8px;
  }
  .swiper1 .swiper1-content .space {
    margin-top: 15px;
  }
  .swiper .swiper-pagination {
    bottom: 5px;
  }
  .swiper .swiper1-btn button {
    padding: 5px 10px;
    font-size: 8px;
  }
  .swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  .swiper .swiper-pagination-bullet-active {
    width: 14px;
    height: 14px;
  }
  .swiper .swiper-pagination-bullet-active::after {
    width: 6px;
    height: 6px;
  }
  /* OurProducts */
  .OurProducts h1 {
    font-size: 20px;
  }
  .OurProducts button {
    font-size: 12px;
    padding: 5px 15px;
    border-radius: 10px;
  }
  .OurProducts p {
    font-size: 12px;
  }
  /* our story */
  .our_story h1 {
    font-size: 20px;
    margin-left: 20px;
  }
  .our_story h5 {
    font-size: 9px;
  }
}
@media screen and (max-width: 320px) {
  .swiper i {
    font-size: 6px;
  }
  .swiper {
    /* height: 150px; */
    border-radius: 5px;
  }
  .swiper1 .swiper1-content h1 {
    font-size: 18px;
  }
  .swiper1 .swiper1-content p {
    line-height: 0.2;
    font-size: 6px;
    margin: 5px;
  }
  .swiper1 .swiper1-content .space {
    margin-top: 10px;
  }
  .swiper .swiper1-btn button {
    padding: 3px 6px;
    font-size: 6px;
  }
  .swiper .swiper-pagination-bullet {
    width: 4px;
    height: 4px;
  }
  .swiper .swiper-pagination-bullet-active {
    width: 10px;
    height: 10px;
  }
  .swiper .swiper-pagination-bullet-active::after {
    width: 4px;
    height: 4px;
  }
  /* OurProducts */
  .OurProducts .img1 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  .OurProducts h1 {
    font-size: 16px;
  }
  .OurProducts button {
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 5px;
  }
  .OurProducts p {
    font-size: 10px;
  }
  /* our story */
  .our_story h1 {
    font-size: 16px;
    margin-left: 10px;
  }
  .our_story h5 {
    font-size: 8px;
  }
}
