/* ===== ROOT VARIABLES ===== */
:root {
  --learnsimply-primary-blue: #4077f3;
  --primary: #4077f3;
  --learnsimply-dark-bg: #0a0f1a;
  --learnsimply-card-bg: #141924;
  --learnsimply-card-border: rgba(255, 255, 255, 0.1);
  --learnsimply-text-white: #ffffff;
  --learnsimply-text-gray: #999eb2;
  --learnsimply-text-dark-gray: #6c7278;
  --learnsimply-success-green: #18a963;
  --learnsimply-warning-orange: #ff8904;
  --learnsimply-error-red: #f96a7b;
  --learnsimply-purple: #c27aff;
  --learnsimply-cyan: #00d5be;
  --learnsimply-pink: #fb64b6;
  --learnsimply-yellow: #ffbb54;

  --learnsimply-font-primary:
    "Graphik Arabic", "IBM Plex Sans Arabic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --learnsimply-font-code: "Consolas", "Courier New", monospace;

  --learnsimply-transition: all 0.3s ease;
  --learnsimply-border-radius-sm: 10px;
  --learnsimply-border-radius-md: 20px;
  --learnsimply-border-radius-lg: 30px;
  --learnsimply-border-radius-xl: 40px;
}

/* Ensure stat numbers use the site's primary Arabic font (override any other rules) */
.stat-number {
  font-family: var(--learnsimply-font-primary, "Graphik Arabic") !important;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.learnsimply-homepage-body {
  font-family: var(--learnsimply-font-primary);
  background-color: var(--learnsimply-dark-bg);
  color: var(--learnsimply-text-white);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

.learnsimply-homepage-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

.learnsimply-homepage-body a {
  text-decoration: none;
  color: inherit;
  transition: var(--learnsimply-transition);
}

.learnsimply-homepage-body button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--learnsimply-transition);
  background: #ffffff14;
}

.learnsimply-code-button-closed {
  opacity: 1;
  cursor: default;
  pointer-events: none;
}

.learnsimply-code-button-closed svg path {
  stroke: #ffffff !important;
  stroke-opacity: 1 !important;
}

/* Mirror the arrow for the closed control so it looks inverted */
.learnsimply-code-button-closed svg {
  transform: scaleX(-1);
  transform-origin: center;
}

.learnsimply-homepage-body ul,
.learnsimply-homepage-body ol {
  list-style: none;
}

/* ===== HEADER SECTION ===== */
.learnsimply-header-main-container {
  display: flex;
  width: 1200px;
  padding: 15px;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
}

.learnsimply-header-border-overlay {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 21px;
  pointer-events: none;
}

.learnsimply-header-content-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  position: relative;
  z-index: 1;
}

/* Right Side: Logo and Menu */
.learnsimply-header-right-side {
  display: flex;
  align-items: center;
  gap: 50px;
  flex: 1;
  min-width: 0;
}

/* Logo Styles */
.learnsimply-header-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6.914px;
}

.learnsimply-header-logo-container:hover {
  opacity: 0.8;
}

.learnsimply-header-logo-image-wrapper {
  width: 38px;
  height: 36px;
  aspect-ratio: 19/18;
  position: relative;
  flex-shrink: 0;
}

.learnsimply-header-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.learnsimply-header-logo-text {
  color: #fff;
  font-family: "Graphik Arabic";
  font-size: 21.605px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
  text-align: right;
}

/* Navigation Menu Styles */
.learnsimply-header-navigation-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-shrink: 0;
}

.learnsimply-header-menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

.learnsimply-header-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.learnsimply-header-menu-item:hover .learnsimply-header-menu-text {
  opacity: 1;
}

.learnsimply-header-menu-text {
  color: #fff;
  font-family: "Graphik Arabic";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 27px */
  letter-spacing: -0.36px;
  opacity: 0.7;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  margin: 0;
}

.learnsimply-header-menu-text-active {
  opacity: 1;
  color: #fff;
}

/* Auth Buttons Container */
.learnsimply-header-auth-buttons-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Button Base Styles */
.learnsimply-header-btn-login,
.learnsimply-header-btn-signup {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 12px 24px;
  border-radius: 55px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.learnsimply-header-btn-login {
  background: #4077f3 !important;
}

.learnsimply-header-btn-login:hover {
  background-color: #3566d9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(64, 119, 243, 0.3);
}

.learnsimply-header-btn-login:active {
  transform: translateY(0);
}

.learnsimply-header-btn-signup {
  background: rgba(255, 255, 255, 0.05) !important;
}

.learnsimply-header-btn-signup:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.learnsimply-header-btn-signup:active {
  transform: translateY(0);
}

.learnsimply-header-btn-text {
  color: var(--Primary-0, #fff);
  text-align: center;
  font-family: "Graphik Arabic";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
  letter-spacing: -0.32px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile Menu Toggle */
.learnsimply-header-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  position: relative;
  flex-shrink: 0;
  gap: 5px;
  transition: all 0.3s ease;
}

.learnsimply-header-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.learnsimply-mobile-toggle-bar {
  width: 100%;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: block;
  position: relative;
}

/* Active state - X icon */
.learnsimply-header-mobile-toggle.active {
  background: rgba(255, 255, 255, 0.15);
}

.learnsimply-header-mobile-toggle.active
  .learnsimply-mobile-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.learnsimply-header-mobile-toggle.active
  .learnsimply-mobile-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.learnsimply-header-mobile-toggle.active
  .learnsimply-mobile-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== Add Review Section (global styles) ===== */
.add-review-section {
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
      max-width: 1030px;
}

.add-review-section .card-content {
  padding: 20px;
}

.add-review-section .section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.add-review-section .section-title {
  color: #ffffff;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}

.add-review-section .add-review-form {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
}

.add-review-section .comment-form-rating label,
.add-review-section .comment-form-comment label {
  color: #e5e7eb;
  font-family: "Graphik Arabic";
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

.add-review-section .comment-form-rating {
  margin-bottom: 14px;
}

.add-review-section p.stars {
  display: inline-flex;
  gap: 6px;
}

.add-review-section p.stars a {
  position: relative;
  width: 1.6em;
  height: 1.6em;
  text-indent: -9999px;
  display: inline-block;
  cursor: pointer;
}

.add-review-section p.stars a::before {
  content: "☆";
  position: absolute;
  inset: 0;
  text-indent: 0;
  text-align: center;
  line-height: 1.6em;
  font-size: 22px;
  color: #9ca3af;
}

.add-review-section p.stars a.is-active::before,
.add-review-section p.stars a:hover::before {
  content: "★";
  color: #fbbf24;
}

.add-review-section input[type="text"],
.add-review-section input[type="email"],
.add-review-section textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 10px 12px;
  color: #f9fafb;
  font-family: "Graphik Arabic";
  font-size: 14px;
}

.add-review-section textarea {
  min-height: 90px;
}

.add-review-section input[type="submit"],
.add-review-section .submit {
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4077f3, #60a5fa);
  border: none;
  padding: 10px 26px;
  color: #fff;
  font-family: "Graphik Arabic";
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-review-section input[type="submit"]:hover,
.add-review-section .submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

/* Loading state for review submit button */
.add-review-section .submit.is-loading,
.add-review-section input[type="submit"].is-loading {
  position: relative;
  opacity: 0.85;
}

.add-review-section .submit.is-loading::after,
.add-review-section input[type="submit"].is-loading::after {
  content: "";
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  transform: translateY(-50%);
  animation: learnsimply-spin 0.8s linear infinite;
}

@keyframes learnsimply-spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* ===== HEADER RESPONSIVE STYLES ===== */

/* Large Desktop - 1400px and above */
@media (max-width: 1400px) {
  .learnsimply-header-main-container {
    width: 95%;
    max-width: 1200px;
  }
}

/* Desktop - 1200px */
@media (max-width: 1200px) {
  .learnsimply-header-main-container {
    width: 90%;
    padding: 12px;
  }

  .learnsimply-header-right-side {
    gap: 30px;
  }

  .learnsimply-header-navigation-menu {
    gap: 15px;
  }

  .learnsimply-header-menu-text {
    font-size: 16px;
  }

  .learnsimply-header-logo-text {
    font-size: 19px;
  }
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .learnsimply-header-main-container {
    width: 95%;
    padding: 10px;
  }

  .learnsimply-header-right-side {
    gap: 20px;
  }

  .learnsimply-header-navigation-menu {
    gap: 10px;
  }

  .learnsimply-header-menu-item {
    padding: 6px 10px;
  }

  .learnsimply-header-menu-text {
    font-size: 15px;
  }

  .learnsimply-header-btn-login,
  .learnsimply-header-btn-signup {
    height: 44px;
    padding: 10px 20px;
  }

  .learnsimply-header-btn-text {
    font-size: 15px;
  }
}

/* Mobile Landscape - 900px */
@media (max-width: 900px) {
  .learnsimply-header-main-container {
    width: calc(100% - 20px);
    padding: 10px 15px;
    top: 10px;
  }

  .learnsimply-header-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .learnsimply-header-navigation-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 500px;
    flex-direction: column;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    gap: 5px;
    z-index: 999;
  }

  .learnsimply-header-navigation-menu.active {
    display: flex;
  }

  .learnsimply-header-menu-item {
    width: 100%;
    padding: 12px 15px;
    justify-content: flex-start;
  }

  .learnsimply-header-mobile-toggle {
    display: flex;
    order: 1;
  }

  .learnsimply-header-right-side {
    order: 2;
    flex: none;
    min-width: auto;
  }

  /* Show auth buttons on mobile */
  .learnsimply-header-auth-buttons-container {
    order: 3;
    display: flex;
    gap: 8px;
  }

  .learnsimply-header-logo-text {
    font-size: 18px;
  }
}

/* Mobile - 768px */
@media (max-width: 768px) {
  .learnsimply-header-main-container {
    width: calc(100% - 20px);
    padding: 8px 12px;
  }

  .learnsimply-header-auth-buttons-container {
    gap: 8px;
  }

  .learnsimply-header-btn-login,
  .learnsimply-header-btn-signup {
    height: 40px;
    padding: 8px 16px;
  }

  .learnsimply-header-btn-text {
    font-size: 14px;
  }

  .learnsimply-header-logo-image-wrapper {
    width: 32px;
    height: 30px;
  }

  .learnsimply-header-logo-text {
    font-size: 17px;
  }
}

/* Small Mobile - 600px */
@media (max-width: 600px) {
  .learnsimply-header-main-container {
    width: calc(100% - 16px);
    padding: 8px 10px;
  }

  .learnsimply-header-right-side {
    gap: 10px;
  }

  .learnsimply-header-auth-buttons-container {
    gap: 6px;
    display: flex;
  }

  .learnsimply-header-btn-login,
  .learnsimply-header-btn-signup {
    height: 36px;
    padding: 6px 12px;
    display: flex;
  }

  .learnsimply-header-btn-text {
    font-size: 12px;
  }

  .learnsimply-header-logo-image-wrapper {
    width: 28px;
    height: 26px;
  }

  .learnsimply-header-logo-text {
    font-size: 16px;
  }

  .learnsimply-header-navigation-menu {
    top: 60px;
  }
}

/* Extra Small Mobile - 480px */
@media (max-width: 480px) {
  .learnsimply-header-main-container {
    width: calc(100% - 12px);
    padding: 8px;
  }

  .learnsimply-header-right-side {
    gap: 8px;
  }

  /* Show both buttons on mobile */
  .learnsimply-header-auth-buttons-container {
    gap: 4px;
    display: flex;
  }

  .learnsimply-header-btn-login,
  .learnsimply-header-btn-signup {
    height: 32px;
    padding: 4px 8px;
    display: flex;
  }

  .learnsimply-header-btn-text {
    font-size: 11px;
  }

  .learnsimply-header-logo-image-wrapper {
    width: 26px;
    height: 24px;
  }

  .learnsimply-header-logo-text {
    font-size: 15px;
  }

  .learnsimply-header-mobile-toggle {
    width: 28px;
    height: 24px;
  }
}

/* Very Small Mobile - 380px */
@media (max-width: 380px) {
  .learnsimply-header-logo-text {
    display: none;
  }

  .learnsimply-header-logo-container {
    gap: 0;
  }
}

/* ===== HERO SECTION ===== */

/* Hero Wrapper */
.hero-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 100%;
    background-color: var(--learnsimply-dark-bg);
  min-height: 100vh;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 0px 40px 0px;
  position: relative;
  width: 100%;
}

.hero-background {
  position: relative;
  background: #141924;
  border-radius: 40.145px;
  flex-shrink: 0;
  /* Make the hero card slightly narrower than the viewport so its edges never touch the page */
  width: calc(100% - 48px) !important;
  margin-inline: 24px !important;
  max-width: none;
}

@media (max-width: 768px) {
  .hero-background {
    width: calc(100% - 32px) !important;
    margin-inline: 16px !important;
  }
}

.hero-background-border {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40.145px;
  inset: 0;
  pointer-events: none;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: clip;
  padding: 60px ;
  position: relative;
  border-radius: inherit;
  width: 100%;
  direction: rtl;
}

/* Main Content */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  max-width: calc(100% - 40px);
  padding: 0;
  margin: 0 auto;
}

/* Top Section */
.top-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 698px;
  max-width: 100%;
}

.title-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

/* Badge */
.badge {
  display: flex;
  padding: 6px 16px;
  align-items: center;
  gap: 4px;
  border-radius: 50000px;
  border: 1px solid #4077f3;
  position: relative;
  flex-shrink: 0;
}

.badge-border {
  position: absolute;
  border: 1px solid #4077f3;
  border-radius: 50000px;
  inset: 0;
  pointer-events: none;
}

.badge-text {
  color: var(--primary, #4077f3);
  font-family: "Graphik Arabic";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  margin: 0;
}

/* Main Title */
.main-title {
  align-self: stretch;
  color: #fff;
  text-align: right;
  font-family: "Graphik Arabic";
  font-size: 59px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -3.138px;
  margin: 0;
  width: 100%;
}

/* Description */
.description {
  align-self: stretch;
  color: #fff;
  text-align: right;
  font-family: "Graphik Arabic";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  width: 100%;
}

/* Check Items */
.check-items {
  display: flex;
  gap: 15px;
  align-items: start;
  position: relative;
  flex-shrink: 0;
}

.check-item {
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.check-text {
  color: #fff;
  font-family: "Graphik Arabic";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.check-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  display: block;
}

/* Blue Card */
.blue-card {
  display: flex;
  width: 1474px;
  padding: 21px 40px;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 22.792px;
  border-radius: 40px;
  background: #2c63df;
  overflow: clip;
  position: relative;
  flex-shrink: 0;
  max-width: 100%;
}

.blue-card-bg {
  position: absolute;
  height: 1444px;
  right: 216.71px;
  top: -320px;
  width: 1533px;
}

.bg-shape {
  display: block;
  width: 100%;
  height: 100%;
}

.blue-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* align-items: flex-end;
    margin-left: auto;
    position: relative;
    flex-shrink: 0; */
  width: 728px;
  /* max-width: 100%; */
  z-index: 1;
  align-items: start;
  justify-content: start;
}

/* Stars Icon */
.stars-icon {
  position: relative;
  /* flex-shrink: 0; */
  width: 220px;
  height: auto;
}

.stars-icon img {
  display: block;
  width: 100%;
  height: auto;
  transform: none !important; /* ensure image not flipped */
}

/* Card Title */
.card-title {
  color: #fff;
  text-align: right;
  font-family: "Graphik Arabic";
  font-size: 58px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0;
  width: 100%;
}

/* Prevent breaking between paired words where needed (Arabic RTL) */
.no-break {
  white-space: nowrap;
}

/* Keep the entire tail phrase on one line but avoid shrinking the blue card
   when this happens. Use a min-height to preserve card size; adjust media
   query below to allow wrapping on smaller screens. */
.no-break-full {
  white-space: nowrap;
}

.blue-card {
  min-height: 350px;
}

@media (max-width: 1024px) {
  .no-break-full {
    white-space: normal;
  }
  .blue-card {
    min-height: auto;
  }
}

/* Buttons */
.buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  position: relative;
  /* flex-shrink: 0; */
  flex-direction: row; /* enforce LTR order inside buttons block */
}

.blue-card .blue-card-content .buttons {
  /* justify-content: flex-end !important; */
  width: 100% !important;
}

/* Strong final overrides to ensure content starts from the blue card's right edge */
/* Place at end to beat earlier responsive rules */
.blue-card {
  align-items: stretch !important;
}
.blue-card > .blue-card-content,
.blue-card .blue-card-content {
  /* Keep the content block at the intended width and pinned to the
       blue card's right edge so internal items (stars, title, buttons)
       align relative to the card, not the outer container. */
  /* width: 728px !important;
    max-width: calc(100% - 40px) !important;
    margin-left: auto !important;
    align-items: flex-end !important;
    padding-top: 36px !important;  */
}
.blue-card .blue-card-content .stars-icon {
  /* align-self: flex-end !important; */
}
/* Position stars absolutely at the blue card content's right edge
   so they always appear at the card's right corner regardless of
   other layout rules. */
.blue-card .blue-card-content .stars-icon {
  /* position: absolute !important;
    right: 0 !important;
    top: -12px !important; */
  width: auto !important;
  /* margin: 0 !important; */
}

/* Position buttons absolutely at the blue card content's right edge
   below the title so they align with the card's right side. */
.blue-card .blue-card-content .buttons {
  /* Place buttons in normal flow under the title with right alignment */
  /* position: relative !important;
    right: auto !important;
    top: auto !important; */
  width: auto !important;
  margin: 12px 0 0 0 !important; /* small gap above buttons */
  /* align-self: flex-end !important; */
  /* justify-content: flex-end !important; */
}

.blue-card .blue-card-content .card-title {
  margin: 0 0 8px 0 !important; /* small gap below title */
}
.blue-card .blue-card-content .buttons {
  /* align-self: flex-end !important; */
  /* justify-content: flex-end !important; */
  width: auto !important;
}

/* Final override: ensure buttons are pinned to the blue card's right edge
   and not centered by any other rule. This forces them to start from the
   same right alignment as the title and stars. */
.blue-card .blue-card-content {
  /* position: relative !important; */
}
.blue-card .blue-card-content .buttons {
  /* display: flex !important;
    position: absolute !important;
    right: 0 !important;
    top: 200px !important; 
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: flex-end !important;
    align-self: flex-end !important; */
}

.button-dark {
  display: flex;
  height: 48px;
  padding: 12px 30px;
  align-items: center;
  gap: 10px;
  border-radius: 27px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--icon-strong-900, #0a0d14);
  position: relative;
  flex-shrink: 0;
  overflow: clip;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-dark {
  order: 2;
}
.button-light {
  order: 1;
}

.button-dark:hover {
  background: #141924;
  transform: translateY(-2px);
}

.button-dark-border {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 27px;
  inset: 0;
  pointer-events: none;
}

.button-dark span {
  color: #fff;
  text-align: center;
  font-family: "Graphik Arabic";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -1px;
}

.button-light {
  display: flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 50px;
  border: 1px solid var(--border, #f5f5f7);
  background: var(--gray-colo, #f9f9fc);
  position: relative;
  flex-shrink: 0;
  overflow: clip;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-light:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 249, 252, 0.3);
}

.button-light-border {
  position: absolute;
  border: 1px solid #f5f5f7;
  border-radius: 50px;
  inset: 0;
  pointer-events: none;
}

.button-light span {
  color: #14141e;
  font-family: "Graphik Arabic";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  letter-spacing: -0.18px;
}

/* Side Image Container */
.side-image-container {
  position: absolute;
  bottom: -0.53px;
  height: 842px;
  left: -40px;
  overflow: clip;
  width: 874px;
  direction: ltr;
}

.layer-image {
  position: absolute;
  height: 786px;
  left: 60px;
  top: 56px;
  width: 634px;
}

.layer-image img {
  position: absolute;
  height: 100%;
  left: -0.04%;
  max-width: none;
  top: 0;
  width: 100.08%;
}

/* Pink Shape */
.pink-shape-wrapper {
  position: absolute;
  display: flex;
  height: 171.383px;
  align-items: center;
  justify-content: center;
  right: 680.57px;
  top: 471px;
  width: 173.426px;
}

.pink-shape-rotated {
  flex: none;
  transform: rotate(33.769deg);
}

.pink-shape-rotated svg {
  height: 120.578px;
  width: 127.999px;
  display: block;
}

.pink-shape-rotated img {
  height: 120.578px;
  width: 127.999px;
  display: block;
}

/* Keep the original orientation for the red star image (intersect2.png)
   by counter-rotating it to negate the parent's rotation. */
.pink-shape-rotated img[src$="intersect2.png"] {
  transform: rotate(-33.769deg);
  display: block;
}

/* Blue Small Shape */
.blue-small-shape {
  position: absolute;
  height: 161px;
  left: 472px;
  top: 335px;
  width: 171px;
}

.blue-small-shape svg {
  display: block;
  width: 100%;
  height: 100%;
}

.blue-small-shape img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Stats Bar */
.stats-bar {
  /* background: rgba(255, 255, 255, 0.05);
    position: relative;
    border-radius: 0 0 30px 30px;
    flex-shrink: 0;
    width: 1102px;
    max-width: calc(100% - 80px); */
}

/* .stats-border {
    position: absolute;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 0 30px 30px;
    inset: 0;
    pointer-events: none;
} */

.stats-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: clip;
  padding: 20px 48px;
  position: relative;
  border-radius: inherit;
  width: 100%;
  max-width: 1000px;
  border-radius: 0 0 20px 20px;
  background: rgba(255, 255, 255, 0.05);
}

.stats-row {
  display: flex;
  gap: 40px;
  align-items: center;
  line-height: 1.5;
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 700px;
  justify-content: space-around;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.stat-number {
  color: var(--primary, #4077f3);
  text-align: center;
  font-family: "Graphik Arabic";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 60px */
  letter-spacing: -1.2px;
  margin: 0;
}

/* Ensure numeric values render left-to-right so the plus sign appears on the left */
.stat-number .stat-value {
  direction: ltr;
  display: inline-block;
  font-family: inherit;
}

/* Give the hero blue card horizontal breathing room from the page edges */
.blue-card {
  margin-inline: 24px; /* space left and right from page */
}

@media (max-width: 768px) {
  .blue-card {
    margin-inline: 16px;
  }
}

.stat-label {
  color: #fff;
  text-align: center;
  font-family: "Graphik Arabic";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 27px */
  letter-spacing: -0.36px;
  margin: 0;
}

/* Hero Responsive */
@media (max-width: 1500px) {
  .main-content {
    width: 100%;
    max-width: 1474px;
  }

  .blue-card {
    width: 100%;
    max-width: 1474px;
  }
}

@media (max-width: 1200px) {
  .side-image-container {
    width: 600px;
    height: 600px;
    left: -20px;
  }

  .layer-image {
    height: 550px;
    width: 450px;
    left: 40px;
    top: 50px;
  }

  .pink-shape-wrapper {
    right: 450px;
    top: 350px;
  }

  .blue-small-shape {
    left: 350px;
    top: 250px;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    padding: 100px 20px 20px 20px;
  }

  .main-content {
    align-items: center;
  }

  .top-section {
    width: 100%;
    align-items: center;
    order: 2;
  }

  .title-section {
    align-items: center;
  }

  .main-title {
    font-size: 40px;
    letter-spacing: -2px;
    text-align: center;
  }

  .description {
    font-size: 22px;
    text-align: center;
  }

  .check-items {
    flex-wrap: wrap;
    justify-content: center;
  }

  .blue-card {
    align-items: center;
    order: 3;
  }

  .blue-card-content {
    align-items: center;
    width: 100%;
  }

  .card-title {
    font-size: 36px;
    text-align: center;
  }

  .buttons {
    justify-content: center;
  }

  .side-image-container {
    position: relative;
    width: 100%;
    height: auto;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .layer-image {
    position: relative;
    height: 400px;
    width: 350px;
    left: 0;
    top: 0;
  }

  .pink-shape-wrapper,
  .blue-small-shape {
    display: none;
  }

  .stats-bar {
    /* width: 100%;
        max-width: 100%; */
  }

  .stats-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 90px 15px 15px 15px;
  }

  .hero-content-wrapper {
    padding: 40px 0;
        gap: 20px;
  }

  .main-title {
    font-size: 32px;
    letter-spacing: -1.5px;
  }

  .description {
    font-size: 18px;
  }

  .check-items {
    flex-direction: column;
    gap: 10px;
  }

  .blue-card {
    padding: 25px 20px;
    border-radius: 30px;
  }

  .card-title {
    font-size: 28px;
  }

  .buttons {
    /* flex-direction: column; */
    width: 100%;
  }

  .button-dark,
  .button-light {
    /* width: 100%;
        justify-content: center; */
  }

  .stats-content {
    padding: 20px 24px;
  }

  .stats-row {
    gap: 30px;
    width: 100%;
  }

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

  .stat-label {
    font-size: 14px;
  }

  .layer-image {
    height: 300px;
    width: 260px;
  }
}

/* ===== PARTNERS SECTION ===== */
.learnsimply-partners-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  overflow: hidden;
}

.learnsimply-partners-container {
  max-width: 1474px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.learnsimply-partners-title {
  color: #fff;
  font-family: "Graphik Arabic";
  font-size: 27.61px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.learnsimply-partners-logos-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.learnsimply-partners-slider-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: partners-scroll 15s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.learnsimply-partners-track {
  display: flex;
  align-items: center;
  gap: 64px; /* spacing between items inside each track */
  flex: 0 0 auto; /* prevent shrinking so duplicated width equals content width */
}

@keyframes partners-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.learnsimply-partner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  flex-shrink: 0;
}

.learnsimply-partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ===== HERO & PARTNERS RESPONSIVE STYLES ===== */

/* Large Desktop - 1400px */
@media (max-width: 1400px) {
  .main-content {
    width: 95%;
    max-width: 1200px;
  }

  .blue-card {
    width: 95%;
    max-width: 1200px;
  }

  .stats-bar {
    /* max-width: 95%; */
  }
}

/* Desktop - 1200px */
@media (max-width: 1200px) {
  .main-title {
    font-size: 48px;
    letter-spacing: -2.5px;
  }

  .description {
    font-size: 26px;
  }

  .card-title {
    font-size: 48px;
  }

  .blue-card-content {
    width: 650px;
  }

  .learnsimply-partners-container {
    padding: 0 30px;
  }

  .learnsimply-partners-logos-wrapper {
    gap: 50px;
  }
}

/* Tablet Large - 1024px */
@media (max-width: 1024px) {
  .hero-inner {
    padding: 100px 20px 30px 20px;
  }

  .main-content {
    gap: 25px;
    max-width: calc(100% - 40px);
  }

  .main-title {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .description {
    font-size: 24px;
  }

  .badge-text {
    font-size: 15px;
  }

  .check-text {
    font-size: 15px;
  }

  .blue-card {
    padding: 30px;
    border-radius: 35px;
  }

  .card-title {
    font-size: 42px;
  }

  .blue-card-content {
    width: 100%;
  }

  .button-dark,
  .button-light {
    /* padding: 10px 25px; */
    height: 44px;
  }

  .button-dark span,
  .button-light span {
    font-size: 15px;
  }

  .stats-content {
    padding: 18px 20px;
  }

  .stats-row {
    gap: 20px;
    width: 100%;
  }

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

  .stat-label {
    font-size: 13px;
  }

  .learnsimply-partners-section {
    padding: 35px 0;
  }

  .learnsimply-partners-title {
    font-size: 25px;
  }

  .learnsimply-partners-slider-track {
    gap: 50px;
  }

  .learnsimply-partner-logo {
    height: 28px;
  }
}

/* Tablet - 900px */
@media (max-width: 900px) {
  .hero-inner {
    padding: 95px 20px 25px 20px;
  }

  .main-content {
    align-items: center;
  }

  .top-section {
    width: 100%;
    align-items: center;
  }

  .title-section {
    align-items: center;
    gap: 25px;
  }

  .main-title {
    font-size: 38px;
    text-align: center;
  }

  .description {
    font-size: 22px;
    text-align: center;
  }

  .check-items {
    flex-wrap: wrap;
    justify-content: center;
  }

  .blue-card {
    padding: 25px;
    border-radius: 30px;
    align-items: center;
  }

  .blue-card-content {
    width: 100% !important;
    align-items: center !important;
  }

  .card-title {
    font-size: 38px;
    text-align: center;
  }

  .buttons {
    position: static !important;
    justify-content: center !important;
    margin-top: 20px !important;
  }

  .side-image-container {
    position: relative;
    width: 100%;
    height: auto;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .layer-image {
    position: relative;
    height: 400px;
    width: 350px;
    left: 0;
    top: 0;
  }

  .pink-shape-wrapper,
  .blue-small-shape {
    display: none;
  }

  .stats-bar {
    /* width: 100%;
        max-width: calc(100% - 40px); */
  }

  .stats-row {
    /* flex-wrap: wrap; */
    gap: 25px;
  }

  .learnsimply-partners-container {
    padding: 0 25px;
  }

  .learnsimply-partners-slider-track {
    gap: 40px;
  }
}

/* Mobile - 768px */
@media (max-width: 768px) {
  .hero-inner {
    padding: 90px 15px 20px 15px;
  }

  .hero-content-wrapper {
    padding: 40px 0;
        gap: 20px;
  }

  .main-content {
    max-width: calc(100% - 30px);
    gap: 20px;
  }

  .top-section {
    gap: 25px;
  }

  .blue-card {
    padding: 25px 20px;
    border-radius: 25px;
    margin-inline: 16px;
  }

  .title-section {
    gap: 20px;
  }

  .badge {
    padding: 5px 14px;
  }

  .badge-text {
    font-size: 14px;
  }

  .main-title {
    font-size: 32px;
    letter-spacing: -1.5px;
  }

  .description {
    font-size: 18px;
  }

  .check-items {
    flex-direction: column;
    gap: 10px;
  }

  .check-text {
    font-size: 14px;
  }

  .card-title {
    font-size: 30px;
  }

  .stars-icon {
    width: 180px;
    position: relative !important;
    top: 0 !important;
    right: auto !important;
    margin-bottom: 15px;
  }

  .buttons {
    /* flex-direction: column; */
    width: 100%;
    gap: 10px;
    margin-top: 15px !important;
  }

  .button-dark,
  .button-light {
    /* width: 100%;
        justify-content: center; */
    height: 46px;
  }

  .layer-image {
    height: 300px;
    width: 260px;
  }

  .stats-bar {
    /* max-width: calc(100% - 30px);
        border-radius: 0 0 20px 20px; */
  }

  .stats-content {
    /* padding: 20px; */
    border-radius: 20px;
  }

  .stats-row {
    gap: 20px;
  }

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

  .stat-label {
    font-size: 14px;
  }

  .learnsimply-partners-section {
    padding: 30px 0;
  }

  .learnsimply-partners-container {
    padding: 0 20px;
    gap: 20px;
  }

  .learnsimply-partners-title {
    font-size: 22px;
  }

  .learnsimply-partners-slider-track {
    gap: 35px;
  }

  .learnsimply-partner-logo {
    height: 26px;
  }
}

/* Mobile Small - 600px */
@media (max-width: 600px) {
  .hero-inner {
    padding: 85px 12px 18px 12px;
  }

  .main-content {
    max-width: calc(100% - 24px);
  }

  .main-title {
    font-size: 28px;
    letter-spacing: -1.2px;
  }

  .description {
    font-size: 16px;
  }

  .badge-text {
    font-size: 13px;
  }

  .check-text {
    font-size: 13px;
  }

  .check-icon {
    width: 18px;
    height: 18px;
  }

  .blue-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .card-title {
    font-size: 26px;
  }

  .stars-icon {
    width: 160px;
  }

  .button-dark,
  .button-light {
    /* height: 44px;
        padding: 10px 20px; */
  }

  .button-dark span,
  .button-light span {
    font-size: 14px;
  }

  .layer-image {
    height: 260px;
    width: 230px;
  }

  .stats-content {
    padding: 16px 18px;
    border-radius: 20px;
  }

  .stats-row {
    gap: 15px;
    width: 100%;
  }

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

  .stat-label {
    font-size: 12px;
    line-height: 1.3;
  }

  .learnsimply-partners-container {
    padding: 0 16px;
    gap: 18px;
  }

  .learnsimply-partners-title {
    font-size: 20px;
  }

  .learnsimply-partners-slider-track {
    gap: 30px;
  }

  .learnsimply-partner-logo {
    height: 24px;
  }
}

/* Mobile Extra Small - 480px */
@media (max-width: 480px) {
  .hero-inner {
    padding: 80px 10px 15px 10px;
  }

  .hero-content-wrapper {
    padding: 30px 0;
  }

  .main-content {
    max-width: calc(100% - 20px);
    gap: 18px;
  }

  .top-section {
    gap: 20px;
  }

  .blue-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .title-section {
    gap: 18px;
  }

  .main-title {
    font-size: 24px;
    letter-spacing: -1px;
  }

  .description {
    font-size: 15px;
  }

  .badge {
    padding: 4px 12px;
  }

  .badge-text {
    font-size: 12px;
    line-height: 20px;
  }

  .check-text {
    font-size: 12px;
  }

  .check-icon {
    width: 16px;
    height: 16px;
  }

  .card-title {
    font-size: 22px;
  }

  .stars-icon {
    width: 140px;
    margin-bottom: 12px;
  }

  .button-dark,
  .button-light {
    height: 42px;
    padding: 10px 18px;
  }

  .button-dark span,
  .button-light span {
    font-size: 13px;
    letter-spacing: -0.5px;
  }

  .layer-image {
    height: 220px;
    width: 200px;
  }

  .stats-bar {
    max-width: calc(100% - 20px);
    border-radius: 0 0 15px 15px;
  }

  .stats-content {
    padding: 14px 16px;
  }

  .stats-row {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .stat-item {
    min-width: auto;
  }

  .stat-number {
    font-size: 22px;
    letter-spacing: -0.6px;
  }

  .stat-label {
    font-size: 11px;
    letter-spacing: -0.1px;
    line-height: 1.2;
  }

  .learnsimply-partners-section {
    padding: 25px 0;
  }

  .learnsimply-partners-container {
    padding: 0 12px;
    gap: 16px;
  }

  .learnsimply-partners-title {
    font-size: 18px;
  }

  .learnsimply-partners-slider-track {
    gap: 25px;
  }

  .learnsimply-partner-logo {
    height: 22px;
  }
}

/* Mobile Very Small - 380px */
@media (max-width: 380px) {
  .main-title {
    font-size: 22px;
  }

  .description {
    font-size: 14px;
  }

  .card-title {
    font-size: 20px;
  }

  .stars-icon {
    width: 120px;
  }

  .button-dark,
  .button-light {
    height: 40px;
    padding: 8px 16px;
  }

  .button-dark span,
  .button-light span {
    font-size: 12px;
  }

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

  .stat-label {
    font-size: 11px;
  }

  .learnsimply-partners-title {
    font-size: 16px;
  }

  .learnsimply-partners-slider-track {
    gap: 20px;
    animation-duration: 25s;
  }

  .learnsimply-partner-logo {
    height: 20px;
  }
}

/* ===== COURSES & BOOKS SECTIONS RESPONSIVE STYLES ===== */

/* Large Desktop - 1400px */
@media (max-width: 1400px) {
  .learnsimply-courses-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .learnsimply-books-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    max-width: 1200px;
  }
}

/* Desktop - 1200px */
@media (max-width: 1200px) {
  .learnsimply-featured-courses-section,
  .learnsimply-books-section {
    padding: 45px 0;
  }

  .learnsimply-section-container {
    padding: 0 30px;
  }

  .learnsimply-courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    max-width: 900px;
  }

  .learnsimply-books-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    max-width: 1000px;
  }

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

/* Tablet Large - 1024px */
@media (max-width: 1024px) {
  .learnsimply-section-icon {
    width: 55px;
    height: 55px;
  }

  .learnsimply-section-title {
    font-size: 44px;
  }

  .learnsimply-section-description {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .learnsimply-courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .learnsimply-books-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  /* .course-image {
    height: 220px;
  } */

  .course-badge p,
  .book-badge p {
    font-size: 15px;
  }

  .course-title p,
  .book-title p {
    font-size: 20px;
    line-height: 30px;
  }

  .course-description p,
  .book-description p {
    font-size: 15px;
    line-height: 24px;
  }
}

/* Tablet - 900px */
@media (max-width: 900px) {
  .learnsimply-featured-courses-section,
  .learnsimply-books-section {
    padding: 40px 0;
  }

  .learnsimply-section-container {
    padding: 0 25px;
  }

  .learnsimply-section-icon {
    width: 50px;
    height: 50px;
  }

  .learnsimply-section-title {
    font-size: 40px;
  }

  .learnsimply-section-description {
    font-size: 17px;
    margin-bottom: 35px;
  }

  .learnsimply-courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    max-width: 800px;
  }

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

  .learnsimply-books-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 700px;
  }
}

/* Mobile Large - 768px */
@media (max-width: 768px) {
  .learnsimply-featured-courses-section,
  .learnsimply-books-section {
    padding: 35px 0;
  }

  .learnsimply-section-container {
    padding: 0 20px;
  }

  .learnsimply-section-header {
    flex-direction: column;
    gap: 10px;
  }

  .learnsimply-section-icon {
    width: 48px;
    height: 48px;
  }

  .learnsimply-courses-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 500px;
  }

  .learnsimply-section-title {
    font-size: 36px;
    line-height: 44px;
  }

  .learnsimply-section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .learnsimply-courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .learnsimply-books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .course-card,
  .book-card {
    padding: 18px;
  }

  .course-image {
    height: auto;
    aspect-ratio: 16/9;
  }

  .book-image {
    aspect-ratio: 600/849;
  }

  .course-badge,
  .book-badge {
    padding: 8px 12px;
  }

  .course-badge p,
  .book-badge p {
    font-size: 14px;
  }

  .instructor-info,
  .book-author-info {
    gap: 6px;
  }

  .instructor-avatar,
  .book-author-avatar {
    width: 45px;
    height: 45px;
  }

  .instructor-name,
  .book-author-name {
    font-size: 15px;
  }

  .instructor-title,
  .book-author-title {
    font-size: 13px;
  }

  .course-title p,
  .book-title p {
    font-size: 19px;
    line-height: 28px;
  }

  .course-description p,
  .book-description p {
    font-size: 14px;
    line-height: 22px;
  }

  .course-info,
  .book-info {
    padding: 10px 15px;
    gap: 12px;
  }

  .info-item p {
    font-size: 14px;
  }

  .info-divider {
    display: none;
  }

  .course-actions,
  .book-actions {
    gap: 8px;
  }

  .buy-button,
  .cart-button {
    padding: 10px 16px;
    height: 44px;
  }

  .buy-button span,
  .cart-button span {
    font-size: 14px;
  }

  .learnsimply-view-all-button {
    padding: 14px 28px;
    font-size: 16px;
  }
}

/* Mobile - 600px */
@media (max-width: 600px) {
  .learnsimply-featured-courses-section,
  .learnsimply-books-section {
    padding: 30px 0;
  }

  .learnsimply-section-container {
    padding: 0 16px;
  }

  .learnsimply-section-icon {
    width: 44px;
    height: 44px;
  }

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

  .learnsimply-section-description {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .learnsimply-courses-grid,
  .learnsimply-books-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
  }

  .course-card,
  .book-card {
    padding: 16px;
    border-radius: 18px;
  }

  .course-header,
  .book-header {
    align-items: flex-start;
    gap: 12px;
  }

  .course-badge,
  .book-badge {
    padding: 7px 12px;
  }

  .instructor-avatar,
  .book-author-avatar {
    width: 42px;
    height: 42px;
  }

  .course-title p,
  .book-title p {
    font-size: 18px;
    line-height: 27px;
  }

  .course-description p,
  .book-description p {
    font-size: 13px;
    line-height: 20px;
  }

  .course-info,
  .book-info {
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
  }

  .info-item {
    width: auto;
  }

  .course-actions,
  .book-actions {
    flex-direction: column;
    gap: 10px;
  }

  .buy-button,
  .cart-button {
    width: 100%;
    justify-content: center;
    height: 46px;
  }

  .learnsimply-view-all-button {
    width: 100%;
    max-width: 300px;
  }
}

/* Mobile Small - 480px */
@media (max-width: 480px) {
  .learnsimply-featured-courses-section,
  .learnsimply-books-section {
    padding: 25px 0;
  }

  .learnsimply-section-container {
    padding: 0 12px;
  }

  .learnsimply-section-icon {
    width: 40px;
    height: 40px;
  }

  .learnsimply-section-title {
    font-size: 28px;
    line-height: 36px;
  }

  .learnsimply-section-description {
    font-size: 14px;
    margin-bottom: 25px;
    max-width: 100%;
  }

  .learnsimply-courses-grid,
  .learnsimply-books-grid {
    gap: 14px;
    max-width: 350px;
  }

  .course-card,
  .book-card {
    padding: 14px;
    border-radius: 16px;
    gap: 10px;
  }

  .course-image {
    border-radius: 12px;
  }

  .book-image {
    border-radius: 8px;
  }

  .course-badge p,
  .book-badge p {
    font-size: 13px;
  }

  .instructor-name,
  .book-author-name {
    font-size: 14px;
  }

  .instructor-title,
  .book-author-title {
    font-size: 12px;
  }

  .course-title p,
  .book-title p {
    font-size: 17px;
    line-height: 25px;
  }

  .course-description p,
  .book-description p {
    font-size: 12px;
    line-height: 19px;
  }

  .course-info,
  .book-info {
    padding: 8px;
    gap: 8px;
  }

  .info-item p {
    font-size: 13px;
  }

  .buy-button,
  .cart-button {
    height: 44px;
    padding: 10px 14px;
  }

  .buy-button span,
  .cart-button span {
    font-size: 13px;
  }

  .learnsimply-view-all-button {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* Mobile Extra Small - 380px */
@media (max-width: 380px) {
  .learnsimply-section-title {
    font-size: 26px;
    line-height: 34px;
  }

  .learnsimply-section-description {
    font-size: 13px;
  }

  .course-card,
  .book-card {
    padding: 12px;
  }

  .course-badge,
  .book-badge {
    padding: 6px 10px;
  }

  .instructor-avatar,
  .book-author-avatar {
    width: 38px;
    height: 38px;
  }

  .course-title p,
  .book-title p {
    font-size: 16px;
    line-height: 24px;
  }

  .buy-button,
  .cart-button {
    height: 42px;
    padding: 8px 12px;
  }

  .buy-button span,
  .cart-button span {
    font-size: 12px;
  }
}

/* ===== SECTION COMMON STYLES ===== */
.learnsimply-section-container {
  max-width: 1474px;
  margin: 0 auto;
  padding: 50px 40px;
}

.learnsimply-section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 20px;
}

/* For the Featured Courses section: place the icon above the title so the title is centered like its description */
.learnsimply-featured-courses-section .learnsimply-section-header {
  flex-direction: column;
  gap: 12px;
}

/* For the Books section: stack icon above the title so it's centered like other details */
.learnsimply-books-section .learnsimply-section-header {
  flex-direction: column;
  gap: 12px;
}

.learnsimply-section-icon {
  width: 63px;
  height: 63px;
  object-fit: contain;
}

.learnsimply-section-title {
  color: #fff;
  text-align: center;
  font-family: "Graphik Arabic";
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 68px; /* 113.333% */
  letter-spacing: -1.2px;
}

.learnsimply-section-description {
  color: var(--description-color, #999eb2);
  text-align: center;
  font-family: "Graphik Arabic";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 147%; /* 29.4px */
  letter-spacing: -0.6px;
  max-width: 723px;
  margin: 0 auto 52px;
}

/* ===== FEATURED COURSES SECTION ===== */
.learnsimply-featured-courses-section {
  padding: 50px 0;
}

.learnsimply-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  justify-content: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Course card base (vertical stacking) — keep images visible and consistent */
.course-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
  display: block;
  width: 100%;
  max-width: 478px;
  margin: 0 auto;
}

.course-image,
.single-course-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  /* height: 249px; */
  align-self: stretch;
  object-fit: cover;
  display: block;
}
.single-course-image img {
  width: 100%;
  /* height: 572px; */
  align-self: stretch;
  object-fit: cover;
  display: block;
}

/* Slightly larger image on wide screens for balance */
@media (min-width: 1200px) {
  /* .course-image {
    height: 260px;
  } */
}

/* Ensure smaller screens keep the stacked layout and correct aspect */
@media (max-width: 768px) {
  .course-card {
    padding: 18px;
  }

  .course-image {
    height: auto;
    aspect-ratio: 16/9;
    width: 100%;
  }

  .course-image img {
    object-fit: cover;
  }
}

.learnsimply-course-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--learnsimply-border-radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--learnsimply-transition);
}

.learnsimply-course-card:hover {
  border-color: var(--learnsimply-primary-blue);
  transform: translateY(-5px);
}

.learnsimply-course-image-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
}

.learnsimply-course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.learnsimply-course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.learnsimply-course-badge {
  background: rgba(64, 119, 243, 0.05);
  color: var(--learnsimply-primary-blue);
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
}

.learnsimply-course-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.learnsimply-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0 solid white;
  object-fit: cover;
}

.learnsimply-author-info {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.learnsimply-author-name {
  font-size: 16px;
  color: var(--learnsimply-text-white);
}

.learnsimply-author-title {
  font-size: 14px;
  color: #9c9ca4;
}

.learnsimply-course-title {
  font-size: 20px;
  line-height: 32px;
  color: var(--learnsimply-text-white);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.learnsimply-course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.learnsimply-course-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.learnsimply-rating-text {
  font-size: 14px;
  line-height: 2;
  color: var(--learnsimply-text-gray);
}

.learnsimply-course-students {
  display: flex;
  align-items: center;
  gap: 5px;
}

.learnsimply-students-avatars {
  display: flex;
  align-items: center;
  position: relative;
}

.learnsimply-student-avatar {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: 1px solid white;
  margin-left: -10px;
  object-fit: cover;
}

.learnsimply-student-avatar:first-child {
  margin-left: 0;
}

.learnsimply-students-count {
  background: #ffce31;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  border: 2px solid white;
  margin-left: -10px;
}

.learnsimply-students-label {
  font-size: 14px;
  line-height: 20px;
  color: var(--learnsimply-text-gray);
}

.learnsimply-course-details-row {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--learnsimply-border-radius-sm);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.learnsimply-course-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.learnsimply-detail-text {
  font-size: 16px;
  line-height: 25px;
  color: var(--learnsimply-text-gray);
}

.learnsimply-course-detail-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
}

.learnsimply-course-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.learnsimply-course-pricing {
  display: flex;
  gap: 10px;
  align-items: center;
}

.learnsimply-current-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--learnsimply-primary-blue);
}

.learnsimply-old-price {
  font-size: 14px;
  color: var(--learnsimply-text-gray);
  text-decoration: line-through;
}

.learnsimply-discount-badge {
  background: rgba(254, 184, 114, 0.1);
  color: #feb872;
  padding: 5px 10px;
  border-radius: 58px;
  font-size: 14px;
  font-weight: 500;
}

.learnsimply-course-actions {
  display: flex;
  gap: 10px;
}

.learnsimply-buy-now-button {
  flex: 1;
  background: var(--learnsimply-primary-blue);
  color: var(--learnsimply-text-white);
  padding: 12px 20px;
  border-radius: var(--learnsimply-border-radius-sm);
  font-size: 16px;
  transition: var(--learnsimply-transition);
}

.learnsimply-buy-now-button:hover {
  background: #3566d4;
  transform: translateY(-2px);
}

.learnsimply-add-cart-button {
  background: rgba(255, 255, 255, 0.05);
  width: 48px;
  height: 48px;
  grid-column: 2;
  justify-self: center;
  justify-content: center;
  border-radius: var(--learnsimply-border-radius-sm);
  transition: var(--learnsimply-transition);
}

.learnsimply-add-cart-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.learnsimply-view-all-button {
  display: flex;
  width: 167px;
  padding: 19px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 70px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* make the default background the same as the previous hover color */
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
  font-family: "IBM Plex Sans Arabic";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: -0.32px;
  grid-column: 2;
  justify-self: center;
  transition: var(--learnsimply-transition);
}

.learnsimply-view-all-button:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* Center the Books section "view all" button under the grid */
.learnsimply-books-section .learnsimply-view-all-button {
  display: block;
  margin: 24px auto 0;
}

/* Force the default and hover backgrounds to override any other rules or caching oddities */
.learnsimply-view-all-button {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}
.learnsimply-view-all-button:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

/* ===== BOOKS SECTION ===== */
.learnsimply-books-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 50px 0;
}

.learnsimply-books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.book-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* max-width: 358px; */
  width: 100%;
  position: relative;
  transition: var(--learnsimply-transition);
  direction: rtl;
}

.book-card:hover {
  border-color: #4077f3;
  transform: translateY(-5px);
}

.book-image {
  width: 100%;
  aspect-ratio: 600/849;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.book-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.book-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.book-badge {
  background: rgba(64, 119, 243, 0.05);
  padding: 10px 15px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.book-badge p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: #4077f3;
  margin: 0;
}

.instructor-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.instructor-text .name {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: white;
  margin: 0;
}

.instructor-text .title {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #9c9ca4;
  margin: 0;
}

.instructor-avatar {
  background: linear-gradient(to bottom, #fdf6f0, white);
  border-radius: 57.07px;
  width: 50.25px;
  height: 50.25px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.avatar-glow {
  position: absolute;
  width: 33.34px;
  height: 33.34px;
}

.avatar-glow-1 {
  left: 28.55px;
  top: 16.73px;
}

.avatar-glow-2 {
  left: -8.86px;
  top: 4.07px;
}

.instructor-avatar img {
  width: 58px;
  height: 51px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.book-title {
  width: 100%;
}

.book-title p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: white;
  text-align: right;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.book-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 73.33px;
}

.info-icon {
  width: 24px;
  height: 24px;
}

/* Book page icon: use img/page.png instead of SVG for all book cards */
.learnsimply-books-section .book-info > .info-item:nth-child(3) .info-icon {
  display: none;
}

.learnsimply-books-section .book-info > .info-item:nth-child(3)::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("img/page.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 6px;
}

.info-item p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: #999eb2;
  margin: 0;
  text-align: right;
}

.info-divider {
  width: 0;
  height: 32px;
  position: relative;
}

.info-divider svg {
  transform: rotate(90deg);
}

.price-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.discount-badge {
  background: rgba(254, 184, 114, 0.1);
  padding: 5px 10px;
  border-radius: 58px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.discount-badge p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: normal;
  color: #feb872;
  margin: 0;
  text-align: center;
}

.price-display {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.old-price {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #999eb2;
  text-decoration: line-through;
  text-decoration-skip-ink: none;
  margin: 0;
}

.new-price {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
  color: #4077f3;
  margin: 0;
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.cart-button {
  background: rgba(255, 255, 255, 0.05);
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}

.cart-icon {
  width: 24px;
  height: 24px;
}

.buy-button {
  background: #4077f3;
  border-radius: 10px;
  height: 48px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.buy-button p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: white;
  margin: 0;
}

/* ===== NEW ABOUT SECTION ===== */
.about-main-container {
  width: 100%;
  
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  gap: 52px;
  align-items: center;
  direction: rtl;
}

/* About Section */
.about-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* make about section a positioning context so the badge can sit at the right edge */
.about-section {
  position: relative;
}

.about-image-container {
  flex: 1;
  min-width: 0;
}

.about-profile-image {
  width: 100%;
  border-radius: 29px;
  overflow: hidden;
  position: relative;
}

.about-profile-image img {
  /* Show the image fully within the card while preserving aspect ratio.
       Use contain so the whole image is visible; center it inside the
       rounded container. */
  position: relative;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.about-content-container {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 41px;
  align-items: flex-end;
}

.about-content-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 31px;
  /* align-items: flex-start; */
}

.about-badge {
  padding: 5px 30px;
  border: 1px solid #4077f3;
  border-radius: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.about-badge-text {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.6px;
  color: #4077f3;
  margin: 0;
}

.about-section-heading {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 67px;
  letter-spacing: 0;
  color: white;
  margin: 0;
  /* margin-top: 100px; */
  /* text-align: right; */
  width: 100%;
}

.about-description {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 30px;
  color: #999eb2;
  margin: 0;
  /* text-align: right; */
  width: 100%;
}

/* Keep description and stats aligned: same max-width and pinned to the right edge
   so the stats start exactly under the description's starting point. */
.about-description,
.about-overview {
  max-width: 578px;
  width: 100%;
  margin-left: auto; /* push to the right in RTL layout */
}

.about-description p {
  margin: 0;
}

.about-overview {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-direction: row-reverse; /* layout items right-to-left */
  justify-content: flex-start; /* items placed starting from the right due to margin-left:auto on container */
  width: 100%;
  margin-right: 0; /* remove any right-side gap */
}

/* Prevent badge/title overlap on smaller screens */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .about-section .about-badge {
    position: static;
    margin-bottom: 8px;
  }

  .about-section-heading {
    margin-top: 0;
  }

  /* Remove the extra right offset on smaller screens */
  .about-overview {
    margin-right: 0;
  }

  /* On small screens keep the CTA centered and full-width for better tap targets */
  .about-cta-button {
    align-self: center !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 320px;
  }
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  /* align-items: flex-end; */
}

.about-stat-number {
  font-family: "Plus Jakarta Sans", "Graphik Arabic", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.5;
  letter-spacing: -1.44px;
  color: white;
  margin: 0;
}

.about-stat-number .plus {
  color: #4077f3;
}

/* Ensure the numeric values in About stats sit at the right edge
   and render the digits left-to-right so the plus sign appears on the
   left of the number while the whole block stays right-aligned. */
.about-stat-number {
  text-align: right;
  display: block;
  direction: rtl;
}

.about-stat-number .stat-value {
  direction: rtl;
  display: inline-block;
  margin-right: 6px; /* space between number and plus in RTL */
}

.about-stat-number .plus {
  color: #4077f3;
}

.about-stat-label {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: #999eb2;
  margin: 0;
  text-align: right;
}

.about-cta-button {
  padding: 19px 34px 19px 24px;
  background: #4077f3 !important;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 208px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* match description/overview starting point by using same max-width and pushing to right */
  max-width: 578px;
  width: fit-content;
  margin-left: auto;
  margin-right: 5px;
}

.about-cta-button:hover {
  background: #3566d9;
}

.about-cta-button-text {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: white;
  margin: 0;
  text-align: center;
}

/* Logos Section */
.about-logos-section {
  width: 100%;
  height: auto; /* allow content to define height */
  position: relative;
  background: transparent !important; /* use site's normal background */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  overflow: visible;
  border-radius: 0; /* match page background */
}

.about-logo-icon {
  width: 36px;
  height: 36px;
  opacity: 0.7;
  color: white;
  transition: all 0.3s ease;
}

.about-logo-icon:hover {
  opacity: 1;
  transform: scale(1.2);
}

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

/* CTA Card */
.about-cta-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-light-effect {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.about-light-top {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(64, 119, 243, 0.15) 0%,
    transparent 70%
  );
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.about-light-bottom {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(64, 119, 243, 0.1) 0%,
    transparent 70%
  );
  bottom: -150px;
  right: -100px;
}

.about-card-title {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: normal;
  letter-spacing: -0.54px;
  color: white;
  margin: 0;
  position: relative;
  z-index: 1;
}

.about-card-description {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.32px;
  color: #999eb2;
  margin: 0;
  position: relative;
  z-index: 1;
}

.about-button-group {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.about-btn {
  padding: 12px 19px;
  border-radius: 10px;
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  white-space: nowrap;
}

.about-btn-secondary {
  /* use hover color as default per request */
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  letter-spacing: -0.18px;
}

.about-btn-primary {
  /* use hover color as default per request */
  background: #3566d9 !important;
  letter-spacing: -0.32px;
}

/* hover rules removed for About buttons per request */

/* About Responsive */
@media (max-width: 1024px) {
  .about-section {
    flex-direction: column-reverse;
    padding: 40px 24px;
  }

  .about-content-container {
    align-items: center;
  }

  .about-content-inner {
    /* align-items: center; */
  }

  .about-section-heading {
    font-size: 36px;
    line-height: 48px;
    /* text-align: center; */
  }

  .about-description {
    /* text-align: center; */
  }

  .about-overview {
    flex-direction: column;
    /* align-items: center; */
    max-width: 100%;
  }

  .about-stat-item {
    /* align-items: center; */
  }

  .about-stat-label {
    /* text-align: center; */
  }

  .about-logos-section {
    flex-wrap: wrap;
    height: auto;
    padding: 30px;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .about-main-container {
    /* padding: 40px 24px;
        margin-top: 60px; */
  }

  .about-section-heading {
    font-size: 28px;
    line-height: 38px;
  }

  .about-description {
    font-size: 18px;
    line-height: 26px;
  }

  .about-stat-number {
    font-size: 36px;
  }

  .about-stat-label {
    font-size: 14px;
  }

  .about-card-title {
    font-size: 36px;
  }

  .about-card-description {
    font-size: 18px;
    line-height: 28px;
  }

  .about-cta-card {
    padding: 40px 24px;
  }

  .about-button-group {
    flex-direction: column;
    width: 100%;
  }

  .about-btn {
    width: 100%;
  }
}

/* ===== OLD ABOUT SECTION (kept for reference) ===== */
.learnsimply-about-section {
  padding: 50px 0;
}

.learnsimply-about-content-wrapper {
  display: flex;
  flex-direction: row-reverse;
  gap: 84px;
  align-items: center;
  margin-bottom: 80px;
}

.learnsimply-about-image-column {
  flex: 1;
  width: 100%;
}

.learnsimply-about-image {
  width: 100%;
  height: auto;
  border-radius: 59px;
  object-fit: cover;
}

.learnsimply-about-text-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 41px;
}

.learnsimply-about-badge {
  background: transparent;
  border: 1px solid var(--learnsimply-primary-blue);
  color: var(--learnsimply-primary-blue);
  padding: 6px 30px;
  border-radius: 80px;
  font-size: 20px;
  font-weight: 500;
  width: fit-content;
}

.learnsimply-about-title {
  font-size: 50px;
  line-height: 67px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 0;
}

.learnsimply-about-description {
  font-size: 21px;
  line-height: 30px;
  color: var(--learnsimply-text-gray);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.learnsimply-about-description p {
  margin: 0;
}

.learnsimply-about-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.learnsimply-about-stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.learnsimply-stat-number-large {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.5;
}

.learnsimply-stat-number-large::before {
  content: "+";
  color: var(--learnsimply-primary-blue);
}

.learnsimply-stat-description {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: var(--learnsimply-text-gray);
}

.learnsimply-about-cta-button {
  background: #3566d4 !important;
  color: var(--learnsimply-text-white);
  padding: 19px 34px;
  border-radius: var(--learnsimply-border-radius-sm);
  font-size: 16px;
  font-weight: 500;
  width: 208px;
  transition: var(--learnsimply-transition);
}

.learnsimply-tech-stack-section {
  padding: 50px 0;
  position: relative;
}

.learnsimply-tech-logos-row {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.learnsimply-tech-logos-row::before,
.learnsimply-tech-logos-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 1;
}

.learnsimply-tech-logos-row::before {
  left: 0;
  /* subtle dark vignette on the left */
  background: linear-gradient(
    90deg,
    rgba(10, 15, 26, 0.95) 0%,
    rgba(10, 15, 26, 0.75) 24%,
    transparent 48%
  );
}

.learnsimply-tech-logos-row::after {
  right: 0;
  /* subtle dark vignette on the right */
  background: linear-gradient(
    270deg,
    rgba(10, 15, 26, 0.95) 0%,
    rgba(10, 15, 26, 0.75) 24%,
    transparent 48%
  );
}

.learnsimply-tech-logo-item {
  display: flex;
  flex-direction: row-reverse; /* name on the right in RTL */
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-radius: 12px;
  transition: var(--learnsimply-transition);
  width: calc(20% - 16px); /* five items per row */
  min-width: 120px;
  box-sizing: border-box;
}

/* Make each tech item blend with page background (remove bright/light bg) */
.learnsimply-tech-logo-item {
  background: transparent !important;
  box-shadow: none !important;
}

.learnsimply-tech-logo-item:hover {
  /* hover removed per request */
}

.learnsimply-tech-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.learnsimply-tech-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--learnsimply-text-white);
  text-transform: none;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .learnsimply-tech-logo-item {
    width: calc(33.333% - 16px);
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .learnsimply-tech-logo-item {
    width: calc(50% - 12px);
    min-width: 120px;
  }
}

/* Darken icons at the left/right edges slightly for a subtle vignette */
.learnsimply-tech-logos-row
  .learnsimply-tech-logo-item:nth-child(-n + 2)
  .learnsimply-tech-logo,
.learnsimply-tech-logos-row
  .learnsimply-tech-logo-item:nth-last-child(-n + 2)
  .learnsimply-tech-logo {
  filter: brightness(0.55) saturate(0.9);
  opacity: 0.85;
}

.learnsimply-tech-logos-row
  .learnsimply-tech-logo-item:nth-child(-n + 2)
  .learnsimply-tech-name,
.learnsimply-tech-logos-row
  .learnsimply-tech-logo-item:nth-last-child(-n + 2)
  .learnsimply-tech-name {
  opacity: 0.75;
}

.learnsimply-cta-card-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--learnsimply-border-radius-md);
  padding: 60px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.learnsimply-cta-card-title {
  font-size: 50px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
}

.learnsimply-cta-card-description {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.6px;
  color: var(--learnsimply-text-gray);
  max-width: 723px;
}

.learnsimply-cta-card-buttons {
  display: flex;
  gap: 8px;
}

.learnsimply-primary-cta-btn,
.learnsimply-secondary-cta-btn {
  padding: 12px 20px;
  border-radius: var(--learnsimply-border-radius-sm);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.32px;
  transition: var(--learnsimply-transition);
}

.learnsimply-primary-cta-btn {
  background: var(--learnsimply-primary-blue);
  color: var(--learnsimply-text-white);
}

.learnsimply-primary-cta-btn:hover {
  background: #3566d4;
  transform: translateY(-2px);
}

.learnsimply-secondary-cta-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--learnsimply-text-white);
}

.learnsimply-secondary-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== MARQUEE BANNER ===== */
.marquee-section {
  width: 100%;
  background: #4077f3;
  padding: 50px 0;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0; /* no gap between duplicated tracks for seamless loop */
  animation: marquee-scroll var(--marquee-duration, 28s) linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 50px; /* spacing between items inside each track */
  flex: 0 0 auto; /* prevent shrinking so duplicated width equals content width */
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  /* move positive so items enter from left and exit to the right */
  100% {
    transform: translateX(calc(1 * var(--track-width, 1000px)));
  }
}

/* Pause on hover */
.marquee-section:hover .marquee-content {
  animation-play-state: paused;
}

.star-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.star-icon-small {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.marquee-text {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 64px;
  letter-spacing: -1.36px;
  color: white;
  margin: 0;
  flex-shrink: 0;
}

/* Marquee Responsive */
@media (max-width: 768px) {
  .marquee-section {
    padding: 30px 0;
  }

  .marquee-text {
    font-size: 24px;
    line-height: 40px;
    letter-spacing: -0.96px;
  }

  .star-icon {
    width: 32px;
    height: 32px;
  }

  .star-icon-small {
    width: 24px;
    height: 24px;
  }

  .marquee-content {
    gap: 30px;
  }

  .marquee-track {
    gap: 30px;
  }
}

/* ===== DECORATIVE BANNER (OLD) ===== */
.learnsimply-decorative-banner {
  background: var(--learnsimply-primary-blue);
  padding: 50px 0;
  overflow: hidden;
}

.learnsimply-banner-content {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  animation: learnsimply-scroll-banner 20s linear infinite;
}

@keyframes learnsimply-scroll-banner {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.learnsimply-banner-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.learnsimply-banner-text {
  font-size: 34px;
  line-height: 64px;
  letter-spacing: -1.36px;
  color: var(--learnsimply-text-white);
  white-space: nowrap;
}

/* ===== WHY CHOOSE US SECTION ===== */
.learnsimply-why-choose-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 50px 0;
}

.learnsimply-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 500px));
  gap: 25px;
  justify-content: center;
}

.learnsimply-feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.111px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: var(--learnsimply-transition);
}

.learnsimply-feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.learnsimply-feature-card-large {
  grid-column: span 1;
}

/* Specific adjustments for support card to bring icon closer to title */
.learnsimply-feature-support {
  gap: 8px; /* reduce vertical gap between stacked elements */
}

.learnsimply-feature-support .learnsimply-icon-container {
  margin-bottom: 2px; /* tighten spacing under the icon */
}

/* Ensure support bubbles appear above the icon and sit at the top */
.learnsimply-feature-support .learnsimply-support-bubbles {
  order: -2; /* first */
  z-index: 4;
  margin-bottom: 6px;
  position: relative;
}

.learnsimply-feature-support .learnsimply-icon-container {
  order: -1; /* after bubbles, before title */
  z-index: 3;
  margin-bottom: 4px;
}

/* Force tighter stacking in case other rules override */
.learnsimply-feature-support {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding-top: 12px !important;
}

.learnsimply-feature-support .learnsimply-support-bubbles {
  margin-bottom: 2px !important;
}

.learnsimply-feature-support .learnsimply-icon-container {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
  align-self: flex-start !important; /* right in RTL */
}

.learnsimply-feature-support > .learnsimply-card-title {
  margin-top: 0 !important;
}

.learnsimply-feature-card-code {
  grid-column: span 1;
}

.learnsimply-feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.111px solid;
}

.learnsimply-icon-blue {
  background: rgba(43, 127, 255, 0.1);
  border-color: rgba(43, 127, 255, 0.2);
}

.learnsimply-icon-orange {
  background: rgba(255, 105, 0, 0.1);
  border-color: rgba(255, 105, 0, 0.2);
}

.learnsimply-icon-purple {
  background: rgba(173, 70, 255, 0.1);
  border-color: rgba(173, 70, 255, 0.2);
}

.learnsimply-icon-green {
  background: rgba(0, 201, 80, 0.1);
  border-color: rgba(0, 201, 80, 0.2);
}

.learnsimply-icon-cyan {
  background: rgba(0, 187, 167, 0.1);
  border-color: rgba(0, 187, 167, 0.2);
}

.learnsimply-icon-pink {
  background: rgba(246, 51, 154, 0.1);
  border-color: rgba(246, 51, 154, 0.2);
}

.learnsimply-feature-title {
  font-size: 25px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.45px;
  color: #f4f4f5;
  margin: 0;
}

.learnsimply-feature-description {
  font-size: 25px;
  line-height: 33px;
  color: var(--learnsimply-text-gray);
}

.learnsimply-feature-illustration {
  height: 207.969px;
  opacity: 0.2;
  margin: 20px 0;
}

.learnsimply-code-preview {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--learnsimply-border-radius-md);
  overflow: hidden;
  margin-top: 20px;
}

.learnsimply-code-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1.111px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.learnsimply-code-dots {
  display: flex;
  gap: 8px;
}

.learnsimply-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.learnsimply-dot-green {
  background: rgba(0, 201, 80, 0.5);
}

.learnsimply-dot-yellow {
  background: rgba(240, 177, 0, 0.5);
}

.learnsimply-dot-red {
  background: rgba(251, 44, 54, 0.5);
}

.learnsimply-code-filename {
  font-size: 12px;
  color: #71717b;
}

.learnsimply-code-content {
  padding: 20px;
  font-family: var(--learnsimply-font-code);
  font-size: 14px;
  line-height: 20px;
}

.learnsimply-code-keyword {
  color: #c27aff;
}

.learnsimply-code-string {
  color: #05df72;
}

.learnsimply-code-badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12px;
  margin: 10px 20px;
  display: inline-block;
}

/* ===== TESTIMONIALS SECTION ===== */
.learnsimply-testimonials-section {
  padding: 50px 0;
}

.learnsimply-testimonials-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.learnsimply-testimonials-slider::-webkit-scrollbar {
  height: 8px;
}

.learnsimply-testimonials-slider::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.learnsimply-testimonials-slider::-webkit-scrollbar-thumb {
  background: var(--learnsimply-primary-blue);
  border-radius: 4px;
}

.learnsimply-testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--learnsimply-border-radius-sm);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 492.667px;
  flex-shrink: 0;
}

.learnsimply-testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.learnsimply-testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.learnsimply-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.learnsimply-testimonial-name {
  font-size: 20px;
  font-weight: 500;
  color: var(--learnsimply-text-white);
}

.learnsimply-testimonial-role {
  font-size: 18px;
  color: var(--learnsimply-text-gray);
}

.learnsimply-testimonial-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -23px;
  z-index: 2;
}

.learnsimply-testimonial-text {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 50px 30px 30px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--learnsimply-text-white);
  text-align: center;
  margin-bottom: -23px;
  z-index: 1;
}

.learnsimply-slider-controls {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.learnsimply-slider-arrow {
  width: 80px;
  height: 51px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.807px solid rgba(255, 255, 255, 0.05);
  border-radius: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--learnsimply-transition);
}

.learnsimply-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.learnsimply-arrow-prev svg {
  transform: rotate(180deg) scaleY(-1);
}

.learnsimply-arrow-next {
  opacity: 0.7;
}

/* ===== CERTIFICATE SECTION ===== */
.learnsimply-certificate-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 50px 0;
  direction: rtl;
}

.learnsimply-certificate-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}

.learnsimply-certificate-image-column {
  position: relative;
}

.learnsimply-certificate-preview {
  /* background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05); */
  border-radius: 24px;
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 600/520;
  overflow: hidden;
}

/* Group Container */
.learnsimply-cert-group-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

/* Pink Star Background */
.learnsimply-cert-star-bg {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 326.156px;
  height: 326.156px;
  z-index: 1;
}

.learnsimply-cert-star-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Certificate Card */
.learnsimply-cert-card {
  position: absolute;
  left: 50%;
  top: 123.09px;
  transform: translateX(-50%);
  background: #23272e;
  border-radius: 9.785px;
  z-index: 2;
}

.learnsimply-cert-card-inner {
  display: flex;
  flex-direction: column;
  gap: 12.749px;
  padding: 12.749px;
  border-radius: inherit;
  overflow: hidden;
}

/* Heading */
.learnsimply-cert-heading {
  position: relative;
  width: 100%;
}

.learnsimply-cert-heading-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12.749px;
  padding: 0 8.499px;
  font-size: 14.874px;
  line-height: 0;
}

.learnsimply-cert-title-text {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  color: white;
  line-height: 21.248px;
  margin: 0;
}

.learnsimply-cert-emoji {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #d5d9e2;
  line-height: 21.248px;
  margin: 0;
}

/* Divider */
.learnsimply-cert-divider {
  position: relative;
  width: 100%;
  height: 0;
}

.learnsimply-cert-divider-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Certificate Image */
.learnsimply-cert-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.learnsimply-cert-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  pointer-events: none;
}

/* Card Border */
.learnsimply-cert-card-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9.785px;
  pointer-events: none;
}

/* Bronze Medal Emoji */
.learnsimply-cert-emoji-bronze {
  position: absolute;
  left: 486.41px;
  top: 325.67px;
  transform: translateY(-50%);
  width: 54.527px;
  height: 49.577px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.learnsimply-cert-emoji-bronze-inner {
  transform: rotate(15deg);
}

.learnsimply-cert-emoji-bronze-text {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 45.662px;
  line-height: 38.44px;
  color: #d5d9e2;
  filter: blur(1.223px);
  margin: 0;
}

/* Gold Trophy Emoji */
.learnsimply-cert-emoji-gold {
  position: absolute;
  left: 39px;
  top: 369.74px;
  transform: translateY(-50%);
  width: 122.645px;
  height: 106.382px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.learnsimply-cert-emoji-gold-inner {
  transform: rotate(345deg);
}

.learnsimply-cert-emoji-gold-text {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 104.37px;
  line-height: 81.539px;
  color: #d5d9e2;
  filter: blur(3.262px);
  margin: 0;
}

/* Silver Medal Emoji */
.learnsimply-cert-emoji-silver {
  position: absolute;
  left: 149px;
  top: 123.11px;
  transform: translateY(-50%);
  width: 83.971px;
  height: 69.122px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.learnsimply-cert-emoji-silver-inner {
  transform: rotate(15deg);
}

.learnsimply-cert-emoji-silver-text {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 52.185px;
  line-height: normal;
  color: #d5d9e2;
  filter: blur(1.631px);
  margin: 0;
  width: 73px;
}

.learnsimply-certificate-text-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.learnsimply-certificate-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 72px;
  letter-spacing: -2px;
  margin: 0;

}

.learnsimply-certificate-description {
  font-size: 20px;
  line-height: 32px;
  color: var(--learnsimply-text-white);

}

.learnsimply-certificate-cta-button {
  background: rgba(255, 255, 255, 0.1) !important;
  padding: 6px 32px;
  border-radius: 96px;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
  color: var(--learnsimply-text-white) !important;
  width: fit-content;
  transition: var(--learnsimply-transition);
}

/* Hover visual removed: keep hover background as default */

.learnsimply-certificate-features {
  background: rgba(64, 119, 243, 0.2);
  border: 1px solid var(--learnsimply-primary-blue);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.learnsimply-certificate-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  direction: rtl;
  text-align: right;
}

.learnsimply-certificate-feature-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== FAQ SECTION ===== */
.learnsimply-faq-section {
  padding: 50px 0;
}

.learnsimply-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1474px;
  margin: 0 auto;
}

.learnsimply-faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--learnsimply-transition);
}

.learnsimply-faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.learnsimply-faq-question {
  width: 100%;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: transparent;
  color: var(--learnsimply-text-white);
  text-align: right;
}

.learnsimply-faq-question-text {
  font-size: 25px;
  font-weight: 500;
  flex: 1;
}

.learnsimply-faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: var(--learnsimply-transition);
}

.learnsimply-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 34px;
}

.learnsimply-faq-answer p {
  font-size: 18px;
  line-height: normal;
  letter-spacing: 0.36px;
  color: var(--learnsimply-text-gray);
  padding-bottom: 34px;
}

.learnsimply-faq-item-active .learnsimply-faq-answer {
  max-height: 500px;
}

.learnsimply-faq-item-active .learnsimply-faq-icon {
  transform: rotate(180deg);
}

/* ===== NEW FAQ ACCORDION DESIGN ===== */
.faq-accordion-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.18s ease;
  /* margin-bottom: 20px; */
}

.faq-accordion-item .learnsimply-homepage-body button{
background: none;
width: 100%;
}
/* Hover effect on entire card */
.faq-accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Active/Press effect on entire card */
.faq-accordion-item:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
  width: 100%;
  /* remove bottom padding so closed item has no extra gap */
  padding: 34px 34px 34px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: transparent;
  color: var(--learnsimply-text-white);
  text-align: right;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: none; /* remove individual transitions */
  background: none !important;
}

/* Focused via keyboard (accessibility) */
.faq-question:focus-visible {
  outline: 3px solid rgba(64, 119, 243, 0.18);
  outline-offset: 3px;
}

.faq-question-text {
  font-size: 25px;
  font-weight: 500;
  flex: 1;
}

.faq-icon-container {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  pointer-events: none; /* allow clicks to pass to the question button */
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* ensure svg icons don't block click */
}

.faq-icon-plus {
  opacity: 1;
}

.faq-icon-minus {
  opacity: 0;
}

.faq-accordion-item.active .faq-icon-plus {
  opacity: 0;
}

.faq-accordion-item.active .faq-icon-minus {
  opacity: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  opacity: 0;
  visibility: hidden;
  /* padding: 0 34px 34px 34px; */
}

.faq-accordion-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  padding-top: 4px; /* move the gap to become visible only when opened */
  padding: 0 25px 25px 25px;
}

.faq-answer-content {
  display: flex;
  padding: 20px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 13px;
  align-self: stretch;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 54px 0 rgba(0, 0, 0, 0.03);
  direction: rtl;
  text-align: right;
}

.faq-answer-content p {
  font-size: 18px;
  line-height: normal;
  letter-spacing: 0.36px;
  color: var(--learnsimply-text-gray);
  margin: 0;
}

/* ===== FOOTER ===== */
.learnsimply-footer-section {
  background: var(--learnsimply-card-bg);
  padding: 40px 70px;
  direction: rtl;
}

.learnsimply-footer-container {
  max-width: 1533px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  direction: rtl;
}

.learnsimply-footer-contact-row {
  display: flex;
  gap: 42px;
  justify-content: center; /* center the contact items */
  padding: 20px 10px;
  flex-wrap: wrap;
  direction: rtl;
  justify-content: center;
}

.learnsimply-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: rtl;
  text-align: right;
  flex-direction: row; /* changed from row-reverse to put icon on right */
}

.learnsimply-contact-icon-wrapper {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--learnsimply-border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.learnsimply-contact-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.learnsimply-contact-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
  direction: rtl;
}

.learnsimply-contact-title {
  font-size: 16px;
  color: var(--learnsimply-text-white);
  letter-spacing: -0.32px;
}

.learnsimply-contact-value {
  font-size: 16px;
  color: var(--learnsimply-text-gray);
  letter-spacing: -0.32px;
}

.learnsimply-footer-links-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #192132;
  border-radius: 30px;
  padding: 45px 70px; /* reduced from 340px to 70px */
  display: flex;
  /* gap: 80px; */
  justify-content: flex-start; /* align to right in RTL */
  margin-bottom: 15px;
  direction: rtl;
  /* flex-wrap: wrap; */
}

.learnsimply-footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* direction: rtl; */
  text-align: right;
  width: 100%;
}

.learnsimply-footer-column-title {
  font-size: 25px;
  font-weight: 500;
  color: var(--learnsimply-text-white);
  margin: 0;
}

.learnsimply-footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
  direction: rtl;
}

.learnsimply-footer-link {
  font-size: 16px;
  color: var(--learnsimply-text-gray);
  transition: var(--learnsimply-transition);
}

.learnsimply-footer-link:hover {
  color: var(--learnsimply-text-white);
  padding-right: 5px;
}

.learnsimply-footer-logo-link {
  display: flex;
  align-items: center;
  gap: 6.914px;
  margin-bottom: 15px;
}

.learnsimply-footer-logo-image {
  width: 38px;
  height: 36px;
  object-fit: contain;
}

.learnsimply-footer-logo-text {
  font-size: 21.605px;
  font-weight: 500;
  color: var(--learnsimply-text-white);
}

.learnsimply-footer-description {
  font-size: 16px;
  line-height: 25px;
  color: var(--learnsimply-text-gray);
  max-width: 546px;
}

.learnsimply-social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.learnsimply-social-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 25px;
  color: var(--learnsimply-text-white);
  margin: 0;
}

.learnsimply-social-icons {
  display: flex;
  gap: 15px;
}

.learnsimply-social-icon {
  width: 47px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* margin: 0 8px; */
}

.learnsimply-social-image {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Make Facebook icon look like other social icons (use image without blue background) */
.learnsimply-social-facebook {
  width: 47px;
  height: 48px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #4077f3;
} 

.learnsimply-social-facebook .learnsimply-social-image {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.learnsimply-facebook-f {
  display: none;
}

.learnsimply-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: center; /* center the bottom content */
  padding-top: 23px;
  border-top: 1px solid rgba(153, 158, 178, 0.1);
}

.learnsimply-footer-legal {
  display: flex;
  gap: 15px;
  font-size: 14px;
  letter-spacing: -0.28px;
  justify-content: center; /* center links horizontally */
  flex-wrap: wrap;
}

.learnsimply-footer-legal-link {
  color: var(--learnsimply-text-gray);
  transition: var(--learnsimply-transition);
}

.learnsimply-footer-legal-link:hover {
  color: var(--learnsimply-text-white);
}

.learnsimply-footer-copyright {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.32px;
  color: var(--learnsimply-text-gray);
  text-align: center; /* center copyright text */
}

.learnsimply-footer-brand-logo {
  height: 30.525px;
  width: auto;
  object-fit: contain;
}

.learnsimply-payment-methods {
  text-align: center; /* center payment section */
  display: flex;
  flex-direction: column;
  gap: 6px;
  direction: rtl;
  align-items: center; /* center children */
}

.learnsimply-payment-title {
  font-size: 14px;
  line-height: 1.39;
  color: var(--learnsimply-text-white);
  direction: rtl;
}

.learnsimply-payment-logos {
  display: flex;
  gap: 20px; /* center logos */
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  direction: rtl;
}

.learnsimply-payment-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.learnsimply-scroll-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: var(--learnsimply-primary-blue);
  border: 3px solid rgba(64, 119, 243, 0.6);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--learnsimply-transition);
}

.learnsimply-scroll-to-top.learnsimply-visible {
  opacity: 1;
  visibility: visible;
}

.learnsimply-scroll-to-top:hover {
  background: #3566d4;
  transform: translateY(-5px);
}

/* ===== RESPONSIVE STYLES ===== */

/* Large Desktop (max-width: 1600px) */
@media (max-width: 1600px) {
  .learnsimply-hero-full-top-wrapper {
    max-width: 1200px;
  }

  .learnsimply-hero-full-blue-main-card {
    width: 1200px;
  }

  .learnsimply-hero-full-image-decorations-wrapper {
    width: 700px;
    height: 700px;
  }

  .learnsimply-hero-full-person-image-container {
    width: 500px;
    height: 650px;
  }

  .learnsimply-hero-full-blue-decoration-bg {
    width: 1200px;
    height: 1200px;
    left: 150px;
    top: -150px;
  }
}

/* Desktop (max-width: 1400px) */
@media (max-width: 1400px) {
  .learnsimply-hero-full-main-title {
    font-size: 48px;
    letter-spacing: -2.5px;
  }

  .learnsimply-hero-full-subtitle {
    font-size: 24px;
  }

  .learnsimply-hero-full-blue-title {
    font-size: 46px;
  }

  .learnsimply-hero-full-image-decorations-wrapper {
    width: 600px;
    height: 600px;
  }

  .learnsimply-hero-full-person-image-container {
    width: 450px;
    height: 550px;
    left: 40px;
    top: 40px;
  }

  .learnsimply-about-content-wrapper,
  .learnsimply-certificate-content-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .learnsimply-footer-links-wrapper {
    padding: 45px 50px;
    gap: 60px;
  }

  .learnsimply-footer-column-title {
    font-size: 23px;
  }
}

.gallery-images div {
  flex-shrink: 0;
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .learnsimply-hero-full-page-wrapper {
    padding: 60px 30px 30px 30px;
  }

  .learnsimply-hero-full-content-main {
    padding: 40px 0;
  }

  .learnsimply-hero-full-main-title {
    font-size: 40px;
    letter-spacing: -2px;
  }

  .learnsimply-hero-full-subtitle {
    font-size: 20px;
  }

  .learnsimply-hero-full-blue-title {
    font-size: 38px;
  }

  .learnsimply-hero-full-blue-main-card {
    padding: 30px;
  }

  .learnsimply-hero-full-image-decorations-wrapper {
    width: 500px;
    height: 500px;
    left: -20px;
  }

  .learnsimply-hero-full-person-image-container {
    width: 400px;
    height: 480px;
    left: 30px;
    top: 30px;
  }

  .learnsimply-hero-full-statistics-bar-wrapper {
    max-width: 100%;
    padding: 15px 30px;
  }

  .learnsimply-hero-full-statistics-inner-container {
    gap: 25px;
  }

  .learnsimply-hero-full-stat-number-value {
    font-size: 32px;
  }

  .learnsimply-hero-full-stat-label-description {
    font-size: 16px;
  }

  .learnsimply-hero-full-blue-decoration-bg {
    width: 1000px;
    height: 1000px;
  }

  .learnsimply-header-right-side {
    gap: 30px;
  }

  .learnsimply-header-navigation-menu {
    gap: 15px;
  }

  .learnsimply-header-menu-text {
    font-size: 16px;
    letter-spacing: -0.32px;
  }

  .learnsimply-header-logo-text {
    font-size: 18px;
  }

  .learnsimply-section-title {
    font-size: 42px;
  }

  .learnsimply-footer-links-wrapper {
    padding: 40px 40px;
    gap: 50px;
  }

  .learnsimply-footer-section {
    padding: 35px 40px;
  }

  .learnsimply-footer-contact-row {
    gap: 30px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .learnsimply-hero-full-page-wrapper {
    padding: 40px 20px 20px 20px;
  }

  .learnsimply-hero-full-main-card {
    border-radius: 30px;
  }

  .learnsimply-hero-full-content-main {
    padding: 30px 0;
  }

  .learnsimply-hero-full-title-container {
    max-width: 100%;
  }

  .learnsimply-hero-full-main-title {
    font-size: 32px;
    letter-spacing: -1.5px;
  }

  .learnsimply-hero-full-subtitle {
    font-size: 18px;
  }

  .learnsimply-hero-full-check-list-wrapper {
    gap: 10px;
    flex-direction: column;
    align-items: flex-end;
  }

  .learnsimply-hero-full-check-text {
    font-size: 14px;
  }

  .learnsimply-hero-full-check-icon-svg {
    width: 18px;
    height: 18px;
  }

  .learnsimply-hero-full-blue-main-card {
    width: 100%;
    padding: 25px 20px;
    border-radius: 30px;
  }

  .learnsimply-hero-full-blue-content-wrapper {
    max-width: 100%;
    gap: 20px;
  }

  .learnsimply-hero-full-blue-title {
    font-size: 28px;
  }

  .learnsimply-hero-full-stars-rating-svg {
    width: 160px;
    height: 27px;
  }

  .learnsimply-hero-full-blue-buttons-wrapper {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .learnsimply-hero-full-btn-primary-courses,
  .learnsimply-hero-full-btn-secondary-books {
    width: 100%;
    justify-content: center;
  }

  .learnsimply-hero-full-image-decorations-wrapper {
    width: 400px;
    height: 400px;
    left: 0;
    bottom: 0;
  }

  .learnsimply-hero-full-person-image-container {
    width: 320px;
    height: 380px;
    left: 20px;
    top: 20px;
  }

  .learnsimply-hero-full-pink-star-decoration {
    width: 120px;
    height: 120px;
    right: 480px;
    top: 320px;
  }

  .learnsimply-hero-full-pink-star-inner {
    width: 90px;
    height: 85px;
  }

  .learnsimply-hero-full-blue-shape-decoration {
    width: 120px;
    height: 115px;
    left: 320px;
    top: 240px;
  }

  .learnsimply-hero-full-statistics-bar-wrapper {
    border-radius: 0 0 20px 20px;
    padding: 15px 20px;
  }

  .learnsimply-hero-full-statistics-inner-container {
    flex-direction: column;
    gap: 20px;
  }

  .learnsimply-hero-full-stat-item-middle-width {
    min-width: auto;
  }

  .learnsimply-hero-full-stat-number-value {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .learnsimply-hero-full-stat-label-description {
    font-size: 14px;
    letter-spacing: -0.28px;
  }

  .learnsimply-header-main-container {
    top: 5px;
    width: calc(100% - 20px);
    padding: 12px;
    border-radius: 16px;
  }

  .learnsimply-header-border-overlay {
    border-radius: 17px;
  }

  .learnsimply-header-content-wrapper {
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }

  .learnsimply-header-right-side {
    flex: 0 0 auto;
    min-width: auto;
    gap: 0;
  }

  .learnsimply-header-logo-container {
    flex-shrink: 0;
  }

  .learnsimply-header-navigation-menu {
    display: none;
  }

  .learnsimply-header-menu-text {
    font-size: 15px;
  }

  .learnsimply-header-logo-text {
    font-size: 17px;
  }

  .learnsimply-header-logo-image-wrapper {
    width: 32px;
    height: 30px;
  }

  .learnsimply-header-auth-buttons-container {
    display: flex !important;
    position: static !important;
    width: auto !important;
    justify-content: center;
    gap: 6px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    transform: none !important;
  }

  .learnsimply-header-btn-login,
  .learnsimply-header-btn-signup {
    display: flex !important;
    flex: none;
    min-width: auto;
    max-width: none;
    height: 36px;
    padding: 6px 12px;
  }

  .learnsimply-header-btn-text {
    font-size: 12px;
    letter-spacing: -0.28px;
  }

  .learnsimply-section-container {
    padding: 40px 20px;
  }

  .learnsimply-section-title {
    font-size: 32px;
    line-height: 1.3;
  }

  .learnsimply-section-description {
    font-size: 16px;
  }

  .learnsimply-courses-grid,
  .learnsimply-books-grid {
    grid-template-columns: 1fr;
  }

  .learnsimply-about-title,
  .learnsimply-certificate-title {
    font-size: 32px;
    line-height: 1.3;
  }

  .learnsimply-testimonials-slider {
    padding-left: 20px;
  }

  .learnsimply-testimonial-card {
    min-width: 320px;
  }

  .learnsimply-faq-question-text {
    font-size: 18px;
  }

  .learnsimply-faq-answer p {
    font-size: 16px;
  }

  .learnsimply-footer-section {
    padding: 30px 20px;
  }

  .learnsimply-footer-links-wrapper {
    flex-direction: column;
    padding: 30px 20px 30px 30px; /* keep content aligned to right */
    gap: 40px;
  }

  .learnsimply-footer-contact-row {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    align-items: start;
  }

  .learnsimply-contact-item {
    /* width: 100%; */
 
  }
  .learnsimply-contact-text {
    /* align-items: center;
    text-align: center; */
  }
  .learnsimply-footer-column {
    width: 100%;
    align-items: flex-start;
  }

  .learnsimply-footer-column-title {
    font-size: 22px;
  }

  .learnsimply-footer-description {
    font-size: 15px;
    line-height: 22px;
  }

  .learnsimply-footer-bottom {
    gap: 15px;
  }

  .learnsimply-footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .learnsimply-social-icons {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .learnsimply-hero-full-page-wrapper {
    padding: 30px 15px 15px 15px;
  }

  .learnsimply-hero-full-main-card {
    border-radius: 20px;
  }

  .learnsimply-hero-full-content-main {
    padding: 20px 0;
  }

  .learnsimply-hero-full-main-title {
    font-size: 26px;
    letter-spacing: -1.2px;
  }

  .learnsimply-hero-full-subtitle {
    font-size: 16px;
  }

  .learnsimply-hero-full-badge-text {
    font-size: 14px;
  }

  .learnsimply-hero-full-badge-wrapper {
    padding: 5px 14px;
  }

  .learnsimply-hero-full-blue-main-card {
    width: 100%;
    padding: 20px 15px;
    border-radius: 20px;
  }

  .learnsimply-hero-full-blue-title {
    font-size: 24px;
  }

  .learnsimply-hero-full-btn-primary-text,
  .learnsimply-hero-full-btn-secondary-text {
    font-size: 14px;
  }

  .learnsimply-hero-full-image-decorations-wrapper {
    width: 320px;
    height: 320px;
  }

  .learnsimply-hero-full-person-image-container {
    width: 260px;
    height: 300px;
    left: 15px;
    top: 15px;
  }

  .learnsimply-hero-full-pink-star-decoration {
    width: 90px;
    height: 90px;
    right: 360px;
    top: 240px;
  }

  .learnsimply-hero-full-pink-star-inner {
    width: 70px;
    height: 65px;
  }

  .learnsimply-hero-full-blue-shape-decoration {
    width: 90px;
    height: 85px;
    left: 240px;
    top: 180px;
  }

  .learnsimply-hero-full-statistics-bar-wrapper {
    border-radius: 0 0 15px 15px;
  }

  .learnsimply-hero-full-stat-number-value {
    font-size: 24px;
  }

  .learnsimply-hero-full-stat-label-description {
    font-size: 13px;
  }

  .learnsimply-auth-buttons-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .learnsimply-signup-button,
  .learnsimply-login-button {
    width: 100%;
  }

  .learnsimply-section-title {
    font-size: 28px;
  }

  .learnsimply-course-details-row,
  .learnsimply-book-details-row {
    flex-direction: column;
    gap: 10px;
  }

  .learnsimply-course-detail-divider,
  .learnsimply-book-detail-divider {
    display: none;
  }

  .learnsimply-testimonial-card {
    min-width: 280px;
    padding: 20px 15px;
  }
}

/* Course Card Styles */
.course-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* max-width: 457px;
    width: 100%; */
  position: relative;
  direction: rtl;
  transition: var(--learnsimply-transition);
}

/* Ensure buy & cart buttons show primary color by default (not only on hover) */
.course-card .buy-button,
.book-card .buy-button,
.learnsimply-buy-now-button,
.buy-button {
  background: var(--learnsimply-primary-blue) !important;
  color: #fff !important;
}

.course-card .cart-button,
.book-card .cart-button,
.learnsimply-add-cart-button,
.cart-button {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
}

.buy-button span,
.buy-button p,
.learnsimply-buy-now-button {
  color: #fff !important;
}

.cart-button svg path,
.cart-button .cart-icon path {
  stroke: #fff !important;
}

.buy-button:hover,
.learnsimply-buy-now-button:hover,
.cart-button:hover,
.learnsimply-add-cart-button:hover {
  filter: brightness(0.92);
  transform: translateY(-2px);
}

/* Header Section (Badge + Instructor) */
.course-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-direction: row;
}

.course-badge {
  background: rgba(64, 119, 243, 0.05);
  padding: 10px 15px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-badge p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: #4077f3;
  margin: 0;
}

.instructor-info {
  display: flex;
  align-items: center;
  gap: 8.304px;
  flex-direction: row-reverse !important;
}

.instructor-avatar {
  background: linear-gradient(to bottom, #fdf6f0, white);
  border-radius: 57.07px;
  width: 50.25px;
  height: 50.25px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.avatar-glow {
  position: absolute;
  width: 33.34px;
  height: 33.34px;
}

.avatar-glow-1 {
  left: 28.55px;
  top: 16.73px;
}

.avatar-glow-2 {
  left: -8.86px;
  top: 4.07px;
}

.instructor-avatar img {
  width: 58px;
  height: 51px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Course Title */
.course-title {
  width: 100%;
}

.course-title p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: white;
  text-align: right;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Review and Students */
.review-students {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-direction: row-reverse;
}

.review {
  display: flex;
  align-items: center;
  gap: 5px;
}

.review p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 2;
  color: #999eb2;
  margin: 0;
}

.star-icon {
  width: 24px;
  height: 24px;
}

.students {
  display: flex;
  align-items: center;
  gap: 5px;
}

.students p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #999eb2;
  margin: 0;
}

.students-avatars {
  display: grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
  position: relative;
  width: 103.05px;
  height: 37px;
}

.student-avatar {
  position: absolute;
  width: 37px;
  height: 37px;
  transform: scaleY(-1) rotate(180deg);
}

.student-avatar-1 {
  left: 65.05px;
  top: 0;
  width: 38px;
}
.student-avatar-2 {
  left: 45.05px;
  top: 0;
  width: 38px;
}
.student-avatar-3 {
  left: 25.05px;
  top: 0;
}

.student-count {
  position: absolute;
  left: 0;
  top: 0.01px;
}

.student-count-circle {
  position: relative;
  width: 36.388px;
  height: 36.975px;
  transform: scaleY(-1) rotate(180deg);
}

.student-count-text {
  position: absolute;
  left: 0;
  top: 0;
  width: 36.388px;
  height: 36.975px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-family: "IBM Plex Sans Arabic";
  font-size: 7px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* Course Info */
.course-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  flex-direction: row-reverse;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 73.33px;
}

.info-icon {
  width: 24px;
  height: 24px;
}

.info-item p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: #999eb2;
  margin: 0;
  text-align: right;
}

.info-item.level p {
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

.info-divider {
  width: 0;
  height: 32px;
  position: relative;
}

.info-divider svg {
  transform: rotate(90deg);
}

/* Replace SVG icons in course cards with PNG images (Inbox Line / levele) */
.course-info .info-item:first-child .info-icon,
.course-info .info-item.level .info-icon {
  display: none;
}

.course-info .info-item:first-child::before,
.course-info .info-item.level::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 6px;
}

.course-info .info-item:first-child::before {
  background-image: url("img/Inbox Line.png");
}

.course-info .info-item.level::before {
  background-image: url("img/levele.png");
}

/* Price Section */
.price-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-direction: row-reverse;
}

.discount-badge {
  background: rgba(254, 184, 114, 0.1);
  padding: 5px 10px;
  border-radius: 58px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.discount-badge p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: normal;
  color: #feb872;
  margin: 0;
  text-align: center;
}

.price-display {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.old-price {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #999eb2;
  text-decoration: line-through;
  text-decoration-skip-ink: none;
  margin: 0;
}

.new-price {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
  color: #4077f3;
  margin: 0;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-direction: row-reverse;
}

.cart-button {
  background: rgba(255, 255, 255, 0.05);
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}

.cart-icon {
  width: 24px;
  height: 24px;
}

.buy-button {
  background: #4077f3;
  border-radius: 10px;
  height: 48px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.buy-button p {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: white;
  margin: 0;
}
/* ===== ABOUT SECTION ===== */

/* About Section Styles */
.about-section {
  width: 100%;
  min-height: 100vh;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  direction: rtl;
}

/* Image Container */
.image-container {
  flex: 1;
  min-width: 0;
}

.profile-image {
  width: 100%;
  aspect-ratio: 696/554;
  border-radius: 59px;
  overflow: hidden;
  position: relative;
}

.profile-image img {
  position: absolute;
  width: 103.02%;
  height: 183.05%;
  left: -3.02%;
  top: -41.44%;
  max-width: none;
  object-fit: cover;
}

/* Content Container */
.content-container {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 41px;
  align-items: flex-end;
}

.content-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 31px;
  align-items: flex-end;
}

/* Badge */
.badge {
  padding: 5px 30px;
  border: 1px solid #4077f3;
  border-radius: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge-text {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.6px;
  color: #4077f3;
  margin: 0;
}

/* Title */
.section-heading {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 600;
  font-size: 50px;
  line-height: 67px;
  letter-spacing: 0;
  color: white;
  margin: 0;
  text-align: right;
  width: 100%;
}

.description p {
  margin: 0 0 0 0;
}

/* Overview Stats */
.overview {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  max-width: 578px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.stat-number {
  color: var(--primary, #4077f3);
  text-align: center;
  font-family: "Graphik Arabic";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 60px */
  letter-spacing: -1.2px;
  margin: 0;
}

.stat-number .plus {
  color: #4077f3;
}

.stat-label {
  color: #fff;
  text-align: center;
  font-family: "Graphik Arabic";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 27px */
  letter-spacing: -0.36px;
  margin: 0;
}

/* Button */
.cta-button {
  padding: 19px 34px 19px 24px;
  background: #4077f3;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 208px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-button:hover {
  background: #3566d9;
}

.cta-button-text {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
  color: white;
  margin: 0;
  text-align: center;
}

/* About Responsive */
@media (max-width: 1024px) {
  .about-section {
    flex-direction: column-reverse;
    padding: 40px 24px;
  }

  .content-container {
    align-items: center;
  }

  .content-inner {
    align-items: center;
  }

  .section-heading {
    font-size: 36px;
    line-height: 48px;
    text-align: center;
  }

  .description {
    text-align: center;
  }

  .overview {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .stat-item {
    align-items: center;
  }

  .stat-label {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 28px;
    line-height: 38px;
  }

  .description {
    font-size: 18px;
    line-height: 26px;
  }

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

  .stat-label {
    font-size: 14px;
  }
}

/* ===== FEATURES SECTION ===== */
.learnsimply-features-section {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  gap: 52px;
  align-items: center;
  direction: rtl;
}

.learnsimply-features-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 48px auto; /* center and add space below header away from cards */
}

.learnsimply-main-title {
  font-family: "IBM Plex Sans Arabic", "Graphik Arabic", sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 68px;
  letter-spacing: -1.2px;
  color: white;
  margin: 0;
  text-align: center;
}

.learnsimply-subtitle {
  font-family: "IBM Plex Sans Arabic", "Graphik Arabic", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.47;
  letter-spacing: -0.6px;
  color: #999eb2;
  margin: 0;
}

.learnsimply-features-grid {
  width: 100%;
  max-width: 1474px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.learnsimply-features-row {
  display: flex;
  flex-direction: row;
  gap: 25px;
  width: 100%;
}

.learnsimply-feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.111px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  text-align: right;
}

.learnsimply-feature-card-small {
  width: 500px;
  flex-shrink: 0;
}

.learnsimply-feature-card-large {
  flex: 1;
  min-width: 0;
}

.learnsimply-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.learnsimply-icon-blue {
  background: rgba(43, 127, 255, 0.1);
  border: 1.111px solid rgba(43, 127, 255, 0.2);
}

.learnsimply-icon-orange {
  background: rgba(255, 105, 0, 0.1);
  border: 1.111px solid rgba(255, 105, 0, 0.2);
}

.learnsimply-icon-purple {
  background: rgba(173, 70, 255, 0.1);
  border: 1.111px solid rgba(173, 70, 255, 0.2);
}

.learnsimply-icon-green {
  background: rgba(0, 201, 80, 0.1);
  border: 1.111px solid rgba(0, 201, 80, 0.2);
}

.learnsimply-icon-cyan {
  background: rgba(0, 187, 167, 0.1);
  border: 1.111px solid rgba(0, 187, 167, 0.2);
}

.learnsimply-icon-pink {
  background: rgba(246, 51, 154, 0.1);
  border: 1.111px solid rgba(246, 51, 154, 0.2);
}

.learnsimply-icon {
  width: 23.993px;
  height: 23.993px;
}

.learnsimply-card-title {
  font-weight: 600;
  font-size: 25px;
  line-height: 28px;
  letter-spacing: -0.45px;
  color: #f4f4f5;
  margin: 0;
  text-align: right;
}

.learnsimply-card-description {
  font-weight: 400;
  font-size: 25px;
  line-height: 33px;
  color: #999eb2;
  margin: 0;
  text-align: right;
}

.learnsimply-code-card {
  padding: 32px;
  gap: 20px;
  justify-content: space-between;
}

.learnsimply-code-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.learnsimply-code-buttons {
  display: flex;
  gap: 7.986px;
}

.learnsimply-code-button {
  width: 31.997px;
  height: 31.997px;
  border: 1.111px solid #3f3f46;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

/* Ensure both code buttons share identical size and white icon color */
.learnsimply-code-button,
.learnsimply-code-button-closed {
  width: 31.997px;
  height: 31.997px;
}

.learnsimply-code-button svg path,
.learnsimply-code-button-closed svg path {
  stroke: #ffffff !important;
}

.learnsimply-code-card-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.learnsimply-code-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.learnsimply-code-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1.111px solid rgba(255, 255, 255, 0.1);
}

.learnsimply-code-filename {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #71717b;
  margin: 0;
}

.learnsimply-code-dots {
  display: flex;
  gap: 8px;
}

.learnsimply-code-dot {
  width: 11.997px;
  height: 11.997px;
  border-radius: 50%;
}

.learnsimply-code-dot-green {
  background: rgba(0, 201, 80, 0.5);
}

.learnsimply-code-dot-yellow {
  background: rgba(240, 177, 0, 0.5);
}

.learnsimply-code-dot-red {
  background: rgba(251, 44, 54, 0.5);
}

.learnsimply-code-content {
  font-family: var(--learnsimply-font-code);
  font-size: 14px;
  line-height: 20px;
  display: flex;
  flex-direction: column;
  gap: 3.993px;
}

.learnsimply-code-line {
  display: flex;
  gap: 8px;
}

.learnsimply-code-keyword {
  color: #c27aff;
}

.learnsimply-code-variable {
  color: #d4d4d8;
}

.learnsimply-code-function {
  color: #51a2ff;
}

.learnsimply-code-string {
  color: #05df72;
}

.learnsimply-code-return {
  color: #ff8904;
}

.learnsimply-code-badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: "Graphik Arabic", sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: white;
  align-self: flex-start;
}

.learnsimply-chart-illustration {
  opacity: 0.2;
  width: 253.021px;
  height: 207.969px;
  flex-shrink: 0;
}

.learnsimply-card-content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
}

.learnsimply-card-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start; /* in RTL this aligns content to the right */
}

/* ensure the icon inside the text block anchors to the right edge */
.learnsimply-card-text-content .learnsimply-icon-container {
  align-self: flex-start !important; /* aligns icon to right in RTL */
  order: -1; /* ensure icon appears visually above title/description */
  margin-bottom: 6px;
}

/* ensure any icon container inside feature cards aligns to the right edge */
.learnsimply-feature-card .learnsimply-icon-container {
  align-self: flex-start !important; /* aligns icon to right in RTL */
  order: -1; /* place icon above title */
  margin-bottom: 6px;
}

/* reset any default margins so icons sit flush with right alignment */
.learnsimply-icon-container {
  margin: 0;
}

/* make titles and descriptions take full width and align right */
.learnsimply-card-title,
.learnsimply-card-description {
  width: 100%;
  text-align: right;
}

/* small feature cards: ensure their children start from the right */
.learnsimply-feature-card-small {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* align content to right in RTL */
}

.learnsimply-heart-illustration {
  opacity: 0.2;
  width: 75.9px;
  height: 75.9px;
  transform: rotate(12deg);
  margin-top: auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

.learnsimply-progress-container {
  width: 100%;
  height: 3.993px;
  display: flex;
  gap: 3.993px;
  opacity: 0.4;
}

.learnsimply-progress-segment {
  flex: 1;
  height: 100%;
  border-radius: 50px;
}

.learnsimply-progress-gray {
  background: #3f3f47;
}

.learnsimply-progress-cyan-light {
  background: rgba(0, 187, 167, 0.5);
}

.learnsimply-progress-cyan {
  background: #00bba7;
}

.learnsimply-support-bubbles {
  position: relative;
  width: 80px;
  height: 41px;
  opacity: 0.5;
}

.learnsimply-support-bubble {
  position: absolute;
  width: 23.993px;
  height: 23.993px;
  border-radius: 50%;
  border: 1.111px solid #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learnsimply-support-back {
  background: #3f3f47;
  right: 40px;
  top: 0;
}

.learnsimply-support-middle {
  background: #52525c;
  right: 19.16px;
  top: 0.44px;
}

.learnsimply-support-front {
  background: #ff6900;
  right: 0;
  top: 0;
  font-weight: 700;
  font-size: 10px;
  color: white;
}

/* ===== RESPONSIVE FEATURES SECTION ===== */
@media (max-width: 1500px) {
  .learnsimply-features-row {
    flex-wrap: wrap;
  }

  .learnsimply-feature-card-small {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .learnsimply-features-section {
    padding: 40px 24px;
    gap: 32px;
  }

  .learnsimply-main-title {
    font-size: 40px;
    line-height: 48px;
  }

  .learnsimply-subtitle {
    font-size: 18px;
  }

  .learnsimply-features-row {
    flex-direction: column;
  }

  .learnsimply-feature-card {
    width: 100% !important;
  }

  .learnsimply-card-title {
    font-size: 20px;
    line-height: 24px;
  }

  .learnsimply-card-description {
    font-size: 18px;
    line-height: 26px;
  }

  .learnsimply-code-card {
    padding: 24px;
  }

  .learnsimply-chart-illustration {
    width: 200px;
    height: 164px;
  }

  .learnsimply-heart-illustration {
    width: 60px;
    height: 60px;
  }

  .learnsimply-support-bubbles {
    width: 64px;
    height: 33px;
  }

  .learnsimply-support-bubble {
    width: 19px;
    height: 19px;
  }

  .learnsimply-support-back {
    right: 32px;
  }

  .learnsimply-support-middle {
    right: 15px;
    top: 0.35px;
  }

  .learnsimply-support-front {
    font-size: 8px;
  }
}

/* ===== NEW TESTIMONIALS SECTION ===== */
.learnsimply-new-testimonials-section {
  padding: 50px 20px;
  background: var(--learnsimply-dark-bg);
  direction: rtl;
}

.learnsimply-new-testimonials-container {
  max-width: 1474px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
}

/* Header */
.learnsimply-new-testimonials-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.learnsimply-new-testimonials-title-wrapper {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.learnsimply-new-testimonials-icon {
  width: 63px;
  height: 63px;
  object-fit: contain;
}

.learnsimply-new-testimonials-main-title {
  font-family: "IBM Plex Sans Arabic", var(--learnsimply-font-primary);
  font-weight: 700;
  font-size: 60px;
  line-height: 68px;
  color: var(--learnsimply-text-white);
  letter-spacing: -1.2px;
  margin: 0;
}

.learnsimply-new-testimonials-subtitle {
  font-family: "IBM Plex Sans Arabic", var(--learnsimply-font-primary);
  font-size: 20px;
  line-height: 1.47;
  color: var(--learnsimply-text-gray);
  letter-spacing: -0.6px;
  max-width: 723px;
  margin: 0;
}

/* Grid Wrapper */
.learnsimply-new-testimonials-grid-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.learnsimply-new-testimonials-grid {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease-in-out;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

/* Testimonial Card */
.learnsimply-new-testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  position: relative;
  width: calc(33.333% - 16px);
  min-width: 400px;
  max-width: 493px;
  flex-shrink: 0;
}

.learnsimply-new-testimonial-card-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  pointer-events: none;
}

/* Profile Header */
.learnsimply-new-testimonial-profile {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.learnsimply-new-testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}

.learnsimply-new-testimonial-name {
  font-family: var(--learnsimply-font-primary);
  font-weight: 500;
  font-size: 20px;
  color: var(--learnsimply-text-white);
  margin: 0;
}

.learnsimply-new-testimonial-role {
  font-family: var(--learnsimply-font-primary);
  font-size: 18px;
  color: var(--learnsimply-text-gray);
  margin: 0;
}

.learnsimply-new-testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.learnsimply-new-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Area */
.learnsimply-new-testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  padding-bottom: 23px;
}

/* Stars Badge */
.learnsimply-new-testimonial-stars-badge {
  width: 180px;
  height: 44px;
  margin-bottom: -23px;
  z-index: 2;
  position: relative;
}

.learnsimply-new-testimonial-stars-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Text Box */
.learnsimply-new-testimonial-text-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  width: 100%;
  padding: 50px 30px 30px;
  margin-bottom: -23px;
  z-index: 1;
  position: relative;
}

.learnsimply-new-testimonial-text {
  font-family: var(--learnsimply-font-primary);
  font-size: 18px;
  line-height: 1.5;
  color: var(--learnsimply-text-white);
  text-align: center;
  margin: 0;
}

/* Pagination Controls */
.learnsimply-new-testimonials-controls {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
  height: 51px;
}

.learnsimply-new-testimonial-btn {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.learnsimply-new-testimonial-btn:hover:not(:disabled) {
  opacity: 0.8;
}

.learnsimply-new-testimonial-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.learnsimply-new-testimonial-btn.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.learnsimply-testimonial-btn-bg {
  background: rgba(255, 255, 255, 0.05);
  height: 100%;
  position: relative;
  border-radius: 70px;
  width: 80px;
      overflow: hidden;
          height: fit-content;
      padding: 14px;
}

.learnsimply-testimonial-btn-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 8.071px;
  position: relative;
  border-radius: inherit;
  width: 100%;
  height: 100%;
}

.learnsimply-testimonial-btn-icon {
  position: relative;
  flex-shrink: 0;
}

.learnsimply-testimonial-btn-icon svg  {
  display: block;
  height: 30px;
}

.learnsimply-testimonial-btn-icon img{

  height: 30px !important;
}

.learnsimply-new-testimonial-btn {
  background: none !important;
}

/* Reset testimonial arrows — use images without flip */
.learnsimply-new-testimonial-btn-prev,
.learnsimply-new-testimonial-btn-next {
  transform: none;
}

/* Flip the icon image for the Next button to reverse its direction */
.learnsimply-new-testimonial-btn-next .learnsimply-testimonial-btn-icon img {
  transform: scaleX(-1);
  transform-origin: center;
}

/* Responsive Design */
@media (max-width: 1500px) {
  .learnsimply-new-testimonials-container {
    padding: 0 50px;
  }

  .learnsimply-new-testimonial-card {
    max-width: 450px;
  }
}

@media (max-width: 1024px) {
  .learnsimply-new-testimonials-main-title {
    font-size: 50px;
    line-height: 58px;
  }

  .learnsimply-new-testimonial-card {
    width: calc(50% - 12px);
    min-width: 320px;
  }
}

@media (max-width: 900px) {
  .learnsimply-new-testimonial-card {
    width: calc(50% - 12px);
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .learnsimply-new-testimonials-main-title {
    font-size: 40px;
    line-height: 48px;
  }

  .learnsimply-new-testimonials-subtitle {
    font-size: 18px;
  }

  .learnsimply-new-testimonial-card {
    width: calc(100% - 40px);
    min-width: 280px;
  }
}

@media (max-width: 480px) {
  .learnsimply-new-testimonials-section {
    padding: 30px 15px;
  }

  .learnsimply-new-testimonials-container {
    gap: 40px;
    padding: 0 !important;
  }

  .learnsimply-new-testimonials-main-title {
    font-size: 32px;
    line-height: 40px;
  }

  .learnsimply-new-testimonials-subtitle {
    font-size: 16px;
  }

  .learnsimply-new-testimonial-card {
    padding: 20px 15px;
    gap: 20px;
  }

  .learnsimply-new-testimonial-text {
    font-size: 16px;
    padding: 40px 20px 20px;
  }

  .learnsimply-new-testimonial-btn {
    width: 60px;
    height: 40px;
  }
}

/* ===== COMPREHENSIVE RESPONSIVE STYLES ===== */

/* Tablet and Below (max-width: 1200px) */
@media (max-width: 1200px) {
  .learnsimply-header-main-container {
    width: calc(100% - 40px);
    padding: 12px;
  }

  .learnsimply-header-navigation-menu {
    gap: 15px;
  }

  .learnsimply-header-menu-text {
    font-size: 16px;
  }

  .learnsimply-header-btn-login,
  .learnsimply-header-btn-signup {
    padding: 10px 20px;
    height: 44px;
  }

  .learnsimply-partners-logos-wrapper {
    gap: 40px;
  }

  .learnsimply-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .learnsimply-books-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .learnsimply-certificate-content-wrapper {
    gap: 60px;
  }

  .learnsimply-certificate-title {
    font-size: 48px;
    line-height: 62px;
  }

  .learnsimply-footer-links-wrapper {
    padding: 40px 80px;
    gap: 60px;
  }
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .learnsimply-header-right-side {
    gap: 20px;
  }

  .learnsimply-section-icon {
    width: 50px;
    height: 50px;
  }

  .learnsimply-section-title {
    font-size: 48px;
    line-height: 56px;
  }

  .learnsimply-section-description {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .learnsimply-courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .learnsimply-books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .learnsimply-tech-logo-item {
    width: calc(25% - 16px);
  }

  .learnsimply-cta-card-title {
    font-size: 42px;
  }

  .learnsimply-cta-card-description {
    font-size: 18px;
    line-height: 28px;
  }

  .learnsimply-features-row {
    flex-direction: column;
  }

  .learnsimply-feature-card-small,
  .learnsimply-feature-card-large {
    width: 100% !important;
  }

  /* .learnsimply-certificate-preview {
    max-width: 500px;
  } */

  .learnsimply-certificate-title {
    font-size: 42px;
    line-height: 54px;
  }

  .learnsimply-footer-links-wrapper {
    padding: 35px 40px;
    gap: 40px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .learnsimply-header-main-container {
    width: calc(100% - 30px);
    padding: 12px 15px;
    top: 5px;
  }

  .learnsimply-header-content-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .learnsimply-header-right-side {
    flex: 0 0 auto;
    min-width: auto;
    gap: 0;
  }

  .learnsimply-header-logo-container {
    flex-shrink: 0;
  }

  .learnsimply-header-logo-text {
    font-size: 17px;
  }

  .learnsimply-header-logo-image-wrapper {
    width: 32px;
    height: 30px;
  }

  .learnsimply-header-navigation-menu {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 500px;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .learnsimply-header-navigation-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .learnsimply-header-menu-item {
    width: 100%;
    padding: 12px 16px;
    justify-content: flex-end;
    border-radius: 12px;
  }

  .learnsimply-header-menu-text {
    font-size: 16px;
  }

  .learnsimply-header-auth-buttons-container {
    display: flex !important;
    position: static !important;
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 0 !important;
    gap: 6px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    transform: none !important;
    left: auto !important;
    bottom: auto !important;
  }

  .learnsimply-header-btn-login,
  .learnsimply-header-btn-signup {
    display: flex !important;
    flex: none;
    height: 36px;
    padding: 6px 12px;
  }

  .learnsimply-header-btn-text {
    font-size: 12px;
  }

  .learnsimply-header-mobile-toggle {
    display: flex !important;
    position: relative;
    top: auto;
    transform: none;
    right: auto;
  }

  .main-content {
    max-width: calc(100% - 40px);
    align-items: center;
  }

  .top-section {
    width: 100%;
    align-items: center;
  }

  .title-section {
    align-items: center;
  }

  /* Keep the badge aligned to the right on small screens */
  .title-section .badge {
    align-self: center; /* in RTL this keeps it at the right edge */
  }

  /* Align title, description and check items to the right on small screens */
  .title-section .main-title,
  .title-section .description {
    align-self: flex-start;
    text-align: center;
  }

  .top-section .check-item .check-text {
    text-align: right;
  }

  .badge {
    padding: 5px 14px;
  }

  .badge-text {
    font-size: 14px;
    line-height: 20px;
  }

  .main-title {
    font-size: 28px;
    letter-spacing: -1.5px;
    text-align: center;
  }

  .description {
    font-size: 18px;
    text-align: center;
  }

  .check-items {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    width: 100%;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
  }

  .check-item {
    flex-direction: row-reverse;
    flex: 0 0 auto; 
    align-items: flex-start; 
  }

  .check-icon {
    align-self: flex-start;
    flex: 0 0 18px;
    margin-top: 3px;
  }

  .check-text {
    font-size: 14px;
  }

  .check-icon {
    width: 18px;
    height: 18px;
  }

  .blue-card {
    width: 100%;
    padding: 25px 20px;
    border-radius: 30px;
    margin-inline: 16px;
    border-radius: 30px !important;
  }

  .blue-card-content {
    width: 100% !important;
    max-width: 100% !important;
    align-items: center;
  }

  .card-title {
    font-size: 24px;
    text-align: center;
  }

  .stars-icon {
    position: static !important;
    width: 180px;
    margin-bottom: 12px;
  }

  .buttons {
    position: static !important;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 20px !important;
  }

  .button-dark,
  .button-light {
    width: 100%;
    justify-content: center;
    height: 44px;
  }

  .side-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    left: 0;
    bottom: 0;
    margin: 30px auto 0;
  }

  .layer-image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 634/786;
    left: 0;
    top: 0;
  }

  .layer-image img {
    position: relative;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: contain;
    border-radius: 60px;
  }

  .pink-shape-wrapper,
  .blue-small-shape {
    display: none;
  }

  .stats-bar {
    width: 100%;
    max-width: calc(100% - 40px);
  }

  .stats-content {
    padding: 15px 20px;
  }

  .stats-row {
    flex-direction: row;
    gap: 20px;
  }

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

  .stat-label {
    font-size: 16px;
  }

  .learnsimply-partners-container {
    padding: 0 20px;
  }

  .learnsimply-partners-title {
    font-size: 22px;
  }

  .learnsimply-partners-logos-wrapper {
    gap: 30px;
  }

  .learnsimply-partner-logo {
    height: 28px;
  }

  .learnsimply-section-container {
    padding: 40px 20px;
  }

  .learnsimply-section-title {
    font-size: 36px;
    line-height: 44px;
  }

  .learnsimply-section-description {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .learnsimply-courses-grid,
  .learnsimply-books-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .course-image {
    height: auto;
    aspect-ratio: 16/9;
  }

  .course-title p,
  .book-title p {
    font-size: 18px;
    line-height: 28px;
  }

  .course-info,
  .book-info {
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 15px;
  }

  .info-divider {
    display: none;
  }

  .info-item {
    width: auto;
  }

  .learnsimply-view-all-button {
    width: 100%;
    max-width: 280px;
    padding: 16px 20px;
  }

  .about-main-container {
    padding: 40px 20px;
  }

  .about-section {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .about-section .about-badge {
    position: static;
    margin-bottom: 12px;
  }

  .about-section-heading {
    font-size: 32px;
    line-height: 42px;
    margin-top: 0;
    /* text-align: center; */
  }

  .about-description {
    font-size: 18px;
    line-height: 26px;
    /* text-align: center; */
  }

  .about-overview {
    flex-direction: column;
    /* align-items: center; */
    max-width: 100%;
    margin-left: 0;
  }

  .about-stat-item {
    /* align-items: center; */
  }

  .about-stat-number {
    font-size: 40px;
  }

  .about-stat-label {
    font-size: 14px;
    text-align: center;
  }

  .about-cta-button {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .learnsimply-tech-logos-row {
    gap: 15px;
    justify-content: center;
  }

  .learnsimply-tech-logo-item {
    width: calc(33.333% - 10px);
    min-width: 100px;
  }

  .learnsimply-tech-logo {
    width: 32px;
    height: 32px;
  }

  .learnsimply-tech-name {
    font-size: 14px;
  }

  .about-cta-card {
    padding: 40px 24px;
  }

  .about-card-title {
    font-size: 32px;
  }

  .about-card-description {
    font-size: 18px;
    line-height: 28px;
  }

  .about-button-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .about-btn {
    width: 100%;
  }

  .marquee-section {
    padding: 30px 0;
  }

  .marquee-text {
    font-size: 20px;
    line-height: 36px;
  }

  .star-icon {
    width: 28px;
    height: 28px;
  }

  .star-icon-small {
    width: 20px;
    height: 20px;
  }

  .learnsimply-features-section {
    padding: 40px 20px;
  }

  .learnsimply-main-title {
    font-size: 36px;
    line-height: 44px;
  }

  .learnsimply-subtitle {
    font-size: 16px;
  }

  .learnsimply-card-title {
    font-size: 20px;
    line-height: 26px;
  }

  .learnsimply-card-description {
    font-size: 18px;
    line-height: 26px;
  }

  .learnsimply-code-card {
    padding: 20px;
  }

  .learnsimply-code-box {
    padding: 16px;
  }

  .learnsimply-code-content {
    font-size: 12px;
    line-height: 18px;
  }

  .learnsimply-chart-illustration {
    width: 180px;
    height: 148px;
  }

  .learnsimply-new-testimonials-section {
    padding: 40px 20px;
  }

  .learnsimply-new-testimonials-container {
    gap: 48px;
  }

  .learnsimply-new-testimonials-main-title {
    font-size: 36px;
    line-height: 44px;
  }

  .learnsimply-new-testimonials-icon {
    width: 50px;
    height: 50px;
  }

  .learnsimply-new-testimonial-card {
    width: 100%;
    min-width: 280px;
    padding: 24px 16px;
  }

  .learnsimply-new-testimonial-text {
    font-size: 16px;
    padding: 40px 24px 24px;
  }

  .learnsimply-certificate-section {
    padding: 40px 20px;
  }

  .learnsimply-certificate-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .learnsimply-certificate-title {
    font-size: 36px;
    line-height: 46px;

  }

  .learnsimply-certificate-description {
    font-size: 18px;

  }

  .learnsimply-certificate-cta-button {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    line-height: 28px;
  
  }

  .learnsimply-certificate-features {
    padding: 16px;
    gap: 12px;
  }

  .learnsimply-certificate-feature-item {
    font-size: 14px;
  }

  .learnsimply-certificate-preview {
    max-width: 100%;
    margin: 0 auto;
  }

  .learnsimply-cert-card {
    transform: translateX(-50%) scale(0.85);
  }

  .learnsimply-faq-section {
    padding: 40px 20px;
  }

  .faq-question {
    padding: 24px 20px;
  }

  .faq-question-text {
    font-size: 18px;
  }

  .faq-answer {
    padding: 0 20px 24px 20px;
  }

  .faq-answer-content {
    padding: 16px;
  }

  .faq-answer-content p {
    font-size: 16px;
  }

  .learnsimply-footer-section {
    padding: 30px 20px;
  }

  .learnsimply-footer-contact-row {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .learnsimply-contact-item {
    /* justify-content: center; */
  }

  .learnsimply-footer-links-wrapper {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
  }

  .learnsimply-footer-column {
    /* align-items: center;
    text-align: center; */
  }

  .learnsimply-footer-links-list {
    /* align-items: center; */
  }

  .learnsimply-footer-description {
    text-align: center;
    white-space: normal;
  }

  .learnsimply-footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .learnsimply-footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .learnsimply-footer-copyright {
    font-size: 14px;
  }

  .learnsimply-payment-logos {
    gap: 15px;
  }

  .learnsimply-payment-logo {
    height: 28px;
  }
}

/* Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .learnsimply-header-main-container {
    width: calc(100% - 20px);
    padding: 10px 12px;
  }

  .learnsimply-header-logo-text {
    font-size: 16px;
  }

  .learnsimply-header-logo-image-wrapper {
    width: 30px;
    height: 28px;
  }

  .learnsimply-header-navigation-menu {
    width: calc(100% - 20px);
    top: 55px;
    padding: 16px;
  }

  .learnsimply-header-menu-item {
    padding: 10px 14px;
  }

  .learnsimply-header-menu-text {
    font-size: 15px;
  }

  .learnsimply-header-auth-buttons-container {
    display: flex !important;
    position: static !important;
    width: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 0 !important;
    gap: 4px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    transform: none !important;
    left: auto !important;
    bottom: auto !important;
  }

  .learnsimply-header-btn-login,
  .learnsimply-header-btn-signup {
    display: flex !important;
    padding: 6px 10px;
    height: 34px;
  }

  .learnsimply-header-btn-text {
    font-size: 11px;
  }

  .learnsimply-header-mobile-toggle {
    display: flex !important;
    position: relative;
    top: auto;
    transform: none;
    right: auto;
    width: 30px;
    height: 24px;
  }

  .learnsimply-mobile-toggle-bar {
    height: 2.5px;
  }

  .learnsimply-header-mobile-toggle.active
    .learnsimply-mobile-toggle-bar:nth-child(1) {
    transform: translateY(10.75px) rotate(45deg);
  }

  .learnsimply-header-mobile-toggle.active
    .learnsimply-mobile-toggle-bar:nth-child(3) {
    transform: translateY(-10.75px) rotate(-45deg);
  }

  .main-content {
    max-width: calc(100% - 32px);
    gap: 24px;
  }

  .top-section {
    gap: 24px;
  }

  .stats-row {
    flex-direction: column;
    gap: 20px;
  }

  .title-section {
    gap: 24px;
  }

  .main-title {
    font-size: 24px;
    letter-spacing: -1.2px;
  }

  .description {
    font-size: 16px;
  }

  .check-items {
    gap: 10px;
  }

  .check-text {
    font-size: 13px;
  }

  .check-icon {
    width: 16px;
    height: 16px;
  }

  .blue-card {
    padding: 20px 16px;
    border-radius: 24px;
    gap: 18px;
    margin-inline: 12px;
  }

  .card-title {
    font-size: 20px;
  }

  .stars-icon {
    width: 160px;
  }

  .buttons {
    gap: 8px;
  }

  .button-dark,
  .button-light {
    height: 40px;
    padding: 10px 20px;
  }

  .button-dark span,
  .button-light span {
    font-size: 14px;
  }

  .stats-bar {
    max-width: calc(100% - 32px);
  }

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

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

  .stat-label {
    font-size: 14px;
    letter-spacing: -0.28px;
  }

  .learnsimply-partners-title {
    font-size: 20px;
  }

  .learnsimply-partners-logos-wrapper {
    gap: 24px;
  }

  .learnsimply-partner-logo {
    height: 24px;
  }

  .learnsimply-section-title {
    font-size: 28px;
    line-height: 36px;
  }

  .learnsimply-section-description {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .course-title p,
  .book-title p {
    font-size: 16px;
    line-height: 24px;
  }

  .review p,
  .students p {
    font-size: 12px;
  }

  .info-item p {
    font-size: 14px;
    line-height: 22px;
  }

  .discount-badge p {
    font-size: 12px;
  }

  .old-price {
    font-size: 12px;
  }

  .new-price {
    font-size: 14px;
  }

  .buy-button p {
    font-size: 14px;
  }

  .cart-button {
    width: 44px;
    height: 44px;
  }

  .buy-button {
    height: 44px;
  }

  .learnsimply-view-all-button {
    max-width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  .about-section-heading {
    font-size: 26px;
    line-height: 34px;
  }

  .about-description {
    font-size: 16px;
    line-height: 24px;
  }

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

  .about-stat-label {
    font-size: 13px;
  }

  .about-cta-button {
    padding: 16px 24px;
    height: 50px;
    font-size: 15px;
  }

  .learnsimply-tech-logo-item {
    width: calc(50% - 8px);
    min-width: 90px;
    gap: 8px;
  }

  .learnsimply-tech-logo {
    width: 28px;
    height: 28px;
  }

  .learnsimply-tech-name {
    font-size: 13px;
  }

  .about-cta-card {
    padding: 32px 20px;
    gap: 24px;
  }

  .about-card-title {
    font-size: 26px;
  }

  .about-card-description {
    font-size: 16px;
    line-height: 24px;
  }

  .about-btn {
    padding: 10px 16px;
    font-size: 15px;
  }

  .marquee-text {
    font-size: 18px;
    line-height: 32px;
  }

  .star-icon {
    width: 24px;
    height: 24px;
  }

  .star-icon-small {
    width: 18px;
    height: 18px;
  }

  .learnsimply-main-title {
    font-size: 28px;
    line-height: 36px;
  }

  .learnsimply-subtitle {
    font-size: 15px;
  }

  .learnsimply-feature-card {
    padding: 16px;
    gap: 12px;
  }

  .learnsimply-card-title {
    font-size: 18px;
    line-height: 24px;
  }

  .learnsimply-card-description {
    font-size: 16px;
    line-height: 24px;
  }

  .learnsimply-icon-container {
    width: 44px;
    height: 44px;
  }

  .learnsimply-icon {
    width: 20px;
    height: 20px;
  }

  .learnsimply-code-card {
    padding: 16px;
  }

  .learnsimply-code-button,
  .learnsimply-code-button-closed {
    width: 28px;
    height: 28px;
  }

  .learnsimply-code-box {
    padding: 14px;
  }

  .learnsimply-code-filename {
    font-size: 11px;
  }

  .learnsimply-code-content {
    font-size: 11px;
    line-height: 16px;
  }

  .learnsimply-code-badge {
    font-size: 10px;
  }

  .learnsimply-chart-illustration {
    width: 150px;
    height: 123px;
  }

  .learnsimply-new-testimonials-main-title {
    font-size: 28px;
    line-height: 36px;
  }

  .learnsimply-new-testimonials-icon {
    width: 44px;
    height: 44px;
  }

  .learnsimply-new-testimonials-subtitle {
    font-size: 15px;
  }

  .learnsimply-new-testimonial-card {
    padding: 20px 14px;
    gap: 24px;
  }

  .learnsimply-new-testimonial-name {
    font-size: 18px;
  }

  .learnsimply-new-testimonial-role {
    font-size: 16px;
  }

  .learnsimply-new-testimonial-avatar {
    width: 54px;
    height: 54px;
  }

  .learnsimply-new-testimonial-text {
    font-size: 15px;
    padding: 36px 20px 20px;
  }

  .learnsimply-testimonial-btn-bg {
    width: 70px;
  }

 

  .learnsimply-certificate-title {
    font-size: 28px;
    line-height: 38px;
  }

  .learnsimply-certificate-description {
    font-size: 16px;
    line-height: 26px;
  }

  .learnsimply-certificate-cta-button {
    padding: 6px 24px;
    font-size: 15px;
    line-height: 26px;
  }

  .learnsimply-certificate-features {
    padding: 14px;
  }

  .learnsimply-certificate-feature-item {
    font-size: 13px;
  }

  .learnsimply-cert-card {
    transform: translateX(-50%) scale(0.7);
  }

  .faq-question {
    padding: 20px 16px;
  }

  .faq-question-text {
    font-size: 16px;
  }

  .faq-icon-container {
    width: 20px;
    height: 20px;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-answer {
    padding: 0 16px 20px 16px;
  }

  .faq-answer-content {
    padding: 14px;
  }

  .faq-answer-content p {
    font-size: 14px;
  }

  .learnsimply-footer-contact-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .learnsimply-contact-icon {
    width: 28px;
    height: 28px;
  }

  .learnsimply-contact-title,
  .learnsimply-contact-value {
    font-size: 14px;
  }

  .learnsimply-footer-column-title {
    font-size: 20px;
  }

  .learnsimply-footer-link {
    font-size: 14px;
  }

  .learnsimply-footer-description {
    font-size: 14px;
    line-height: 22px;
  }

  .learnsimply-footer-legal {
    font-size: 12px;
  }

  .learnsimply-footer-copyright {
    font-size: 13px;
  }

  .learnsimply-payment-title {
    font-size: 13px;
  }

  .learnsimply-payment-logo {
    height: 24px;
  }
}

@media (min-width: 769px) {
  .learnsimply-header-mobile-toggle {
    display: none;
  }
}

/* ===== STORY SECTION ===== */
.story-section {
  min-height: 100vh;
  background: var(--learnsimply-dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.story-container {
  width: 100%;
  max-width: 1474px;
  margin: 0 auto;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  width: 100%;
}

/* Header Section */
.story-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.story-title-wrapper {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.story-main-title {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 68px;
  text-align: center;
  color: white;
  margin: 0;
}

.story-subtitle {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.47;
  text-align: center;
  color: #999eb2;
  letter-spacing: -0.6px;
  max-width: 723px;
  margin: 0;
}

/* Timeline Items */
.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.story-card {
  background: var(--learnsimply-card-bg);
  border: 1px solid var(--learnsimply-card-border);
  border-radius: var(--learnsimply-border-radius-md);
  width: 100%;
}

.story-card-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px;
  width: 100%;
  flex-direction: column-reverse;
  gap: 16px;
}

.story-date {
  font-family: "Graphik Arabic", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  color: white;
  opacity: 0.5;
  letter-spacing: -0.64px;
  margin: 0;
}

.story-card-content {
  display: flex;
  flex: 1;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  flex-direction: column-reverse;
}

.story-text-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  width: 100%;
}

.story-card-title-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.story-card-title {
  flex: 1;
  font-family: var(--learnsimply-font-primary);
  font-weight: 600;
  font-size: 24px;
  line-height: normal;
  text-align: right;
  color: var(--learnsimply-text-white);
  margin: 0;
}

.story-card-description {
  display: flex;
  align-items: center;
  width: 100%;
}

.story-card-description p {
  flex: 1;
  font-family: var(--learnsimply-font-primary);
  font-weight: 500;
  font-size: 18px;
  line-height: normal;
  text-align: right;
  color: var(--learnsimply-text-gray);
  margin: 0;
  direction: rtl;
}

.story-number-tag {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-direction: row;
}

.story-number {
  font-family: var(--learnsimply-font-primary);
  font-weight: 600;
  font-size: 36px;
  line-height: 0;
  text-align: right;
  color: var(--learnsimply-text-white);
  letter-spacing: -1.44px;
  margin: 0;
}

.story-number span {
  line-height: 46px;
}

.story-slash {
  color: var(--learnsimply-primary-blue);
  font-family: var(--learnsimply-font-primary);
  font-weight: 600;
  font-size: 36px;
  line-height: 46px;
  margin: 0 8px;
}

.story-tag {
  background: rgba(64, 119, 243, 0.1);
  border: 1px solid var(--learnsimply-primary-blue);
  border-radius: 27px;
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
}

.story-tag p {
  font-family: var(--learnsimply-font-primary);
  font-weight: 600;
  font-size: 15px;
  line-height: 45px;
  color: var(--learnsimply-primary-blue);
  letter-spacing: -0.6px;
  margin: 0;
}

/* Divider */
.story-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.story-divider-line {
  width: 100%;
  height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stats Cards */
.story-stats {
  display: flex;
  gap: 28px;
  align-items: center;
  width: 100%;
  flex-direction: column;
}

.story-stat-card {
  flex: 1;
  height: 310px;
  width: 100%;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.story-stat-pink {
  background: #f16d7c;
}

.story-stat-dark {
  background: rgba(255, 255, 255, 0.05);
}

.story-stat-light {
  background: #f6f6f6;
}

.story-stat-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 310px;
  pointer-events: none;
}

.story-stat-pattern svg {
  display: block;
  width: 100%;
  height: 100%;
}

.story-stat-content {
  display: flex;
  flex-direction: column;
  gap: 79px;
  align-items: flex-start;
  text-align: center;
  width: 253.21px;
  position: relative;
  z-index: 10;
  padding: 50px 59px;
}

.story-stat-number {
  font-family: var(--learnsimply-font-primary);
  font-weight: 300;
  font-size: 80px;
  line-height: 46px;
  letter-spacing: -3.2px;
  width: 100%;
  margin: 0;
}

.story-stat-pink .story-stat-number,
.story-stat-dark .story-stat-number {
  color: white;
}

.story-stat-light .story-stat-number {
  color: #2f2f2f;
}

.story-stat-text {
  font-family: var(--learnsimply-font-primary);
  font-weight: 600;
  line-height: 25px;
  letter-spacing: -0.92px;
  width: 100%;
}

.story-stat-label {
  font-size: 17px;
  margin: 0 0 4px 0;
}

.story-stat-pink .story-stat-label,
.story-stat-dark .story-stat-label {
  color: white;
}

.story-stat-light .story-stat-label {
  color: #171717;
}

.story-stat-sublabel {
  font-size: 23px;
  margin: 0;
}

.story-stat-pink .story-stat-sublabel,
.story-stat-dark .story-stat-sublabel {
  color: rgba(255, 255, 255, 0.6);
}

.story-stat-light .story-stat-sublabel {
  color: rgba(23, 23, 23, 0.6);
}

/* Responsive Design */
@media (min-width: 640px) {
  .story-card-inner {
    flex-direction: row-reverse;
    gap: 20px;
  }

  .story-card-content {
    flex-direction: row-reverse;
    gap: 50px;
  }

  .story-number-tag {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    align-self: flex-start;
  }
}

@media (min-width: 768px) {
  .story-stats {
    flex-direction: row;
  }

  .story-main-title {
    font-size: 50px;
  }
}

@media (min-width: 1024px) {
  .story-main-title {
    font-size: 60px;
  }
}

/* ===================================
   Course Page Styles
   =================================== */

.course-main-content {
  min-height: 60vh;
  padding: 60px 24px 40px;
  background: var(--learnsimply-dark-bg);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 80px;
}

.course-main-content .container{
      gap: 20px;
    display: flex;
    flex-direction: column;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
}

.course-page {
  display: flex;
  flex-direction: row-reverse;
  gap: 40px;
  align-items: flex-start;
}

/* محتوى الكورس */
.course-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

/* الصف الأول - التقييم والطلاب */
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
}

.info-left {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* شارة كورس */
.course-badge {
  background: rgba(64, 119, 243, 0.05);
  color: #4077f3;
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  height: fit-content;
}

/* عدد الطلاب */
.students-count {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #303338;
  padding: 5px 10px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: fit-content;
}

.students-count-text {
  color: #999eb2;
  font-size: 16px;
}

/* صور الطلاب */
.students-avatars {
  display: flex;
  align-items: center;
  position: relative;
  direction: ltr;
}

.avatar {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  margin-left: -10px;
  border: 2px solid #1a1d24;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-badge {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #ffce31;
  border: 2px solid #26292e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: bold;
  color: white;
  margin-left: -10px;
}

/* التقييم */
.rating-badge {
  background: rgba(255, 187, 84, 0.05);
  padding: 5px 12px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 5px;
  height: fit-content;
}

.rating-text {
  color: #ffbb54;
  font-size: 14px;
  line-height: 2;
}

.star-icon {
  width: 24px;
  height: 24px;
}

/* عنوان الكورس */
.course-title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
  width: 100%;
}

/* وصف الكورس */
.course-description {
  font-size: 18px;
  line-height: 2;
  text-align: right;
  width: 100%;
  color: #ffffff;
  font-weight: 400;
}

/* عناوين وعناصر داخل وصف الكورس */
.course-description h1,
.course-description h2,
.course-description h3,
.course-description h4,
.course-description h5,
.course-description h6,
.course-description p,
.course-description span,
.course-description li,
.course-description strong,
.course-description em {
  color: #ffffff !important;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  /* .course-image {
    height: 300px;
  } */

  .course-title {
    font-size: 24px;
  }

  .course-description {
    font-size: 16px;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-end;
  }

  .info-left {
 
    align-items: flex-end;
    width: 100%;
  }

  .students-count {
    width: 100%;
    justify-content: space-between;
  }
}

/* ===================================
   Course Page Responsive Styles
   =================================== */

/* Container responsive */
@media (max-width: 1500px) {
  .container {
    max-width: 100%;
    padding: 0 40px;
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }

  .course-page {
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .course-page {
    flex-direction: column;
    gap: 30px;
  }

  .course-details-card {
    max-width: 100% !important;
    order: 2;
  }

  .course-info-section {
    order: 1;
    width: 100%;
  }

  .single-course-image img {
    /* height: 450px; */
  }

  .instructor-card {
   
    max-width: 100%;
  }

  .description-card {

    max-width: 100%;
  }

  .learning-card {
 
    max-width: 100%;
  }

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

  .reviews-section {
    margin-left: 0;
    max-width: 100%;
  }

/* (moved global .add-review-section styles higher in the file) */

.add-review-section .comment-form-rating label,
.add-review-section .comment-form-comment label {
  color: #e5e7eb;
  font-family: "Graphik Arabic";
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

.add-review-section .stars a {
  color: #fbbf24;
}

.add-review-section input[type="text"],
.add-review-section input[type="email"],
.add-review-section textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 10px 12px;
  color: #f9fafb;
  font-family: "Graphik Arabic";
  font-size: 14px;
}

.add-review-section textarea {
  min-height: 90px;
}

.add-review-section input[type="submit"],
.add-review-section .submit {
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4077f3, #60a5fa);
  border: none;
  padding: 10px 26px;
  color: #fff;
  font-family: "Graphik Arabic";
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-review-section input[type="submit"]:hover,
.add-review-section .submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .course-main-content {
    margin-top: 70px;
    padding: 60px 0 30px !important;
  }

  .course-page {
    gap: 25px;
  }

  .single-course-image img {
    /* height: 350px; */
    border-radius: 15px;
  }

  .course-title {
    font-size: 24px;
  }

  .course-description {
    font-size: 16px;
    line-height: 1.8;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
  }

  .info-left {
 
    align-items: flex-end;
    width: 100%;
    gap: 10px;
  }

  .students-count {
    width: 100%;
    justify-content: space-between;
  }

  .course-badge {
    /* width: 100%; */
    justify-content: center;
  }

  .rating-badge {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .course-main-content {
    margin-top: 65px;
  }

  .single-course-image img {
    /* height: 280px; */
    border-radius: 12px;
  }

  .course-content {
    gap: 15px;
  }

  .course-title {
    font-size: 22px;
  }

  .course-description {
    font-size: 15px;
  }

  .students-count-text {
    font-size: 14px;
  }

  .avatar {
    width: 32px;
    height: 32px;
  }

  .avatar-badge {
    width: 32px;
    height: 32px;
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .course-main-content {
    margin-top: 60px;
  }

  .single-course-image img {
    /* height: 220px; */
    border-radius: 10px;
  }

  .course-title {
    font-size: 20px;
    line-height: 1.4;
  }

  .course-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .course-badge {
    font-size: 16px;
    padding: 8px 12px;
  }

  .rating-text {
    font-size: 13px;
  }

  .star-icon {
    width: 20px;
    height: 20px;
  }
}

/* ===================================
   Course Details Card Styles
   =================================== */

/* بطاقة تفاصيل الكورس */
.course-details-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #303338;
  border-radius: 20px;
  padding: 15px;
  max-width: 430px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-shrink: 0;
}

/* شريط الخصم العلوي */
.discount-banner {
  background: rgba(255, 76, 81, 0.1);
  padding: 8px 10px;
  border-radius: 58px 58px 0 0;
  text-align: center;
  width: 90%;
  margin: 0 auto;
}

.discount-banner-text {
  color: #f9464b;
  font-size: 14px;
  font-weight: 500;
}

/* صندوق الإحصائيات */
.stats-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  margin-top: -18px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-icon {
  width: 24px;
  height: 24px;
}

.stat-text {
  color: #999eb2;
  font-size: 16px;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: #3a3d42;
}

/* صندوق التفاصيل */
.details-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.detail-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.detail-label {
  color: #999eb2;
  font-size: 16px;
  font-weight: 500;
}

.detail-value {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  border-radius: 10px;
  color: #999eb2;
  font-size: 16px;
}

.detail-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* صندوق السعر */
.price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 5px;
}

.current-price {
  color: #4077f3;
  font-size: 16px;
  font-weight: 600;
}

.old-price {
  color: #999eb2;
  font-size: 14px;
  text-decoration: line-through;
}

.discount-badge {
  background: rgba(254, 184, 114, 0.1);
  color: #feb872;
  padding: 5px 10px;
  border-radius: 58px;
  font-size: 14px;
  font-weight: 500;
}

/* أزرار الإجراءات */
.action-buttons {
  display: flex;
  gap: 10px;
}

.buy-button {
  background: #4077f3;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  flex: 1;
  cursor: pointer;
  height: 48px;
  transition: background 0.3s;
}

.buy-button:hover {
  background: #3567e0;
}

.share-button {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 10px;
  padding: 10px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.share-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* قائمة المميزات */
.features-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.feature-text {
  color: #ffffff !important;
  font-size: 16px;
  line-height: 2;
  flex: 1;
  text-align: right;
}

/* السكشن الموجود (على اليمين) */
.course-info-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* استجابة للشاشات الصغيرة - Course Details Card */
@media (max-width: 768px) {
  .course-details-card {
    padding: 12px;
    gap: 15px;
    border-radius: 16px;
    max-width: 100% !important;
  }

  .discount-banner {
    width: 95%;
    padding: 6px 8px;
  }

  .discount-banner-text {
    font-size: 13px;
  }

  .stats-box {
    padding: 8px 15px;
    gap: 20px;
  }

  .stat-text {
    font-size: 14px;
  }

  .detail-label,
  .detail-value {
    font-size: 14px;
  }

  .detail-value {
    padding: 8px 12px;
  }

  .current-price {
    font-size: 15px;
  }

  .old-price {
    font-size: 13px;
  }

  .feature-text {
    font-size: 14px;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .course-details-card {
    padding: 10px;
    gap: 12px;
    border-radius: 14px;
  }

  .stats-box {
    /* flex-direction: column; */
    gap: 15px;
    padding: 12px 15px;
  }

  .stat-divider {
    /* width: 100%; */
    /* height: 1px; */
  }

  .stat-item {
    /* flex-direction: row; */
    /* width: 100%; */
    justify-content: space-between;
  }

  .detail-content {

    gap: 8px;
  }

  .detail-value {
    /* width: 100%; */
    text-align: right;
  }

  .price-section {
   
    gap: 5px;
  }

  .course-page {
    flex-direction: column;
    gap: 30px;
  }

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

  .action-buttons {
    /* flex-direction: row; */
  }

  .buy-button {
    font-size: 14px;
    height: 44px;
  }

  .share-button {
    width: 44px;
    height: 44px;
  }
}

/* ===== END: Course Details Card Styles ===== */

.contact-section {
  background: var(--learnsimply-dark-bg);
  padding: 60px 24px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  width: 100%;
  max-width: 1474px;
  margin: 0 auto;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
  width: 100%;
}

/* Header Section */
.contact-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.contact-title-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-icon-wrapper {
  width: 63px;
  height: 63px;
  flex-shrink: 0;
}

.contact-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-main-title {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 68px;
  color: white;
  text-align: center;
  letter-spacing: -1.2px;
  margin: 0;
}

.contact-subtitle {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 18px;
  line-height: 1.47;
  color: #999eb2;
  text-align: center;
  letter-spacing: -0.6px;
  max-width: 723px;
  padding: 0 16px;
  margin: 0;
}

/* Contact Cards */
.contact-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.contact-card {
  background: var(--learnsimply-card-bg);
  border: 1px solid var(--learnsimply-card-border);
  border-radius: 15px;
  position: relative;
  flex: 1;
  min-width: 0;
}

.contact-card-full {
  width: 100%;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  pointer-events: none;
}

.contact-card-inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  width: 100%;
  height: 100%;
}

.contact-card-header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;

}

.contact-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;

  min-width: 0;
}

.contact-card-title {
  font-family: "Graphik Arabic", "IBM Plex Sans Arabic", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  color: white;
  margin: 0;
}

.contact-card-description {
  font-family: "Graphik Arabic", "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #999eb2;
  margin: 0;
}

.contact-card-icon-box {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;

border: 1px solid rgba(255, 255, 255, 0.10);
background: linear-gradient(131deg, rgba(100, 84, 213, 0.20) -66.81%, rgba(100, 84, 213, 0.00) 37.19%);
  border-radius: 15px;
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.contact-card-icon-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  pointer-events: none;
}

.contact-card-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-card-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-card-button {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  font-family: "Graphik Arabic", "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content !important;
      background: #ffffff12;
}

.contact-card-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-cards-row {
  display: flex;
  gap: 20px;
  width: 100%;
  flex-direction: column;
}

/* Responsive Design */
@media (min-width: 640px) {
  .contact-main-title {
    font-size: 50px;
  }

  .contact-card-header {
    flex-direction: row-reverse;
  }

 
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 80px 48px;
  }

  .contact-main-title {
    font-size: 60px;
  }

  .contact-subtitle {
    font-size: 20px;
  }

  .contact-cards-row {
    flex-direction: row;
  }

  .contact-card-button {
    padding: 12px 20px;
  }
}

/* ===================================
   Instructor Card Styles
   =================================== */

.instructor-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #303338;
  border-radius: 20px;
  padding: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1030px;
  gap: 20px;
  direction: rtl;
  max-width: 1030px;
}

/* الجانب الأيمن - معلومات المدرب */
.instructor-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* صورة المدرب */
.instructor-avatar {
  width: 50.25px;
  height: 50.25px;
  border-radius: 57.07px;
  background: linear-gradient(to bottom, #fdf6f0, white);
  border: 1px solid white;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.instructor-avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: inherit;
}

/* دوائر التأثير الخلفية */
.blur-circle {
  position: absolute;
  width: 33.34px;
  height: 33.34px;
  pointer-events: none;
}

.blur-circle-1 {
  left: -8.86px;
  top: 4.07px;
}

.blur-circle-2 {
  right: -6px;
  top: 16.73px;
}

/* الصورة */
.instructor-avatar img {
  position: relative;
  width: 58px;
  height: 51px;
  object-fit: cover;
  z-index: 1;
}

.instructor-name {
  font-size: 16px;
  color: white;
  line-height: 1.5;
  font-weight: 400;
}

.instructor-title {
  font-size: 14px;
  color: #9c9ca4;
  line-height: 1.5;
}

/* شارة الخبرة */
.experience-badge {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px 20px;
  box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.experience-text {
  font-size: 16px;
  color: white;
  font-weight: 500;
  white-space: nowrap;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .instructor-card {
    
    gap: 15px;
    margin: 30px auto 0;
  }

  .experience-badge {
    
    text-align: center;
  }

  .instructor-info {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .instructor-info {
    flex-direction: row;
    gap: 8px;
  }

  .instructor-name {
    font-size: 14px;
  }

  .instructor-title {
    font-size: 12px;
  }

  .experience-text {
    font-size: 14px;
  }
}

/* ===== END: Instructor Card Styles ===== */

/* ===================================
   Course Description Card Styles
   =================================== */

.description-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 19px;
  max-width: 1030px;
  width: 100%;
  position: relative;
  height: 466px;
  overflow: hidden;
  direction: rtl;
}

/* Expanded state: allow full height and reveal content */
.description-card.expanded {
  height: auto;
  overflow: visible;
}

/* Keep the overlay visible when expanded but as a small transparent bar with the button */
.description-card.expanded .gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 80px; /* shrink the overlay to a small bar */
  background: linear-gradient(to bottom, rgba(22, 27, 38, 0) 0%, rgba(22, 27, 38, 0) 100%);
  border-radius: 0 0 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  pointer-events: all; /* allow clicks on the button */
}

/* Make the show-more button appear as a pill when expanded */
.description-card.expanded .show-more-btn {
  margin-top: 0;
  background: rgba(255,255,255,0.03);
  padding: 8px 14px;
  border-radius: 8px;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100%;
}

/* عنوان القسم */
.section-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.section-icon-box {
  background: rgba(255, 255, 255, 0.05);
  width: 62px;
  height: 62px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: white;
}

/* نص الوصف */
.description-text {
  font-size: 18px;
  line-height: 2;
  text-align: right;
  color: white !important;
  font-weight: 400;
}

/* force white text in left details card to cover any stray lines */
.course-details-card,
.course-details-card * {
  color: #ffffff !important;
}

/* عناوين داخل نص الوصف */
.description-text h1,
.description-text h2,
.description-text h3,
.description-text h4,
.description-text h5,
.description-text h6 {
  color: white !important;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  font-weight: 600;
  line-height: 1.5;
}

.description-text h5 {
  font-size: 20px;
}

.description-text h4 {
  font-size: 22px;
}

.description-text h3 {
  font-size: 24px;
}

.description-text p {
  margin-bottom: 1em;
}

.description-text p:last-child {
  margin-bottom: 0;
}

/* التدرج السفلي */
.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 304px;
  background: linear-gradient(
    to bottom,
    rgba(22, 27, 38, 0) 0%,
    #161b26 55.858%
  );
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}

.show-more-btn {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: white;
  cursor: pointer;
  pointer-events: all;
  transition: opacity 0.3s;
  margin-top: 25%;
  text-align: right;
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  background: transparent;
}

.show-more-btn:hover {
  opacity: 0.8;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .description-card {
    height: auto;
    min-height: 466px;
    margin: 20px 0 0 0;
  }

  .section-title {
    font-size: 20px;
  }

  .description-text {
    font-size: 16px;
  }

  .section-icon-box {
    width: 50px;
    height: 50px;
  }

  .show-more-btn {
    font-size: 18px;
  }

  .gradient-overlay {
    height: 250px;
  }

  .contact-card-text {
    
    align-items: start !important;
  }

  .learnsimply-homepage-body button {
    text-align: center !important;
  }
}

/* ===== END: Course Description Card Styles ===== */

/* ===== COURSE LEARNING CARD STYLES ===== */
.learning-card {
  max-width: 1030px;
  background: var(--learnsimply-card-bg);
  border: 1px solid var(--learnsimply-card-border);
  border-radius: var(--learnsimply-border-radius-md);
  padding: 32px;
  direction: rtl;
}

.learning-card .section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.learning-card .section-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--learnsimply-border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.learning-card .section-icon-box svg {
  width: 33px;
  height: 33px;
}

.learning-card .section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--learnsimply-text-white);
  margin: 0;
  line-height: 1.2;
}

.learning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.learning-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.learning-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--learnsimply-border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--learnsimply-transition);
}

.learning-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.learning-text {
  font-size: 16px;
  color: var(--learnsimply-text-white);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== RESPONSIVE: Course Learning Card ===== */
@media (max-width: 1024px) {
  .learning-card {
    margin: 40px 0 0 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .learning-card {
    margin: 40px 0 0 0;
    padding: 24px;
  }

  .learning-card .section-title {
    font-size: 20px;
  }

  .learning-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .learning-item {
    padding: 12px;
    gap: 12px;
  }

  .learning-text {
    font-size: 14px;
  }

  .check-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .learning-card {
    margin: 30px 0 0 0;
    padding: 20px;
  }

  .learning-card .section-header {
    gap: 12px;
    margin-bottom: 24px;
  }

  .learning-card .section-icon-box {
    width: 48px;
    height: 48px;
  }

  .learning-card .section-icon-box svg {
    width: 28px;
    height: 28px;
  }

  .learning-card .section-title {
    font-size: 18px;
  }

  .learning-column {
    gap: 16px;
  }

  .learning-item {
    padding: 10px;
    gap: 10px;
  }

  .learning-text {
    font-size: 13px;
  }
}

/* ===== END: Course Learning Card Styles ===== */

/* ===== COURSE CONTENT CARD STYLES ===== */
.course-content-card {
  max-width: 1030px;
  background: var(--learnsimply-card-bg);
  border: 1px solid var(--learnsimply-card-border);
  border-radius: var(--learnsimply-border-radius-md);
  padding: 32px;
  direction: rtl;
}

.course-content-card .section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.course-content-card .section-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--learnsimply-border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.course-content-card .section-icon-box svg {
  width: 33px;
  height: 33px;
}

.course-content-card .section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--learnsimply-text-white);
  margin: 0;
  line-height: 1.2;
}

/* قائمة الأسابيع */
.weeks-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* الأسبوع */
.week-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.week-container.open {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px 20px 20px 20px;
}

.week-container:not(.open) {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.week-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.week-container.open .week-header {
  border-radius: 10px 10px 0 0;
}

.week-container:not(.open) .week-header {
  border-radius: 10px;
}

.week-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.week-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: var(--learnsimply-text-white);
}

.week-meta {
  font-size: 14px;
  color: var(--learnsimply-text-gray);
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 24px;
}

.week-meta span:nth-child(2) {
  font-size: 16px;
  line-height: 19px;
}

.arrow-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.week-container.open .arrow-icon {
  transform: rotate(180deg);
}

/* إخفاء المحاضرات عندما يكون الأسبوع مغلقاً */
.week-container:not(.open) .lectures-list {
  display: none;
}

/* المحاضرات */
.lectures-list {
  padding: 20px 15px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lecture-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.lecture-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.lecture-title {
  font-size: 18px;
  line-height: 30px;
  text-align: right;
  color: var(--learnsimply-text-white);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lecture-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.lecture-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lecture-duration {
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 14px;
  color: var(--learnsimply-text-gray);
  line-height: 24px;
}

.lock-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== RESPONSIVE: Course Content Card ===== */
@media (max-width: 1024px) {
  .course-content-card {
    margin: 40px 0 0 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .course-content-card {
    margin: 40px 0 0 0;
    padding: 24px;
  }

  .course-content-card .section-title {
    font-size: 20px;
  }

  .course-content-card .section-icon-box {
    width: 50px;
    height: 50px;
  }

  .course-content-card .section-icon-box svg {
    width: 28px;
    height: 28px;
  }

  .lecture-item {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  .lecture-content {
    width: 100%;
  }

  .lecture-right {
    width: 100%;
    justify-content: flex-end;
  }

  .lecture-title {
    font-size: 16px;
  }

  .week-title {
    font-size: 16px;
  }

  .week-meta {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .course-content-card {
    margin: 30px 0 0 0;
    padding: 20px;
  }

  .course-content-card .section-header {
    gap: 12px;
    margin-bottom: 24px;
  }

  .course-content-card .section-icon-box {
    width: 48px;
    height: 48px;
  }

  .course-content-card .section-icon-box svg {
    width: 26px;
    height: 26px;
  }

  .course-content-card .section-title {
    font-size: 18px;
  }

  .weeks-list {
    gap: 16px;
  }

  .week-header {
    padding: 16px;
  }

  .lecture-item {
    padding: 16px;
    gap: 12px;
  }

  .lecture-title {
    font-size: 14px;
    line-height: 24px;
  }

  .lecture-duration {
    font-size: 12px;
    padding: 4px 8px;
  }
}

/* ===== END: Course Content Card Styles ===== */

/* ===== START: Reviews Section Styles ===== */

/* Reviews Section Container */

@media (max-width: 1600px) {

.instructor-card {
  width: 100% !important;
  max-width: none;
}
.description-card {
  width: 100% !important;
  max-width: none;
}
.learning-card {
  width: 100% !important;
  max-width: none;
}
.course-content-card {
  width: 100% !important;
  max-width: none;
}
.reviews-section {
  width: 100% !important;
  max-width: none;
}
.instructor-card {
  width: 100% !important;
  max-width: none;
}
.package-content-card{
  width: 100% !important;
  max-width: none;
}

}

.reviews-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1030px;
  width: 100%;
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

/* Ratings Overview */
.ratings-overview {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.ratings-overview-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: inherit;
  width: 100%;
}

.ratings-header {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.ratings-title {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  color: white;
  margin: 0;
  text-align: right;
}

.stars-icon {
  /* background: rgba(255, 255, 255, 0.05); */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
}

.stars-icon svg {
  width: 33px;
  height: 33px;
}

/* Ratings Content */
.ratings-content {
  display: flex;
  gap: 27px;
  align-items: center;
  padding: 0 20px 20px;
  position: relative;
  width: 100%;
  flex-direction: row-reverse;
}

.ratings-list-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 0;
  min-width: 0;
  position: relative;
}

.ratings-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
  position: relative;
  width: 100%;
}

/* Rating Row */
.rating-row {
  display: flex;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  flex-shrink: 0;
  flex-direction: row-reverse;
}

.stars-group {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
}

.star-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.star-icon.filled path {
  fill: #ffbb54;
}

.star-icon.empty path {
  fill: rgba(255, 255, 255, 0.05);
}

.progress-container {
  height: 6px;
  position: relative;
  width: 100%;
  flex: 1;
}

.progress-bg {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2.5px;
  position: absolute;
  inset: 0;
}

.progress-fill {
  background: #ffbb54;
  border-radius: 2.5px;
  position: absolute;
  inset: 0 0 16.67% auto;
  right: 0;
}

.percentage {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: #999eb2;
  text-align: left;
  flex-shrink: 0;
}

/* Rating Summary */
.rating-summary {
  background: rgba(255, 255, 255, 0.05);
  height: 142px;
  position: relative;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rating-summary-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: inherit;
  position: relative;
}

.summary-title {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: white;
  margin: 0;
  text-align: center;
}

.summary-stars {
  display: flex;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
  margin: 10px 0;
}

.summary-rating {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 34px;
  color: white;
  margin: 0;
  text-align: center;
}

/* Review Cards Container */
.review-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Review Card */
.review-card {
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  border-radius: 20px;
  border: 1px solid #3a3d42;
  overflow: hidden;
}

.review-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.review-header {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  position: relative;
  width: 100%;
  flex-shrink: 0;
  flex-direction: row-reverse;
}

.review-header-inner {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  min-width: 0;
  position: relative;
}

.review-info-group {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  flex-shrink: 0;
  flex-direction: row-reverse;
}

.review-user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  flex-shrink: 0;
}

.review-badge {
  background: rgba(64, 119, 243, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  position: relative;
  border-radius: 5px;
  flex-shrink: 0;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  color: #4077f3;
  text-align: center;
}

.review-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  gap: 0;
}

.review-stars .star-icon {
  width: 16px;
  height: 16px;
}

.user-details {
  display: flex;
  flex-direction: column;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  align-items: flex-start;
  justify-content: center;
  line-height: normal;
  position: relative;
  flex-shrink: 0;
  text-align: right;
  gap: 0;
}

.user-name {
  font-size: 18px;
  font-weight: 400;
  color: white;
  margin: 0;
  flex-shrink: 0;
}

.review-date {
  font-size: 14px;
  font-weight: 400;
  color: #999eb2;
  margin: 0;
  flex-shrink: 0;
}

.avatar {
  overflow: hidden;
  position: relative;
  border-radius: 56px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Review Text */
.review-text {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: white;
  text-align: justify;
  position: relative;
  width: 100%;
  padding: 0 20px 20px;
  margin: 0;
}

.review-text p {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: white;
  margin: 0 0 1rem 0;
  text-align: justify;
  direction: rtl;
}

.review-text p:last-child {
  margin-bottom: 0;
}

.show-more {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  color: #4077f3;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.show-more:hover {
  color: #5a8eff;
}

/* ===== RESPONSIVE: Reviews Section ===== */
@media (max-width: 1024px) {
  .reviews-section {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    margin-left: 0;
    margin-right: 0;
    gap: 20px;
  }

  .ratings-overview-content {
    flex-direction: column;
    gap: 18px;
  }

  .ratings-header {
    padding: 20px;
    gap: 20px;
    justify-content: flex-start;
  }

  .ratings-title {
    font-size: 20px;
  }

  .stars-icon {
    width: 50px;
    height: 50px;
  }

  .stars-icon svg {
    width: 28px;
    height: 28px;
  }

  .ratings-content {
    flex-direction: column-reverse;
    gap: 20px;
    padding: 0 20px 20px;
  }

  .ratings-list-container {
    width: 100%;
  }

  .rating-row {
    gap: 15px;
    flex-direction: row-reverse;
  }

  .stars-group {
    gap: 6px;
  }

  .star-icon {
    width: 20px;
    height: 20px;
  }

  .percentage {
    font-size: 12px;
    min-width: 40px;
    text-align: left;
  }

  .rating-summary {
    width: 100%;
    height: auto;
    min-height: 120px;
  }

  .rating-summary-content {
    padding: 20px;
  }

  .summary-title {
    font-size: 14px;
  }

  .summary-stars {
    margin: 8px 0;
  }

  .summary-rating {
    font-size: 18px;
    line-height: 28px;
  }

  .review-cards {
    gap: 12px;
  }

  .review-card-content {
    align-items: flex-start;
  }

  .review-header {
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    justify-content: flex-start;
  }

  .review-header-inner {
    width: 100%;
  }

  .review-info-group {
    width: 100%;
    justify-content: space-between;
  }

  .review-user-info {
    flex: 1;
  }

  .avatar {
    order: 1;
  }

  .review-text {
    padding: 0 16px 16px;
    font-size: 15px;
  }

  .review-text p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .reviews-section {
    margin-left: 0;
    margin-right: 0;
    gap: 16px;
  }

  .ratings-header {
    padding: 16px;
    gap: 16px;
    justify-content: flex-start;
  }

  .ratings-title {
    font-size: 18px;
    line-height: 27px;
  }

  .stars-icon {
    width: 48px;
    height: 48px;
  }

  .stars-icon svg {
    width: 26px;
    height: 26px;
  }

  .ratings-content {
    padding: 0 16px 16px;
    gap: 16px;
    flex-direction: column-reverse;
  }

  .rating-row {
    gap: 12px;
    flex-direction: row-reverse;
  }

  .stars-group {
    gap: 4px;
  }

  .star-icon {
    width: 18px;
    height: 18px;
  }

  .progress-container {
    height: 5px;
  }

  .percentage {
    font-size: 12px;
    min-width: 35px;
    text-align: left;
  }

  .rating-summary {
    min-height: 100px;
  }

  .rating-summary-content {
    padding: 16px;
  }

  .summary-title {
    font-size: 13px;
  }

  .summary-stars {
    margin: 6px 0;
  }

  .summary-rating {
    font-size: 16px;
    line-height: 24px;
  }

  .review-card-content {
    align-items: flex-start;
  }

  .review-header {
    padding: 14px;
    gap: 15px;
    justify-content: flex-start;
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .review-header-inner {
    width: 100%;
  }

  .review-info-group {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .review-badge p {
    font-size: 13px;
  }

  .review-stars .star-icon {
    width: 14px;
    height: 14px;
  }

  .user-name {
    font-size: 16px;
  }

  .review-date {
    font-size: 13px;
  }

  .avatar {
    width: 44px;
    height: 44px;
  }

  .review-text {
    padding: 0 14px 14px;
    font-size: 14px;
  }

  .review-text p {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* ===== END: Reviews Section Styles ===== */

/* ===== START: Package Content Card Styles ===== */
.package-content-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 19px;
  max-width: 1030px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;

  direction: rtl;
}

.package-content-header {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* move header items to start (right side in RTL) */
  gap: 20px;
  width: 100%;
  /* Force icon to appear before title and keep block on the right */
  padding-right: 0; /* ensure flush with card's right edge */
}

/* Reverse visual order: icon first on the right, title after it */
.package-content-icon-box {
  order: 1;
}

.package-content-title {
  order: 2;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  color: white;
  text-align: right;
}

.package-content-icon-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.package-content-icon {
  width: 33px;
  height: 33px;
  object-fit: contain;
} 

.courses-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.course-item-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  width: 100%;
}

.course-item {
  width: 100%;
}

.course-item-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  width: 100%;
  flex-direction: row-reverse;
}

.course-details-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}

.course-details-btn {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 5px 12px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: #999eb2;
  text-align: right;
  cursor: pointer;
  transition: all 0.3s ease;
}

.course-details-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.course-info-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-direction: row-reverse;
}

.course-text-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
}

.course-item-title {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: white;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: #999eb2;
}

.course-duration {
  font-size: 14px;
  line-height: 24px;
}

.course-separator {
  font-size: 16px;
  line-height: 19px;
}

.course-topics {
  font-size: 14px;
  line-height: 24px;
}

.course-item-image {
  width: 185px;
  height: 104px;
  border-radius: 15px;
  flex-shrink: 0;
  overflow: hidden;
}

.course-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Design for Package Content Card */
@media (max-width: 768px) {
  .package-content-card {
    padding: 15px;
    gap: 20px;
    margin: 20px 0 0 0;
  }

  .package-content-header {
    gap: 15px;
  }

  .package-content-title {
    font-size: 20px;
  }

  .package-content-icon-box {
    width: 50px;
    height: 50px;
  }

  .package-content-icon, .package-content-icon-box svg {
    width: 28px;
    height: 28px;
  }

  .courses-list {
    gap: 15px;
  }

  .course-item-content {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .course-info-wrapper {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .course-text-info {
    width: 100%;
    align-items: center;
  }

  .course-item-title {
    font-size: 16px;
    text-align: center;
  }

  .course-meta {
    justify-content: center;
  }

  .course-item-image {
    width: 100%;
    height: 180px;
  }

  .course-details-btn-wrapper {
    width: 100%;
    justify-content: center;
  }

  .course-details-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .package-content-title {
    font-size: 18px;
  }

  .package-content-icon-box {
    width: 45px;
    height: 45px;
  }

  .package-content-icon, .package-content-icon-box svg {
    width: 25px;
    height: 25px;
  }

  .course-item-title {
    font-size: 15px;
  }

  .course-duration,
  .course-topics {
    font-size: 13px;
  }

  .course-details-btn {
    font-size: 13px;
  }
}

/* ===== END: Package Content Card Styles ===== */

/* ===== START: Product Page Styles ===== */
.product-main-content {
  width: 100%;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 110px 40px 40px;
}

.product-main-content .container {
  width: 100%;
  max-width: 1474px;
}

/* Responsive Design for Product Page */
@media (max-width: 768px) {
  .product-main-content {
    padding: 80px 20px 40px;
  }
}

@media (max-width: 480px) {
  .product-main-content {
    padding: 70px 15px 30px;
  }
}

/* ===== END: Product Page Styles ===== */

/* ===== START: 404 Error Page Styles ===== */
.error-404-main {
  width: 100%;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 40px 40px;
}

.error-404-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-404-section {
  background: #141924;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  width: 100%;
  max-width: 1474px;
  overflow: hidden;
}

.error-404-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 60px 0;
}

.error-404-content {
  display: flex;
  flex-direction: column;
  gap: 42px;
  align-items: flex-end;
  max-width: 880px;
  width: 100%;
}

/* Hero Section with 404 */
.error-404-hero {
  height: 352px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Badge 1 - Not Found (Top Left) */
.error-badge-1 {
  position: absolute;
  left: 134px;
  top: 102px;
  width: 108.983px;
  height: 104.437px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-5deg);
}

.error-badge-card {
  background: rgba(255, 255, 255, 0.1);
  border: 0.5px solid rgba(243, 244, 246, 0.1);
  box-shadow: 0px 2px 8px 0px rgba(196, 202, 212, 0.24);
  border-radius: 24px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.error-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.error-badge-text {
  font-family: "Graphik Arabic", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: white;
  text-align: center;
}

/* Badge 2 - Error (Top Right) */
.error-badge-2 {
  position: absolute;
  left: 672.14px;
  top: 143.67px;
  width: 88.716px;
  height: 48.666px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(6deg);
}

.error-badge-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 0.5px solid rgba(243, 244, 246, 0.1);
  box-shadow: 0px 2px 8px 0px rgba(196, 202, 212, 0.24);
  border-radius: 99px;
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.emoji {
  font-size: 12px;
  line-height: 16px;
  color: #454f5f;
}

.error-badge-text-2 {
  font-family: "Graphik Arabic", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: white;
}

/* 404 Number */
.error-404-number {
  position: absolute;
  left: 50%;
  top: 48px;
  transform: translateX(-50%);
  font-family: "Graphik Arabic", sans-serif;
  font-size: 236px;
  line-height: 256px;
  color: #4077f3;
  letter-spacing: -4.72px;
  text-align: center;
  margin: 0;
}

/* Content Section */
.error-404-text-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.error-404-title {
  font-family: "Graphik Arabic", sans-serif;
  font-size: 56px;
  line-height: 64px;
  color: white;
  text-align: center;
  letter-spacing: -1.12px;
  width: 100%;
  margin: 0;
}

.error-404-description {
  font-family: "Graphik Arabic", sans-serif;
  font-size: 20px;
  line-height: normal;
  color: white;
  text-align: center;
  max-width: 620px;
  margin: 0;
}

.error-404-button {
  background: #ffffff0d;
  color: var(--colro-text-dark, #132346);
  padding: 12px 24px;
  border-radius: 16px;
  font-family: "Graphik Arabic";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.4px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.error-404-button:hover {
  opacity: 0.9;
}

/* Contact Section on 404 Page */
.error-contact-section {
  width: 100%;
  padding: 20px 10px;
  background: var(--learnsimply-dark-bg);
}

.error-contact-container {
  display: flex;
  gap: 42px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.error-contact-container .learnsimply-contact-item {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.error-contact-container .learnsimply-contact-icon-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.error-contact-container .learnsimply-contact-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.error-contact-container .learnsimply-contact-title {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  color: white;
  letter-spacing: -0.32px;
}

.error-contact-container .learnsimply-contact-value {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 16px;
  color: #999eb2;
  letter-spacing: -0.32px;
}

/* Responsive Design for 404 Page */
@media (max-width: 1024px) {
  .error-404-number {
    font-size: 180px;
    line-height: 200px;
  }

  .error-badge-1 {
    left: 80px;
    top: 120px;
  }

  .error-badge-2 {
    left: auto;
    right: 80px;
    top: 140px;
  }

  .error-404-hero {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .error-404-main {
    padding: 80px 20px 40px;
  }

  .error-404-section {
    border-radius: 30px;
  }

  .error-404-inner {
    padding: 40px 20px;
  }

  .error-404-content {
    gap: 30px;
  }

  .error-404-hero {
    height: 250px;
  }

  .error-404-number {
    font-size: 120px;
    line-height: 140px;
  }

  .error-badge-1 {
    left: 20px;
    top: 100px;
    transform: rotate(-5deg) scale(0.8);
  }

  .error-badge-2 {
    right: 20px;
    top: 120px;
    transform: rotate(6deg) scale(0.8);
  }

  .error-404-title {
    font-size: 36px;
    line-height: 44px;
  }

  .error-404-description {
    font-size: 16px;
    padding: 0 20px;
  }

  .error-404-button {
    font-size: 18px;
    padding: 10px 20px;
  }

  .error-contact-container {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .error-404-main {
    padding: 70px 15px 30px;
  }

  .error-404-section {
    border-radius: 20px;
  }

  .error-404-inner {
    padding: 30px 15px;
  }

  .error-404-hero {
    height: 200px;
  }

  .error-404-number {
    font-size: 80px;
    line-height: 100px;
  }

  .error-badge-1 {
    left: 10px;
    top: 80px;
    transform: rotate(-5deg) scale(0.7);
  }

  .error-badge-2 {
    right: 10px;
    top: 100px;
    transform: rotate(6deg) scale(0.7);
  }

  .error-404-title {
    font-size: 28px;
    line-height: 36px;
  }

  .error-404-description {
    font-size: 14px;
  }

  .error-404-button {
    font-size: 16px;
    padding: 8px 16px;
  }

  .learnsimply-footer-links-wrapper {
    padding: 25px 15px 25px 25px; /* keep content aligned to right */
    border-radius: 20px;
    gap: 30px;
  }

  .learnsimply-footer-section {
    padding: 25px 15px;
  }

  .learnsimply-footer-column-title {
    font-size: 20px;
  }

  .learnsimply-footer-link {
    font-size: 15px;
  }

  .learnsimply-footer-description {
    font-size: 14px;
    line-height: 20px;
  }

  .learnsimply-social-title {
    font-size: 18px;
  }

  .learnsimply-contact-icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .learnsimply-contact-icon {
    width: 28px;
    height: 28px;
  }

  .learnsimply-contact-title,
  .learnsimply-contact-value {
    font-size: 14px;
  }

  .learnsimply-footer-copyright {
    font-size: 14px;
  }

  .learnsimply-footer-legal {
    font-size: 13px;
  }
}

/* ===== END: 404 Error Page Styles ===== */
 