@import url('./font-styling.css');

html,
body {
  height: 100%;
}

h1, h2, h3, .navbar {
  font-family: 'arabic-semi-bold', sans-serif;
}

p {
  font-size: 16px;
  font-weight: 100;
  font-family: 'arabic-regular', sans-serif;
}

h2 {
  font-size: 40px;
  font-weight: 300;
}

#errorMessage {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid red;
  background-color: #f8d7da;
  color: #721c24;
  border-radius: 5px;
}

.popup-animation {
  width: auto;
}

.custom-button {
  background-color: #3366CC;
  border: none;
}

.logo {
  height: 100px;
}

.text-left {
  text-align: left;
}

.fw-500 {
  font-weight: 500;
}

.text-white {
  color: white;
}

.custom-bg {
  background-color: #6a72b2;
}

.navbar-custom {
  height: 110px;
  background-color: white;
}

.navbar-nav {
  flex-grow: 1;
}

.ml-auto {
  margin-left: auto;
}

.footer-custom {
  background-color: white;
  padding-left: 15px;
  padding-right: 15px;
  bottom: 0;
  width: 100%;
}

.social-icons {
  margin-right: auto;
}

.footer-logo {
  margin-left: auto;
}

.social-icon {
  margin-top: 2rem;
  margin-right: 15px;
}

.line {
  width: 100%;
  max-width: 1384px;
  height: 1px; /* Adjust the height if needed */
  background-color: rgb(243, 234, 234); /* Change the color if needed */
  margin: 0 auto; /* Center the line */
}

.social-img {
  width: 1.75rem;
}

.no-wrap {
  white-space: nowrap;
}

.cover-photo {
  background-image: url("../images/cover.png");
  width: 100%;
  height: 70vh;
  /* object-fit: unset; */
  background-repeat: no-repeat;
  position: relative;
  background-size: cover;
  background-position: left;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content {
  text-align: right;
  height: 449px;
  padding: 11rem 3rem 0;
}

.steel-blue {
  color: #60a3df;
}

.custom-container {
  width: 100%;
  padding: 0 4.5rem;
}

.custom-container .row {
  height: 100%;
}

.row {
  height: 100%;
}

.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: inherit;
}

.right-column {
  width: 60%;
}

.video-container {
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 556px); /* 556px total (278px left + 278px right) */
  max-width: 100%; /* Ensures responsiveness */
}

.no-padding {
  padding-left: 9rem;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.image-column {
  flex: 0 0 auto;
}

.text-column {
  text-align: right;
  direction: rtl;
}

.text-column ul {
  list-style: none;
  padding: 0;
}

.text-column ul li {
  font-size: 12px;
  display: inline-block;
  width: 100%;
}

.form-main {
  color: white;
  background-color: #3366cc;
  padding-bottom: 48px;
}

.form-label {
  float: right;
}

.rtl-form {
  direction: rtl;
  margin-left: auto;
  margin-right: auto;
}

.rtl-form .form-control {
  background-color: transparent; /* Remove the default white background */
  color: #dbd5d5;
  border: 1px solid #ced4da; /* Adjust the border color as needed */
  text-align: right;
}

.form-control::placeholder {
  color: #dbd5d5; /* Change this to your desired color */
  opacity: 1;
}

.form-button {
  background-color: #fff;
  color: #3366CC;
  border: none;
}

.custom-select option {
  background-color: #ffffff;
  color: rgb(155, 155, 155);
  border: 1px solid white; /* Optional: for better contrast */
}

.custom-label {
  color: #dbd5d5;
}

.custom-select option:hover {
  background-color: green; /* Change this to the desired hover color */
  color: white; /* Optional: for better contrast */
}

.modal-dialog {
  display: flex;
  align-items: center; /* Center the modal vertically */
  justify-content: center; /* Center the modal horizontally */
  min-height: 100vh; /* Full viewport height */
}

.limit-exceed.exceeded {
  color: red;
}

.validation-error {
  color: #ff5d6d;
}

.dropdown-item.active, 
.dropdown-item:active {
  background-color: #007bff; /* Change this to your desired color */
  color: white; /* Adjust the text color if needed */
}

input::placeholder {
  color: #888; /* Change this to your desired color */
  opacity: 1; /* Optional: adjusts the opacity of the placeholder text */
}


@media (max-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  .video-container {
    margin-right: 30px;
    margin-left: 30px;
    width: 100%;
  }

  .cover-photo {
    background-image: url("../images/person-1.png");
    width: 100%;
    background-repeat: no-repeat;
    position: relative;
    background-size: contain;
    background-position: center;
  }

  .cover-photo-main {
    background-color: #f1f6ff;
    padding-top: 255px;
  }

  .content {
    text-align: center;
    position: relative;
    top: -265px;
    bottom: auto;
  }
}

/* Adjust padding for medium screens */
@media (max-width: 992px) {
  .content {
    text-align: right;
    height: auto;
    padding: 8rem 2rem 0;
  }

  .form-control,
  .form-label {
    width: 100%;
    text-align: right;
  }

  .row > .col-md-6 {
    /* Full width on screens smaller than 992px */
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .cover-photo {
    height: 50vh; 
  }

  .content {
    text-align: center;
    height: auto;
    padding: 6rem 1rem 0;
  }

  .video-container {
    width: calc(100% - 100px);
  }

  .line {
    width: 90%;
  }
}

@media (max-width: 576px) {
  .social-icons {
    margin-right: auto;
  }

  .nav-button {
    display: block;
  }

  .content {
    text-align: center;
    height: auto;
    padding: 4rem 0.5rem 0;
  }

  .content h2 {
    font-size: 1.5rem;
  }

  .content p {
    font-size: 1rem;
  }

  .video-container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}


@media (max-width: 480px) {
  .cover-photo {
    height: 30vh;
  }

  .line {
    width: 100%;
  }
}
