﻿html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: "Google Sans Flex", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  font-weight: normal;
  font-size: 14px;
  overflow-x: hidden;
  color: #333;
}

.main-content {
  min-height: calc(100vh - 425px);
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  padding: 0 10px;
  height: 64px;
  z-index: 3;
  transition: all 0.3s;
}
.main-header.scrolled {
  background-color: #fff;
  transition: all 0.3s;
}
.main-header.scrolled .mh-menu {
  color: #333 !important;
}
.main-header.scrolled .mh-menu.active {
  color: #fff !important;
  background-color: #29307e;
}
.main-header.scrolled .lang-select {
  color: #333 !important;
}
.main-header.scrolled .koj-group {
  color: #333 !important;
}
.main-header.scrolled #menu-drawer-btn {
  color: #333 !important;
  border: 1px solid #333 !important;
}

.main-header-content {
  display: flex;
  margin: auto;
  width: 100%;
  max-width: 1300px;
  align-items: center;
  justify-content: space-between;
}

.koj-logo {
  width: 100%;
  max-width: 52px;
  object-fit: contain;
}

.koj-group {
  color: #FFF;
}

#menu-drawer-btn {
  color: #FFF;
  font-size: 22px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #FFF;
}

.mh-menu {
  color: #fff !important;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 15px;
  text-decoration: none;
  text-transform: uppercase;
}
.mh-menu.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.lang-select {
  color: #fff;
  align-items: center;
  margin-bottom: 14px;
}

.main-footer {
  display: flex;
  padding-top: 80px;
  align-items: center;
  flex-direction: column;
  background-color: #F6F8FC;
}
.main-footer .koj-logo {
  max-width: 70px;
}

.copyright {
  width: 100%;
  font-size: 12px;
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid #DDD;
}

.hero-banner-container {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hb-fallback-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 27, 67, 0.7);
}

.hb-content {
  color: #fff;
  margin: auto;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(70px);
  animation: fade-slide-up 1.3s ease forwards;
  animation-delay: 0.5s;
}
.hb-content h5 {
  font-size: 50px;
  font-weight: 600;
}
.hb-content p {
  font-size: 22px;
  max-width: 765px;
  font-weight: 200;
}

@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(70px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.koj-video-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  object-fit: cover;
  height: 120%;
  will-change: transform;
}

.hb-scroll-down {
  color: #fff;
  text-transform: uppercase;
  position: absolute;
  bottom: 20px;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}
.hb-scroll-down span {
  opacity: 0.5;
}

.introduction-container {
  min-height: 768px;
}

.stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #29307e;
  min-width: 210px;
}

.stat-number {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.stat-number.counting {
  opacity: 1;
  transform: translateY(0);
}

.history-container {
  padding-top: 100px;
  padding-bottom: 80px;
}

.timeline-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-top: 2px solid #CCC;
}

.timeline-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
.timeline-swiper .swiper-slide {
  max-width: 530px;
}
.timeline-swiper .swiper-slide label {
  width: 100%;
  padding: 16px 10px 10px 10px;
  font-size: 22px;
  text-align: center;
  color: #29307e;
  font-weight: bold;
  font-style: italic;
  position: relative;
}
.timeline-swiper .swiper-slide label::before {
  content: "";
  border-radius: 50%;
  position: absolute;
  top: -8px;
  width: 0;
  height: 0;
  border-left: 16px solid transparent; /* Left slant */
  border-right: 16px solid transparent; /* Right slant */
  border-top: 16px solid #29307e; /* Triangle height and color */
  left: calc(50% - 16px);
}

.subsidiaries-container {
  min-height: 800px;
}

.subsidiary-item {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.subsidiary-item:hover .subsidiary-img-container .bg-img {
  transition: transform 5s;
  transform: scale(1.5);
}
.subsidiary-item:hover .subsidiary-img-container .logo {
  transition: transform 0.2s ease;
  transform: translateY(-10px);
}
.subsidiary-item .subsidiary-img-container {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 360px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  padding: 20px;
}
.subsidiary-item .subsidiary-img-container .bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.2s ease;
}
.subsidiary-item .subsidiary-img-container .logo {
  position: relative;
  margin: auto;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  max-width: 130px;
  max-height: 130px;
  object-fit: contain;
  object-position: center;
  padding: 20px;
  background-color: #FFF;
  transition: transform 0.2s ease;
}

.statement-container {
  min-height: 700px;
}
.statement-container .profile-container {
  position: relative;
  background-color: #F6F8FC;
}
.statement-container .profile-container.left {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.statement-container .profile-container.left::before {
  content: "";
  position: absolute;
  right: 30px;
  top: 0;
  height: 100%;
  width: 50vw;
  background-color: #F6F8FC;
}
.statement-container .profile-container.right {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.statement-container .profile-container.right::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  height: 100%;
  width: 50vw;
  background-color: #F6F8FC;
}
.statement-container .profile-pic {
  z-index: 1;
  width: 100%;
  height: auto;
  position: relative;
  max-width: 430px;
  object-fit: contain;
  background-color: #FFF;
}
.statement-container .fa-quote-left {
  color: #29307e;
  font-size: 60px;
}

.learnmore-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 650px;
}

.learnmore-bgimage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.learnmore-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(41, 48, 126, 0.6);
}

.learnmore-menu {
  opacity: 0.7;
}
.learnmore-menu:hover {
  opacity: 1;
  transition: all 0.3s;
}
.learnmore-menu:hover i {
  transform: translateX(10px);
  transition: all 0.3s;
}

.page-banner {
  display: flex;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding-top: 80px;
}

.page-banner-bgimage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 27, 67, 0.7);
}

.page-banner-content {
  width: 100%;
  margin: auto;
  display: flex;
  position: relative;
  max-width: 1300px;
  flex-direction: column;
}

.mission-container {
  min-height: 680px;
}

.mngmt-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.subsidiary-featuredimg-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  min-height: 320px;
  overflow: hidden;
  padding: 20px;
}
.subsidiary-featuredimg-container .featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.subsidiary-featuredimg-container .logo {
  position: relative;
  border-radius: 10px;
  height: 100%;
  min-width: 70px;
  max-height: 70px;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background-color: #FFF;
}

.subsidiary-website-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #FFF;
  border-radius: 15px;
  padding: 4px 16px;
  background-color: #29307e;
}
.subsidiary-website-btn:hover {
  filter: brightness(0.8);
  transition: all 0.3s;
}

.subsidiary-tag {
  background-color: rgba(41, 48, 126, 0.2);
}

.gallery-item {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
}

.contact-notification {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.contact-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notification-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #198754;
  color: #fff;
  font-weight: bold;
}

#kojSplash {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #091B29;
  background: linear-gradient(90deg, rgb(9, 27, 41) 0%, rgb(1, 3, 4) 33%, rgb(1, 3, 4) 66%, rgb(9, 27, 41) 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* --------------------------------
   Main Content
-------------------------------- */
.koj-splash-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  transform: scale(0.96);
  animation: kojSplashScale 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --------------------------------
   Logo
-------------------------------- */
.koj-splash-logo-wrapper {
  overflow: hidden;
}

.koj-splash-logo {
  width: 80px;
  height: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: kojLogoReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

/* --------------------------------
   Line
-------------------------------- */
.koj-splash-line {
  width: 0;
  height: 1px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.8);
  animation: kojLineReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}

/* --------------------------------
   Company Name
-------------------------------- */
.koj-splash-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: kojTitleReveal 0.8s ease 1.15s forwards;
}

.koj-splash-title span:last-child {
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 7px;
  opacity: 0.65;
}

/* --------------------------------
   Cinematic Curtain
-------------------------------- */
.koj-splash-curtain {
  position: absolute;
  inset: 0;
  background: #000;
  transform: translateY(100%);
  z-index: 3;
  pointer-events: none;
}

/* --------------------------------
   Exit
-------------------------------- */
#kojSplash.hide {
  opacity: 1;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 1s;
}

/* --------------------------------
   Animations
-------------------------------- */
@keyframes kojSplashScale {
  0% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes kojLogoReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes kojLineReveal {
  0% {
    width: 0;
  }
  100% {
    width: 190px;
  }
}
@keyframes kojTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeInUp {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.fadeInUp.show {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 767px) {
  .hb-content h5 {
    font-size: 40px;
  }
  .hb-content p {
    font-size: 18px;
    max-width: 560px;
  }
  .introduction-container p.font-size-22px {
    font-size: 18px !important;
  }
}
@media screen and (max-width: 575px) {
  .koj-splash-logo {
    width: 60px;
  }
  .koj-splash-line {
    margin-top: 18px;
  }
  .koj-splash-title {
    font-size: 8px;
    letter-spacing: 4px;
  }
  .koj-splash-title span:last-child {
    font-size: 8px;
    letter-spacing: 5px;
  }
  .hb-content h5 {
    font-size: 32px;
    max-width: 400px;
  }
  .hb-content p {
    font-size: 16px;
    max-width: 320px;
  }
  .main-footer h3 {
    font-size: 18px;
  }
  .learnmore-container {
    min-height: 480px;
  }
  .subsidiary-img-container {
    min-height: 180px !important;
  }
}
.cursor-pointer {
  cursor: pointer !important;
}

.direction-ltr {
  direction: ltr !important;
}

.text-color-default {
  color: #333 !important;
}

.text-color-primary {
  color: #29307e !important;
}

.text-color-secondary {
  color: #FEFF26 !important;
}

.text-color-subtitle {
  color: #777 !important;
}

.max-width-content {
  margin: auto;
  width: 100%;
  max-width: 1300px;
}

.fw-600 {
  font-weight: 600 !important;
}

.fw-800 {
  font-weight: 800 !important;
}

.font-size-22px {
  font-size: 22px !important;
}

.font-size-12px {
  font-size: 12px !important;
}

.font-size-16px {
  font-size: 16px !important;
}

.secondary-bgcolor {
  background-color: #F6F8FC !important;
}

.primary-bgcolor {
  background-color: #29307e !important;
}

.text-justify {
  text-align: justify !important;
}

.max-w-600 {
  max-width: 600px !important;
}

.max-w-705 {
  max-width: 705px !important;
}

.max-w-550 {
  max-width: 550px !important;
}

.max-w-800 {
  max-width: 800px !important;
}

.max-w-1300 {
  max-width: 1300px !important;
}

.top-60px {
  top: 60px !important;
}

.min-h-150 {
  min-height: 150px !important;
}

.mt-2px {
  margin-top: 2px !important;
}

.mb-14px {
  margin-bottom: 14px !important;
}

.max-w-1220 {
  max-width: 1220px !important;
}

.isArabic {
  direction: rtl;
  font-family: "Cairo", sans-serif;
}
.isArabic .timeline-container {
  direction: ltr;
}
.isArabic .timeline-container .swiper-slide {
  direction: rtl;
}
.isArabic .lang-select {
  direction: ltr;
}
.isArabic .learnmore-menu {
  direction: ltr;
}
.isArabic .profile-container.left {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.isArabic .profile-container.left::before {
  left: 30px;
  right: unset;
}
.isArabic .profile-container.right {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.isArabic .profile-container.right::before {
  right: 30px;
  left: unset;
}
