/* Arabic Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');


body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
  -webkit-font-smoothing: antialiased;
}
html {
    scroll-behavior: smooth;
}


/* Loading screen styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Hide loading screen when JavaScript is loaded */
.loaded .loading-screen {
  display: none;
}
.loader-hidden {
  display: none;
} 


.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 5px solid;
  border-color: #2b629d #2b629d transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 5px solid;
  border-color: transparent #7aa4ca #7aa4ca;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
    
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/* Hide loading screen when JavaScript is loaded */
.loaded .loading-screen {
  display: none;
}
.loader-hidden {
    display: none;
}
.translate-btn {
  position: fixed;
  top: 230px;
  left: 30px;
  background-color: #ffffff;
  color: #000000;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  font-family: 'Cairo', sans-serif;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.translate-btn:hover {
  background-color: #cecece;
}
.translate-btn.scrolled {
  top: 10px;
}

@media (max-width: 768px) {
  /* Translate Button */
  .translate-btn {
    top: 120px;
    padding: 6px 10px;
    font-size: 14px;
  }
}


/* whatsapp icon */
.whatsapp-icon {
    z-index: 99;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
  }
  
  .whatsapp-icon i {
    font-size: 32px;
  }
  
  .whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  @media (max-width: 768px) {
    .whatsapp-icon {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-icon i {
      font-size: 28px;
    }
  }


/* -- top_contact -- */

.top_contact {
    position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.icon-container {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 15px;
}

.icon-container i {
  font-size: 20px;
  color: white;
}

.text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.label {
  font-weight: bold;
  font-size: 14px;
}

.value {
  font-size: 14px;
}

/* Icon-specific styles */
.contact-item .icon-container {
    background: linear-gradient(135deg, #7aa4ca, #2b629d);
}

@media (max-width: 768px){
    .top_contact {
        display: none;
    }
}

/* -- Navbar -- */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 0 30px;
    transition: ease-in-out 0.3s;
  }
  
  .navbar img {
      max-width: 200px;
      max-height: 120px;
  }
  
  .menu {
    display: flex;
    list-style-type: none;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  
  .menu li {
    padding: 0 20px;
  }
  
  .menu li a {
    text-decoration: none;
    color: inherit;
    font-size: 18px;
    color: #444;
    font-weight: bold;
    transition: ease-in 0.2s;
  }
  
  .menu a:hover {
      color: #a02f21;
  }
  
  .menu-icon {
    display: none;
    cursor: pointer;
  }
  
  .bar {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #2b629d;
    margin: 4px 0;
  }
  
  .navbar .btn {
    display: inline-block;
    padding: 6px 18px;
    background-color: #3c84b4;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border: 2px solid #3c84b4;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(129, 201, 200, 0.3);
  }
  
  .navbar .btn:hover {
    background-color: #2b629d;
    border-color: #2b629d;
    box-shadow: 0 4px 8px rgba(129, 201, 200, 0.5);
    transform: translateY(-2px);
  }
  
  .navbar .btn:active {
    background-color: #5aa9a8;
    border-color: #5aa9a8;
    box-shadow: 0 1px 3px rgba(129, 201, 200, 0.4);
    transform: translateY(1px);
  }
  
  .navbar .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(129, 201, 200, 0.5);
  }
  
  
  /* Additional CSS for fixed navbar */
  .navbar-fixed {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 999;
  }
  
  @media (max-width: 768px) {
    .navbar {
        padding: 10px;
    }
    .navbar img {
        width: 80px;
        max-height: 80px;
    }
    .menu {
      display: none;
      color: #fff;
    }
    .menu a:hover {
        color: #a02f21;
    }
  
    .menu-icon {
      display: block;
    }
  
    .menu.active {
        z-index: 99;
        display: flex;
        flex-direction: column;
        background: linear-gradient(135deg, #699ac5, #1f4874);
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        padding: 10px;
    }
  
    .menu.active li {
      padding: 20px;
    }
  
    .menu li a {
        font-size: 16px;
        color: #fff;
    }
    .navbar .btn {
        padding: 4px 8px;
        font-size: 10px;
    }
  }
  
  
  .snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
}

.snowflake {
    position: absolute;
    background-image: url('img/snow.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10px) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

.snowflake {
    animation: snowfall linear infinite;
}


  
/* -- Hero -- */

.hero {
    position: relative;
    background: url("img/bg.jpg");
    background-size: cover;
    background-position: center;
    height: 80vh;
    background-color: #f5f5f5;
}

  .hero::before {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000b0;
    z-index: 1;
}
  
  .hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 9;
    text-align: center;
    padding: 0 20px;
  }
  
  .hero-subtitle {
    font-size: 22px;
    font-weight: bold;
    color: #eee;
  }
  
  .hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #a8c5df;
    margin-bottom: 40px;
    margin-top: 10%;
  }
  
  .hero-description {
    font-size: 28px;
    margin: 0;
    font-weight: bold;
    color: #ddd;
  }
  .hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .hero .btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 0 10px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Tajawal', sans-serif;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  .btn-primary {
    background-color: #1b76a7;
    color: #fff;
    margin-right: 1rem;
  }
  
  .btn-primary:hover {
    background-color: #fff;
    color: #145d83;
  }
  
  .btn-secondary {
    background-color: #fff;
    color: #145d83;
  }
  
  .btn-secondary:hover {
    background-color: #1b76a7;
    color: #fff;
  }


  @media (max-width: 768px) {
    .hero-title {
        margin-top: 20%;
    }
    .hero {
      height: 40vh;
    }
    .hero-subtitle {
      font-size: 16px;
    }
    
    .hero-title {
      font-size: 30px;
    }
  
    .hero-description {
      font-size: 14px;
      color: #eee;
      line-height: 1.6;
    }
    
    .hero .btn {
      padding: 10px 14px;
      font-size: 14px;
    }
  }



  /* -- Goals -- */

.goals {
    position: relative;
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    margin: 0 auto;
  }
  
  .goal-card {
    top: -150px;
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .goal-card:hover {
    transform: translateY(-5px);
  }
  
  .goal-card h3 {
    font-size: 24px;
    color: #000;
    margin: 10px 0;
  }
  
  .goal-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: #333;
    text-align: right;
  }
  
  .goal-card li {
    margin-bottom: 10px;
  }
  
  .goal-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7aa4ca, #2b629d);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
  }
  
 
@media (max-width: 768px) {
    .goal-card {
      top: -50px;
    }
    .goals {
      gap: 15px;
    }
  
    .goal-card {
      flex: 1 1 calc(50% - 15px);
      max-width: 250px;
    }
  
    .goal-card h3 {
      font-size: 18px;
      margin-left: 55px;
    }
  
    .goal-card p {
      font-size: 14px;
    }
    .goal-card ul {
      font-size: 13px;
    }
  
    .goal-icon {
      width: 40px;
      height: 40px;
      font-size: 18px;
    }
  }



  /* -- about -- */
  .about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px;
    background-color: #012f6b;
  }
  
  .about .logo {
    flex-shrink: 0;
  }
  
  .about .logo img {
    width: 250px;
    height: auto;
  }
  
  .about .text {
    flex-grow: 1;
    text-align: right;
    max-width: 800px;
  }
  
  .about h2 {
    font-size: 32px;
    font-weight: bold;
    color: #279bda;
    margin-bottom: 5px;
  }
  
  .about h3 {
    font-size: 24px;
    color: #a8c5df;
    margin-top: 0;
    margin-bottom: 20px;
  }
  
  .about p {
    font-size: 16px;
    line-height: 1.6;
    color: #eee;
  }
  
  @media (max-width: 992px) {
    .about {
      flex-direction: column;
      text-align: center;
    }
  
    .about .text {
      text-align: center;
    }
  
    .about h1 {
      font-size: 28px;
    }
  
    .about h2 {
      font-size: 20px;
    }
  
    .about p {
      font-size: 14px;
    }
  }
  
  @media (max-width: 576px) {
    .about {
      padding: 20px;
    }
  
    .about .logo img {
      width: 150px;
    }
  
    .about h1 {
      font-size: 24px;
    }
  
    .about h2 {
      font-size: 18px;
    }
  
    .about p {
      font-size: 13px;
    }
  }



  /* -- Services -- */
  .services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    padding: 40px;
  }
  .styled-header {
    text-align: center;
    position: relative;
    margin: 150px 0 40px 0;
  }
  
  .styled-header h2 {
    display: inline-block;
    font-size: 36px;
    color: #000;
    margin: 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
  }

  .styled-header p {
    color: #333;
  }
  
  .styled-header::before,
  .styled-header::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10%;
    height: 2px;
    background-color: #81c9c8;
  }
  
  .styled-header::before {
    right: 30%;
  }
  
  .styled-header::after {
    left: 30%;
  }
  .service-card {
    padding: 20px;
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  

  .service-card img {
    position: relative;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .img_container{
    position: relative;
  }
  .img_container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #2b629dd3, #7aa5ca17);
    border-radius: 8px;
    pointer-events: none;
  }
  
  .service-card h3 {
    font-size: 18px;
    color: #0e2247;
    margin: 15px 0 10px;
  }
  
  .service-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  .service-card li {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
  }

.services .btn {
    display: inline-block;
    padding: 2px 12px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 2px solid #81c9c8;
    border-radius: 4px;
    background: linear-gradient(135deg, #81c9c8, #578885);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  .services .btn:hover {
    background: #fff;
    color: #81c9c8;
    border-color: #81c9c8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .services .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 93, 131, 0.4);
  }
  
  .services .btn:active {
    transform: translateY(1px);
  }
  
  @media (max-width: 768px) {
    .styled-header h2 {
        font-size: 28px;
    }
    .services {
      padding: 20px;
    }
    
    .service-card {
      width: 100%;
      max-width: 300px;
    }
    .service-card li {
        font-size: 12px;
    }
  }


  
/* -- Clients Start -- */

.client {
    padding: 50px;
    text-align: center;
    background-size: cover;
    background-attachment: fixed;
    max-width: 1300px;
    margin: 0 auto;
    color: #000;
    background: #fff;
}
.slider-container {
    padding: 20px 0;
    border-radius: 0 150px;
    overflow: hidden;
}
.client-slider {
    padding: 20px;
}
.client-slider a {
    color: #000;
}
.client .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
    align-items: center;
}
.client h2 {
    position: relative;
    display: inline-block;
    font-size: 26px;
    margin-bottom: 50px;
    color: #283885;
}

.client h2:before {
    content: "";
    position: absolute;
    width: 40%;
    height: 4px;
    background-color: #283885c0;
    bottom: -8px;
    left: 30%;
}
.client p {
    font-size: 18px;
}
.client img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    border: 3px solid #fff;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.507);
}

.client-slider .item {
    padding: 15px;
    justify-content: center;
    margin: 0 10px;
}
.slick-dots li.slick-active button:before {
    color: #022f4b !important;
}

.slick-dots li button:before {
    font-size: 12px !important;
    color: #1c2757 !important;
}

.slick-prev:before,
.slick-next:before {
    color: #1c2757 !important;
}


@media (max-width: 768px){
    .client h2 {
        font-size: 20px;
    }
    .slider-container {
        border-radius: 0 50px;
    }
}


/* --- Vision --- */

  .vision {
    padding: 40px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #0e2247a9;
    overflow: hidden;
  }
  
  .vision h2 {
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  .vision h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #81c9c8;
  }
  
  .vision-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  .vision-content img {
    max-width: 250px;
  }
  
  .vision-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #14336b;
    text-align: center;
    font-weight: bold;
    margin: 0 20px;
  }
@media (max-width: 768px){
    .vision h2 {
        font-size: 28px;
    }
    .vision-content {
        flex-wrap: wrap;
    }
    .vision-content p {
        font-size: 14px;
    }
}

/* --- Footer --- */

  .footer {
    background-color: #0e2247;
    color: #fff;
    padding: 50px 0 20px;
    font-family: 'Tajawal', sans-serif;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 50px;
  }
  
  .footer-section {
    min-width: 200px;
    margin-bottom: 20px;
  }
  
  .footer-logo {
    width: 150px;
    margin-bottom: 10px;
  }
  
  .footer-section h3 {
    color: #7aa4ca;
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .footer-section ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 8px;
  }
  a {
    text-decoration: none;
}
  .footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-section ul li a:hover {
    color: #81c9c8;
  }
  
  .footer-section p {
    margin-bottom: 8px;
  }
  
  .footer-section i {
    color: #81c9c8;
  }
  
  .social-icons {
    display: flex;
    gap: 10px;
  }
  
  .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    color: #0e2247;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    background-color: #ddd;
    color: #ffffff;
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-section {
      width: 100%;
      margin-bottom: 30px;
    }
  
    .social-icons {
      justify-content: center;
    }

    
    .footer-section h3 {
        font-size: 14px;
    }

    .footer-section ul li a {
        font-size: 12px;
    }
  
    .footer-section p {
        font-size: 12px;
    }
}