/*
 Theme Name: Twenty Twenty-Five Child
 Theme URI: https://example.com/
 Description: Child theme for the Twenty Twenty-Five theme
 Author: Your Name
 Author URI: https://example.com/
 Template: twentytwentyfive
 Version: 1.0.0
 Text Domain: twentytwentyfive-child
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* Import parent theme styles */

/* Book (Regular) */
@font-face {
  font-family: "AvantGarde";
  src: url("fonts/ITC_Avant_Garde_Gothic_Pro_Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: "AvantGarde";
  src: url("fonts/ITC_Avant_Garde_Gothic_Pro_Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "AvantGarde";
  src: url("fonts/ITC_Avant_Garde_Gothic_Pro_Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  font-family: "Inter", "AvantGarde", sans-serif !important;
}

.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.pointer-events-none {
  pointer-events: none;
}
.user-select-none {
  user-select: none;
}
.text-center {
  text-align: center;
}
.w-full {
  width: 100% !important;
}
.w-auto {
  width: auto !important;
}

.dsk-primary-button {
  background: var(--dsk-btn-bg, #11a8cf);
  color: var(--dsk-btn-fg, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  line-height: 1;
  padding: 21px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease,
    opacity 0.15s ease;
  font-size: 15px;
}
.dsk-primary-button:hover {
  background-color: #057d9d;
}
.dsk-rtl .dsk-primary-button {
  direction: rtl;
}

.dsk-secondary-button {
  background: var(--dsk-btn-bg, #000000);
  color: var(--dsk-btn-fg, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  line-height: 1;
  padding: 21px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    transform 0.15s ease, opacity 0.15s ease;
  font-size: 15px;
}
.dsk-secondary-button:hover {
  box-shadow: 0px 4px 4px 0px #11a8cf80;
}
.dsk-rtl .dsk-secondary-button {
  direction: rtl;
}

@media screen and (max-width: 977px) {
  .dsk-typing-stage,
  .dsk-button-wrap {
    text-align: center !important;
  }
}

.wp-block-navigation__submenu-icon {
  display: none !important;
}

.nav-container {
  padding: 17px 26px !important;
/*   max-width: 1500px !important;
  margin: auto 0 auto auto !important; */
}

:lang(ar) .nav-container {
  /* padding: 17px 26px !important;
  max-width: 1500px !important; */
/*   margin: auto auto auto 0 !important; */
}

.wpml-ls-statics-shortcode_actions {
  padding: 0;
}

.wpml-ls-statics-shortcode_actions ul[role="menu"] {
  display: flex !important;
}

.wpml-ls-link {
  display: flex !important;
  padding: 0 !important;
  align-items: center;
  font-size: 10.5px;
  font-weight: bold;
}

header .nav-cta .dsk-primary-button {
  padding-top: 12px;
  padding-bottom: 12px;
}

header .mobile-menu {
  width: auto !important;
  right: 0;
  bottom: 50%;
  transform: translateY(50%);
  cursor: pointer;
}

header .mobile-menu figure {
  margin: 0;
}

/* header .mobile-nav .wp-block-site-logo {
  width: auto !important;
} */

:lang(ar) header .mobile-menu {
  left: 0;
  right: auto;
}

p {
  margin: 0 !important;
}

/* Fix for CPT content wrapper */
.cpt-content-wrapper,
.cpt-solution-content {
  /* Ensure the wrapper doesn't interfere with your custom layouts */
  width: 100%;
}

.cpt-content-wrapper > *,
.cpt-solution-content > * {
  /* Remove any margin/padding that might cause issues */
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Utility class to disable wpautop for specific elements */
.no-wpautop p {
  /* Remove unwanted paragraph styling if needed */
  margin: 0;
}

.no-wpautop > p:empty {
  /* Hide empty paragraphs completely */
  display: none;
}

/* Aggressively hide empty paragraphs in solution content */
.cpt-solution-content p:empty,
.cpt-solution-content p:not([class]):empty,
.cpt-solution-content p[class=""]:empty {
  display: none !important;
}

/* Hide paragraphs that only contain whitespace */
.cpt-solution-content p:not([class]) {
  white-space: nowrap;
}

.cpt-solution-content p:not([class]):empty::before,
.cpt-solution-content p:not([class])[class=""]:empty::before {
  content: none !important;
  display: none !important;
}

/* Prevent paragraph wrapping around block elements */
.cpt-solution-content section,
.cpt-solution-content div,
.cpt-solution-content article,
.cpt-solution-content header,
.cpt-solution-content footer {
  display: block;
  margin: 0;
}

.section__eyebrow {
  display: flex;
  color: #11a8cf;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding-left: 0;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;

  &::before {
    content: "— ";
    color: #11a8cf;
  }
}

a {
  outline: none;
}

@media (max-width: 767px) {
	.section__eyebrow {
		font-size: 14px;
	}
	.dsk-primary-button, .dsk-secondary-button {
		padding: 14px
	}
}

/* 
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  ///////////////////////////////////////// partner slider /////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  */

/* ===== Partners infinite marquee ===== */
.partners {
  --logo-height: 72px; /* tweak logo target height */
  --gap: 107px; /* space between logos */
  --duration: 40s; /* loop duration (desktop) */
  --duration-mobile: 30s; /* loop duration (mobile) */
  --fade-size: 60px; /* edge gradient width */
  padding-block: clamp(12px, 2cqi, 24px);
  overflow: hidden;
  margin-top: clamp(50px, 40vw, 80px);
}

/* mask fades at edges to avoid hard cuts */
.partners__scroller {
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    #000 var(--fade-size),
    #000 calc(100% - var(--fade-size)),
    transparent
  );
  mask: linear-gradient(
    90deg,
    transparent,
    #000 var(--fade-size),
    #000 calc(100% - var(--fade-size)),
    transparent
  );
}
.partners[dir="rtl"] .partners__scroller {
  -webkit-mask: linear-gradient(
    270deg,
    transparent,
    #000 var(--fade-size),
    #000 calc(100% - var(--fade-size)),
    transparent
  );
  mask: linear-gradient(
    270deg,
    transparent,
    #000 var(--fade-size),
    #000 calc(100% - var(--fade-size)),
    transparent
  );
}

.partners__track {
  display: flex;
  width: max-content; /* as wide as needed */
  gap: var(--gap);
  /* Continuous scroll; paused on hover via parent rule below */
  animation: partners-scroll var(--duration) linear infinite;
}

/* Duplicate lists inside track */
.partners__list {
  display: flex;
  gap: var(--gap);
  padding: 0;
  margin: 0;
  list-style: none;
}

.partners__item {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 150px;
}

/* Logos normalized by height, keep aspect ratio */
.partners__logo {
  height: var(--logo-height);
  width: auto;
  object-fit: contain;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.25s ease, filter 0.25s ease;
  will-change: transform;
}
.partners__item:hover .partners__logo {
  transform: translateY(-2px);
  filter: saturate(1) contrast(1.1);
}

/* Pause on hover */
.partners__scroller:hover .partners__track {
  animation-play-state: paused;
}

/* RTL: reverse direction */
.partners[dir="rtl"] .partners__track {
  animation-name: partners-scroll-rtl;
}

/* Reduced motion: stop animation entirely */
@media (prefers-reduced-motion: reduce) {
  .partners__track {
    animation: none !important;
  }
}

/* Keyframes: move by 50% because we duplicated the list once */
@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes partners-scroll-rtl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}

/* Responsive tuning */
@media (max-width: 1024px) {
  .partners {
    --logo-height: 42px;
    --gap: 22px;
    --duration: var(--duration-mobile);
  }
	.partners__logo {
		width: 150px;
		height: auto;
	}
}
@media (max-width: 640px) {
  .partners {
    --logo-height: 36px;
    --gap: 18px;
    --fade-size: 36px;
  }
}

/* Layout & look like your screenshot */
form.forminator-ui {
  padding: 0 !important;
}
form label {
  display: none !important;
}

form input,
form select,
form textarea {
  border: none !important;
  background: white !important;
  color: black !important;
  border-radius: 5px !important;
  min-height: 42px !important;
}
form .forminator-row {
  margin-bottom: 14px !important;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: solid 2px #11a8cf !important;
}

form input::placeholder,
form select::placeholder,
form textarea::placeholder {
  color: #a49f9f99 !important;
}

form button div {
  color: black !important;
}

form ul li div,
form ul li span {
  color: black !important;
}

form button.forminator-button-submit.dsk-secondary-button {
  background: var(--dsk-btn-bg, #000000) !important;
  color: var(--dsk-btn-fg, #ffffff) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  padding: 21px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    transform 0.15s ease, opacity 0.15s ease !important;
  font-size: 15px !important;
  border: none !important;
}
form button.forminator-button-submit.dsk-secondary-button {
  box-shadow: 0px 4px 4px 0px #11a8cf80 !important;
}

footer a.dsk-secondary-button {
  background: white !important;
}

footer a.dsk-secondary-button span {
  color: #11a8cf !important;
}
.margin-0 .dsk-case-study-card{
	margin: 0 !important;
}

footer a {
	text-decoration: none
}

.wp-block-site-logo {
    width: 90px !important;
}

.hhs figure.hero-bg {
  position: absolute !important;
  width: 116vw !important;
  top: 25%;
  transform: translateY(-9%) rotate(-17deg);
  z-index: -1;
}

.hhs figure.hero-bg img {
	object-fit: cover;
    width: 115vw;
}

.dskre__flex {
	margin: auto
}


.dsk-case-study-solutions .solution-thumb {
    width: 40px;
    height: 40px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 4px;
}

.dsk-case-study-solutions .solution-item {
    margin-bottom: 10px;
    display: flex
;
    align-items: center;
    gap: 8px;
}

.dsk-typing-headlines .dsk-typing-line[dir=rtl] {
	
  flex-wrap: wrap;
}
.wpml-lang-switcher-header-mobile {
	z-index: 99;
    position: absolute;
    left: 0;
    width: auto !important;
}
html[lang="ar"] .wpml-lang-switcher-header-mobile,
body[lang="ar"] .wpml-lang-switcher-header-mobile {
    right: 0 !important;
    width: min-content !important;
  z-index: 99;
  position: absolute;
}



@media (max-width: 1024px){.dsk-typing-headlines .dsk-typing-line[dir=rtl] {
	justify-content:center;}
}