@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0px;
  width: 100%;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-focus-ring) !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

a {
  text-decoration: none;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes rotateArrow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(180deg);
  }
}

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatDown {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(12px);
  }
}

/* Main Frame Container */
.frame {
  display: flex;
  flex-direction: column;
  width: var(--layout-width);
  max-width: var(--layout-max-width);
  height: auto;
  margin: 0 auto;
  position: relative;
}

/* Header Navigation */
.frame-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 24px 100px;
  position: sticky;
  top: 0;
  margin: 0 auto;
  background: #ffffff;
  z-index: 50;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid #f0f4f8;
}

.site-logo-text {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  color: #040516;
  text-decoration: none;
  white-space: nowrap;
}

.logo {
  width: 178px;
  height: auto;
  object-fit: contain;
}

.nav-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  justify-content: space-between;
}

.logo-desktop {
  display: block;
}

.logo-mobile {
  display: none;
}

/* Hamburger Menu */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  position: relative;
  align-items: center;
  justify-content: center;
  justify-content: center;
  color: #141212;
}

/* User Profile Dropdown Styles */
.user-menu-dropdown {
  position: relative;
  margin-inline-start: 20px;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.user-menu-btn:hover {
  background-color: #f3f9ff;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 14px;
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  min-width: 220px;
  padding: 8px;
  z-index: 1000;
  border: 1px solid #f1f1f1;
  animation: slideDown 0.2s ease-out;
  text-align: start;
}

.user-dropdown-menu li {
  list-style: none;
}

.user-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  color: #4b5563;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  width: 100%;
  box-sizing: border-box;
}

.user-dropdown-link:hover {
  background-color: #f3f9ff;
  /* Light blue hover */
  color: #337ab7;
  /* Primary color */
}

.user-dropdown-link i {
  font-size: 18px;
  color: #9ca3af;
  transition: color 0.2s;
}

.user-dropdown-link:hover i {
  color: #337ab7;
}

.divider {
  height: 1px;
  background-color: #f1f1f1;
  margin: 6px 0;
}

.user-dropdown-logout-form {
  margin: 0;
}

.user-dropdown-item-logout {
  width: 100%;
  text-align: start;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  color: #dc3545;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: all 0.2s;
  box-sizing: border-box;
}

.user-dropdown-item-logout:hover {
  background-color: #fff1f2;
}

.user-dropdown-item-logout i {
  font-size: 18px;
}

.hamburger-btn .icon-menu {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hamburger-btn .icon-close {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

.hamburger-btn.active .icon-menu {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

.hamburger-btn.active .icon-close {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.nav-list {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  /* Remove auto margin */
  padding: 0;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  position: relative;
  flex: 0 0 auto;
}

.nav-dropdown-item {
  gap: 4px;
}

.nav-link {
  position: relative;
  font-weight: 400;
  color: #374151;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.1px;
  line-height: normal;
  white-space: nowrap;
  font-family: var(--font-sans);
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #337ab7;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #337ab7;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-active {
  font-weight: 700;
  color: #337ab7;
}

.nav-link-active::after {
  width: 100%;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-services-dropdown {
  flex-wrap: wrap;
}

.nav-dropdown-chevron-btn {
  margin: 0;
  padding: 4px 4px;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: inherit;
}

.nav-services-dropdown>.dropdown-menu {
  flex-basis: 100%;
  width: 100%;
  min-width: 220px;
  padding: 6px;
  border: 1px solid #e8eef4;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.nav-services-dropdown>.dropdown-menu .dropdown-link {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.nav-services-dropdown>.dropdown-menu .dropdown-link:hover {
  padding-left: 14px;
  background-color: #f3f9ff;
}

/* Services: label + chevron on one row (matches mobile user-menu pattern) */
.nav-services-dropdown__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.nav-services-dropdown__row .nav-link {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
}

.nav-dropdown-toggle[aria-expanded="true"] .arrow-down {
  animation: rotateArrow 0.3s ease forwards;
}

.arrow-down {
  width: 10px;
  height: 10px;
  aspect-ratio: 1;
  transition: transform 0.3s ease;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  list-style: none;
  margin: 8px 0 0 0;
  padding: 12px 0;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.nav-dropdown-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: slideDown 0.3s ease;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-link {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #141212;
  font-size: 14px;
  text-align: left;
  letter-spacing: 0;
  line-height: normal;
  transition: all 0.2s ease;
}

.dropdown-link:hover {
  background-color: #f3f9ff;
  color: #337ab7;
  padding-left: 24px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  position: relative;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  cursor: pointer;
}

.language-selector:hover {
  background-color: #f3f9ff;
  border-color: #337ab7;
}

.language-dropdown-item {
  gap: 4px;
}

.global-icon,
.nav-lang-icon {
  width: 18px;
  height: 18px;
  color: #4b5563;
  flex-shrink: 0;
  stroke: currentColor;
}

.language-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-weight: 500;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.language-btn:hover {
  color: #337ab7;
}

.language-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.language-dropdown-toggle .language-label {
  white-space: nowrap;
}

.language-dropdown-toggle[aria-expanded="true"] .language-arrow {
  animation: rotateArrow 0.3s ease forwards;
}

.language-arrow {
  width: 16px;
  height: 16px;
  aspect-ratio: 1;
  transition: transform 0.3s ease;
}

/* Language Dropdown Menu */
.language-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  list-style: none;
  margin: 8px 0 0 0;
  padding: 12px 0;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.language-dropdown-item:hover .language-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: slideDown 0.3s ease;
}

.language-dropdown-menu li {
  list-style: none;
}

.language-link {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #141212;
  font-size: 14px;
  text-align: left;
  letter-spacing: 0;
  line-height: normal;
  transition: all 0.2s ease;
}

.language-link:hover {
  background-color: #f3f9ff;
  color: #337ab7;
  padding-left: 24px;
}

.language-link-active {
  background-color: #f3f9ff;
  color: #337ab7;
  font-weight: 500;
}

.sign-in-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  white-space: nowrap;
  background-color: #337ab7;
  border-radius: var(--radius-btn);
  border: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.25s ease;
  text-decoration: none;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(51, 122, 183, 0.25);
}

.sign-in-btn:hover {
  background-color: #2563a8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(51, 122, 183, 0.35);
  color: #ffffff;
}

.sign-in-btn span {
  display: block;
}

.nav-auth-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-auth-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  white-space: nowrap;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
  border: 2px solid transparent;
}

.nav-auth-cta__btn--login {
  background-color: transparent;
  border-color: #337ab7;
  color: #337ab7;
}

.nav-auth-cta__btn--login:hover {
  background-color: #f3f9ff;
  transform: translateY(-1px);
}

.nav-auth-cta__btn--start {
  background-color: #337ab7;
  border-color: #337ab7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(51, 122, 183, 0.25);
}

.nav-auth-cta__btn--start:hover {
  background-color: #2563a8;
  border-color: #2563a8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(51, 122, 183, 0.35);
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  display: flex;
  width: 100%;
  max-width: 1480px;
  align-items: center;
  padding: 60px 50px;
  margin: 50px auto;
  border-radius: 20px;
  background-color: #F3F9FF;
  min-height: 480px;
  position: relative;
  overflow-x: hidden;
  overflow-y: clip;
  overflow-clip-margin: 3.5rem 0 0 0; /* allow head / floating icons above the card; clip bottom */
}

@supports not (overflow-clip-margin: 1px) {
  .hero-section {
    padding-top: 5.75rem;
  }

  .hero-image {
    top: -1.75rem;
    height: calc(100% + 1.75rem);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  width: 52%;
  min-width: 320px;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(51, 122, 183, 0.2);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(243, 249, 255, 0.9) 45%,
      rgba(230, 242, 255, 0.82) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(51, 122, 183, 0.05),
    0 6px 22px rgba(51, 122, 183, 0.11),
    0 0 0 1px rgba(126, 200, 239, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.badge:hover {
  border-color: rgba(51, 122, 183, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 28px rgba(51, 122, 183, 0.16),
    0 0 0 1px rgba(126, 200, 239, 0.22);
  transform: translateY(-2px);
}

.badge-text {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--color-primary, #337ab7);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.badge-text::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary, #337ab7);
  box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.22);
  animation: hero-status-dot-pulse 2.2s ease-in-out infinite;
}

html[dir="rtl"] .badge-text,
.dir-rtl .badge-text {
  flex-direction: row-reverse;
  letter-spacing: 0;
  line-height: 1.55;
}

.hero-title {
  position: relative;
  width: 100%;
  max-width: 583px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: transparent;
  font-size: 48px;
  letter-spacing: 0;
  line-height: 63px;
  margin: 0;
}

.hero-title .text-dark {
  color: #141212;
}

.hero-title .text-primary {
  color: #337ab7;
}

.hero-subtitle {
  display: block;
  width: 100%;
  max-width: 522px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--color-primary, #337ab7);
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  line-height: 1.75;
  margin: 0;
}

html[dir="rtl"] .hero-subtitle,
.dir-rtl .hero-subtitle {
  line-height: 1.85;
}

@keyframes hero-status-dot-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.22);
  }

  50% {
    opacity: 0.92;
    box-shadow: 0 0 0 5px rgba(51, 122, 183, 0.1);
  }
}

.hero-buttons {
  display: inline-flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  flex: 0 0 auto;
}

/* Hero & legacy pages — size tweaks on top of .fh-btn */
.hero-btn,
.btn-primary {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
}

/* Hero Image */
.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 45%;
  z-index: 1;
}

.hero-image-composite {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url('../assets/image/hero-bg.png');
  background-size: cover;
  background-position: center;
}

/* Heavy light overlay — makes dark office look like a soft bright room */
.hero-image-composite::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(243, 249, 255, 0.76);
  z-index: 1;
  pointer-events: none;
}

/* Left-to-right blend: solid blue → fully transparent; office only shows on the right */
.hero-image-composite::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      #F3F9FF 0%,
      rgba(243, 249, 255, 0.95) 12%,
      rgba(243, 249, 255, 0.55) 30%,
      rgba(243, 249, 255, 0.10) 55%,
      transparent 75%);
  z-index: 2;
  pointer-events: none;
}

/* Person image – centered within the image area, full height */
.main-image {
  position: absolute;
  bottom: -160px;
  left: 50%;
  transform: translateX(-50%);
  height: fit-content;
  width: 85%;
  object-fit: cover;
  object-position: bottom center;
  z-index: 3;
}

.badge-overlay {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(51, 122, 183, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  font-family: var(--font-sans);
  z-index: 4;
  white-space: nowrap;
}

.badge-overlay-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e8f4ff, #d0e8ff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #337ab7;
}

.badge-overlay-icon svg {
  display: block;
  flex-shrink: 0;
}

.badge-overlay-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.badge-overlay-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.1px;
  line-height: 1.3;
}

.badge-overlay-sub {
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.3;
}

/* Bottom-left badge – floats DOWN then up */
.badge-overlay-1 {
  bottom: 18%;
  left: 8%;
  animation: floatDown 4s ease-in-out infinite;
  animation-delay: 0.6s;
}

/* Right-middle badge – floats UP then down */
.badge-overlay-2 {
  top: 40%;
  right: 2%;
  animation: floatUp 4s ease-in-out infinite;
  animation-delay: 2s;
}

/* ai-idea (lightbulb) – floats UP then down */
.ai-idea {
  position: absolute;
  top: 6%;
  right: 18%;
  width: 54px;
  height: 54px;
  background-color: #ddeeff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(51, 122, 183, 0.25);
  z-index: 4;
  animation: floatUp 3.5s ease-in-out infinite;
}

.ai-idea img {
  width: 30px;
  height: 30px;
}

/* ai-programming (code) – floats DOWN then up, offset from ai-idea */
.ai-programming {
  position: absolute;
  top: 32%;
  left: 6%;
  width: 50px;
  height: 50px;
  background-color: #ddeeff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(51, 122, 183, 0.25);
  z-index: 4;
  animation: floatDown 3.5s ease-in-out infinite;
  animation-delay: 1.2s;
}

.ai-programming img {
  width: 26px;
  height: 26px;
}

/* Hero RTL: portrait on the left, copy on the right (mirror of LTR layout) */
html[dir="rtl"] .hero-section,
.dir-rtl .hero-section {
  justify-content: flex-start;
}

html[dir="rtl"] .hero-image,
.dir-rtl .hero-image {
  right: auto;
  left: 0;
  width: 46%;
}

html[dir="rtl"] .main-image,
.dir-rtl .main-image {
  width: 80%;
}

html[dir="rtl"] .hero-image-composite::before,
.dir-rtl .hero-image-composite::before {
  background: linear-gradient(to left,
      #F3F9FF 0%,
      rgba(243, 249, 255, 0.95) 12%,
      rgba(243, 249, 255, 0.55) 30%,
      rgba(243, 249, 255, 0.10) 55%,
      transparent 75%);
}

html[dir="rtl"] .hero-content,
.dir-rtl .hero-content {
  position: absolute;
  top: 50%;
  right: 50px;
  left: auto;
  width: 48%;
  max-width: 620px;
  min-width: 280px;
  transform: translateY(-50%);
  align-items: flex-start;
  text-align: right;
  margin: 0;
  padding-inline-start: 16px;
  box-sizing: border-box;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subtitle,
.dir-rtl .hero-title,
.dir-rtl .hero-subtitle {
  width: 100%;
  max-width: 100%;
  text-align: right;
  align-self: stretch;
}

html[dir="rtl"] .hero-buttons,
.dir-rtl .hero-buttons {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  direction: rtl;
}

html[dir="rtl"] .badge,
.dir-rtl .badge {
  padding: 11px 26px;
}

html[dir="rtl"] .badge-overlay-1,
.dir-rtl .badge-overlay-1 {
  left: auto;
  right: 8%;
}

html[dir="rtl"] .badge-overlay-2,
.dir-rtl .badge-overlay-2 {
  right: auto;
  left: 2%;
}

html[dir="rtl"] .ai-idea,
.dir-rtl .ai-idea {
  right: auto;
  left: 18%;
}

html[dir="rtl"] .ai-programming,
.dir-rtl .ai-programming {
  left: auto;
  right: 6%;
}

/* Divider Line */
.divider-line {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 1px;
  background-color: #e5e7eb;
  z-index: 10;
  margin: 0 auto;
}

/* Ellipse Background */
.ellipse-right {
  position: absolute;
  right: 0;
  width: 707px;
  height: 707px;
  border-radius: 353.5px;
  filter: blur(100px);
  background: linear-gradient(342deg,
      rgba(51, 122, 183, 0.02) 0%,
      rgba(0, 46, 125, 0.09) 100%);
  z-index: -1;
}

.ellipse-left {
  position: absolute;
  right: 0;
  width: 707px;
  height: 707px;
  border-radius: 353.5px;
  filter: blur(100px);
  background: linear-gradient(342deg,
      rgba(51, 122, 183, 0.02) 0%,
      rgba(0, 46, 125, 0.09) 100%);
  z-index: -1;
}

.ellipse-about {
  position: absolute;
  left: 0;
  width: 589px;
  height: 640px;
  border-radius: 353.5px;
  filter: blur(100px);
  background: linear-gradient(342deg, rgba(51, 122, 183, 0.02) 0%, rgb(0 46 125 / 42%) 100%);
  z-index: -1;
  top: -23px;
}

.ellipse-image {
  position: absolute;
  left: -45px;
  top: -40px;
  width: 645px;
  height: 645px;
  z-index: 0;
}

.ellipse-course {
  position: absolute;
  left: -110px;
  width: 589px;
  height: 640px;
  border-radius: 353.5px;
  filter: blur(100px);
  background: linear-gradient(342deg, rgba(51, 122, 183, 0.02) 0%, rgb(0 46 125 / 23%) 100%);
  z-index: -1;
  top: -23px;
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
  width: 100%;
  max-width: 1480px;
  align-items: stretch;
  justify-items: center;
  padding: 40px 48px;
  margin: 60px auto;
  background: linear-gradient(145deg, #ffffff 0%, #f6f9fc 55%, #ffffff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(51, 122, 183, 0.1);
  box-shadow:
    0 4px 24px rgba(51, 34, 93, 0.06),
    0 20px 48px rgba(51, 34, 93, 0.08);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #337ab7 0%, #5eb0f8 50%, #337ab7 100%);
  opacity: 0.85;
}

.stat-item {
  gap: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  background-color: rgba(51, 122, 183, 0.04);
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(51, 122, 183, 0.15) 20%,
    rgba(51, 122, 183, 0.15) 80%,
    transparent 100%
  );
}

.stat-icon {
  width: 90px;
  height: 90px;
  aspect-ratio: 1;
}

.stat-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  position: relative;
  flex: 0 0 auto;
  background: linear-gradient(145deg, #eef4fa 0%, #f8fafc 100%);
  border: 1px solid rgba(51, 122, 183, 0.12);
  border-radius: var(--radius-btn);
  box-shadow: 0 6px 16px rgba(51, 122, 183, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:hover .stat-icon-wrapper {
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(51, 122, 183, 0.14);
}

.stat-icon-svg {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #337ab7;
}

.stat-icon-svg svg {
  width: 100%;
  height: 100%;
}

.stat-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
}

.stat-number {
  position: relative;
  align-self: stretch;
  margin-top: -1px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #1e1e1e;
  font-size: 40px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.stat-label {
  position: relative;
  width: 100%;
  max-width: 236px;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #424242;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: 26px;
}

/* About Section */
.about-section {
  display: flex;
  align-items: center;
  gap: 78px;
  width: 100%;
  max-width: 1480px;
  margin: 80px auto 0;
  padding: 0 48px;
  position: relative;
}

.about-image {
  position: relative;
  width: 467px;
  height: 542px;
}

.about-content {
  display: flex;
  flex-direction: column;
  width: 735px;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}

.about-title {
  position: relative;
  width: 583px;
  margin-top: -1px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: transparent;
  font-size: 48px;
  letter-spacing: 0;
  line-height: 63px;
  margin-bottom: 0;
}

.about-title .text-dark {
  color: #141212;
}

.about-title .text-primary {
  color: #337ab7;
}

.about-text {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #373c40;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 27px;
  margin: 0;
}

.btn-download {
  width: 208px;
  flex: 0 0 auto;
  margin-top: 12px;
}

/* ===== SECTION 2: SERVICES ===== */

.services-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1480px;
  align-items: flex-start;
  gap: 32px;
  padding: 0 48px;
  margin: 80px auto 0;
  position: relative;
}

.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.services-title {
  position: relative;
  width: fit-content;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: transparent;
  font-size: 48px;
  letter-spacing: 0;
  line-height: 63px;
}

.services-title .text-dark {
  color: #141212;
}

.services-title .text-primary {
  color: #337ab7;
}

.services-cta {
  min-width: 209px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  align-self: stretch;
  width: 100%;
  padding: 4px 0 8px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  position: relative;
  min-height: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px -8px rgba(52, 37, 94, 0.1);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #337ab7 0%, #5a9fd4 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(51, 122, 183, 0.2);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 24px 56px -12px rgba(51, 122, 183, 0.22);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--empty {
  grid-column: 1 / -1;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
}

.service-card--empty p {
  margin: 0;
  color: #6b7280;
  font-size: 18px;
}

.service-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(51, 122, 183, 0.08);
  flex-shrink: 0;
  transition: background 0.28s ease, transform 0.28s ease;
}

.service-card:hover .service-icon-wrapper {
  background: rgba(51, 122, 183, 0.12);
  transform: scale(1.04);
}

.service-icon-wrapper img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.service-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.service-title {
  width: 100%;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #111827;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-description {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-link {
  min-width: 167px;
  margin-top: auto;
  flex-shrink: 0;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    gap 0.25s ease;
  font-family: var(--font-sans);
  font-weight: 500;
  color: #337ab7;
  font-size: 16px;
}

.service-link-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.service-link:hover {
  background-color: rgba(51, 122, 183, 0.16);
}

.service-link:hover .fh-btn__icon {
  transform: translateX(3px);
}

html:not([dir="rtl"]) .service-link:hover .fh-btn__icon {
  transform: rotate(180deg) translateX(-3px);
}

@media (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 639px) {
  .services-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .services-grid .service-card {
    flex: 0 0 min(88%, 300px);
    scroll-snap-align: start;
  }

}

/* ===== SECTION 2: WHAT I OFFER ===== */

.what-i-offer-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1480px;
  align-items: center;
  gap: 48px;
  padding: 0 48px;
  margin: 80px auto 0;
  position: relative;
}

.what-i-offer-title {
  position: relative;
  width: fit-content;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: transparent;
  font-size: 48px;
  text-align: center;
  letter-spacing: 0;
  line-height: 63px;
}

.what-i-offer-title .text-dark {
  color: #040516;
}

.what-i-offer-title .text-primary {
  color: #337ab7;
}

.offer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.offer-swiper-wrap {
  display: none;
  width: 100%;
  align-self: stretch;
}

.offer-swiper-wrap .offer-cards,
.offer-swiper-wrap .offer-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 4px 56px;
  box-sizing: border-box;
}

.offer-swiper-wrap .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}

.offer-swiper-wrap .offer-card {
  width: 100%;
  max-width: none;
}

@media (min-width: 1025px) {
  .offer-swiper-wrap {
    display: none !important;
  }

  .offer-grid--desktop,
  .tools-grid--desktop {
    display: grid;
  }

  .offer-grid--desktop {
    display: flex;
  }
}

.offer-row {
  display: flex;
  align-items: stretch;
  gap: 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.offer-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  background: #efefef33;
  box-shadow: 0 2px 12px rgb(0 0 0 / 4%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
}

.offer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  order: 1;
}

.offer-title {
  position: relative;
  width: fit-content;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #141212;
  font-size: 24px;
  letter-spacing: 0;
  line-height: normal;
}

.offer-description {
  position: relative;
  width: 100%;
  max-width: 459px;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #373c40;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 28px;
}

/* Icon frame: Figma linear gradient stroke (inner 1.11px), soft fill */
.offer-icon {
  position: relative;
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  align-self: flex-start;
  order: 2;
  border-radius: 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1.11px solid transparent;
  background:
    linear-gradient(180deg, #f6f7fb, #f6f7fb) padding-box,
    linear-gradient(180deg, rgb(143 164 252 / 55%) 0%, rgb(175 191 255 / 19%) 100%) border-box;
  background-clip: padding-box, border-box;
}

.offer-icon img {
  width: 100%;
  height: 100%;
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
}

@media (min-width: 769px) {
  .offer-row .offer-card .offer-content>.read-more-btn {
    margin-top: auto;
    align-self: flex-start;
    padding-top: 4px;
  }
}

.read-more-btn {
  font-size: 0.8125rem;
  padding: 10px 14px;
}

.read-more-btn:hover {
  transform: translateX(2px);
}

/* Offer detail modal */
body.offer-modal-open {
  overflow: hidden;
}

.offer-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.offer-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.offer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(4 5 22 / 50%);
}

.offer-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(85vh, 640px);
  overflow-y: auto;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgb(4 5 22 / 15%);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.offer-modal.is-open .offer-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.offer-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.offer-modal__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.offer-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  padding: 18px;
  border-radius: 14px;
  border: 1.11px solid transparent;
  background:
    linear-gradient(180deg, #f6f7fb, #f6f7fb) padding-box,
    linear-gradient(180deg, rgb(143 164 252 / 55%) 0%, rgb(175 191 255 / 19%) 100%) border-box;
  background-clip: padding-box, border-box;
}

.offer-modal__icon img {
  width: 100%;
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
}

.offer-modal__title {
  margin: 0 0 16px;
  padding: 0 28px;
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 700;
  color: #141212;
  line-height: 1.3;
}

.offer-modal__description {
  text-align: left;
  color: #373c40;
  font-size: 15px;
  line-height: 1.65;
}

.offer-modal__description p {
  margin: 0 0 1em;
}

.offer-modal__description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .offer-modal {
    padding: 16px;
    align-items: center;
  }

  .offer-modal__panel {
    max-height: min(85vh, 640px);
    padding: 24px 18px 20px;
    border-radius: 16px;
  }

  .offer-modal__title {
    padding: 0 20px;
  }
}

/* ===== SECTION 2: TOOLS ===== */

.tools-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1480px;
  align-items: flex-start;
  gap: 48px;
  padding: 0 48px;
  margin: 80px auto 0;
  position: relative;
}

.tools-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.tools-title {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #040516;
  font-size: 48px;
  letter-spacing: 0;
  line-height: normal;
}

.tools-cta:hover {
  transform: translateX(4px);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

/* Homepage tools: max 4 in grid (tablet/desktop), Swiper + dots on mobile */
.tools-section--has-mobile-slider .tools-grid--desktop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tools-swiper-wrap {
  display: none;
  width: 100%;
  align-self: stretch;
}

.tools-swiper-wrap .tools-cards,
.tools-swiper-wrap .tools-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 4px 0 56px;
  box-sizing: border-box;
}

.tools-swiper-wrap .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}

.tools-swiper-wrap .swiper-slide .tool-card {
  width: 100%;
  height: 100%;
  margin: 0;
}

@media (min-width: 769px) {
  .tools-section--has-mobile-slider .tools-grid--desktop {
    display: grid !important;
  }

  .tools-section--has-mobile-slider .tools-swiper-wrap {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .tools-section--has-mobile-slider .tools-grid--desktop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .tools-section--has-mobile-slider .tools-grid--desktop {
    display: none !important;
  }

  .tools-section--has-mobile-slider .tools-swiper-wrap {
    display: block !important;
    width: 100%;
  }

  .tools-swiper-wrap .tools-cards,
  .tools-swiper-wrap .tools-swiper {
    padding: 4px 0 58px;
  }
}

.tools-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 24px;
  color: #6b7280;
}

.tool-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  position: relative;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0px 8px 32px 0px rgba(31, 38, 135, 0.1);
  transition: all 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 16px 48px 0px rgba(31, 38, 135, 0.2);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.6) 100%);
}

.tool-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.tool-title {
  position: relative;
  width: fit-content;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  color: #000000;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
}

.tool-description {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #373c40;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 22px;
}

.tool-link:hover {
  transform: translateX(4px);
}

.tool-icon {
  position: relative;
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.tool-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.11px;
  border-radius: 19px;
  background: linear-gradient(180deg,
      rgba(143, 164, 252, 0.55) 0%,
      rgba(175, 191, 255, 0.19) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  pointer-events: none;
}

.tool-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* ===== SECTION 2: COURSES ===== */

.courses-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1480px;
  align-items: flex-start;
  gap: 40px;
  padding: 0 48px;
  margin: 80px auto 0;
  position: relative;
  box-sizing: border-box;
}

.courses-section--carousel {
  gap: 36px;
  width: 100%;
  max-width: 1480px;
  margin: 80px auto 0;
  padding: 0 48px;
  background: none;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

.courses-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.courses-title {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #040516;
  font-size: 48px;
  letter-spacing: 0;
  line-height: normal;
}

.courses-cta:hover {
  transform: translateX(4px);
}

.courses-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.courses-carousel-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.courses-swiper-wrap {
  position: relative;
  align-self: stretch;
  width: 100%;
  overflow: visible;
}

.courses-section--carousel .courses-cards,
.courses-section--carousel .courses-swiper {
  position: relative;
  align-self: stretch;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
  padding: 24px 0 64px !important;
  box-sizing: border-box;
}

.courses-section--carousel .courses-swiper .swiper-wrapper {
  align-items: stretch;
}

.related-navigation {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #141212;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.nav-button:hover {
  background-color: #f3f9ff;
  border-color: #337ab7;
  color: #337ab7;
  transform: translateY(-2px);
}

.nav-button:disabled,
.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  background-color: #f9fafb;
  border-color: #e5e7eb;
  color: #9ca3af;
}

.courses-swiper .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
  overflow: visible;
}

.courses-swiper .course-card-link,
.courses-swiper .course-card {
  width: 100%;
  height: 100%;
}

.courses-section--carousel .course-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.courses-section--carousel .course-card:hover {
  position: relative;
  z-index: 3;
  transform: translateY(-6px);
}

.courses-section--carousel .course-card[data-badge="featured"]:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow:
    0 8px 24px rgba(245, 158, 11, 0.12),
    0 20px 48px rgba(31, 38, 135, 0.12);
}

.courses-section--carousel .course-card[data-badge="sale"]:hover {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow:
    0 8px 24px rgba(239, 68, 68, 0.12),
    0 20px 48px rgba(31, 38, 135, 0.12);
}

.courses-pagination {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute !important;
  bottom: 18px !important;
  left: 0;
  width: 100%;
  z-index: 10;
  opacity: 1 !important;
  visibility: visible !important;
}

.courses-pagination.swiper-pagination-lock {
  display: flex !important;
  opacity: 1 !important;
}

.courses-pagination.swiper-pagination {
  width: 100%;
}

.courses-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: rgba(51, 122, 183, 0.22);
  border-radius: 999px;
  opacity: 1;
  margin: 0 5px !important;
  transition:
    width 0.28s ease,
    height 0.28s ease,
    background-color 0.28s ease,
    opacity 0.28s ease;
}

.courses-pagination .swiper-pagination-bullet:hover {
  background-color: rgba(51, 122, 183, 0.45);
}

.courses-pagination .swiper-pagination-bullet-active,
.home-slider-pagination .swiper-pagination-bullet-active {
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background-color: #337ab7;
}

/* Shared dot pagination (courses, offers, tools — like reviews) */
.home-slider-pagination,
.offer-pagination,
.tools-pagination {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute !important;
  bottom: 18px !important;
  left: 0;
  width: 100%;
  z-index: 10;
  opacity: 1 !important;
  visibility: visible !important;
}

.home-slider-pagination .swiper-pagination-bullet,
.offer-pagination .swiper-pagination-bullet,
.tools-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: rgba(51, 122, 183, 0.22);
  border-radius: 999px;
  opacity: 1;
  margin: 0 5px !important;
  transition:
    width 0.28s ease,
    background-color 0.28s ease;
}

.home-slider-pagination .swiper-pagination-bullet-active,
.offer-pagination .swiper-pagination-bullet-active,
.tools-pagination .swiper-pagination-bullet-active {
  width: 26px;
  background-color: #337ab7;
}

.courses-pagination .swiper-pagination-bullet:only-child {
  display: inline-block !important;
}

.courses-pagination.swiper-pagination-hidden {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (min-width: 1024px) {
  .courses-section--carousel .courses-cards,
  .courses-section--carousel .courses-swiper {
    padding-bottom: 72px !important;
  }

  .courses-pagination {
    bottom: 22px !important;
    display: flex !important;
  }
}

.courses-empty {
  text-align: center;
  padding: 48px 24px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed #e5e7eb;
}

.courses-empty p {
  margin: 0;
  color: #6b7280;
  font-size: 18px;
}

.courses-empty--grid {
  grid-column: 1 / -1;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.course-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  position: relative;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0px 8px 32px 0px rgba(31, 38, 135, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 16px 48px 0px rgba(31, 38, 135, 0.15);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.8) 100%);
  border-color: rgba(51, 122, 183, 0.2);
}

.course-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin: 0;
  flex-shrink: 0;
  border-radius: 12px 12px 0 0;
}

.course-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.course-card .badge-container {
  top: 12px;
  right: 12px;
  z-index: 2;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.course-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.course-card .course-title {
  width: 100%;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #000000;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
  max-height: calc(1.35em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.course-instructor {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  color: #6a6e83;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 16px;
}

.course-instructor .text-dark {
  font-weight: 600;
}

.course-instructor .text-primary {
  color: #337ab7;
  font-weight: 600;
}

.course-progress {
  position: relative;
  width: 100%;
  height: 3px;
  background-color: #e0f2fe;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40%;
  background-color: #1e62c8;
  border-radius: 3px;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.stars {
  display: flex;
  gap: 3px;
}

.stars img {
  width: 16px;
  height: 16px;
}

.reviews {
  font-family: var(--font-sans);
  font-weight: 400;
  color: #6a6e83;
  font-size: 12px;
}

.course-meta {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #6a6e83;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 16px;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  gap: 8px;
  flex-direction: column;
}

.course-price {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #337ab7;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
}

.course-button {
  flex: 1;
  padding: 13px 16px;
  background: linear-gradient(135deg, #337ab7 0%, #1e62c8 100%);
  color: white;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

.course-button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 16px rgba(30, 98, 200, 0.3);
}

/* ===== SECTION 2: CLIENTS ===== */

.clients-section {
  display: flex;
  flex-direction: column;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef1f5 0%, #f5f7fa 48%, #eef1f5 100%);
  margin-top: 80px;
  padding: 80px 0 88px;
  border-block: 1px solid rgba(15, 23, 42, 0.06);
}

.clients-title {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #040516;
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.clients-marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 16px 0 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: fadeIn 0.8s ease-out;
  /* Marquee must stay LTR so rows scroll correctly in Arabic/RTL pages */
  direction: ltr;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.clients-marquee-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  will-change: transform;
  animation-timing-function: linear;
}

.clients-marquee-row.marquee-row-reverse {
  margin-inline-start: -48px;
}

a.client-card {
  text-decoration: none;
  color: inherit;
}

a.client-card:focus-visible {
  outline: 2px solid #337ab7;
  outline-offset: 3px;
  border-radius: 12px;
}

.client-card {
  flex-shrink: 0;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(140px, 15vw, 180px);
  min-width: 140px;
  max-width: 180px;
  height: 100px;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 8px 24px -4px rgba(15, 23, 42, 0.08);
}

.client-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(51, 122, 183, 0.06) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.client-card:hover::before {
  opacity: 1;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 12px rgba(51, 122, 183, 0.1),
    0 16px 36px -8px rgba(51, 122, 183, 0.18);
  border-color: rgba(51, 122, 183, 0.28);
}

.client-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(128px, 100%);
  max-height: 56px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%) contrast(0.95);
  opacity: 0.72;
  transition:
    filter 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.client-card:hover img {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
  transform: scale(1.05);
}

.animate-scroll {
  animation: marquee 60s linear infinite;
}

.animate-scroll.marquee-row-reverse {
  animation: marquee-reverse 70s linear infinite;
}

.clients-marquee-row:hover {
  animation-play-state: paused;
}

.clients-marquee-container:hover .client-card {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.clients-empty-state {
  text-align: center;
  padding: 40px;
  width: 100%;
}

.clients-empty-state p {
  color: #999;
  font-size: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .clients-marquee-row {
    animation: none !important;
  }

  .client-card {
    transition: none;
  }

  .client-card:hover {
    transform: none;
  }

  .ai-idea,
  .ai-programming,
  .badge-overlay-1,
  .badge-overlay-2 {
    animation: none !important;
  }

  .badge-text::before {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .clients-section {
    padding: 64px 0 72px;
    gap: 32px;
  }

  .clients-marquee-container {
    gap: 24px;
    padding: 14px 0 10px;
  }

  .client-card {
    width: clamp(128px, 20vw, 168px);
    min-width: 128px;
    max-width: 168px;
    height: 88px;
    padding: 18px 22px;
  }

  .client-card img {
    max-height: 50px;
    max-width: min(116px, 100%);
  }

  .clients-marquee-row.marquee-row-reverse {
    margin-inline-start: -32px;
  }

  .animate-scroll {
    animation-duration: 50s;
  }

  .animate-scroll.marquee-row-reverse {
    animation-duration: 60s;
  }
}

@media (max-width: 640px) {
  .clients-section {
    gap: 28px;
    padding: 52px 0 60px;
  }

  .clients-title {
    letter-spacing: 0.08em;
  }

  .clients-marquee-container {
    gap: 18px;
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 4%,
      #000 96%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 4%,
      #000 96%,
      transparent 100%
    );
  }

  .clients-marquee-row {
    gap: 14px;
  }

  .clients-marquee-row.marquee-row-reverse {
    margin-inline-start: -24px;
  }

  .client-card {
    width: clamp(120px, 36vw, 148px);
    min-width: 120px;
    max-width: 148px;
    height: 80px;
    padding: 16px 20px;
    border-radius: 10px;
  }

  .client-card img {
    max-height: 44px;
    max-width: min(104px, 100%);
  }

  .animate-scroll {
    animation-duration: 40s;
  }

  .animate-scroll.marquee-row-reverse {
    animation-duration: 50s;
  }
}

/* ===== SECTION 3: CLIENTS FEEDBACK ===== */

.home-feedback.feedback-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* max-width: 1480px; */
  align-items: center;
  gap: 32px;
  margin: 80px auto 0;
  position: relative;
  /* overflow-x: clip; */
}

.feedback-title {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #040516;
  font-size: 48px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.feedback-cards {
  position: relative;
  align-self: stretch;
  width: calc(100% + 80px);
  margin-left: -20px;
  margin-right: -20px;
  overflow: hidden;
  padding: 52px 32px 48px !important;
}

.feedback-cards .swiper-wrapper {
  align-items: stretch;
}

.feedback-cards .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  overflow: visible;
  box-sizing: border-box;
}

.feedback-card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  gap: 10px;
  position: relative;
  overflow: visible;
  width: 100%;
  height: auto;
  margin-top: 38px;
  padding: 40px 20px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 14px;
  border: 1px solid rgba(51, 122, 183, 0.1);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.04),
    0 16px 48px rgba(51, 122, 183, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feedback-card:hover {
  transform: translateY(-3px);
  border-color: rgba(51, 122, 183, 0.2);
  box-shadow:
    0 8px 24px rgba(51, 122, 183, 0.1),
    0 24px 56px rgba(15, 23, 42, 0.08);
}

/* Avatar: half above card top, half inside */
.feedback-client {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
}

.feedback-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px rgba(51, 122, 183, 0.12),
    0 10px 28px rgba(15, 23, 42, 0.14);
}

.feedback-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  align-self: stretch;
  width: 100%;
  margin: 14px 0 0;
  padding: 0;
  border: none;
}

.feedback-divider,
.feedback-content hr {
  border: none;
  height: 1px;
  width: 100%;
  max-width: 200px;
  margin: 2px auto 0;
  background: linear-gradient(90deg,
      transparent,
      rgba(51, 122, 183, 0.22),
      transparent);
}

.feedback-quote {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(155deg,
      rgba(51, 122, 183, 0.18),
      rgba(51, 122, 183, 0.05));
}

.feedback-quote img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.92;
}

.feedback-text {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #4b5563;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feedback-line {
  position: relative;
  width: 273px;
  height: 1px;
  object-fit: cover;
}

.feedback-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  position: relative;
  align-self: stretch;
  width: 100%;
  margin-top: auto;
}

.feedback-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
}

.feedback-stars img {
  width: 18px;
  height: 18px;
}

.feedback-name {
  position: relative;
  margin: 2px 0 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #111827;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.35;
}

.feedback-role {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  line-height: 1.4;
}

.feedback-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute !important;
  bottom: 15px !important;
  left: 0;
  width: 100%;
  z-index: 10;
}

.feedback-pagination.swiper-pagination {
  width: 100%;
}

.feedback-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: rgba(51, 122, 183, 0.22);
  border-radius: 999px;
  opacity: 1;
  margin: 0 5px !important;
  transition:
    width 0.28s ease,
    height 0.28s ease,
    background-color 0.28s ease,
    opacity 0.28s ease;
}

.feedback-pagination .swiper-pagination-bullet:hover {
  background-color: rgba(51, 122, 183, 0.45);
}

.feedback-pagination .swiper-pagination-bullet-active {
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background-color: #337ab7;
}

.pagination-dot {
  width: 14px;
  height: 14px;
  background-color: rgba(51, 122, 183, 0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.pagination-dot:hover {
  background-color: rgba(51, 122, 183, 0.3);
}

.pagination-dot.active {
  width: 18px;
  height: 18px;
  background-color: #337ab7;
}

@media (max-width: 1024px) {
  .feedback-cards {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 8px 12px 56px !important;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .feedback-cards {
    padding: 44px 12px 58px !important;
    overflow: hidden;
  }

  .feedback-pagination {
    bottom: 18px !important;
  }
}

@media (max-width: 480px) {
  .feedback-cards {
    padding: 40px 8px 52px !important;
    overflow: hidden;
  }

  .feedback-client {
    width: 64px;
    height: 64px;
  }

  .feedback-card {
    margin-top: 32px;
    padding: 36px 14px 24px;
  }
}

/* ===== SECTION 3: CONTACT US ===== */

.contact-section {
  display: flex;
  align-items: flex-start;
  padding: 80px 48px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  gap: 48px;
  position: relative;
}

.contact-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
}

/* Contact Form */
.contact-form-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-title {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #161616;
  font-size: 48px;
  letter-spacing: 0;
  line-height: normal;
}

.contact-subtitle {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #373c40;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
  width: 100%;
  max-width: 720px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 24px;
  width: 100%;
}

.contact-form .form-input,
.contact-form .form-textarea {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d2d6db;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  color: #373c40;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: #a0a6ac;
}

.form-input:focus {
  outline: none;
  border-color: #337ab7;
  box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d2d6db;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  color: #373c40;
  background-color: #ffffff;
  resize: vertical;
  min-height: 120px;
  transition: all 0.3s ease;
}

.form-textarea::placeholder {
  color: #a0a6ac;
}

.form-textarea:focus {
  outline: none;
  border-color: #337ab7;
  box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.1);
}

.contact-submit-btn {
  padding: 12px 32px;
  background-color: #337ab7;
  color: white;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 8px;
}

.contact-submit-btn:hover {
  background-color: #2563a8;
  transform: translateY(-2px);
  box-shadow: 0px 10px 30px rgba(51, 122, 183, 0.2);
}

/* Contact Info */
.contact-info-wrapper {
  flex: 0 1 416px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  top: 40px;
  width: min(416px, 100%);
  max-width: 100%;
  padding: 40px;
  position: relative;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid;
  border-color: #d2d6db;
  align-items: flex-start;
}

.contact-info-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-title {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #161616;
  font-size: 24px;
  letter-spacing: 0;
  line-height: normal;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.contact-info-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info-label {
  position: relative;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  color: #161616;
  font-size: 14px;
  letter-spacing: 0;
  line-height: normal;
}

.contact-info-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-link {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #373c40;
  font-size: 14px;
  letter-spacing: 0;
  line-height: normal;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: #337ab7;
  transform: translateX(4px);
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;

  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-2px);
}

.social-icon img,
.social-icon i {
  width: 16.25px;
  height: 16.25px;
  font-size: 16.25px;
  line-height: 1;
  color: #337ab7;
}

/* ===== SECTION 3: FOOTER ===== */

.footer-section {
  width: 100%;
  margin-top: 80px;
  background-color: #0a1128; /* dark blue */
  color: #ffffff;
  padding: 60px 0 30px;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-hr-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.footer-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand-icon {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
}

@media (min-width: 1024px) {
  .footer-brand-icon {
    height: 80px;
  }
}

.footer-middle-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  margin-bottom: 50px;
  align-items: center;
}

.footer-mid-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-mid-left {
  align-items: flex-end;
  text-align: right;
}

.footer-mid-center {
  align-items: center;
  position: relative;
  gap: 30px;
}

.footer-mid-right {
  align-items: flex-start;
  text-align: left;
}

.footer-editorial-link {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-editorial-link:hover {
  color: #ffffff;
}

.footer-editorial-desc {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 250px;
  line-height: 1.6;
}

.footer-social-icons-bare {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-social-bare-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-social-bare-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-vr-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright-text {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.15em;
  margin: 0;
}

.footer-back-to-top-bare {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-back-to-top-bare:hover {
  color: #ffffff;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-middle-row {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-mid-left,
  .footer-mid-right {
    align-items: center;
    text-align: center;
  }

  .footer-top-row {
    gap: 20px;
  }
  
  .footer-hr-line {
    flex: 0 1 40px;
  }

  .footer-vr-line {
    display: none;
  }

  .footer-bottom-content {
    flex-direction: column-reverse;
    gap: 20px;
  }
}

.footer-link.blog-link {
  color: #64748b;
}

.footer-link.blog-link:hover {
  color: #337ab7;
}

.footer-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Pre-collapse (1200px and under): reduce spacing before hamburger */
@media (max-width: 1200px) {
  .frame-header {
    padding: 16px 24px;
  }

  .nav-list {
    gap: 12px;
  }

  .nav-item {
    padding: 6px;
  }

  .nav-link {
    font-size: 15px;
  }

  .stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    padding: 36px 32px;
  }

  .stat-item {
    max-width: none;
  }

  .stat-item::after {
    display: none;
  }

  .footer-section {
    padding: 48px 32px;
  }

  .footer-content {
    gap: 48px;
    padding: 0 32px;
  }

  .footer-links {
    max-width: none;
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
    width: 100%;
  }
}

/* Tablet and below (1024px and under) */
@media (max-width: 1024px) {
  .frame {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
  }

  .ellipse-about {
    left: auto;
  }

  /* Let .frame control horizontal gutters on mobile/tablet */
  .services-section,
  .what-i-offer-section,
  .tools-section {
    padding: 0;
  }

  .offer-grid--desktop {
    display: none !important;
  }

  .offer-swiper-wrap {
    display: block !important;
    min-height: 120px;
  }

  .offer-swiper-wrap .offer-cards,
  .offer-swiper-wrap .offer-swiper {
    width: 100%;
    margin-inline: 0;
    padding: 4px 0 58px;
    box-sizing: border-box;
  }

  .offer-swiper-wrap .swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .offer-swiper-wrap .swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 88%;
    max-width: 100%;
    width: auto;
    height: auto;
  }

  .courses-section,
  .courses-section--carousel {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    box-sizing: border-box;
    background: none;
    border: none;
    border-radius: 0;
  }

  .stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 32px 24px;
    gap: 20px 16px;
  }

  .stat-item::after {
    display: none;
  }

  .courses-section--carousel .courses-cards,
  .courses-section--carousel .courses-swiper {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 20px 0 58px !important;
  }

  .frame-header {
    padding: 12px 20px;
  }

  .hamburger-btn {
    display: flex;
  }

  .sign-in-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }

  .nav-auth-cta {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    gap: 8px;
    margin-top: 12px;
  }

  .nav-auth-cta__btn {
    flex: 1;
    width: auto;
    min-width: 0;
    justify-content: center;
    padding: 10px 12px;
    font-size: 14px;
  }

  /* Make the mobile menu truly full-width (header has padding) */
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    background: #ffffff;
    padding: 0;
    z-index: 200;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    margin-left: 0;
  }

  /* Show mobile logo outside, hide desktop logo inside */
  .logo-mobile {
    display: block;
  }

  .logo-desktop {
    display: none;
  }

  .nav-menu.active {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 16px 24px;
  }

  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .frame {
    align-items: center;
  }

  .nav-item {
    width: 100%;
    justify-content: flex-start;
    padding: 6px 0;
  }

  .nav-dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-link {
    width: auto;
    max-width: 100%;
    align-self: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .nav-services-dropdown__row .nav-link {
    width: auto;
    flex: 0 1 auto;
  }

  .nav-services-dropdown__row {
    padding: 2px 0;
  }

  .nav-services-dropdown__row .nav-dropdown-chevron-btn {
    flex-shrink: 0;
    align-self: center;
    padding: 6px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: #6b7280;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .nav-services-dropdown__row .nav-dropdown-chevron-btn:hover {
    background: transparent;
    color: #337ab7;
  }

  .nav-services-dropdown__row .nav-dropdown-chevron-btn:focus-visible {
    outline: 2px solid #337ab7;
    outline-offset: 2px;
  }

  .nav-services-dropdown__row .nav-dropdown-chevron-btn[aria-expanded="true"] {
    background: transparent;
    border: none;
    color: #337ab7;
  }

  .nav-services-dropdown__row .arrow-down {
    width: 12px;
    height: 12px;
  }

  .nav-services-dropdown>.dropdown-menu {
    margin-top: 6px;
    margin-left: 0;
    padding: 6px 8px;
    width: 100%;
    background: #fafbfc;
    border: 1px solid #e8eef4;
    border-radius: 8px;
    border-left: none;
    box-shadow: none;
  }

  .nav-services-dropdown>.dropdown-menu li {
    margin-bottom: 0;
  }

  .nav-services-dropdown>.dropdown-menu .dropdown-link {
    padding: 9px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #4b5563;
    font-weight: 500;
    font-size: 14px;
  }

  .nav-services-dropdown>.dropdown-menu .dropdown-link:hover {
    background-color: #f3f9ff;
    color: #337ab7;
    padding-left: 10px;
  }

  .language-selector {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 0;
  }

  /* Touch-friendly dropdowns: hidden by default, shown by aria-expanded */
  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #fafbfc;
    margin: 6px 0 0 0;
    box-shadow: none;
    border: 1px solid #e8eef4;
    border-radius: 8px;
    padding: 6px 8px;
    width: 100%;
  }

  .dropdown-menu li {
    margin-bottom: 0;
    list-style: none;
  }

  .dropdown-menu .dropdown-link {
    display: block;
    padding: 9px 10px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    color: #4b5563;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .dropdown-menu .dropdown-link:hover {
    background-color: #f3f9ff;
    color: #337ab7;
    padding-left: 10px;
  }

  .nav-dropdown-toggle[aria-expanded="true"]~.dropdown-menu,
  .nav-services-dropdown:has(.nav-dropdown-toggle[aria-expanded="true"])>.dropdown-menu {
    display: block;
  }

  .language-dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(243, 249, 255, 0.6);
    margin: 8px 0 0 0;
    box-shadow: none;
    border: none;
    padding: 8px 0;
    border-radius: 8px;
  }

  .language-dropdown-toggle[aria-expanded="true"]+.language-dropdown-menu {
    display: block;
  }

  .user-menu-dropdown {
    width: 100%;
    margin-left: 0 !important;
    border-top: 1px solid #f1f1f1;
    padding-top: 16px;
    margin-top: 8px;
  }

  .user-menu-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
  }

  .user-dropdown-menu {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none;
    /* Remove border in mobile for cleaner look */
    background: transparent;
    margin-top: 8px !important;
    padding-left: 12px;
    /* Indent items slightly */
    padding-right: 12px;
  }

  .user-dropdown-link,
  .user-dropdown-item-logout {
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #f1f1f1;
    margin-bottom: 8px;
  }


  .hero-section {
    margin: 32px 0;
    overflow-x: hidden;
    overflow-y: clip;
    overflow-clip-margin: 2.5rem 0 0 0;
    width: 100%;
    max-width: 920px;
    padding: 44px 24px;
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    min-width: 0;
    align-items: center;
    text-align: center;
  }

  html[dir="rtl"] .hero-content,
  .dir-rtl .hero-content {
    position: static;
    transform: none;
    right: auto;
    width: 100%;
    max-width: none;
    padding-inline-start: 0;
    align-items: center;
    text-align: center;
  }

  html[dir="rtl"] .hero-title,
  html[dir="rtl"] .hero-subtitle,
  .dir-rtl .hero-title,
  .dir-rtl .hero-subtitle {
    text-align: center;
  }

  html[dir="rtl"] .hero-buttons,
  .dir-rtl .hero-buttons {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* Remove profile image on tablet/mobile */
  .hero-image {
    display: none;
  }

  /* Who I Am: stack + center on tablets */
  .about-section {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 0 24px;
  }

  .about-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
  }

  .about-content {
    width: 100%;
    max-width: 760px;
    align-items: center;
    text-align: center;
  }

  .about-title {
    width: 100%;
    max-width: 560px;
  }

  .badge-overlay,
  .ai-idea,
  .ai-programming {
    display: none;
  }

  .services-grid,
  .offer-grid,
  .tools-grid,
  .courses-grid {
    gap: 16px;
  }

  .tools-grid,
  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 24px;
  }

  .course-card {
    width: 100%;
    max-width: none;
  }

  .contact-section {
    flex-direction: column;
    padding: 56px 24px;
  }

  .contact-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .contact-subtitle {
    max-width: none;
  }

  .contact-info-wrapper {
    width: 100%;
    max-width: 560px;
    padding: 24px;
    top: 0;
    margin: 0 auto;
  }

  .footer-section {
    padding: 40px 24px;
  }

  .form-row {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
    padding: 0 24px;
  }

  .footer-links {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
    width: 100%;
  }

  .footer-links__item:not(:last-child)::after {
    margin: 0 12px;
    width: 4px;
    height: 4px;
  }

  .footer-link {
    font-size: 16px;
  }
}

/* Mobile (768px and under) */
@media (max-width: 768px) {
  .frame {
    padding: 0 16px;
    gap: 48px;
  }

  .frame > .stats-section,
  .frame > .about-section,
  .frame > .services-section,
  .frame > .what-i-offer-section,
  .frame > .courses-section,
  .frame > .tools-section,
  .frame > .clients-section,
  .frame > .home-feedback,
  .frame > .contact-section {
    margin-top: 0;
  }

  .what-i-offer-section,
  .tools-section,
  .services-section {
    gap: 28px;
    margin-top: 0;
    padding-inline: 0;
  }

  .frame-header {
    padding: 10px 16px;
  }

  .logo {
    width: 162px;
    height: auto;
  }

  /* Full-width menu for smaller padding */
  .nav-menu {
    left: 0;
    right: 0;
    width: 100%;
  }

  .nav-menu.active {
    padding: 14px 16px;
    max-height: calc(100vh - 64px);
  }

  .nav-link {
    font-size: 14px;
  }

  .hero-section {
    width: 100%;
    padding: 36px 16px;
    gap: 20px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 40px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 22px;
  }

  .hero-buttons {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .hero-buttons .btn {
    flex: 1 1 0;
    min-width: 130px;
    text-align: center;
  }

  .hero-content {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .hero-buttons .fh-btn,
  .btn-primary {
    width: 100%;
  }

  /* Decorative blobs: hide on mobile */
  .ellipse-right,
  .ellipse-left,
  .ellipse-about,
  .ellipse-image,
  .ellipse-course {
    display: none;
  }

  .stats-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-items: center;
    padding: 20px 16px;
    gap: 16px;
  }

  .stat-item {
    width: 100%;
    gap: 12px;
  }

  .stat-icon-wrapper {
    padding: 16px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    max-width: none;
    font-size: 14px;
    line-height: 22px;
  }

  .about-section {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
  }

  .about-image {
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
  }

  .about-content {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .about-title {
    width: 100%;
    max-width: 520px;
  }

  .about-content,
  .contact-wrapper,
  .contact-form-wrapper,
  .contact-info-wrapper {
    width: 100%;
  }

  .offer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .offer-card {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 520px;
    text-align: left;
  }

  .offer-content {
    align-items: flex-start;
    text-align: left;
    order: 2;
    width: 100%;
  }

  .offer-title {
    text-align: left;
  }

  .offer-description {
    max-width: none;
  }

  .offer-icon {
    order: 1;
    align-self: flex-start;
    margin-top: 0;
    margin-bottom: 0;
  }

  .services-header {
    flex-wrap: wrap;
    gap: 16px;
  }

  .courses-section {
    padding: 0;
    gap: 28px;
    margin: 0 auto;
  }

  .courses-section--carousel {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
  }

  .courses-section--carousel .courses-header {
    padding-inline: 0;
    width: 100%;
  }

  .courses-section--carousel .courses-swiper-wrap {
    width: 100%;
    margin-inline: 0;
  }

  .courses-section--carousel .courses-cards,
  .courses-section--carousel .courses-swiper {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 12px 0 58px !important;
  }

  .courses-pagination,
  .home-slider-pagination {
    bottom: 14px !important;
  }

  .courses-header {
    flex-wrap: wrap;
    gap: 16px;
  }

  .courses-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .tools-section:not(.tools-section--has-mobile-slider) .tools-grid,
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .courses-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    gap: 16px;
    padding-bottom: 24px;
    scrollbar-width: none;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
  }

  .courses-grid::-webkit-scrollbar {
    display: none;
  }

  .course-card {
    border: 1px solid #e5e7eb;
    box-shadow: none;

  }

  .courses-grid>.course-card {
    flex: 0 0 85%;
    min-width: 280px;
    max-width: 400px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .feedback-card {
    width: 100%;
    max-width: 360px;
  }

  .contact-section {
    flex-direction: column;
    padding: 40px 16px;
  }

  .contact-header {
    text-align: center;
    align-items: center;
  }

  .contact-submit-btn {
    width: 100%;
  }

  .ellipse-about {
    left: auto;
  }

  .contact-info-wrapper {
    display: none;
    width: 100%;
    max-width: 520px;
    padding: 20px;
    margin: 0 auto;
  }

  .footer-section {
    padding: 32px 16px;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    gap: 24px;
  }

  .footer-brand {
    display: contents;
  }

  .footer-brand-header {
    order: 1;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .footer-nav {
    order: 2;
    justify-content: center;
    width: 100%;
    margin: 8px 0;
  }

  .footer-social {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-social-label {
    text-align: center;
  }

  .footer-contact-info {
    align-items: center;
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-social-links img {
    height: 32px !important;
    width: 32px !important;
  }

  .footer-social-fallback {
    width: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px 0;
    padding: 0;
    margin: 0 auto;
    border-radius: 0;
    border: none;
    background: transparent;
    overflow: visible;
  }

  .footer-links__item {
    width: auto;
    justify-content: center;
  }

  .footer-links__item:not(:last-child)::after {
    display: block;
    width: 4px;
    height: 4px;
    margin: 0 10px;
    background-color: #e5e7eb;
    border-radius: 50%;
  }

  .footer-links__item:not(:last-child) {
    border-bottom: none;
  }

  .footer-link {
    display: inline-block;
    width: auto;
    padding: 4px 8px;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
  }

  .footer-link:active {
    background: transparent;
  }
}

/* Small mobile (480px and under) */
@media (max-width: 480px) {
  .frame-header {
    padding: 10px 14px;
  }

  .hamburger-btn {
    width: 28px;
    height: 22px;
  }

  .logo {
    width: 132px;
  }

  .nav-menu {
    left: 0;
    right: 0;
    width: 100%;
  }

  .nav-menu.active {
    padding: 12px;
  }

  .hero-section {
    min-height: auto;
    padding: 30px 12px;
  }

  /* Hero badge: smaller on mobile */
  .badge {
    padding: 8px 16px 8px 14px;
    gap: 8px;
  }

  .badge-text {
    font-size: 0.9rem;
  }

  .badge {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .badge-text {
    white-space: normal;
    text-align: center;
  }

  .hero-title {
    font-size: 24px;
    line-height: 32px;
  }

  .services-title,
  .what-i-offer-title,
  .feedback-title,
  .tools-title,
  .courses-title,
  .clients-title,
  .contact-title {
    font-size: 30px;
  }

  .stats-section {
    padding: 16px 12px;
  }

  .stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .stat-icon-wrapper {
    padding: 14px;
  }

  .stat-number {
    font-size: 28px;
  }

  .about-section {
    padding: 16px 12px;
  }

  .contact-section {
    padding: 30px 12px;
  }

  .courses-grid>.course-card {
    flex-basis: 92%;
  }

  .footer-content {
    padding: 0 12px;
  }

  .footer-section {
    padding: 28px 12px;
  }
}

/* ===== Reusable frontend breadcrumb (x-frontend.breadcrumb) — minimal ===== */
.page-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
  margin: 0;
  padding: 0;
  max-width: 100%;
  background: none;
  border: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
  font-family: var(--font-sans);
  box-sizing: border-box;
}

.page-breadcrumb__link {
  color: inherit;
  text-decoration: none;
  padding: 0;
  border-radius: 0;
  background: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.page-breadcrumb__link:hover {
  background: none;
}

.page-breadcrumb__link:focus {
  outline: none;
}

.page-breadcrumb__link:focus-visible {
  outline: 2px solid #337ab7;
  outline-offset: 2px;
  border-radius: 2px;
}

.page-breadcrumb__sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 0.1rem;
  user-select: none;
  color: inherit;
  opacity: 0.45;
}

.page-breadcrumb__icon {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.page-breadcrumb__current {
  display: inline;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-weight: 600;
}

/* Alignment */
.page-breadcrumb--align-center {
  justify-content: center;
}

.page-breadcrumb--align-start {
  justify-content: flex-start;
}

/* Dark hero — muted trail, current page only emphasized */
.page-breadcrumb--hero {
  align-self: flex-start;
  max-width: 100%;
  color: rgb(255 255 255 / 50%);
}

.page-breadcrumb--hero .page-breadcrumb__link {
  color: rgb(255 255 255 / 55%);
}

.page-breadcrumb--hero .page-breadcrumb__link:hover {
  color: rgb(255 255 255 / 85%);
}

.page-breadcrumb--hero .page-breadcrumb__link:focus-visible {
  outline-color: rgb(159 211 255 / 90%);
}

.page-breadcrumb--hero .page-breadcrumb__sep {
  opacity: 0.4;
}

.page-breadcrumb--hero .page-breadcrumb__current {
  color: #ffffff;
  font-weight: 600;
}

/* Light pages */
.page-breadcrumb--content {
  max-width: 100%;
  color: #9ca3af;
}

.page-breadcrumb--content .page-breadcrumb__link {
  color: #9ca3af;
}

.page-breadcrumb--content .page-breadcrumb__link:hover {
  color: #337ab7;
}

.page-breadcrumb--content .page-breadcrumb__sep {
  opacity: 0.5;
}

.page-breadcrumb--content .page-breadcrumb__current {
  color: #141212;
  font-weight: 600;
}

.page-breadcrumb-contain {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  .page-breadcrumb__link {
    transition: none;
  }
}

@media (max-width: 640px) {
  .page-breadcrumb {
    font-size: 12px;
    gap: 0.2rem 0.35rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .page-breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .page-breadcrumb__link,
  .page-breadcrumb__sep {
    flex-shrink: 0;
  }

  .page-breadcrumb__current {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Courses listing: align with sidebar column without stretching the chip */
.page-breadcrumb--courses {
  margin-left: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .page-breadcrumb--courses {
    margin-left: 0;
  }
}