  .carousel-conv {
      display: flex;
      justify-content: center;
      align-items: stretch;
      gap: 24px;
      max-width: 1300px;
      margin: 2rem auto;
      padding: 0 16px;
      flex-wrap: wrap;
      box-sizing: border-box;
      margin-top: 26px;
  }

  body {
      font-family: 'Tajawal', sans-serif !important;
  }

  /* Exclude icons from font changes */
  .fas,
  .far,
  .fab {
      font-family: "Font Awesome 6 Free" !important;
  }

  .carousel-section {
      width: 100%;
      max-width: 700px;
      min-width: 370px;
      margin: 0;
      text-align: center;
      user-select: none;
      padding: 0;
      background: none;
      box-shadow: none;
      /* REMOVE these lines: */
      /* display: flex; */
      /* flex-direction: column; */
      justify-content: flex-start;
  }

  .mySwiper {
      width: 100%;
      max-width: 700px;
      min-width: 270px;
      border-radius: 18px;
      background: #f9f9f9;
      box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.08);
      position: relative;
      height: 500px;
      margin: 0 auto;
      /* display: flex; */
      /* REMOVE THIS */
      /* flex-direction: column;*/
      /* REMOVE THIS */
      justify-content: flex-start;
      border: 1.5px solid #d6d6d6;
  }

  .carousel-text-block {
      text-align: right !important;
      margin-bottom: 10px;
      padding: 0 20px;
  }

  #carouselTitle {
      margin: 0 0 0.5rem 0;
      font-size: 1.1rem;
      color: #076f69;
      text-align: right !important;
  }

  #carouselDesc {
      margin: 0;
      font-size: 1rem;
      color: #222;
      text-align: right !important;
  }

  .swiper-slide img {
      width: 100%;
      height: 100%;
      /* increased from 300px */
      object-fit: contain;
      display: block;
      margin: 0 auto;
      border-radius: 12px;
      background: #f8f8f8;
      /* position: absolute;  REMOVE this line if present */
      /* bottom: 0;           REMOVE this line if present */
  }

  .swiper-pagination {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 14px;
      display: flex;
      justify-content: center;
      gap: 8px;
      z-index: 2;
      pointer-events: auto;
  }

  .swiper-pagination .swiper-pagination-bullet {
      width: 14px;
      height: 14px;
      background: #b2f5c5;
      border: 2px solid #18bba4;
      border-radius: 50%;
      transition: background 0.3s, transform 0.2s;
      cursor: pointer;
      margin: 0 2px;
      opacity: 1;
  }

  .swiper-pagination .swiper-pagination-bullet-active {
      background: #18bba4;
      border-color: #0c7c59;
      transform: scale(1.18);
      box-shadow: 0 0 0 2px rgba(24, 187, 164, 0.33);
  }

  .currency-converter-container {
      background-color: #155e63;
      padding: 2rem 1.5rem;
      border-radius: 18px;
      color: white;
      text-align: right;
      width: 100%;
      max-width: 410px;
      /* min-width: 640px; */
      height: 500px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.08);
      justify-content: flex-start;
  }

  .title {
      font-size: 1.6rem;
      margin-bottom: 1.5rem;
      font-weight: bold;
  }

  .group {
      margin-bottom: 1.5rem;
  }

  .label {
      font-size: 1.2rem;
      margin-bottom: 0.4rem;
      display: block;
  }

  .select-wrapper {
      display: flex;
      align-items: center;
      background-color: white;
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 0.5rem;
  }

  select {
      flex-grow: 1;
      padding: 0.5rem 0.8rem;
      border: none;
      font-size: 1rem;
      font-weight: bold;
      background-color: transparent;
      color: #155e63;
      appearance: none;
  }

  .flag {
      width: 30px;
      height: 20px;
      object-fit: cover;
      margin: 0 0.8rem;
  }

  .input {
      width: 100%;
      padding: 0.6rem;
      font-size: .8rem;
      border: none;
      border-radius: 8px;
  }

  .swap-circle {
      background-color: #2dc0a4;
      color: white;
      font-size: 1.4rem;
      width: 40px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      border-radius: 50%;
      margin: 1.2rem auto;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .rate {
      font-size: .8rem;
      text-align: right;
      line-height: 1.7;
      margin-top: auto;
  }

  @media (max-width: 900px) {
      .carousel-conv {
          flex-direction: column;
          align-items: center;
          gap: 20px;
          max-width: 100%;
          padding: 0 6px;
      }

      .carousel-section,
      .mySwiper {
          max-width: 100%;
          width: 100%;
          min-width: 0;
      }

      .swiper-slide img {
          height: 500px;
      }

      .mySwiper {
          height: auto;
          min-width: 0;
      }
  }

  @media (max-width: 600px) {
      .carousel-conv {
          gap: 12px;
          padding: 0 2px;
      }
      .partners {
          padding: 1rem 1rem !important;
      }

      .carousel-section,
      .mySwiper {
          max-width: 95%;
          width: 100%;
          min-width: 0;
          margin-bottom: 50px !important;
      }

      .currency-converter-container {
          max-width: 95%;
          width: 100%;
      }
  }

  @media (max-width: 1400px) and (min-width: 601px) {
      .carousel-conv {
          flex-direction: row;
          align-items: flex-start;
          justify-content: center;
          gap: 16px;
          max-width: 100%;
          padding: 0 8px;
          flex-wrap: nowrap;
      }

      .carousel-section {
          width: 100%;
          max-width: 700px;
          min-width: 370px;
          margin: 0;
          text-align: center;
          user-select: none;
          padding: 0;
          background: none;
          box-shadow: none;
          /* REMOVE these lines: */
          /* display: flex; */
          /* flex-direction: column; */
          justify-content: flex-start;
      }

      .mySwiper {
          max-width: 100%;
          min-width: 280px;
          height: 440px;
          margin: 0 auto;
          border-radius: 16px;
          padding-top: 32px;
      }

      .currency-converter-container {
          max-width: 50vw;
          width: 50vw;
          min-width: 260px;
          height: 440px;
          margin: 0;
          padding: 1.2rem 1rem;
          font-size: 1rem;
          border-radius: 16px;
          box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.08);
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
      }
  }

  @media (min-width: 1200px) {
      .carousel-conv {
          gap: 40px;
          max-width: 1500px;
          padding: 0 40px;
      }

      .carousel-section {
          max-width: 800px;
          min-width: 400px;
      }

      .mySwiper {
          max-width: 800px;
          min-width: 400px;
          height: 540px;
          padding-top: 20px;
      }

      .carousel-text-block {
          padding: 0 40px;
          margin-bottom: 18px;
      }

      #carouselTitle {
          font-size: 2rem;
      }

      #carouselDesc {
          font-size: 1.3rem;
      }

      .swiper-slide img {
          height: 480px;
      }

      .currency-converter-container {
          max-width: 420px;
          /* min-width: 640px; */
          height: 540px;
          padding: 1.2rem 1rem;
          font-size: 1.15rem;
          border-radius: 20px;
      }

      .title {
          font-size: 2.1rem;
          margin-bottom: 1.2rem;
      }

      .label {
          font-size: 1.3rem;
      }

      .input {
          font-size: 1.1rem;
          padding: 0.8rem;
      }

      .swap-circle {
          width: 50px;
          height: 50px;
          font-size: 1.7rem;
          line-height: 50px;
      }

      .rate {
          font-size: 1.1rem;
      }
  }

  /* Custom elegant slow flip animation for partner cards */
  @keyframes partnerFlipIn {
      0% {
          opacity: 0;
          transform: perspective(900px) rotateY(90deg) scale(0.96);
      }

      40% {
          opacity: 0.7;
          transform: perspective(900px) rotateY(-20deg) scale(1.01);
      }

      70% {
          opacity: 1;
          transform: perspective(900px) rotateY(8deg) scale(1.03);
      }

      100% {
          opacity: 1;
          transform: perspective(900px) rotateY(0deg) scale(1);
      }
  }

  .partner-card.aos-animate {
      animation: partnerFlipIn 1.5s cubic-bezier(.77, 0, .18, 1) both;
      backface-visibility: hidden;
      will-change: transform, opacity;
  }

  .color-button {
      transition: background-color 0.7s ease !important;
  }

  .color-button:hover {
      background-color: rgb(204, 175, 12) !important;
  }

  @keyframes fadeIn {
      from {
          opacity: 0;
          transform: translateY(-10px);
      }

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

  #close-alert {
      position: absolute;
      top: 6px;
      left: 10px;
      font-weight: bold;
      cursor: pointer;
      color: #155724;
      font-size: 1.2rem;
  }

  #success-alert {
      position: relative;
      background-color: #d1f7d6;
      color: #155724;
      border: 1px solid #c3e6cb;
      padding: 1rem 1.5rem;
      border-radius: 8px;
      font-weight: bold;
      margin: 1.5rem auto;
      text-align: center;
      width: fit-content;
      animation: fadeIn 0.5s ease-in-out;
      transition: opacity 0.6s ease;
  }

  .hero-header {
      position: relative;
      /* background-image: url('/images/hero-bg.jpg'); */
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      direction: rtl;
      padding: 2rem;
      overflow: hidden;
  }

  .hero-content {
      z-index: 2;
      color: #fff;
      /* max-width: 700px; */
      animation: fadeIn 1.2s ease;
      word-wrap: break-word;
      overflow-wrap: break-word;
  }

  .hero-content h1 {
      font-size: 4rem;
      font-weight: 800;
      margin-bottom: 1.2rem;
      line-height: 1.3;
      text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
      white-space: normal;
  }

  .hero-content h2 {
      font-size: 2rem;
      font-weight: 400;
      margin-bottom: 2rem;
      opacity: 0.9;
      text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
      white-space: normal;
  }

  .hero-subimage {
      width: 260px;
      margin-bottom: 2rem;
      border-radius: 10px;
      object-fit: contain;
  }

  .buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 35px;
      justify-content: center;
      margin-bottom: 35px;
  }

  .color-button,
  .other-button {
      border: none;
      border-radius: 40px;
      padding: 15px 35px;
      font-size: 1.4rem;
      cursor: pointer;
      transition: all 0.3s ease;
  }

  .color-button a,
  .other-button a {
      text-decoration: none;
      display: inline-block;
      font-weight: 600;
  }

  /* .color-button {
            background-color: gold !important;
        } */

  .color-button a {
      color: #000 !important;
  }

  .color-button:hover {
      background-color: rgb(209, 178, 6) !important;
      transform: translateY(-3px);
  }

  /* .other-button {
            background-color: #3fa891;
        } */

  .other-button a {
      color: #fff;
  }

  .other-button:hover {
      background-color: #31c5ac;
      transform: translateY(-3px);
  }

  @keyframes fadeIn {
      from {
          opacity: 0;
          transform: translateY(30px);
      }

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

  @media (max-width: 768px) {
      .hero-content h1 {
          font-size: 2.4rem;
      }

      .hero-content h2 {
          font-size: 1.4rem;
      }

      .buttons {
          flex-direction: column;
          gap: 18px;
      }

      .color-button,
      .other-button {
          width: 100%;
      }

      .hero-subimage {
          width: 180px;
          margin-bottom: 1.5rem;
      }
  }

  /* HERO CARDS + WHY-US (new design matching screenshot) */
  .hero-features-section {
      direction: rtl;
      padding: 40px 0 10px;
      background: transparent;
  }

  .hero-cards-row {
      display: flex;
      gap: 22px;
      justify-content: center;
      align-items: stretch;
      flex-wrap: wrap;
      margin: 0 auto 28px;
      max-width: 1200px;
      padding: 0 16px;
      box-sizing: border-box;
  }

  .hero-card {
      background: #fff;
      border-radius: 18px;
      padding: 26px 22px;
      width: 220px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 28px rgba(20, 20, 20, 0.06);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .hero-card[role],
  .hero-card a,
  .hero-card button,
  .hero-card {
      cursor: pointer;
  }

  .hero-card a,
  .hero-card button {
      display: inline-block;
      border: 0;
      background: transparent;
      padding: 0;
      color: inherit;
      text-decoration: none !important;
      width: 220px;
      text-align: center;
  }

  /* ensure no underlines anywhere inside hero-card (important to override defaults) */
  .hero-card,
  .hero-card * {
      text-decoration: none !important;
  }

  .hero-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 14px 40px rgba(20, 20, 20, 0.08);
  }

  .icon-wrap {
      /* margin-bottom: 14px; */
  }

  .icon-circle {
      width: 66px;
      height: 66px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(180deg, #ffd54a, #f2c200);
      color: #111;
      font-size: 26px;
  }

  /* center icon block and ensure it stays centered on all sizes */
  .hero-card .icon-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
  }

  .hero-card .icon-circle {
      margin: 0 auto;
  }

  /* hover: change background to primary system color and make text white */
  .hero-card:hover {
      background: var(--primary, #155e63);
      color: #fff;
      transform: translateY(-8px) scale(1.01);
      box-shadow: 0 18px 50px rgba(20, 20, 20, 0.09);
  }

  .hero-card:hover h4 {
      color: #fff;
  }

  .hero-card:hover .icon-circle {
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
  }

  /* combined rotate + float animation to mimic a GIF-like 360° spin */
  @keyframes spinFloat {
      0% {
          transform: translateY(0) rotate(0deg);
      }

      25% {
          transform: translateY(-4px) rotate(90deg);
      }

      50% {
          transform: translateY(-6px) rotate(180deg);
      }

      75% {
          transform: translateY(-4px) rotate(270deg);
      }

      100% {
          transform: translateY(0) rotate(360deg);
      }
  }

  /* apply the animation to icon elements (FontAwesome <i>) */
  .icon-circle i,
  .why-icon i,
  .hero-card .icon-circle i,
  .why-card .why-icon i {
      display: inline-block;
      transform-origin: center center;
      animation: spinFloat 1.6s cubic-bezier(.2, .9, .2, 1) infinite;
      will-change: transform;
  }

  /* slightly slower, smooth spin for image-based icons (service logos, partners) */
  .card .img img,
  .partner-logo img {
      display: inline-block;
      transform-origin: center center;
      animation: spinFloat 3s linear infinite;
      will-change: transform;
  }

  /* entrance animation for cards */
  @keyframes cardRise {
      from {
          opacity: 0;
          transform: translateY(18px) scale(.995);
      }

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

  .hero-card[data-aos] {
      animation: cardRise .9s cubic-bezier(.2, .9, .2, 1) both;
  }

  /* hover micro-interaction */
  .hero-card:hover .icon-circle {
      transform: translateY(-6px) scale(1.02);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  }

  .hero-card:hover {
      transform: translateY(-8px) scale(1.01);
      box-shadow: 0 18px 50px rgba(20, 20, 20, 0.09);
  }

  .hero-card h4 {
      margin: 0;
      font-size: 1.05rem;
      color: #222;
      font-weight: 700;
  }

  /* ensure icon and text are vertically centered block */
  .hero-card .icon-wrap,
  .hero-card h4 {
      display: block;
      margin-left: auto;
      margin-right: auto;
  }

  .hero-card h4 {
      text-align: center;
  }


  .why-us {
      max-width: 1200px;
      margin: 22px auto 0;
      padding: 28px 16px 8px;
  }

  .why-title {
      color: #f4b400;
      font-size: 1.8rem;
      margin-bottom: 18px;
      font-weight: 800;
  }

  .why-cards {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
  }

  .why-card {
      background: #fff;
      border-radius: 12px;
      padding: 18px;
      text-align: center;
      box-shadow: 0 6px 18px rgba(20, 20, 20, 0.04);
      transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease;
      will-change: transform, opacity, background, color;
  }

  .why-icon {
      width: 56px;
      height: 56px;
      border-radius: 12px;
      margin: 0 auto 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(180deg, #ffd54a, #f2c200);
      color: #111;
      font-size: 20px;
  }

  .why-card h5 {
      margin: 6px 0 4px;
      font-size: 1rem;
      color: #333;
      font-weight: 700;
  }

  .why-card p {
      margin: 0;
      font-size: .92rem;
      color: #666;
  }

  /* entrance animation for why-cards with stagger */
  @keyframes popIn {
      from {
          opacity: 0;
          transform: translateY(18px) scale(.995);
      }

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

  .why-cards .why-card {
      animation: popIn .7s cubic-bezier(.2, .9, .2, 1) both;
  }

  .why-cards .why-card:nth-child(1) {
      animation-delay: .08s
  }

  .why-cards .why-card:nth-child(2) {
      animation-delay: .16s
  }

  .why-cards .why-card:nth-child(3) {
      animation-delay: .24s
  }

  .why-cards .why-card:nth-child(4) {
      animation-delay: .32s
  }

  /* hover: change to secondary system color and white text */
  .why-card:hover {
      transform: translateY(-8px) scale(1.01);
      box-shadow: 0 20px 50px rgba(10, 60, 55, 0.18);
      background: linear-gradient(90deg, #155e63 0%, #17b99a 100%);
      color: #fff;
  }

  .why-card:hover h5,
  .why-card:hover p {
      color: #fff;
  }

  .why-card:hover .why-icon {
      background: rgba(255, 255, 255, 0.15);
      color: #fff;
  }

  .why-card:hover .why-icon i {
      color: #fff;
  }

  @media (max-width: 900px) {
      .hero-card {
          width: 46%;
      }

      .why-cards {
          grid-template-columns: repeat(2, 1fr);
      }
  }

  @media (max-width: 480px) {
      .hero-card {
          width: 100%;
      }

      .why-cards {
          grid-template-columns: 1fr;
      }

      .why-title {
          font-size: 1.2rem;
      }
  }

  .services {
      padding: 4rem 2rem;
      background: #f8f8f8;
      direction: rtl;
  }

  .services h1 {
      text-align: right;
      margin-bottom: 3.9rem;
      font-size: 2.7rem;
      color: #3fa891;
      font-weight: bold;
  }

  .service-boxes {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
  }

  .card {
      background: #fff;
      border-radius: 18px;
      padding: 1.8rem 1.2rem;
      text-align: center;
      box-shadow: 0 8px 28px rgba(20, 20, 20, 0.04);
      transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease;
      display: inline-block;
      border: 0;
      text-decoration: none;
  }

  .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }

  .card .img {
      margin-bottom: 1rem;
  }

  .card .img img {
      width: 140px;
      height: 140px;
      object-fit: cover;
      border: 4px solid #ffd54a;
      border-radius: 20px;
      transition: transform .35s ease, box-shadow .35s ease;
      display: block;
      margin: 0 auto;
  }

  /* make service cards visually similar to hero cards and animated */
  .service-boxes .card {
      width: 100%;
      box-sizing: border-box;
  }

  @media (min-width: 769px) {
      .service-boxes .card {
          width: auto;
      }
  }

  .service-boxes .card:hover {
      transform: translateY(-8px) scale(1.01);
      box-shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
      background: linear-gradient(90deg, #155e63, #17b99a);
      color: #fff;
  }

  .service-boxes .card:hover h3,
  .service-boxes .card:hover p {
      color: #fff;
  }

  .service-boxes .card:hover .img img {
      transform: translateY(-6px) scale(1.02);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
      border-radius: 18px;
  }

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

  .card h3 {
      color: #222;
      font-size: 1.4rem;
      margin-bottom: 0.8rem;
  }

  .card p {
      color: #555;
      font-size: 1rem;
      line-height: 1.6;
  }

  /* للشاشات الصغيرة */
  @media (max-width: 768px) {
    .partner-card{
            padding: 0.2rem 0.2rem !important;
    }

      .service-boxes {
          grid-template-columns: 1fr;
      }
  }

  /* entrance animation for service cards */
  .service-boxes .card {
      animation: cardRise .8s cubic-bezier(.2, .9, .2, 1) both;
  }

  .service-boxes .card:nth-child(1) {
      animation-delay: .08s
  }

  .service-boxes .card:nth-child(2) {
      animation-delay: .16s
  }

  .service-boxes .card:nth-child(3) {
      animation-delay: .24s
  }

  .service-boxes .card:nth-child(4) {
      animation-delay: .32s
  }

  .partners {
      width: 100%;
      display: block;
      box-sizing: border-box;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      /* background: linear-gradient(90deg, rgb(7, 111, 105), rgb(17, 194, 163)); */
      padding: 3rem 2rem;
      color: white;
      /* text-align: right; */
  }

  .partners h2 {
      font-size: 2rem;
      margin-bottom: 2rem;
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .partners-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
  }

  /* الكارت */
  .partner-card {
      background: white;
      color: #013f3c;
      display: flex;
      flex-direction: row-reverse;
      align-items: center;
      justify-content: space-between;
      border-radius: 16px;
      padding: 1rem 1.2rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .partner-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  }

  .partner-logo img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      margin-left: 1rem;
  }

  .partner-content {
      flex: 1;
      text-align: center;
  }

  a {
      text-decoration: none !important;

  }

  .partner-content h3 {
      margin: 0;
      font-size: 1.3rem;
      font-weight: bold;
      color: #013f3c;
  }

  .partner-content p {
      margin: 0.3rem 0 0;
      font-size: 0.9rem;
      color: #555;
  }

  /* Random floating animation for partner cards */
  .partner-card {
      animation: float 6s ease-in-out infinite;
      transform-origin: center;
  }

  .partners-container > a:nth-child(1) .partner-card {
      animation-delay: 0s;
      animation-duration: 6s;
  }

  .partners-container > a:nth-child(2) .partner-card {
      animation-delay: 0.5s;
      animation-duration: 5.2s;
  }

  .partners-container > a:nth-child(3) .partner-card {
      animation-delay: 1s;
      animation-duration: 5.8s;
  }

  .partners-container > a:nth-child(4) .partner-card {
      animation-delay: 1.5s;
      animation-duration: 5.5s;
  }

  @keyframes float {
      0%, 100% {
          transform: translateY(0px) rotate(0deg);
      }
      25% {
          transform: translateY(-10px) rotate(0.5deg);
      }
      50% {
          transform: translateY(5px) rotate(-0.3deg);
      }
      75% {
          transform: translateY(-7px) rotate(0.2deg);
      }
  }

  @media (max-width: 992px) {
      .partners-container {
          grid-template-columns: repeat(2, 1fr);
      }
  }

  @media (max-width: 600px) {
      .partners-container {
          grid-template-columns: 1fr;
      }
  }

  .exact-footer {
      /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
      background: #f5f5f5;
      color: #333;
      padding: 30px 20px 10px;
      direction: ltr;
      border-top: 1px solid #ddd;
  }

  .footer-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      gap: 30px;
  }

  .footer-section {
      flex: 1;
      min-width: 200px;
      margin-bottom: 20px;
  }

  .footer-section h3 {
      font-size: 18px;
      margin-bottom: 15px;
      color: #0b6661;
      font-weight: 600;
  }

  .footer-section ul {
      list-style: none;
      padding: 0;
  }

  .footer-section ul li {
      margin-bottom: 8px;
  }

  .footer-section ul li a {
      color: #555;
      text-decoration: none;
      transition: color 0.3s;
  }

  .footer-section ul li a:hover {
      color: #0b6661;
  }

  .footer-section p {
      color: #666;
      line-height: 1.6;
      font-size: 14px;
  }

  .app-buttons {
      display: flex;
      flex-direction: column;
      gap: 10px;
  }

  .app-btn img {
      height: 40px;
      width: auto;
      border-radius: 5px;
  }

  .footer-logo {
      width: 250px;
  }

  .custom-button {
      display: inline-flex;
      align-items: center;
      padding: 8px 15px;
      background-color: #0b6661;
      color: white;
      text-decoration: none;
      border-radius: 5px;
      /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
      font-size: 14px;
      transition: transform 0.5s ease-in-out;
      position: relative;
  }

  .custom-button i {
      margin-right: 10px;
      /* مسافة مناسبة بين الأيقونة والنص */
  }

  .custom-button:hover {
      transform: translateX(-10px);
  }

  .footer-bottom {
      border-top: 1px solid #ddd;
      padding-top: 10px;
      margin-top: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
  }

  @media (max-width: 768px) {
      .exact-footer {
          padding: 20px 15px 10px;
          text-align: center;
      }

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

      .footer-section {
          min-width: 100%;
      }

      .footer-logo {
          width: 160px;
          margin: 0 auto 15px auto;
      }

      .footer-bottom {
          flex-direction: column;
          text-align: center;
      }

      .custom-button:hover {
          transform: translateX(0);
      }
  }

  .payment-modal {
      border-radius: 20px;
      background-color: #fdfdfb;
      box-shadow: 0 10px 30px rgba(0, 128, 0, 0.15);
      font-family: 'Tajawal', sans-serif;
      direction: rtl;
      color: #1f3b1f;
  }

  .payment-option {
      background: linear-gradient(135deg, #28a745 0%, #cddc39 100%);
      border: none;
      color: #fff;
      font-weight: 600;
      padding: 12px;
      border-radius: 12px;
      transition: all 0.3s ease;
      font-size: 1.05rem;
      text-align: center;
  }

  .payment-option:hover {
      transform: translateY(-3px);
      background: linear-gradient(135deg, #218838 0%, #afb42b 100%);
      box-shadow: 0 4px 15px rgba(33, 136, 56, 0.3);
      color: #fff;
  }

  .payment-option span {
      margin-right: 8px;
  }

  .cancel-btn {
      background-color: #ffc107;
      border: none;
      color: #212529;
      font-weight: 600;
      border-radius: 10px;
      padding: 8px 20px;
      transition: 0.3s;
  }

  .cancel-btn:hover {
      background-color: #e0a800;
  }

  .whatsapp-float {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #25D366;
      color: white;
      font-size: 32px;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      text-align: center;
      line-height: 60px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
      z-index: 9999;
      transition: all 0.3s ease;
  }

  .whatsapp-float:hover {
      background-color: #20b358;
      transform: scale(1.05);
  }

  .action-cards {
      display: grid;
      grid-template-columns: repeat(4, 250px);
      /* 4 كروت جنب بعض */
      justify-content: center;
      gap: 30px;
      margin-top: 50px;
      padding: 0 20px;
  }

  .action-card {
      width: 250px;
      background: #fff;
      border: 3px solid #ccc;
      border-radius: 22px;
      padding: 50px 25px;
      text-align: center;
      cursor: pointer;

      /* Float animation مستقل لكل كارت */
      animation: floatCard 4s ease-in-out infinite;

      transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  }

  /* Float Animation */
  @keyframes floatCard {
      0% {
          transform: translateY(0);
      }

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

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

  /* Animation مختلفة لكل كارت */
  .action-card:nth-child(1) {
      animation-delay: 0s;
  }

  .action-card:nth-child(2) {
      animation-delay: 0.5s;
  }

  .action-card:nth-child(3) {
      animation-delay: 1s;
  }

  .action-card:nth-child(4) {
      animation-delay: 1.5s;
  }

  /* Hover effect */
  .action-card:hover {
      transform: translateY(-25px) scale(1.05);
      box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
      border-color: #999;
  }

  .action-card .icon {
      font-size: 52px;
      margin-bottom: 20px;
  }

  .action-card h3 {
      font-size: 20px;
      font-weight: 800;
      color: #222;
  }

  .action-card a {
      text-decoration: none;
      color: inherit;
      display: block;
  }

  /* Responsive */

  /* Tablet: 2x2 */
  @media (max-width: 992px) {
      .action-cards {
          grid-template-columns: repeat(2, 250px);
          justify-content: center;
      }
  }

  /* Mobile: stacked مع ارتفاع أصغر */
  @media (max-width: 576px) {
      .action-cards {
          grid-template-columns: 1fr;
      }

      .action-card {
          width: 90%;
          padding: 30px 20px;
      }

      .action-card .icon {
          font-size: 42px;
          margin-bottom: 15px;
      }

      .action-card h3 {
          font-size: 18px;
      }

      /* Optional: أخف الحركة على الموبايل */
      .action-card {
          animation: floatCard 3s ease-in-out infinite;
      }
  }

  .badge-glow {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0.2rem 0.4rem;
      border-radius: 999px;
      /* background: linear-gradient(90deg, #fff9e6 0%, #fff2c2 50%, #ffef9a 100%) !important; */
      overflow: hidden;
      color: #fff;
      background:linear-gradient(90deg, #ffdd57, #ffd065);

      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }

  /* shine effect that travels across the element */
  .badge-glow::before {
      content: "";
      position: absolute;
      top: 0;
      left: -75%;
      width: 75%;
      height: 100%;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 100%);
      transform: skewX(-20deg);
      filter: blur(4px);
      opacity: 0.9;
      pointer-events: none;
      animation: badgeShine 2s linear infinite;
  }

  @keyframes badgeShine {
      0% {
          transform: translateX(-100%) skewX(-20deg);
      }

      100% {
          transform: translateX(200%) skewX(-20deg);
      }
  }

  .gradient-text {
      background: linear-gradient(90deg, #ffdd57, #f0b429);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: bold;
  }

  .swap-circle {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #f0f0f0;
      color: #333;
      font-size: 1.5rem;
      line-height: 40px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .swap-circle:hover {
      background-color: #e0e0e0;
      transform: rotate(90deg);
  }

  .currency-converter-container {
      box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.08);
      border-radius: 12px;
      padding: 1.2rem 1rem;
      font-size: 1rem;
      max-width: 800px;
      width: 100%;
      height: auto;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      margin: 0 auto;
  }
