/**
 * About Me Page Styles
 * 
 * Custom styles for the About Me page
 * Located in: /assets/about-me/style.css
 * 
 * @package EduBlink_Child
 */

.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;
  text-decoration: none;
}

.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;
  text-decoration: none;
  display: inline-block;
}

.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;
}

/* استجابة للشاشات الصغيرة */
@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%;
  }
}

@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: #999eb2;
  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;
}

/* الجانب الأيمن - معلومات المدرب */
.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;
  font-weight: 400;
}

.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 ===== */
