.sub-header-greenBack {
    background: url(./assets/greenBackHeader.svg) no-repeat;
    background-size: cover;
    background-position: center;
  }
  
  .sub-header-greenBack h2 {
    font-size: 36px;
  }
  
  .sub-header-greenBack a {
    text-decoration: none;
    color: white !important;
    font-weight: 400;
  }
  
  /* ---------------- left side ------------------------- */
  .about-org-container{
      margin:5rem 12vw 0 12vw;
  }
  
  @media screen and (max-width: 1200px) {
      .about-org-container{
          margin:5rem 6vw 0 6vw;
      }
      
  }
  
  /* Main container styling */
  .about-org-left-container{
      gap: 40px;
  }
  
  .about-org-profile-card,.about-instructor-section,.about-instructor-fields,
  .about-instructor-card,.contact-info-card,.about-instructor-certificates,.about-instructor-awards,
  .instructor-services,.about-instructor-reviews {
      padding: 30px;
      border-radius: 20px;
      border: 1px solid #E9E9E9;
      box-shadow: 0px 18px 54px 0px rgba(11, 39, 17, 0.10);
  }
  
  .about-org-profile-main-info{
      padding-bottom: 30px;
  }
  
  .about-org-profile-main-info button{
      border-radius: 10px;
      background: #217738!important;
      border: 0px;
      box-shadow: none!important;
      transition: all 0.3s ease-in-out;
  }
  .about-org-profile-main-info button:hover{
      background: #FACF39!important;
      transform: scale(1.03);
      color: black;
  }
  
  .about-org-profile-img{
      height: 236px;
      border-radius: 10px;
      background: #EEE;
      margin-bottom: 26px;
  }
  /* Profile header section */
  .profile-name {
      font-size: 1.5rem;
      font-weight: 600;
      color: #0B2711;
      margin-bottom: 0.25rem;
  }
  
  .profile-name  img{
      margin-top: -2px;
  }
  
  .profile-title {
      color: #657869;
      margin-bottom: 1.25rem;
      font-weight: 400;
  }
  
  /* Stats section */
  .profile-stats {
      margin-bottom: 16px;
      gap: 0.8rem;
  }
  
  .profile-stats p {
      margin-bottom: 0.5rem;
      font-size: 0.875rem;
      color: #657869;
  }
  
  .profile-stats p span {
      color: #217738;
      font-weight: 500;
  }
  
  .profile-instructor-info-section {
      margin-top: 1rem;
  }
  
  .profile-instructor-info-list {
      margin: 0;
      padding: 0;
  }
  
  .profile-instructor-info-item span:first-child {
      font-weight: 400;
      color: #657869;
      display: flex;
      align-items: center;
      gap: 8px;
  }
  
  .profile-instructor-info-item span:last-child {
      font-weight: 600;
      color: #164F25;
  }
  
  /* Button styling */
  .schedule-btn {
      margin-top: 45px;
      width: 100%;
      padding: 12px 20;
      background-color: #FACF39!important;
      color: black!important;
      border: none;
      border-radius: 10px;
      font-weight: 500;
      transition: all 0.2s ease-in-out;
      box-shadow: none!important;
  }
  
  .schedule-btn svg{
      margin-bottom: 1px;
  }
  
  .schedule-btn:hover {
      background-color: #217738!important;
      transform: scale(1.03);
      color: white!important;
  }
  
  .schedule-btn:hover svg path{
      stroke: white!important;
  }
  
  .about-instructor-badges {
  border-radius: 10px;
  background: #F9F9F9;
  margin-top: 24px;
  padding: 7px 14px;
  }
  
  .about-instructor-badge img {
    max-width: 40px;
    transition: transform 0.2s ease;
  }
  
  .about-instructor-badge img:hover {
    transform: scale(1.1);
  }
  
  .about-instructor-video-audio-title{
      font-weight: 600;
      font-size: 24px;
      color: #0B2711;
      margin-bottom: 20px;
  }
  
  .about-instructor-left-side-video{
      background-color: #F9F9F9;
      border-radius: 10px;
      overflow: hidden;
  }
  
  .about-instructor-left-side-video video {
    object-fit: cover;
    height: 210px;
  }
  
  .about-instructor-video-overlay {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.311);
  }
  
  .about-instructor-video-overlay button ,.about-instructor-video-overlay button:focus{
    width: 45px;
    height: 45px;
    border: 4px solid rgba(250, 207, 57, 0.40);
    border-radius: 50%;
    background-color: rgba(250, 208, 57, 0.556);
    box-shadow: none!important;
    outline: 5px solid rgba(250, 208, 57, 0.244);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  
  .about-instructor-video-overlay button:hover{
    transform: scale(1.1);
  }
  
  .about-instructor-video-overlay {
    z-index: 10;
  }
  
  /* Green for active bars, gray for inactive */
  .about-instructor-audio-wave .bar {
    background-color: #ccc;
    animation: none;
    transition: background-color 0.3s ease;
  }
  
  .about-instructor-audio-wave.playing .bar {
    background-color: #28a745;
    animation: pulse-audio 1s infinite ease-in-out alternate;
  }
  
  
  @keyframes pulse-audio {
    0% { transform: scaleY(0.8); opacity: 0.8; }
    100% { transform: scaleY(1.1); opacity: 1; }
  }
  
  .contact-info-card-option {
      display: flex;
      width: 60px;
      height: 60px;
      padding: 8px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border-radius: 100px;
      border: 1px solid #E9E9E9;
  
      background: #F8F8F8;
  }
  
  
  
  /* ----------------------- rigth side ------------------------------------ */
  .about-org-right-container{
      gap: 40px;
  }
  
  .about-instructor-title ,.about-instructor-fields-title,
  .about-instructor-certificates h4,.about-instructor-awards h4 ,.instructor-services h4{
      font-size: 1.5rem;
      font-weight: 600;
      color: #0B2711;
  }
  
  .about-instructor-experience strong{
      font-size: 20px;
      font-weight: 600;
      color: #0B2711;
  }
  
  .about-instructor-experience{
      color:#657869;
  }
  
  .about-instructor-readmore{
      color: #217738;
      font-weight: 700;
      transition: all 0.2s ease-in-out;
  }
  
  .about-instructor-readmore:hover{
      color: #52c370;
      font-weight: 700;
  }
  
  .about-instructor-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
  }
  
  .about-instructor-tag {
      background-color: #F9F9F9;
      color: #657869;
      padding: 0.375rem 0.75rem;
      border-radius: 9999px;
      font-size: 0.8125rem;
      font-weight: 500;
  }
  
  .about-instructor-certificates,
  .about-instructor-awards {
   height: 390px;
   overflow: auto;
  }
  
  .about-instructor-certificates::-webkit-scrollbar,
  .about-instructor-awards::-webkit-scrollbar {
    width: 5px;
  }
  
  .about-instructor-certificates::-webkit-scrollbar-track,
  .about-instructor-awards::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  .about-instructor-certificates::-webkit-scrollbar-thumb,
  .about-instructor-awards::-webkit-scrollbar-thumb {
    background: #979696;
    border-radius: 10px;
  }
  
  .about-instructor-certificates::-webkit-scrollbar-thumb:hover,
  .about-instructor-awards::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  
  .about-instructor-certificates img,
  .about-instructor-awards img {
    object-fit: cover;
    border-radius: 10px;
  }
  
  .about-instructor-award-item{
      border-radius: 10px;
      background: #F9F9F9;
      padding: 8px;
      margin-bottom: 10px;
  }
  
  .about-instructor-award-item span{
      color: #217738;
      font-weight: 600;
      font-weight: 18px;
  }
  
  .about-instructor-award-item p{
      color: #657869;
      font-weight: 400;
  }
  
  .about-instructor-award-item img{
      width: 80px;
      height: 70px
  }
  
  @media (max-width: 576px) {
    .about-instructor-awards p {
      font-size: 14px;
    }
  }
  
  
  /* ---------- my servives -------------------- */
  .services-tabs {
      display: flex;
      margin-bottom: 1.25rem;
      /* flex-wrap: wrap; */
      gap: 0.5rem;
      overflow-x: scroll;
  }
  
  .services-tabs::-webkit-scrollbar,
  .services-tabs::-webkit-scrollbar {
    height: 5px;
  }
  
  .services-tabs::-webkit-scrollbar-track,
  .services-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  .services-tabs::-webkit-scrollbar-thumb,
  .services-tabs::-webkit-scrollbar-thumb {
    background: #979696;
    border-radius: 10px;
  }
  
  .services-tab-btn,.services-tab-btn-review ,.organization-tab-btn-resources{
      padding: 10px 20px;
      border: none;
      background-color: #EEEEEE;
      color: #0B2711;
      border-radius: 10px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
  }
  
  .services-tab-btn:hover ,.services-tab-btn-review:hover,.organization-tab-btn-resources:hover {
      background-color: #e5e6de;
  }
  
  .services-tab-btn.active ,.services-tab-btn-review.active ,.organization-tab-btn-resources.active{
      color: #fff;
      background-color: #FACF39;
  }
  
  .services-content {
      display: none;
  }
  
  .services-content.active {
      display: block;
  }
  
  .services-content-review {
      display: none;
  }
  
  .services-content-review.active {
      display: block;
  }
  
  .service-card {
      border-radius: 20px;
      border: 1px solid #E9E9E9;
      background: #F8F8F8;
      padding: 30px 25px;
      margin-bottom: 1.5rem;
      height: 100%;
  }
  
  .service-card h3 {
      color: #164F25;
      margin-bottom: 30px;
      font-size: 24px;
  }
  
  .service-card-content{
      margin-bottom: 20px;
  }
  
  .service-card-content div span:first-child{
      color: #657869;
      font-weight: 500;
  }
  
  .service-card-content div span:last-child{
      color: #0B2711;
      font-weight: 600;
  }
  
  .service-card .btn-buy {
      margin-top: 35px;
      padding: 12px 20px;
      border-radius: 10px;
      background: #164F25;
      font-weight: 600;
      box-shadow: none!important;
  }
  
  .service-card .btn-buy svg{
      margin-bottom: 1px;
  }
  
  .service-card .btn-buy:hover {
      background: #FACF39;
  }
  
  @media (max-width: 768px) {
      .services-tabs,.organization-tabs {
          justify-content: flex-start;
          padding-bottom: 0.5rem;
          /* flex-wrap: wrap; */
      }
  
      .services-tab-btn {
          white-space: nowrap;
      }
  }
  
  
  
  /* --------------------------------------------------------------------------------- common review secton --------------------------- */
  .instructor-review-card {
    padding: 33px;
      position: relative;
      min-height: 320px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: all 0.5s ease;
      perspective: 1000px;
      border-radius: 20px;
      border: 1px solid #E9E9E9;
      background: #F8F8F8;
  }
  
  .instructor-review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }
  
  
  .reviewer-info{
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, rgba(229, 231, 235, 0.00) 0%, #E5E7EB 50%, rgba(229, 231, 235, 0.00) 100%) 1;
  }
  .reviewer-image{
      width: 48px;
      height: 48px;
      border-radius: 50%;
      overflow: hidden;
      margin: 0 auto;
      background-color: white;
      margin-bottom: 16px;
  }
  .reviewer-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
  }
  
  .review-card-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      z-index: 1;
  }
  
  .review-card-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(0deg, #164F26 0%, rgba(22, 79, 38, 0.00) 100%);
      z-index: 2;
  }
  
  .review-card-bottom {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 20px;
      z-index: 3;
      text-align: center;
  }
  
  .review-play-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(250, 207, 57, 0.40);
      outline: rgba(250, 208, 57, 0.208) solid 4px;
      color: #FBCF3A;
      border: none;
      font-size: 18px;
      cursor: pointer;
      transition: all 0.3s ease;
  }
  
  .review-play-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  /* Existing styles for front side */
  .reviewer-name {
      font-size: 1.25rem;
      font-weight: 500;
      margin-bottom: 6px;
  }
  
  .reviewer-title {
      font-weight: 400;
      margin-left: 15px;
  }
  
  .review-text {
     text-align: center;
      font-size: 1rem;
      line-height: 1.6;
      color: #657869;
      font-weight: 400;
  }
  
  .star-rating {
    display: flex;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    margin: 20px 0 14px 0;
  }
  
  .star-rating .star {
    color: #ddd; /* Outline star color */
    margin-right: 4px;
    position: relative;
  }
  
  .star-rating .star.filled {
    color: #FACF39; /* Filled star color */
  }
  
  .star-rating .star.half-filled::after {
    content: '\2605'; /* Filled star */
    color: #FACF39;
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
      .instructor-review-card {
          height: 250px;
      }
      
      .review-card-front,
      .review-card-back {
          padding: 15px;
      }
  }
  
  
  /* --------------------- popups ---------------------------------- */
  /* Custom modal styling */
  #reviewMediaModal .modal-content {
    min-height: 300px;
    border-radius: 20px;
    padding: 33px;
    background: white;
    box-shadow: none;
  }
  
  #reviewMediaModal .modal-header {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 1;
  }
  
  .btn-close:focus {
      box-shadow: none;
  }
  
  /* --------------------------------------------------------------------------------- common review secton end --------------------------- */
  
  /* ---------------------------- Organization Resources (last) --------------------- */
  
  .organization-resources-section{
      margin-top: 100px;
  }
  
  .organization-resources-header h2{
      font-size: 2.5rem;
      font-weight: 600;
      color: #0B2711;
      margin-bottom: 30px;
  }
  
  .organization-resources-header{
      margin-bottom: 50px;
  }
  
  .organization-resources-content{
      background: url("/assets_khebratak_new_pages/images/organization-resourses-bg.png");
      background-size: cover;
      background-position: center;
      padding: 60px 30px;
      min-height: 500px;
  }
  
  @media screen and (max-width: 768px) {
      .organization-resources-content{
        padding: 30px 15px;
      }
      
  }
  
  .organization-resources-content>div{
      gap: 24px;
  }
  
  .organization-resources-courses-card {
      overflow: hidden;
      background-color: #fff;
      transition: transform 0.3s ease;
      padding: 10px;
      border-radius: 20px;
      border: 1px solid #E9E9E9;
  }
  
  .organization-resources-courses-card img{
      border-radius: 10px;
      height: 220px;
  }
  
  .organization-resources-courses-card:hover {
    transform: translateY(-5px);
  }
  
  .organization-resources-courses-title {
      color: #0B2711;
      font-size: 24px;
      font-weight: 500;
  }
  
  .organization-resources-courses-author {
    font-size: 1rem;
    color: #657869;
    font-weight: 500;
  }
  
  .organization-resources-courses-price span {
    font-size: 1.3rem;
  }
  .organization-resources-courses-price span:first-child {
      color: #217738;
      font-weight: 600;
  }
  .organization-resources-courses-price span:last-child {
    color: #657869;
    font-weight: 500;
  }
   /* ----------------------- record desgine ------------------- */
  .about-instructor-left-side-audio button{
      background-color: #ffffff!important;
      width: 38px!important;
      height: 36px!important;
      box-shadow: none!important;
  }
  
  .audioWaveform-wrap {
      width: 100%;
      height: 48px; /* or any value you prefer */
      min-width: 120px;
  }
  
  .about-instructor-left-side-audio button .audio-icon{
      position: relative;
      width: 21px;
      height: 21px;
      background-color: #f1da86;
      border-radius: 50%;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 9px;
      color: #217738;
  }
  
  .about-instructor-left-side-audio button .audio-icon::before {
      content: "";
      animation: pulse 3s infinite 0.5s ease-out;
      position: absolute;
      height: 128%;
      width: 128%;
      background: #facf39;
      opacity: 0.4;
      border-radius: 50%;
      z-index: -1;
  }
  
  .about-instructor-left-side-audio button .audio-icon::after {
      content: "";
      animation: pulse 2s infinite ease-in-out;
      position: absolute;
      height: 156%;
      width: 156%;
      background: #facf39;
      opacity: 0.2;
      border-radius: 50%;
      z-index: -1;
  }
  
  
  @keyframes pulse {
    0% {
      transform: scale(.6);
      opacity: .7;
    }
      50% {
          transform: scale(1);
          opacity: 0.5;
      }
    100% {
      transform: scale(1.1);
      opacity: 0;
    }
  }
  
  .about-instructor-left-side-audio{
      padding: 10px 15px;
      background-color: #F9F9F9;
      border-radius: 10px;
      overflow: hidden;
  }
  
  .audio-wrapper-container{
      padding: 7px 15px;
      background-color: white;
      border-radius: 10px;
      overflow: hidden;
  }
  
  .empty-state-services h4{
      color: #657869;
      font-weight: 400;
      font-size: 20px;
  }
  
  .empty-state-services button{
      border-radius: 10px;
      background: #EEE!important;
      border: 1px solid #E9E9E9!important;
      color: black;
      padding: 12px 20px;
      box-shadow: none!important;
      transition: all 0.3s ease-in-out;
  }
  
  .empty-state-services button:hover{
      background: #adadad!important;
      color: white;
  
      border: none;
  }
  
  
  
  /* 1) Certificates: عمودين ثابتين */
  .about-instructor-certificates .about-instructor-certificates-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px; /* بديل g-3 */
  }
  .about-instructor-certificates .about-instructor-certificates-content .col-6 {
    /* امنع قواعد الـbootstrap من إجبارها عرض كامل */
    width: auto;
    max-width: none;
    flex: 0 0 auto;
  }
  @media (max-width: 767.98px) {
    .about-instructor-certificates .about-instructor-certificates-content {
      grid-template-columns: 1fr; /* موبايل عمود واحد */
    }
  }
  
  /* 2) Reviews: عمودين في كل تبويب */
  .about-instructor-reviews .services-content-review .row.g-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;  /* بدل g-4 */
  }
  .about-instructor-reviews .services-content-review .row.g-4 > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }
  @media (max-width: 767.98px) {
    .about-instructor-reviews .services-content-review .row.g-4 {
      grid-template-columns: 1fr;
    }
  }
  
  /* 3) مسافات رأسية أنظف للأقسام */
  .about-instructor-reviews { margin-top: 32px; }                 /* فوق السيكشن نفسه */
  .about-instructor-reviews h4 { margin-bottom: 14px; }           /* مسافة بين العنوان والتابات */
  .services-tabs { margin-top: 8px; margin-bottom: 20px; }        /* مسافة تحت التابات */
  
  .about-instructor-section,
  .about-instructor-fields,
  .about-instructor-certificates,
  .about-instructor-awards,
  .instructor-services,
  /* .about-instructor-reviews {
    margin-bottom: 24px; 
  } */
  
  /* 4) ضبط كروت الريفيو (اختياري لتحسين الشكل) */
  .instructor-review-card { min-height: 0; } /* سيب الارتفاع للكونتنت */
  .review-card-bottom { padding: 18px; }
  .star-rating { margin: 14px 0 10px; }
  
  /* ارتفاع موحّد للكروت داخل كل الحالات */
  .instructor-review-card{
    position: relative;        /* عشان الـ overlays */
    min-height: 320px;         /* الارتفاع المطلوب */
    height: 100%;
  }
  
  /* أحيانًا داخل التابات بيتغلب عليها ستايل تاني — زودنا specificity */
  .services-content-review .instructor-review-card{
    min-height: 320px !important;
  }
  
  /* خلّي خلفية الصورة والـ overlay متمددين بالكامل */
  .review-card-bg,
  .review-card-overlay{
    position: absolute;
    inset: 0;          /* top:0;right:0;bottom:0;left:0; */
    pointer-events: none;
  }
  
  
  /* عناوين الأقسام */
  .about-instructor-reviews > h4,
  .about-instructor-certificates > h4,
  .about-instructor-awards > h4{
    margin-bottom: 1rem; /* 16px */
  }
  
  /* مسافة فوق وتحت التابات */
  .about-instructor-reviews .services-tabs{
    margin-top: .5rem;   /* 8px */
    margin-bottom: 1rem; /* 16px بدل 1.25rem لو عايز توازن */
  }
  
  /* مسافة إضافية بسيطة فوق شبكة الريفيوز */
  .services-content-review{
    margin-top: .25rem;  /* 4px عشان ما تبقاش لازقة */
  }
  
  
  /* تقليل عرض المودال */
  #reviewMediaModal .modal-dialog{
    max-width: min(860px, 95vw);
    margin: 1rem auto;
  }
  
  /* تقليل البادينج وتحسين الشكل */
  #reviewMediaModal .modal-content{
    padding: 8px;
    border-radius: 16px;
  }
  
  /* عدم تجاوز الارتفاع للرؤية المريحة */
  #reviewMediaModal .modal-body iframe,
  #reviewMediaModal .modal-body video{
    width: 100%;
    max-height: 70vh;              /* يمنع الفيديو من ملء الشاشة طولياً */
  }
  
  #reviewMediaModal #imageContainer img{
    max-height: 70vh;              /* الصور برضه */
  }
  
  /* على الموبايل نخليه أضيق سنة */
  @media (max-width: 576px){
    #reviewMediaModal .modal-dialog{ 
      max-width: 98vw;
      margin: 0.5rem auto;
    }
    #reviewMediaModal .modal-content{
      padding: 4px;
    }
  }
  
  
  /* ضبط مسافات قسم About the Instructor */
  .about-instructor-card {
    --section-gap: 18px;           /* مسافة افتراضية بين العناصر */
    --section-gap-lg: 22px;        /* على الشاشات الكبيرة */
  }
  
  /* مسافة تحت العنوان */
  .about-instructor-card .about-instructor-video-audio-title {
    margin-bottom: var(--section-gap);
  }
  
  /* مسافة بين الفيديو وباقي العناصر (وتتغلّب على أي mb-4 موجودة) */
  .about-instructor-card .about-instructor-left-side-video {
    margin-top: 6px;               /* مسافة صغيرة فوق الفيديو */
    margin-bottom: var(--section-gap);
  }
  
  /* مسافة فوق الأوديو (ما بينه وبين الفيديو) */
  .about-instructor-card .about-instructor-left-side-audio {
    margin-top: var(--section-gap);
  }
  
  /* تكبير المسافات شوية على الشاشات الكبيرة */
  @media (min-width: 992px) {
    .about-instructor-card .about-instructor-video-audio-title {
      margin-bottom: var(--section-gap-lg);
    }
    .about-instructor-card .about-instructor-left-side-video {
      margin-bottom: var(--section-gap-lg);
    }
    .about-instructor-card .about-instructor-left-side-audio {
      margin-top: var(--section-gap-lg);
    }
  }
  
  
  .about-instructor-certificates h4.mb-4,
  .about-instructor-awards h4.mb-4 {
    margin-bottom: 1.5rem !important; /* نفس قيمة Bootstrap */
  }
  
  .about-instructor-reviews h4.mb-3{
    margin-bottom: 1.5rem !important; /* نفس قيمة Bootstrap */
  }
  
      /* نزّل زرار تشغيل الفيديو/عرض الصورة قليلاً */
  .review-card-bottom .review-play-btn{
    transform: translateY(10px);            /* حرّكه لتحت 10px */
  }
  
  .review-card-bottom .review-play-btn:hover{
    transform: translateY(10px) scale(1.1); /* حافظ على تأثير الـ hover */
  }
  
  /* كارت موحّد */
  .card.course-item{
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E9E9E9;
    background: #fff;
  }
  
  /* صورة ثابتة الارتفاع */
  .course-item .course-img-wrap img{
    width: 100%;
    height: 220px;           /* غيّرها 200–240 حسب ذوقك */
    object-fit: cover;
    display: block;
  }
  
  /* يضمن أن السعر/الأسفل يثبت تحت */
  .card.course-item .card-body{
    display: flex;
    flex-direction: column;
  }
  .card.course-item .course-item-bottom{
    margin-top: auto;
  }
  

  /* ✅ إلغاء الـgutter الزائد في صفحة البروفايل فقط */
.organization-resources-section .row {
  --bs-gutter-x: 1.5rem;
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

.organization-resources-section .row > [class*="col-"] {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

/* ✅ زيادة المسافة بين الكاردات في الموبايل */
@media (max-width: 767px) {
  .organization-resources-section .row > [class*="col-"] {
      margin-bottom: 1.5rem;
      padding-right: calc(var(--bs-gutter-x) * -0.5);
      padding-left: calc(var(--bs-gutter-x) * -0.5);
  }
}

/* ✅ على الشاشات الكبيرة: حافظ على التنسيق الطبيعي */
@media (min-width: 1200px) {
  .organization-resources-section .row {
      --bs-gutter-x: 1.5rem;
  }
}