/* Register Bahij Janna Regular */
body,
html,
a,
div,
span,
p,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: "Bahij Janna";
  src: url("/wp-content/themes/hello-elementor-child/assets-imf/fonts/Bahij-Janna-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Register Bahij Janna Bold */
@font-face {
  font-family: "Bahij Janna";
  src: url("/wp-content/themes/hello-elementor-child/assets-imf/fonts/Bahij-Janna-Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
}

.lang-switcher {
  position: absolute;
  top: 4px;
  right: 7%;
  z-index: 1000;
}
.lang-switcher .separator {
  margin: 0 10px;
  color: #fff;
}
.lang-switcher a {
  color: #fff;
  text-decoration: underline;
  font-size: 19px;
  font-weight: 700;
  transition: color 0.3s ease;
  font-family: "Bahij Janna", sans-serif;
  text-underline-offset: 5px;
}
.lang-switcher a:first-child {
}
.lang-switcher a:hover {
  transform: translateY(-2px);
}

/* Example usage */
hmtl,
body {
  background: #fff;
}
body {
  font-family: "Bahij Janna", sans-serif;
  font-weight: 400;
  line-height: 50px;
}

.container {
  max-width: 1246px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* .reg-header-container {
  position: relative;
  width: 100%;
  height: 100vh; 
  overflow: hidden;
  background-image: url("/wp-content/themes/hello-elementor-child/assets-imf/images-imf/head-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
} */
.reg-header {
  background-image: url("/wp-content/themes/hello-elementor-child/assets-imf/images-imf/head-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 4px 80px;
  position: relative;
}
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1; /* Ensure video is behind other content */
}

.background-video.loaded {
  opacity: 1;
}

.logos-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 40px 0px;
  z-index: 10;
  position: relative;
}
.mof-logo {
  width: 220px;
  height: 84px;
}
.bank-logo {
  width: 350px;
  height: 84px;
}
.head-heading {
  font-size: 75px;
  max-width: 818px;
  color: #fff;
  font-weight: 700;
  line-height: 84px;
  padding: 164px 0px 34px 0;
  z-index: 10;
  position: relative;
}

.imf-world-bank {
}
.imf-world-bank h2 {
  color: #c17d39;
  padding: 26px 0 20px 80px;
  font-size: 42px;
  font-weight: 700;
  background: #edf4f3;
  max-width: 980px;
}
.ar .imf-world-bank h2 {
  padding: 14px 80px 14px 0px;
  font-size: 30px;
  max-width: 930px;
}
.min-fin-collab {
  font-size: 37px;
  color: #3d6980;
  padding: 53px 0 47px 80px;
  max-width: 1139px;
}
.ar .min-fin-collab {
  font-size: 32px;
  color: #3d6980;
  padding: 53px 80px 47px 0px;
  max-width: 644px;
  line-height: 40px;
}
.ar .min-fin-collab {
  font-size: 32px;
  padding: 30px 80px 52px 0px;
  max-width: 644px;
  line-height: 40px;
}
.min-fin-collab span {
  font-weight: 700;
}
.ar .form-input {
  direction: rtl !important;
  font-family: "Bahij Janna", sans-serif;
}
.event-details {
  margin-bottom: 40px;
  background: #f8fbfa;
  padding: 60px 0 60px 8px;
  display: flex;
  justify-content: center;
}

.detail-item {
  text-align: center;
  padding: 0px 20px;
  border-right: 2px dashed #877368;
}
.detail-item:last-child {
  border-right: none;
}

.ar .detail-item:first-child {
  border-right: none;
}
.ar .detail-item:last-child {
  border-right: 2px dashed #877368;
}
.detail-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 15px;
  display: flex;
}
.detail-icon img {
  width: 100%;
}
.detail-title {
  font-size: 30px;
  font-weight: 400;
  color: #3d6a81;
  margin-bottom: 0px;
  line-height: 40px;
  margin-top: 50px;
}
.ar .detail-title {
  line-height: 32px;
  margin-top: 25px;
}
.detail-title-opo {
  font-weight: 700;
}
.ar .detail-title-opo {
  font-weight: 700;
  font-size: 22px;
}
.detail-text {
  font-size: 30px;
  color: #3d6a81;
  font-weight: 700;
  line-height: 40px;
}
.ar .detail-text {
  font-size: 24px;
  line-height: 32px;
}
.detail-text-opo {
  font-weight: 400;
}
.ar .detail-item:last-child .detail-text {
  font-size: 22px;
}
.detail-item:first-child,
.detail-item:last-child {
  padding: 0px 36px;
}
.register-btn {
  display: block;
  width: 249px;
  margin: 0 auto 40px;
  padding: 15px 30px;
  background: #c17d39;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.ar .register-btn {
  display: block;
  width: 197px;
  margin: 0 auto 40px;
  padding: 5px 8px;
  font-family: "Bahij Janna", sans-serif;
  background: #c17d39;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 16px;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.register-btn:hover {
  transform: translateY(-2px);
}
.supporting-partners {
  background: #edf4f3;
  padding: 3px 0;
  text-align: center;
  font-size: 34px;
  color: #c17d39;
  width: 100%;
  font-weight: 700;
}
.partner-logos {
  padding: 40px;
}
.partner-logos img {
  width: 100%;
}

.registration-form {
  display: none;
  max-width: 500px;
  margin: 50px auto 40px;
  background: white;
  overflow: hidden;
}

.registration-form.active {
  display: block;
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-header {
  /* background: linear-gradient(135deg, #2d8a82, #1a6b66); */
  color: white;
  background-image: url("/wp-content/themes/hello-elementor-child/assets-imf/images-imf/form-head-reg.jpg");
  text-align: center;
  background-size: cover;
  position: relative;
  height: 110px;
  background-position: center;
  margin-bottom: 30px;
}

/* .form-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,0 85,100 0,100" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 20px 100%;
  background-repeat: repeat-x;
} */

.form-title {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  padding-top: 17px;
  z-index: 2;
  line-height: 30px;
}
.ar .form-title {
  font-size: 36px;
  padding-top: 14px;
}

.form-subtitle {
  font-size: 14px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  line-height: 14px;
}
.ar .form-subtitle {
  padding-top: 6px;
}
.form-body {
  padding: 0px 0 30px 0;
  max-width: 330px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-input {
  width: 296px;
  padding: 15px;
  border: none;
  border-bottom: 2px solid #e9ecef;
  background: transparent;
  font-size: 16px;
  color: #333;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-bottom-color: #2d8a82;
}

.form-input::placeholder {
  color: #999;
  font-size: 14px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #2d8a82;
}

.checkbox-label {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.checkbox-label .highlight {
  color: #d4822a;
  font-weight: 600;
}

.submit-btn {
  padding: 15px;
  background: linear-gradient(135deg, #2d8a82, #1a6b66);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Bahij Janna", sans-serif;
}
.ar .submit-btn {
  padding: 8px 30px;
}
.submit-wrapper {
  text-align: right;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 138, 130, 0.3);
  background: linear-gradient(135deg, #1a6b66, #2d8a82);
}

.form-footer {
  text-align: center;
}
.thank-you-message {
  display: none;
}
.wpcf7 .hidden-fields-container,
.screen-reader-response {
  display: none;
}
.wpcf7-response-output {
  line-height: 20px;
  border: none;
  color: #dc3232;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.submit-wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.ar .submit-wrapper {
  flex-direction: row;
}
.wpcf7 form.sent .wpcf7-response-output {
  border: none;
  color: #46b450;
  line-height: 20px;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/*start of slider code*/
.carousel-container {
  width: 100%;
  overflow: hidden;
  background: white;
  padding: 0;
  position: relative;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.carousel-track {
  display: flex;
  width: calc(300% + 60px); /* Width for seamless loop */
  animation: scroll 20s linear infinite;
  align-items: center;
}

.logo-item {
  flex: 0 0 auto;
  height: 60px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* filter: grayscale(0.3) opacity(0.9); */
  transition: all 0.3s ease;
}

.logo-item:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

.logo-item img {
  max-height: 100%;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Animation for LTR (English) - moves right to left */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.33%);
  }
}

/* Pause animation on hover for better user experience */
.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

/* For RTL (Arabic) - uncomment this and comment the above animation */
.thank-you-message .lang-switcher {
  right: 22%;
}

/* Responsive adjustments */

@media (max-width: 1800px) {
  .thank-you-message .lang-switcher {
    right: 19%;
  }
}
@media (max-width: 1700px) {
  .thank-you-message .lang-switcher {
    right: 18%;
  }
}
@media (max-width: 1600px) {
  .thank-you-message .lang-switcher {
    right: 16%;
  }
}
@media (max-width: 1550px) {
  .thank-you-message .lang-switcher {
    right: 15%;
  }
  @media (max-width: 1500px) {
    .thank-you-message .lang-switcher {
      right: 14%;
    }
  }@media (max-width: 1400px) {
    .thank-you-message .lang-switcher {
      right: 12%;
    }
  }
  @media (max-width: 1300px) {
    .thank-you-message .lang-switcher {
      right: 8%;
    }
  }
@media (max-width: 1100px) {
  .event-details {
    flex-direction: column;
  }
  .detail-item {
    padding: 20px 10px;
    border-right: none;
    border-bottom: 2px dashed #877368;
  }
  .detail-item:last-child {
    border-bottom: none;
  }
  .detail-item:first-child,
  .detail-item:last-child {
    padding: 35px 10px;
  }
  .detail-item {
    padding: 35px 10px;
    margin: 0% 20% 0%;
  }
  .ar .detail-item:last-child {
    border-right: none;
  }
}
@media (max-width: 1000px) {
  .imf-world-bank h2 {
    font-size: 32px;
  }
  .min-fin-collab {
    font-size: 28px;
    padding: 30px 48px 42px 80px;
    line-height: 32px;
  }
  .ar .imf-world-bank h2 {
    font-size: 26px;
    line-height: 30px;
  }
}
@media (max-width: 900px) {
  .logos-wrapper {
    gap: 20px;
  }
  .imf-world-bank h2 {
    font-size: 24px;
    padding: 15px 0 15px 80px;
    line-height: 26px;
  }
  .min-fin-collab {
    font-size: 24px;
    padding: 25px 48px 35px 80px;
    line-height: 26px;
  }
	 .bank-logo {
    width: 49%;
    height: auto;
  }
  .mof-logo {
    width: 35%;
    height: auto;
  }
}
@media (max-width: 768px) {
  .head-heading {
    font-size: 50px;
    line-height: 49px;
  }
  .logo-item {
    height: 40px;
    margin: 0 15px;
  }

  .logo-item img {
    max-width: 100px;
  }

  .carousel-track {
    animation-duration: 25s;
  }
  .ar .min-fin-collab {
    font-size: 24px;
    line-height: 27px;
  }
}

@media (max-width: 550px) {
  .logo-item {
    height: 35px;
    margin: 0 10px;
  }
  .bank-logo {
    width: 49%;
    height: auto;
  }
  .mof-logo {
    width: 35%;
    height: auto;
  }
  .head-heading {
    font-size: 40px;
    line-height: 40px;
  }
  .reg-header {
    padding: 4px 30px;
  }

  .logo-item img {
    max-width: 80px;
  }

  .carousel-track {
    animation-duration: 20s;
  }
  .imf-world-bank h2 {
    font-size: 20px;
    padding: 15px 30px 15px 30px;
    line-height: 20px;
  }
  .min-fin-collab {
    padding: 25px 30px 35px 30px;
  }
  .detail-item {
    padding: 35px 10px;
    margin: 0% 4% 0%;
  }
  .detail-title {
    font-size: 24px;
    line-height: 26px;
    margin-top: 24px;
  }
  .detail-text {
    font-size: 24px;
    line-height: 30px;
  }
  .event-details {
    padding: 20px 0;
  }
  .partner-logos {
    padding: 30px 10px;
  }
  .supporting-partners {
    font-size: 28px;
  }
  .register-btn {
    width: 240px;
    font-size: 26px;
    padding: 12px 24px;
  }
  .submit-btn {
    padding: 8px 15px;
  }
  .form-header {
    background-repeat: no-repeat;
    background-size: contain;
    width: 93%;
    margin: 0 auto;
  }
  .form-title {
    font-size: 24px;
    font-weight: 700;
    position: relative;
    padding-top: 25px;
    z-index: 2;
    line-height: 24px;
  }
  .ar .imf-world-bank h2 {
    font-size: 24px;
    line-height: 28px;
    padding: 15px 30px 15px 30px;
  }
  .ar .min-fin-collab {
    padding: 25px 30px 35px 30px;
  }
  .ar .detail-title {
    line-height: 28px;
  }
  .ar .detail-text {
    line-height: 28px;
  }
  .ar .form-title {
    font-size: 30px;
    padding-top: 21px;
  }
  .ar .form-subtitle {
    padding-top: 5px;
  }
  .thank-you-message .lang-switcher {
    top: -14px;
  }
  .thank-you-message .lang-switcher a {
    font-size: 14px;
    text-underline-offset: 3px;
  }
  .thank-you-message .lang-switcher .separator {
    margin: 0 5px;
  }
	.lang-switcher a {
		font-size: 14px;}
}
#CustomerPulseTrigger {
  display: none !important;
}
.ar .wpcf7 form .wpcf7-response-output,
	.ar .wpcf7-not-valid-tip {
    text-align: right;
}
	