@font-face {
  font-family: 'Regular';
  src: url(../font/ESBuildTRIAL-Regular.otf);
}

@font-face {
  font-family: 'Semibold';
  src: url(../font/ESBuildTRIAL-Semibold.otf);
}

:root {
  --blue-color: #1C75BC;
  --gray-color: #D4D7E3;
  --black-color: #0C1421;
  --blue-fontt-color: #1896FB;
  --gray-font-color: #B3BBC8;
}

body {
  max-width: 1440px;
  font-family: 'Regular';
  background-color: #fff;
  margin: 0 auto;
  padding: 0;
}

h1 {
  color: var(--black-color);
  font-family: 'Semibold';
}

p {
  color: var(--gray-font-color);
}

.container {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.left-side {
  width: 50%;
  padding: 20px;
}

form {
  max-width: 400px;
  padding: 40px 60px;
}

input[type="text"],
input[type="password"] {
  background-color: #F7FBFF;
  border: 1px solid var(--gray-color);
  border-radius: 8px;
  height: 45px;
  padding: 0 12px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--black-color);
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
}

input[type="submit"] {
  background-color: var(--blue-color);
  color: #fff;
  font-size: 16px;
  font-family: 'Semibold';
  height: 45px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #145a91;
}

a {
  color: var(--blue-color);
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

a:hover {
  text-decoration: underline;
}

/* ===== RIGHT SIDE ===== */
.right-side {
  margin: 2vh;
  position: relative;
  width: 50%;
  border-radius: 8px;
  background-color: rgba(28, 117, 188, 0.1);
  height: 90vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.logo-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.logo-icon img {
  height: 35px;
  width: auto;
}

.info-blocks-wrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-inner {
  display: flex;
  width: 300%;
  /* 3 slides */
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.info-block {
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.info-block img {
  width: 100%;
  max-width: 400px;
  height: auto;
  padding-top: 20px;
  margin-bottom: 20px;
  object-fit: contain;
}

.info-block p {
  font-family: 'Semibold';
  color: var(--blue-color);
  font-size: 22px;
  line-height: 1.5;
  padding: 0 20px;
}

/* إخفاء لوجو الموبايل في الديسكتوب */
.mobile-logo {
  display: none;
  text-align: center;
  margin-bottom: 20px;
}

.mobile-logo img {
  height: 40px;
}

/* Media Query للموبايل */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .right-side {
    display: none;
  }

  .left-side {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  form {
    padding: 20px;
    width: 90%;
    max-width: 400px;
  }

  .mobile-logo {
    display: block;
  }
}


/* Optional fade effect if you want to animate text inside each slide */
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Video Play Overlay Styles */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}

.video-play-overlay i {
    font-size: 90px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.video-play-overlay:hover i {
    transform: scale(1.1);
    color: #fff;
}

.image-section {
    position: relative;
}

.image-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-section:hover::after {
    opacity: 1;
}

/* Modal Video Styles */
.modal-content {
    background-color: #000;
}

.modal-header {
    border-bottom: none;
    padding: 1rem;
}

.modal-header .btn-close {
    color: #fff;
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-title {
    color: #fff;
}