/* ==========================================================================
   SYT THEME - MAIN STYLESHEET
   ========================================================================== */

/* Font Definitions */
@font-face {
  font-family: "TheYearOfHandicrafts";
  src: url("../fonts/alfont_com_TheYearofHandicrafts-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TheYearOfHandicrafts";
  src: url("../fonts/alfont_com_TheYearofHandicrafts-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TheYearOfHandicrafts";
  src: url("../fonts/alfont_com_TheYearofHandicrafts-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TheYearOfHandicrafts";
  src: url("../fonts/alfont_com_TheYearofHandicrafts-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --main-bg: #fffcf4;
  --primary-color: #eee65a;
  --secondary-color: #2f0b60;
  --dark-color: #242424;
  --black-color: #1f1f1f;
  --foreground-color: #ffffff;
  --page-bg: var(--main-bg);
  --text-color: var(--dark-color);
}

* {
  box-sizing: border-box;
  font-family: "TheYearOfHandicrafts", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  color: var(--text-color);
  font-family: "TheYearOfHandicrafts", sans-serif;
  background-color: var(--main-bg);
  direction: rtl;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.about-services-wrapper,
.cases-faq-wrapper {
  position: relative;
}

/* --------------------------------------------------------------------------
   NAVBAR (LIGHT & DARK)
   -------------------------------------------------------------------------- */
.light-navbar,
.dark-navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 30px;
  direction: ltr;
}
.light-navbar {
  background: var(--main-bg);
}
.dark-navbar {
  padding: 30px 50px;
  background: var(--dark-color);
}

.light-navbar__logo,
.dark-navbar__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.light-navbar__logo img,
.dark-navbar__logo img {
  display: block;
  width: auto;
  height: auto;
}

.light-navbar__phone,
.dark-navbar__phone {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.light-navbar__phone-tooltip,
.dark-navbar__phone-tooltip {
  display: none;
}
.light-navbar__phone-button,
.dark-navbar__phone-button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 48px;
  height: 48px;
  overflow: visible;
  border-radius: 999px;
  background-color: var(--primary-color);
  text-decoration: none;
  transition: width 0.35s ease, padding 0.35s ease, background-color 0.35s ease;
}

.light-navbar__phone-number,
.dark-navbar__phone-number {
  max-width: 0;
  margin-top: 5px;
  overflow: hidden;
  color: var(--dark-color);
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.35s ease;
}

.light-navbar__phone-icon-wrapper,
.dark-navbar__phone-icon-wrapper {
  position: relative;
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
}
.dark-navbar__phone-icon-wrapper {
  background: #ffffff;
}

.light-navbar__phone-bubble,
.dark-navbar__phone-bubble {
  position: absolute;
  z-index: 2;
  top: -3px;
  right: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--dark-color);
  transition: 0.35s ease;
}
.dark-navbar__phone-bubble {
  background: var(--primary-color);
}

.light-navbar__phone-bubble::after,
.dark-navbar__phone-bubble::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -1px;
  left: 1px;
  width: 16px;
  height: 16px;
  clip-path: polygon(0 100%, 30% 25%, 100% 0, 65% 75%);
}
.light-navbar__phone-bubble::after {
  background: var(--dark-color);
}
.dark-navbar__phone-bubble::after {
  background: var(--primary-color);
}

.light-navbar__phone-icon,
.dark-navbar__phone-icon {
  font-size: 20px;
  transform: rotate(8deg);
  transition: 0.35s ease;
}
.light-navbar__phone-icon {
  color: var(--primary-color);
}
.dark-navbar__phone-icon {
  color: var(--dark-color);
}

.light-navbar__menu-wrapper,
.dark-navbar__menu-wrapper {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  width: 150px;
}
.light-navbar__menu,
.dark-navbar__menu {
  position: absolute;
  top: -16px;
  right: -15px;
  width: 150px;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  transform-origin: top right;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, box-shadow 0.3s ease;
}
.light-navbar__menu--open {
  width: 295px;
  padding: 20px 20px 12px;
  background: var(--foreground-color);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
.dark-navbar__menu--open {
  width: 295px;
  padding: 20px 20px 12px;
  background: var(--dark-color);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.light-navbar__menu-trigger,
.dark-navbar__menu-trigger {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-left: auto;
  cursor: pointer;
}
.light-navbar__menu-trigger img,
.dark-navbar__menu-trigger img {
  position: relative;
  right: 20px;
  width: 35px;
  height: 35px;
  transform: rotate(180deg);
  transition: 0.35s ease;
}
.light-navbar__menu-trigger:hover img,
.light-navbar__menu--open .light-navbar__menu-trigger img,
.dark-navbar__menu-trigger:hover img,
.dark-navbar__menu--open .dark-navbar__menu-trigger img {
  right: -5px;
  transform: rotate(-45deg);
}

.light-navbar__menu-trigger h2,
.dark-navbar__menu-trigger h2 {
  position: absolute;
  top: 0;
  right: 35px;
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  white-space: nowrap;
}
.light-navbar__menu-trigger h2 {
  color: #242424;
}
.dark-navbar__menu-trigger h2 {
  color: #ffffff;
}

.light-navbar__menu-body,
.dark-navbar__menu-body {
  width: 100%;
  margin-top: 25px;
  overflow: hidden;
}

.light-navbar__menu-content,
.dark-navbar__menu-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.light-navbar__menu-content a,
.light-navbar__menu-content button,
.dark-navbar__menu-content a,
.dark-navbar__menu-content button {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(36, 36, 36, 0.12);
  background: transparent;
  font-family: inherit;
  font-size: 20px;
  text-align: right;
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s ease;
}
.light-navbar__menu-content a,
.light-navbar__menu-content button {
  color: var(--dark-color);
}
.dark-navbar__menu-content a,
.dark-navbar__menu-content button {
  color: #ffffff;
}

.light-navbar__menu-content a::after,
.dark-navbar__menu-content a::after {
  content: "←";
  position: absolute;
  top: 15px;
  right: 0;
  opacity: 0;
  transform: translateX(15px);
  transition: 0.25s ease;
}
.light-navbar__menu-content a:hover,
.light-navbar__menu-content button:hover {
  padding-right: 30px;
  color: var(--secondary-color);
}
.dark-navbar__menu-content a:hover,
.dark-navbar__menu-content button:hover {
  padding-right: 30px;
  color: var(--primary-color);
}
.light-navbar__menu-content a:hover::after,
.light-navbar__menu-content button:hover::after,
.dark-navbar__menu-content a:hover::after,
.dark-navbar__menu-content button:hover::after {
  opacity: 1;
  transform: translateX(0);
}

#light-navbar__back,
#dark-navbar__back {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 20px;
}

.light-navbar__overlay,
.dark-navbar__overlay {
  position: fixed;
  z-index: 999;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px);
  cursor: default;
}

@media (min-width: 576px) {
  .light-navbar__phone-button:hover,
  .light-navbar__phone-button:focus-visible,
  .dark-navbar__phone-button:hover,
  .dark-navbar__phone-button:focus-visible {
    width: 180px;
  }
  .dark-navbar__phone-button:hover,
  .dark-navbar__phone-button:focus-visible {
    background: #ffffff;
  }
  .light-navbar__phone-button:hover .light-navbar__phone-number,
  .light-navbar__phone-button:focus-visible .light-navbar__phone-number,
  .dark-navbar__phone-button:hover .dark-navbar__phone-number,
  .dark-navbar__phone-button:focus-visible .dark-navbar__phone-number {
    max-width: 120px;
    padding-right: 15px;
    opacity: 1;
    transform: translateX(-5px);
  }
  .light-navbar__phone-button:hover .light-navbar__phone-bubble,
  .light-navbar__phone-button:focus-visible .light-navbar__phone-bubble,
  .dark-navbar__phone-button:hover .dark-navbar__phone-bubble,
  .dark-navbar__phone-button:focus-visible .dark-navbar__phone-bubble {
    top: 2px;
    right: 10px;
    width: 32px;
    height: 32px;
  }
  .light-navbar__phone-button:hover .light-navbar__phone-icon,
  .light-navbar__phone-button:focus-visible .light-navbar__phone-icon,
  .dark-navbar__phone-button:hover .dark-navbar__phone-icon,
  .dark-navbar__phone-button:focus-visible .dark-navbar__phone-icon {
    font-size: 16px;
  }
}
@media (max-width: 1024px) {
  .light-navbar__logo img,
  .dark-navbar__logo img {
    width: 140px;
    height: 50px;
  }
}
@media (max-width: 767px) {
  .light-navbar,
  .dark-navbar {
    padding: 12px 20px;
  }
  .light-navbar__logo,
  .dark-navbar__logo {
    width: 90px;
    height: 40px;
  }
  .light-navbar__logo img,
  .dark-navbar__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .light-navbar__menu,
  .dark-navbar__menu {
    right: 0;
  }
  .light-navbar__menu-trigger img,
  .dark-navbar__menu-trigger img {
    right: 0;
    width: 25px;
    height: 25px;
  }
  .light-navbar__menu-trigger h2,
  .dark-navbar__menu-trigger h2 {
    right: 10px;
  }
}
@media (max-width: 576px) {
  .light-navbar__phone-button,
  .dark-navbar__phone-button {
    width: 40px;
    height: 40px;
  }
  .light-navbar__phone-number,
  .dark-navbar__phone-number {
    display: none;
  }
  .light-navbar__phone-icon-wrapper,
  .dark-navbar__phone-icon-wrapper {
    width: 32px;
    min-width: 32px;
    height: 32px;
  }
  .light-navbar__phone-bubble,
  .dark-navbar__phone-bubble {
    top: -3px;
    right: 1px;
    width: 38px;
    height: 38px;
  }
  .light-navbar__phone-icon,
  .dark-navbar__phone-icon {
    font-size: 16px;
  }
  .light-navbar__phone-tooltip,
  .dark-navbar__phone-tooltip {
    position: absolute;
    z-index: 10;
    top: calc(100% + 15px);
    left: 50%;
    display: flex;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(-50%) translateY(-10px);
    transition: 0.3s ease;
  }
  .light-navbar__phone-tooltip--open,
  .dark-navbar__phone-tooltip--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-25%) translateY(0.5px);
  }
  .light-navbar__phone-tooltip::after,
  .dark-navbar__phone-tooltip::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent var(--primary-color) transparent;
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  background-color: var(--main-bg);
  overflow: hidden;
}
.hero__container {
  position: relative;
  width: 100%;
}
.hero__visual {
  width: 100%;
}
.hero__visual picture {
  display: block;
  width: 100%;
}
.hero__image {
  display: block;
  width: 100%;
  height: auto;
}
.hero__content {
  position: absolute;
  top: 50%;
  right: 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
  direction: rtl;
  transform: translateY(-50%);
}
.hero__content h1 {
  margin: 0;
  color: var(--dark-color);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 700;
}
.hero__content p {
  max-width: 750px;
  margin: 0;
  color: var(--dark-color);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.5;
}
.hero__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 58px;
  padding: 15px 25px 12px 55px;
  overflow: hidden;
  border: 1px solid var(--secondary-color);
  border-radius: 48px;
  background-color: transparent;
  color: var(--secondary-color);
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: padding 0.6s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.6s ease, color 0.3s ease, border-radius 0.4s ease;
}
.hero__button::before {
  content: "←";
  position: absolute;
  top: 50%;
  right: 18px;
  font-size: 27px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%) translateX(18px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__button::after {
  content: "←";
  position: absolute;
  top: 50%;
  left: 18px;
  font-size: 27px;
  line-height: 1;
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__button:hover {
  padding-right: 55px;
  padding-left: 22px;
  border-radius: 12px;
  background-color: var(--secondary-color);
  color: #ffffff;
}
.hero__button:hover::after {
  opacity: 0;
  transform: translateY(-50%) translateX(-18px);
}
.hero__button:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 1400px) {
  .hero__content p { max-width: 500px; }
}
@media (max-width: 900px) {
  .hero__content {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 50px 24px 70px;
    transform: none;
  }
  .hero__content p { max-width: 100%; }
}
@media (max-width: 600px) {
  .hero__content {
    gap: 16px;
    padding: 40px 18px 60px;
  }
  .hero__content h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.3;
  }
  .hero__content p {
    font-size: 16px;
    line-height: 1.7;
  }
  .hero__button {
    min-height: 52px;
    padding: 12px 20px 10px 48px;
    font-size: 16px;
  }
  .hero__button:hover {
    padding-right: 48px;
    padding-left: 20px;
  }
  .hero__button::before {
    right: 15px;
    font-size: 24px;
  }
  .hero__button::after {
    left: 15px;
    font-size: 24px;
  }
}

/* --------------------------------------------------------------------------
   STATS COUNTER
   -------------------------------------------------------------------------- */
.stats-section {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 100px;
}
.stats-counter {
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin-top: -120px;
  padding: 22px 0 26px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.9) 0%, rgba(255, 252, 244, 0.72) 45%, rgba(129, 73, 173, 0.55) 100%);
  backdrop-filter: blur(82.4px);
  -webkit-backdrop-filter: blur(82.4px);
}
.stats-counter::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.stats-counter__item {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stats-counter__item:not(:last-child) {
  border-right: 0.9px solid rgba(255, 255, 255, 0.89);
}
.stats-counter__value {
  color: var(--dark-color);
  font-size: clamp(60px, 7vw, 64px);
  font-weight: 700;
}
.stats-counter__label {
  margin: 0;
  color: var(--black-color);
  font-size: 15px;
  font-weight: 400;
  direction: rtl;
}

@media (max-width: 991px) {
  .stats-counter {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -75px;
    padding: 15px;
    background: linear-gradient(160deg, rgba(129, 73, 173, 0.56) 0%, rgba(255, 252, 244, 0.72) 45%, rgba(129, 73, 173, 0.55) 100%);
  }
  .stats-counter__item { min-height: 105px; }
  .stats-counter__item:not(:last-child) { border: none; }
}
@media (max-width: 600px) {
  .stats-section { margin-top: 80px; }
  .stats-counter {
    width: calc(100% - 32px);
    margin-top: -65px;
    padding: 12px;
    border-radius: 20px;
  }
  .stats-counter__item { min-height: 95px; }
  .stats-counter__value { font-size: 44px; }
  .stats-counter__label { font-size: 12px; }
}
@media (max-width: 480px) {
  .stats-counter__value { font-size: 38px; }
  .stats-counter__label { font-size: 10px; }
}

/* --------------------------------------------------------------------------
   ABOUT US (HOMEPAGE SECTION)
   -------------------------------------------------------------------------- */
.about-us {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 60px 4%;
  overflow: hidden;
  background-image: url("../images/about-us-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.about-us__title {
  margin: 20px 0;
  color: #e8e8e8f7;
  font-weight: 700;
  text-align: center;
}
.about-us__flow {
  width: 100%;
  max-width: 1250px;
  color: #ffffff;
  font-size: clamp(38px, 3.4vw, 50px);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.about-us__text-content {
  position: relative;
  display: inline;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  text-align: center;
}
.about-us__badge {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 70px;
  padding: 15px 40px;
  border-radius: 999px;
  color: var(--dark-color);
  font-size: 23px;
  font-weight: bold;
  direction: rtl;
  shape-margin: 14px;
}
.about-us__badge-icon {
  display: block;
  width: 50px;
  height: 50px;
  transition: 0.3s ease;
}
.about-us__badge--yellow {
  float: right;
  background-color: var(--primary-color);
  box-shadow: 0 -7.7px 10.55px rgba(255, 255, 255, 0.25) inset, 0 -3.08px 3.69px rgba(255, 255, 255, 0.25) inset, 0 3.08px 6.16px rgba(245, 236, 70, 0.1);
  transform: rotate(12deg);
}
.about-us__badge--blue {
  float: left;
  margin: 30px 0 6px 200px;
  background-color: #56d4e6;
  box-shadow: 0 -7.48px 10.24px rgba(255, 255, 255, 0.25) inset, 0 -2.99px 3.59px rgba(255, 255, 255, 0.25) inset, 0 2.99px 6.73px rgba(86, 212, 230, 0.25);
  transform: rotate(-15deg);
}
.about-us__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 58px;
  margin-top: 65px;
  padding: 20px 40px 20px 60px;
  overflow: hidden;
  border: 1px solid var(--primary-color);
  border-radius: 48px;
  background-color: transparent;
  color: var(--primary-color);
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: padding 0.6s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.6s ease, color 0.3s ease, border-radius 0.4s ease;
}
.about-us__button::before {
  content: "←";
  position: absolute;
  top: 50%;
  right: 18px;
  font-size: 27px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%) translateX(18px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-us__button::after {
  content: "←";
  position: absolute;
  top: 50%;
  left: 18px;
  font-size: 27px;
  line-height: 1;
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-us__button:hover {
  padding-right: 55px;
  padding-left: 22px;
  border-radius: 12px;
  background-color: var(--primary-color);
  color: var(--dark-color);
  font-weight: 700;
}
.about-us__button:hover::after {
  opacity: 0;
  transform: translateY(-50%) translateX(-18px);
}
.about-us__button:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 1200px) {
  .about-us { padding-inline: 6%; }
  .about-us__flow { max-width: 950px; font-size: clamp(32px, 4vw, 46px); }
  .about-us__badge { min-height: 60px; padding: 11px 22px; font-size: 20px; }
  .about-us__badge-icon { width: 35px; height: 35px; }
  .about-us__badge--blue { margin-left: 120px; }
}
@media (max-width: 900px) {
  .about-us { padding: 60px 24px; }
  .about-us__title { margin-bottom: 25px; }
  .about-us__flow { max-width: 760px; font-size: clamp(30px, 5vw, 42px); }
  .about-us__badge--yellow { transform: rotate(-7deg); }
  .about-us__badge--blue { margin-left: 70px; transform: rotate(7deg); }
  .about-us__button { margin-top: 45px; }
}
@media (max-width: 600px) {
  .about-us { height: auto; min-height: 100vh; padding: 80px 18px 70px; }
  .about-us__title { margin-top: 100px; font-size: 16px; }
  .about-us__flow { font-size: 29px; }
  .about-us__badge { min-height: 52px; gap: 9px; padding: 9px 17px; font-size: 16px; }
  .about-us__badge-icon { width: 30px; height: 30px; }
  .about-us__badge--yellow { margin: 0 14px 4px 0; }
  .about-us__badge--blue { margin: 20px 0 0 14px; }
  .about-us__button { min-height: 52px; margin-top: 35px; padding: 10px 18px 10px 47px; font-size: 16px; }
  .about-us__button:hover { padding-right: 47px; padding-left: 18px; }
}

/* About text lines */
/* 
.about-us__text-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

/* When animation starts
.about-line.show {
    opacity: 1;
    transform: translateY(0);
}


/* Blue badge - hidden initially 
#aboutBlueBadge {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
      
}

/* Show blue badge after all lines 
#aboutBlueBadge.show {
    opacity: 1;
    transform: translateY(0);
} */
/* --------------------------------------------------------------------------
   SERVICES SECTION (HOMEPAGE)
   -------------------------------------------------------------------------- */
.services {
  position: relative;
  z-index: 2;
  direction: rtl;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding-top: clamp(200px, 16vw, 260px);
  padding-right: 4%;
  padding-bottom: 120px;
  padding-left: 4%;
  overflow: hidden;
  background: var(--primary-color);
  clip-path: polygon(0 0, 100% clamp(450px, 35vw, 650px), 100% 100%, 0 100%);
}
.services__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}
.services__title {
  width: 63%;
  margin-top: 100px;
  font-size: 44px;
  font-weight: 700;
  text-align: end;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas:
    ". card1"
    "card2 card3"
    "card4 card5";
  gap: 90px 80px;
}
.service-card:nth-child(1) { grid-area: card1; }
.service-card:nth-child(2) { grid-area: card2; }
.service-card:nth-child(3) { grid-area: card3; }
.service-card:nth-child(4) { grid-area: card4; }
.service-card:nth-child(5) { grid-area: card5; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: start;
}
.service-card__image {
  max-width: 100%;
  height: auto;
  margin-bottom: 25px;
  object-fit: contain;
}
.service-card__content {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 15px;
  width: 100%;
}
.service-card__badge {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 900;
}
.service-card h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
}
.service-card__description {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__description p {
  margin: 0;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 400;
}
.service-card__description p span {
  font-weight: 700;
}
.service-card__link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  direction: rtl;
  transition: 0.4s ease;
}
.service-card__link span {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, order 0.4s ease;
}
.service-card__link:hover span {
  order: 0;
  transform: translateX(-5px);
}
.services__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding-top: 50px;
  text-align: center;
}
.services__footer p { margin: 0; }
.services__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 58px;
  padding: 15px 25px 12px 55px;
  overflow: hidden;
  border: 1px solid var(--secondary-color);
  border-radius: 48px;
  background-color: transparent;
  color: var(--secondary-color);
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: padding 0.6s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.6s ease, color 0.3s ease, border-radius 0.4s ease;
}
.services__button::before {
  content: "←";
  position: absolute;
  top: 50%;
  right: 18px;
  font-size: 27px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%) translateX(18px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.services__button::after {
  content: "←";
  position: absolute;
  top: 50%;
  left: 18px;
  font-size: 27px;
  line-height: 1;
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.services__button:hover {
  padding-right: 55px;
  padding-left: 22px;
  border-radius: 12px;
  background-color: var(--secondary-color);
  color: #ffffff;
}
.services__button:hover::after {
  opacity: 0;
  transform: translateY(-50%) translateX(-18px);
}
.services__button:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 1200px) {
  .services__grid { gap: 80px 50px; }
  .services__title { width: 65%; }
  .service-card h3 { font-size: 28px; }
}
@media (max-width: 900px) {
  .services {
    padding-top: 130px;
    padding-right: 20px;
    padding-bottom: 80px;
    padding-left: 20px;
    clip-path: polygon(0 0, 100% 150px, 100% 100%, 0 100%);
  }
  .services__title { width: 100%; margin: 0 auto 40px; font-size: 32px; text-align: center; }
  .services__grid { grid-template-columns: 1fr; grid-template-areas: none; gap: 60px; }
  .service-card { grid-area: auto !important; }
  .service-card__image { width: 300px; max-width: 100%; }
}
@media (max-width: 600px) {
  .services {
    padding-top: 110px;
    padding-right: 18px;
    padding-bottom: 70px;
    padding-left: 18px;
    clip-path: polygon(0 0, 100% 90px, 100% 100%, 0 100%);
  }
  .services__title { margin-bottom: 35px; font-size: 30px; }
  .services__grid { gap: 50px; }
}

/* --------------------------------------------------------------------------
   BLOG SECTION & BLOG PAGE
   -------------------------------------------------------------------------- */
.blog-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 100px 5%;
  background: var(--dark-color);
  color: #ffffff;
  overflow: hidden;
}
.blog-section__container {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1400px;
  margin: auto;
}
.blog-section__container h1 {
  flex-shrink: 0;
  width: 260px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 700;
  text-align: right;
}
.blog-section__slider {
  flex: 1;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.blog-section .swiper-slide {
  height: auto;
  direction: rtl;
}
.blog-section__card,
.blog-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  height: 100%;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.blog-section__card:hover,
.blog-card:hover {
  filter: grayscale(0);
}
.blog-section__image-wrapper,
.blog-card__image-wrapper {
  width: 100%;
  /* aspect-ratio: 1 / 0.85; */
  overflow: hidden;
  border-radius: 8px;
}
.blog-section__image,
.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-section__card:hover .blog-section__image,
.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}
.blog-section__badge,
.blog-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  padding: 5px 16px;
  border: 1px solid #ffffff;
  border-radius: 8px;
  font-size: 14px;
}
.blog-section__badge img,
.blog-card__badge img {
  width: 16px;
}
.blog-section__content,
.blog-card__content {
  width: 100%;
}
.blog-section__content h3,
.blog-card__content h3 {
  margin: 0 0 15px;
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 900;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.blog-section__card:hover .blog-section__content h3,
.blog-card:hover .blog-card__content h3 {
  color: var(--primary-color);
}
.blog-section__bottom,
.blog-card__bottom {
  /* display: flex; */
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.blog-section__bottom p,
.blog-card__bottom p {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.8;
}
.blog-section__link,
.blog-card__link {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #ffffff;
  font-size: 25px;
  transition: border-color 0.5s ease, color 0.5s ease;
}
.blog-section__card:hover .blog-section__link,
.blog-card:hover .blog-card__link {
  border-color: var(--primary-color);
}

.blog-section__transparent-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  border: 1px dashed #ffffff;
  border-radius: 10px;
  transition: border-color 0.3s ease;
}
.blog-section__transparent-box h2 {
  position: absolute;
  top: 50%;
  right: 50%;
  margin: 0;
  font-size: clamp(18px, 1vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  transform: translate(50%, -50%);
}
.blog-section__transparent-box:hover {
  border-color: var(--primary-color);
}
.blog-section__transparent-box img {
  position: absolute;
  transition: 0.3s ease;
}
.blog-section__shape-1 { top: -50px; right: 0; }
.blog-section__shape-2 { top: 0; left: 0; }
.blog-section__shape-3 { right: 0; bottom: -50px; opacity: 0.04; }
.blog-section__shape-4 { bottom: -15px; left: -20px; opacity: 0.04; }

/* Dedicated Blog Page */
.blog {
  direction: rtl;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 60px 5% 200px;
  background: var(--dark-color);
  color: #ffffff;
}
.blog__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  max-width: 1400px;
  margin: auto;
}
.blog__container h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 700;
  text-align: right;
}
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
  align-items: stretch;
  gap: 35px;
  width: 100%;
}

@media (max-width: 1200px) {
  .blog-section__container { flex-direction: column; align-items: flex-start; gap: 40px; }
  .blog-section__container h1 { width: 100%; text-align: right; }
}
@media (max-width: 700px) {
  .blog-section { min-height: auto; padding: 70px 30px; }
  .blog-section__container h1 { font-size: 42px; }
  .blog__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   CASE STUDIES SECTION & 3D COVERFLOW
   -------------------------------------------------------------------------- */
.case-studies-section {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-image: url("../images/case-studies-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.case-studies-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.portfolio-slider__swiper {
  width: 100%;
  padding: 40px 0 30px;
  overflow: hidden;
}
.portfolio-slider__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 500px;
  border-radius: 20px;
}
/* Show only the active slide and its neighbours (keeps the coverflow symmetric) */
.portfolio-slider__swiper .swiper-slide {
  opacity: 0;
  transition-property: transform, opacity;
}
.portfolio-slider__swiper .swiper-slide-active,
.portfolio-slider__swiper .swiper-slide-prev,
.portfolio-slider__swiper .swiper-slide-next {
  opacity: 1;
}
.portfolio-slider__card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  transition: filter 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.portfolio-slider__image {
  display: block;
  width: 100%;
  height: 100%;
  border: 4px solid #ffffff;
  border-radius: 20px;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.case-studies-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  direction: rtl;
  text-align: center;
}
.case-studies-caption h2 {
  min-height: 36px;
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.case-studies-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cfcfcf;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

@media (max-width: 900px) {
  .case-studies-wrap { max-width: 760px; padding-inline: 24px; }
  .portfolio-slider__slide { width: 250px; height: 340px; }
}
@media (max-width: 640px) {
  .case-studies-section { height: auto; min-height: 100vh; padding: 70px 0; }
  .portfolio-slider__slide { width: 190px; height: 250px; border-radius: 16px; }
}

/* --------------------------------------------------------------------------
   FAQ SECTION (ACCORDION)
   -------------------------------------------------------------------------- */
.faq {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  padding-top: clamp(200px, 16vw, 280px);
  padding-right: 6%;
  padding-bottom: 100px;
  padding-left: 6%;
  overflow: hidden;
  background: var(--secondary-color);
  color: #ffffff;
  clip-path: polygon(0 clamp(150px, 10vw, 200px), 100% 0, 100% 100%, 0 100%);
}
.faq__container {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 70px;
  max-width: 1050px;
  margin: auto;
  direction: ltr;
}
.faq__list {
  direction: rtl;
}
.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.35s ease;
}
.faq__question {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 65px;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  cursor: pointer;
  transition: color 0.35s ease;
}
.faq__number {
  width: 25px;
  font-size: 15px;
  opacity: 0.8;
}
.faq__text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  text-align: right;
  transition: color 0.35s ease;
}
.faq__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.35s ease, border-color 0.35s ease;
}
.faq__arrow {
  display: block;
  font-size: 18px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq__item:hover {
  border-color: rgba(255, 255, 255, 1);
}
.faq__item:hover .faq__question {
  color: rgba(255, 255, 255, 1);
}
.faq__item:hover .faq__icon {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.faq__item.active .faq__icon {
  border-color: #ffffff;
  color: #ffffff;
}
.faq__item.active .faq__arrow {
  transform: rotate(180deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(150px);
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq__item.active .faq__answer {
  max-height: 200px;
  opacity: 1;
  transform: translateX(0);
}
.faq__answer p {
  margin: 0;
  padding: 0 45px 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.8;
  text-align: right;
}
.faq__side {
  direction: rtl;
  text-align: right;
}
.faq__side h2 {
  margin: 0 0 20px;
  font-size: 42px;
  font-weight: 800;
}
.faq__side p {
  margin: 0 0 35px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
}
.faq__side button,
.faq__side a.faq__side-btn {
  display: inline-block;
  padding: 10px 35px;
  border: none;
  border-radius: 8px;
  background: var(--primary-color);
  color: #111111;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3.08px 6.16px rgba(245, 236, 70, 0.1);
  transition: transform 0.3s ease;
}
.faq__side button:hover,
.faq__side a.faq__side-btn:hover {
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .faq {
    padding-top: 130px;
    padding-right: 25px;
    padding-bottom: 70px;
    padding-left: 25px;
    clip-path: polygon(0 100px, 100% 0, 100% 100%, 0 100%);
  }
  .faq__container { display: flex; flex-direction: column-reverse; gap: 50px; }
  .faq__side { text-align: center; }
  .faq__side h2 { font-size: 34px; }
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  width: calc(100% - 64px);
  aspect-ratio: 1768 / 800;
  margin: 0 auto 32px;
  padding: 80px 8% 0;
  overflow: hidden;
  border-radius: 18px;
  background-color: var(--primary-color);
  color: #232323;
}
.footer-picture {
  position: absolute;
  z-index: 0;
  bottom: -10%;
  left: 0;
  width: 100%;
  pointer-events: none;
}
.footer-background {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}
.footer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(160px, 0.9fr) minmax(230px, 1.15fr) minmax(180px, 0.9fr) minmax(290px, 1.25fr);
  align-items: start;
  column-gap: clamp(40px, 6vw, 110px);
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
  transform: translateY(-20px);
}
.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}
.footer__title {
  width: fit-content;
  min-width: 105px;
  margin: 0 0 17px;
  padding: 7px 18px;
  border-radius: 8px;
  background: #ffffff;
  color: #181818;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #202020;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: padding 0.25s ease-in, color 0.25s ease-in;
}
.footer__links a::before {
  content: "←";
  color: #000000;
  font-size: 16px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease-in, transform 0.25s ease-in;
}
.footer__links a:hover {
  padding-right: 20px;
  color: #000000;
}
.footer__links a:hover::before {
  padding-left: 5px;
  opacity: 1;
  transform: translateX(0);
}
.footer__column--contact {
  min-width: 280px;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #202020;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.footer__contact-item a {
  color: inherit;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}
.footer__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
}
.footer__icon svg {
  width: 100%;
  height: 100%;
  fill: #252525;
}
.footer__icon--stroke svg {
  fill: none;
  stroke: #252525;
  stroke-width: 1.8;
}
.footer__certificates {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}
.footer__certificates img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .footer { aspect-ratio: auto; padding: 60px 40px 300px; }
  .footer-picture { bottom: 0; width: 100%; }
  .footer-background { width: 100%; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 50px; transform: none; }
}
@media (max-width: 900px) {
  .footer { padding: 60px 35px 300px; width: 100%; margin-inline: 0; }
  .footer__grid { gap: 45px 35px; }
  .footer__contact-item { white-space: normal; }
}
@media (max-width: 600px) {
  .footer { padding: 50px 25px 300px; border-radius: 15px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --------------------------------------------------------------------------
   ABOUT PAGE TEMPLATE
   -------------------------------------------------------------------------- */
.about-page { direction: rtl; }
.about-header {
  position: relative;
  width: 100%;
  padding: 56px;
  overflow: hidden;
  color: #ffffff;
}
.about-header__bg {
  display: block;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  object-fit: cover;
}
.about-header__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 20px;
  padding: 20px;
  text-align: center;
}
.about-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 82px);
  font-weight: 900;
}
.about-subtitle {
  max-width: 700px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
}
.about-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 100px 20px;
}
.about-cards__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}
.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-bottom: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 14px;
  box-shadow: 0 4px 0 0 #000000;
  text-align: center;
  transition: 0.3s ease;
}
.about-card:hover { transform: translateY(-8px); }
.about-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95%;
  height: 145px;
  margin: 10px;
  border-radius: 5px;
}
.card-1 .about-card__icon,
.card-3 .about-card__icon {
  background: linear-gradient(180deg, #fef776 0%, #eee65a 100%);
}
.card-2 .about-card__icon,
.card-4 .about-card__icon {
  background: linear-gradient(180deg, #9160d5 0%, #481c85 100%);
}
.about-card__icon img {
  width: 85px;
  height: 85px;
  object-fit: contain;
}
.about-card h3 {
  color: #000000;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
}
.about-card p {
  padding-inline: 20px;
  color: #000000;
  font-size: clamp(14px, 1vw, 20px);
  line-height: 1.7;
}

/* Who is it for Section */
.who-is-it-for {
  position: relative;
  isolation: isolate;
  direction: rtl;
  width: 100%;
  height: clamp(520px, 37.77vw, 692px);
  margin-block: 100px;
  padding-block: 50px;
  overflow: hidden;
  background-color: var(--primary-color, #eee65a);
  background-image: url("../images/who-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--dark-color, #242424);
}
.who-is-it-for__container {
  position: relative;
  z-index: 2;
  width: min(90%, 1650px);
  height: 100%;
  margin-inline: auto;
}
.who-is-it-for__title {
  position: absolute;
  top: 42%;
  left: 50%;
  margin: 0;
  color: var(--dark-color, #242424);
  font-size: clamp(26px, 2.5vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}
.who-is-it-for__curve {
  position: absolute;
  z-index: 1;
  top: 10%;
  left: 50%;
  width: clamp(500px, 65vw, 1200px);
  height: clamp(260px, 28vw, 500px);
  border: 1px solid rgba(36, 36, 36, 0.35);
  border-bottom: none;
  border-radius: 1000px 1000px 0 0;
  transform: translateX(-50%);
}
.who-is-it-for__images {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}
.who-is-it-for__image {
  position: absolute;
  display: block;
  width: clamp(70px, 6vw, 110px);
  height: auto;
  object-fit: contain;
}
.who-is-it-for__image--1 { top: 15%; left: 31%; transform: translateX(-50%); }
.who-is-it-for__image--2 { top: 3%; left: 50%; transform: translateX(-50%); }
.who-is-it-for__image--3 { top: 15%; left: 69%; transform: translateX(-50%); }

.who-is-it-for__content {
  position: absolute;
  right: 0;
  bottom: 8%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(35px, 6vw, 120px);
  width: 100%;
  direction: rtl;
}
.who-is-it-for__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}
.who-is-it-for__number {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-color, #242424);
  font-size: clamp(38px, 3.2vw, 60px);
  font-weight: 700;
  line-height: 1;
}
.who-is-it-for__item-title {
  margin: 0 0 5px;
  color: var(--dark-color, #242424);
  font-size: clamp(16px, 1.4vw, 23px);
  font-weight: 700;
  text-align: center;
}
.who-is-it-for__description {
  width: 100%;
  max-width: 390px;
  margin: 0;
  color: var(--dark-color, #242424);
  font-size: clamp(13px, 0.9vw, 17px);
  font-weight: 400;
  text-align: center;
}

/* Partners Marquee Section */
.partners {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 100px 20px;
}
.partners__title {
  margin: 0 0 60px;
  color: #242424;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 900;
  text-align: center;
}
.partners-swiper {
  width: 100%;
  margin-bottom: 30px;
}
.partners-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
.partners-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partners-swiper img {
  width: 180px;
  height: 120px;
  object-fit: contain;
  opacity: 0.85;
  transition: 0.3s ease;
}
.partners-swiper img:hover {
  opacity: 1;
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .who-is-it-for {
    height: auto;
    min-height: 820px;
    background-position: center top;
    background-size: auto 100%;
  }
  .who-is-it-for__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 520px);
    min-height: 820px;
    padding: 165px 22px 60px;
  }
  .who-is-it-for__title { position: static; font-size: 34px; transform: none; }
  .who-is-it-for__content {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 38px;
    width: 100%;
    margin-top: 48px;
  }
}

/* --------------------------------------------------------------------------
   PORTFOLIO PAGE TEMPLATE
   -------------------------------------------------------------------------- */
.portfolio-case {
  position: relative;
  margin-inline: 32px;
  padding: 50px 4% 200px;
  overflow: visible;
  border: 2px solid #00a8ff;
  border-radius: 12px;
  background: linear-gradient(180deg, #5922a5 0%, #2f0b60 100%);
  color: #ffffff;
  direction: rtl;
  box-sizing: border-box;
}
.portfolio-case__content {
  display: grid;
  grid-template-columns: minmax(300px, 470px) minmax(270px, 600px);
  align-items: start;
  justify-content: center;
  gap: clamp(30px, 5vw, 80px);
}
.portfolio-case__info { text-align: right; }
.portfolio-case__breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 60px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}
.portfolio-case__breadcrumb strong {
  color: #ffffff;
  font-weight: 500;
}
.portfolio-case__title {
  margin: 0 0 15px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
}
.portfolio-case__description {
  width: min(500px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 2;
  text-align: right;
}
.portfolio-case__work { margin-top: 50px; }
.portfolio-case__work-title {
  margin: 0 0 25px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
}
.portfolio-case__work-grid {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  gap: 25px 15px;
}
.portfolio-case__work-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.portfolio-case__work-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(12px, 1.2vw, 16px);
  line-height: 1.8;
  text-align: right;
}
.portfolio-case__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: #ffffff;
  color: #161616;
  font-size: 20px;
  transform: rotate(-6deg);
}
.portfolio-case__media {
  position: relative;
  width: 100%;
  margin: auto;
}
.portfolio-case__video-card {
  width: 100%;
  padding: 5px;
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff;
}
.portfolio-case__video-image {
  display: block;
  width: 100%;
  aspect-ratio: 0.72;
  border-radius: 4px;
  object-fit: cover;
}
.portfolio-stats {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}
.portfolio-stats__counter {
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin-top: -100px;
  padding: 22px 0 26px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #5922a5 0%, #5922a5 32.29%, #ffffff 100%);
  backdrop-filter: blur(82.4px);
  -webkit-backdrop-filter: blur(82.4px);
}
.portfolio-stats__counter::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  pointer-events: none;
  -webkit-mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.portfolio-stats__item {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.portfolio-stats__item:not(:last-child) {
  border-right: 0.9px solid rgba(255, 255, 255, 0.89);
}
.portfolio-stats__value {
  color: #ffffff;
  font-size: clamp(60px, 7vw, 64px);
  font-weight: 700;
}
.portfolio-stats__label {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  direction: rtl;
}

@media (max-width: 991px) {
  .portfolio-case { padding: 35px 20px 100px; }
  .portfolio-case__content { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-stats { margin-top: -50px; }
  .portfolio-stats__counter { position: static; grid-template-columns: repeat(2, 1fr); margin-top: 0; padding: 15px; }
  .portfolio-stats__item:not(:last-child) { border: none; }
}
@media (max-width: 768px) {
  .portfolio-case { margin-inline: 8px; }
  .portfolio-case__work-grid { grid-template-columns: 1fr; gap: 25px; }
}

/* --------------------------------------------------------------------------
   SERVICES PAGES (SEO, ADS, CRO, SOCIAL, UI/UX, INFLUENCER)
   -------------------------------------------------------------------------- */
.services-hero {
  width: 100%;
  padding: 30px 35px;
  background-color: var(--dark-color);
}
.services-hero__container {
  position: relative;
  width: 100%;
  min-height: 850px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}
.services-hero__background {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}
.services-hero__object {
  position: absolute;
  z-index: 2;
  top: 15%;
  left: 50%;
  width: clamp(350px, 42vw, auto);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transform: translateX(-50%);
}
.services-hero__content {
  position: absolute;
  z-index: 3;
  top: 65%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: #2b2b2b;
  text-align: center;
  transform: translateX(-50%);
}
.services-hero__title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
}
.services-hero__description {
  width: 100%;
  max-width: 1100px;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 400;
}
.services-hero__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 55px;
  margin-top: 15px;
  padding: 13px 24px 11px 52px;
  overflow: hidden;
  border: 1px solid var(--secondary-color);
  border-radius: 48px;
  background: transparent;
  color: var(--secondary-color);
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: padding 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease, color 0.3s ease, border-radius 0.4s ease;
}
.services-hero__button::before {
  content: "←";
  position: absolute;
  top: 50%;
  right: 17px;
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%) translateX(15px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-hero__button::after {
  content: "←";
  position: absolute;
  top: 50%;
  left: 17px;
  font-size: 24px;
  line-height: 1;
  opacity: 1;
  transform: translateY(-50%);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-hero__button:hover {
  padding-right: 52px;
  padding-left: 22px;
  border-radius: 12px;
  background-color: var(--secondary-color);
  color: #ffffff;
}
.services-hero__button:hover::after { opacity: 0; transform: translateY(-50%) translateX(-15px); }
.services-hero__button:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }

/* How We Work Section */
.how-we-work {
  position: relative;
  width: 100%;
  padding: 100px 4% 140px;
  overflow: visible;
  background-color: var(--dark-color);
  color: #ffffff;
  direction: rtl;
}
.how-we-work__container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.how-we-work__title {
  margin: 0 0 65px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  text-align: center;
}
.how-we-work__cards-wrapper {
  width: 100%;
  padding: 15px 0;
  overflow: visible;
}
.how-we-work__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  width: 100%;
  overflow: visible;
  isolation: isolate;
}
.how-we-work__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 523px;
  padding: 50px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: #ffffff;
  transform-origin: center;
  transition: all 0.3s ease-in;
}
.how-we-work__card--1 { z-index: 1; transform: rotate(5deg) translateY(10px); }
.how-we-work__card--2 { z-index: 3; transform: rotate(-5deg) translateY(10px); }
.how-we-work__card--3 { z-index: 2; transform: rotate(5deg) translateY(10px); }
.how-we-work__card--4 { z-index: 1; transform: rotate(-5deg) translateY(10px); }

.how-we-work__card:hover {
  z-index: 10 !important;
  transform: rotate(-1deg) translateY(-10px) scale(1.05);
}
.how-we-work__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.how-we-work__icon {
  width: clamp(75px, 10vw, 180px);
  height: clamp(75px, 15vw, 180px);
  object-fit: contain;
}
.how-we-work__number {
  color: #ffffff;
  font-size: clamp(72px, 8vw, 120px);
  font-weight: 900;
}
.how-we-work__card--2 .how-we-work__number,
.how-we-work__card--3 .how-we-work__number {
  color: #000000;
}
.how-we-work__line {
  display: block;
  width: 100%;
  height: 3px;
  margin: 10px 0;
  background-color: currentColor;
  opacity: 0.9;
}
.how-we-work__description {
  max-width: 90%;
  margin: 0;
  color: inherit;
  font-size: clamp(10px, 1.1vw, 16px);
  font-weight: 400;
  text-align: right;
}
.how-we-work__card--2,
.how-we-work__card--3 {
  color: #111111;
}

/* Light Theme overrides for Services */
.services-light .how-we-work,
.services-light .services-hero {
  background-color: var(--main-bg);
}
.services-light .services-hero__content { color: #ffffff; }
.services-light .how-we-work__title { color: var(--dark-color); }
.services-light .services-hero__title,
.services-light .services-hero__description { color: #ffffff; }
.services-light .services-hero__button {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.services-light .services-hero__button::before,
.services-light .services-hero__button::after {
  color: var(--primary-color);
}
.services-light .services-hero__button:hover {
  background-color: var(--primary-color);
  color: var(--dark-color);
}

@media (max-width: 900px) {
  .how-we-work__cards-wrapper { padding: 15px 30px; }
  .how-we-work__cards { min-height: 420px; }
}
@media (max-width: 768px) {
  .how-we-work__card {
    min-height: 330px;
    padding: 70px 10px 90px;
    border-radius: 20px;
    background-size: cover;
  }
}
@media (max-width: 576px) {
  .how-we-work__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-we-work__card {
    min-height: 280px;
    padding: 55px 8px 70px;
  }
}

/* --------------------------------------------------------------------------
   STANDARD POST & PAGE STYLING
   -------------------------------------------------------------------------- */
.standard-page,
.single-post-page {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px 120px;
  direction: rtl;
}
.standard-page h1,
.single-post-page h1 {
  font-size: clamp(32px, 4vw, 56px);
  margin-bottom: 24px;
}
.post-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 30px;
}
.post-featured-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 40px;
  max-height: 500px;
  object-fit: cover;
}
.post-entry-content {
  font-size: 18px;
  line-height: 1.9;
}
.post-entry-content p {
  margin-bottom: 24px;
}
.footer-wrapper {
    padding-block: 20px;
}

.footer-wrapper {
    padding-block: 20px;
}

/* الوضع الفاتح */
.footer-light {
    background-color: #fff;
}
.footer-light .footer,
.footer-light .footer__title,
.footer-light .footer__links a,
.footer-light .footer__contact-item span,
.footer-light .footer__contact-item a {
    color: var(--dark-color);
}

/* الوضع الغامق العادي (كل الصفحات ما عدا الهوم) */
.footer-dark {
    background-color: var(--dark-color);
}
.footer-dark .footer{
    color: #ffffff;
}

/* استثناء خاص بالهوم بيدج فقط - بيبقى فوق الـ footer-dark العادي */
.footer-dark-home {
    background-color: var(--secondary-color);
}
/* 1. Base state: Hide the menu body and set transitions */
.light-navbar__menu-body,
.dark-navbar__menu-body {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    margin-top: 0; /* Remove margin when hidden to avoid gap */
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, max-height 0.4s ease, margin-top 0.4s ease;
}

/* 2. Hover state: Show the menu body when the parent menu is hovered */
.light-navbar__menu:hover .light-navbar__menu-body,
.light-navbar__menu--open .light-navbar__menu-body,
.dark-navbar__menu:hover .dark-navbar__menu-body,
.dark-navbar__menu--open .dark-navbar__menu-body {
    opacity: 1;
    visibility: visible;
    max-height: 1000px; /* Sufficient height for content */
    margin-top: 25px;   /* Restore margin when visible */
}

/* 3. Expand the parent container on hover */
/* This matches the styling usually found in your --open class */
.light-navbar__menu:hover {
    width: 295px;
    padding: 20px 20px 12px;
    background: var(--foreground-color, #ffffff); /* Fallback to white if variable is missing */
    box-shadow: rgba(0, 0, 0, 0.05) 0px 8px 30px;
    z-index: 1001;
}

.dark-navbar__menu:hover {
    width: 295px;
    padding: 20px 20px 12px;
    background: var(--dark-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

/* 4. Optional: Animate the trigger icon on hover */
.light-navbar__menu:hover .light-navbar__menu-trigger img,
.dark-navbar__menu:hover .dark-navbar__menu-trigger img {
    right: -5px;
    transform: rotate(-45deg);
}

/* 5. WordPress menu (wp_nav_menu) list reset */
.syt-primary-menu,
.syt-primary-menu .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
.syt-primary-menu li {
    margin: 0;
}
.syt-primary-menu .sub-menu {
    display: none;
}
.syt-primary-menu .sub-menu a {
    padding-right: 15px;
    font-size: 17px;
}
.syt-primary-menu .sub-menu a:hover {
    padding-right: 45px;
}
.syt-primary-menu .sub-menu a::after {
    right: 15px;
}
.syt-primary-menu > li:last-child > a {
    border-bottom: 0;
}

.menu-view-services__links {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.menu-view-services__links a:last-child {
    border-bottom: 0;
}
.dark-navbar__menu-content a,
.dark-navbar__menu-content button {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   MOBILE FIXES
   ========================================================================== */

/* Raw post content printed after template sections (non-Elementor posts) */
.site-main > p,
.about-page > p,
.portfolio-page > p {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (max-width: 1200px) {
  /* Blog slider: keep the "المدونة" heading above the slider */
  .blog-section__container { flex-direction: column-reverse; }
}

@media (max-width: 991px) {
  .about-cards__container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* About page header: keep text inside the purple card */
  .about-header { padding: 16px; }
  .about-header__bg { height: 420px; }
  .about-header__content { inset: 16px; margin: 0; padding: 24px; }
  .about-subtitle { font-size: 16px; line-height: 1.7; }

  /* Service page hero: stack image and text instead of absolute overlap */
  .services-hero { padding: 16px; }
  .services-hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
  }
  .services-hero__object {
    position: relative;
    top: auto;
    left: auto;
    width: min(85%, 340px);
    margin-top: 30px;
    transform: none;
  }
  .services-hero__content {
    position: relative;
    top: auto;
    left: auto;
    padding: 10px 20px 35px;
    transform: none;
  }
  .services-hero__title { margin: 10px 0; font-size: 28px; line-height: 1.4; }
  .services-hero__description { margin: 0 0 10px; font-size: 15px; line-height: 1.8; }

  /* Portfolio / case study */
  .portfolio-case__breadcrumb { margin-bottom: 25px; }
  .portfolio-case__work { margin-top: 35px; }
}

@media (max-width: 640px) {
  .case-studies-section { min-height: 0; padding: 60px 0; }
}

@media (max-width: 600px) {
  /* Home: About Us */
  .about-us { min-height: 0; padding: 80px 18px 60px; }
  .about-us__flow { font-size: 20px; line-height: 1.8; }
  .about-us__text-content { font-size: 20px; }
  .about-us__badge { min-height: 44px; padding: 7px 14px; font-size: 14px; }
  .about-us__badge-icon { width: 24px; height: 24px; }

  /* Home: blog slider */
  .blog-section { padding: 60px 18px; }
  .blog-section__container { gap: 30px; }
  .blog-section__container h1 { font-size: 36px; }
  .blog-section__transparent-box { min-height: 300px; }

  /* Home: FAQ */
  .faq__question { gap: 12px; }
  .faq__answer p { padding: 0 37px 20px 0; font-size: 14px; }
  .faq__side h2 { font-size: 30px; }

  /* Blog page */
  .blog { padding: 40px 18px 100px; }

  /* About page */
  .about-cards { padding: 50px 16px; }
  .about-cards__container { gap: 14px; }
  .about-card__icon { height: 120px; }
  .about-card__icon img { width: 70px; height: 70px; }
  .about-card h3 { margin: 15px 0 5px; font-size: 20px; }
  .about-card p { margin: 0; padding-inline: 12px; font-size: 14px; }
  .who-is-it-for { min-height: 0; margin-block: 50px; }
  .who-is-it-for__container { min-height: 0; padding: 150px 22px 60px; }
  .who-is-it-for__title { font-size: 30px; }
  .who-is-it-for__description { font-size: 14px; }
  .partners { padding: 50px 16px; }
  .partners__title { margin-bottom: 35px; }

  /* Portfolio / case study stats */
  .portfolio-stats__value { font-size: 44px; }
  .portfolio-stats__label { font-size: 13px; }

  /* Service page: "how we work" cards, one per row */
  .how-we-work { padding: 60px 20px 80px; }
  .how-we-work__title { margin-bottom: 35px; }
  .how-we-work__cards-wrapper { padding: 0; }
  .how-we-work__cards {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    min-height: 0;
  }
  .how-we-work__card {
    max-width: 330px;
    min-height: 0;
    padding: 35px 28px 40px;
  }
  .how-we-work__card--1,
  .how-we-work__card--3 { transform: rotate(2deg); }
  .how-we-work__card--2,
  .how-we-work__card--4 { transform: rotate(-2deg); }
  .how-we-work__icon { width: 90px; height: 90px; }
  .how-we-work__number { font-size: 80px; }
  .how-we-work__description { max-width: 100%; font-size: 15px; line-height: 1.8; }

  /* Single post */
  .single-post-page { padding: 40px 18px 80px; }
  .post-meta { flex-wrap: wrap; gap: 8px 16px; }
  .post-entry-content { font-size: 16px; }
}

@media (max-width: 576px) {
  /* Navbar phone tooltip: open under the button instead of off-screen */
  .light-navbar__phone-tooltip,
  .dark-navbar__phone-tooltip {
    left: 0;
    transform: translateY(-10px);
  }
  .light-navbar__phone-tooltip--open,
  .dark-navbar__phone-tooltip--open {
    transform: translateY(0);
  }
  .light-navbar__phone-tooltip::after,
  .dark-navbar__phone-tooltip::after {
    left: 20px;
  }
}
