/* ---------- Slider layout fixes & base ---------- */
        /* ---------- Layout ---------- */
        
        #cs-categories-main-section {
            padding: 48px 0;
        }

        .cs-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* ---------- Course Card ---------- */
        .cs-course-card {
            display: block;
            text-decoration: none;
            color: inherit;
            border-radius: 18px;
            padding: 2px;
            background: linear-gradient(90deg, #ED1B24, #000000);
            box-sizing: border-box;
        }

        .cs-course-card-inner {
            background: #ffffff;
            border-radius: 16px;
            overflow: hidden;
            position: relative;
        }

        /* ---------- Image ---------- */
        .cs-course-card-image {
            width: 100%;
            height: 180px;
            border-radius: 16px 16px 0 0;
            background-size: contain;
            background-repeat: no-repeat;
            position: relative;
            z-index: 3;
        }

        /* ---------- Info Panel ---------- */
        .cs-course-card-body {
            position: relative;
            background: #ffffff;
            border-radius: 0 0 16px 16px;
            margin-top: -40px;
            padding: 3px 10px 0;
            min-height: 120px;
            box-sizing: border-box;
            z-index: 2;
        }

        .cs-course-card-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .cs-course-title {
            margin: 0;
            font-size: 18px;
            font-weight: 700;
            color: #111827;
            line-height: 1.1;
        }

        .cs-course-subtitle {
            color: #6b7280;
            margin: 10px 0 10px 0;
            font-size: 13px;
        }

        .cs-course-meta {
            display: flex;
            gap: 14px;
            align-items: center;
            font-size: 13px;
            color: #374151;
            margin-bottom: 16px;
        }

        .cs-meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cs-meta-item i {
            font-size: 16px;
        }

        /* ---------- Button ---------- */
        .cs-btn-course-detail {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 10px 22px;
            border-radius: 28px;
            font-weight: 700;
            font-size: 14px;
            color: #fff;
            background: linear-gradient(to right, #ED1B24, #000000) no-repeat top;
            text-decoration: none;
            min-width: 160px;
            justify-content: center;
        }

        /* ---------- See All ---------- */
        .cs-see-all-wrap {
            display: flex;
            justify-content: center;
            margin-top: 26px;
        }

        .cs-btn-see-all {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 24px;
            border-radius: 6px;
            color: #fff;
            font-weight: 700;
            text-decoration: none;
            background: linear-gradient(to right, #ED1B24, #000000) no-repeat top;
        }

        /* ---------- Responsive ---------- */
        .swiper-slide {
            padding: 10px;
            box-sizing: border-box;
        }

        @media (max-width: 991px) {
            .cs-course-card-image {
                height: 150px;
            }

            .cs-course-card-body {
                margin-top: -36px;
                padding: 30px 16px 16px;
            }
        }

        @media (max-width: 639px) {
            .cs-course-card-image {
                height: 120px;
            }

            .cs-course-card-body {
                margin-top: -30px;
                padding: 22px 12px 12px;
            }

            .cs-btn-course-detail {
                width: 100%;
                min-width: 0;
            }
        }
        @media (max-width: 767px) {
          /* make sure the whole card can expand and nothing is clipped */
              .cs-course-card-inner {
                position: relative !important;
                overflow: visible !important;
                height: auto !important;
                display: flex;
                flex-direction: column;
              }
            
              /* keep image in the flow (not overlapping) */
              .cs-course-card-image {
                position: relative !important;
                z-index: 1 !important;
                margin: 0 0 8px 0 !important;
                height: 160px;            /* adjust if you want taller/shorter */
                background-size: cover !important;
                background-position: center !important;
                flex-shrink: 0;
              }
            
              /* ensure the body sits above the image */
              .cs-course-card-body {
                position: relative !important;
                z-index: 2 !important;
                background: transparent;
                height: auto !important;
                overflow: visible !important;
                padding: 12px !important;
                margin-top: 0 !important;    /* cancel any negative margin from other styles */
              }
            
              /* force the title to render on top and wrap */
              .cs-course-title {
                position: relative !important;
                z-index: 3 !important;
                display: block !important;
                white-space: normal !important;
                overflow: visible !important;
                text-overflow: clip !important;
                margin: 0 0 6px 0;
                font-size: 16px;
                line-height: 1.25;
                color: inherit;
              }
        }


.categories-slider {
    position: relative;
    padding-bottom: 28px;
}

.categories-slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.categories-slider .swiper-slide {
    height: auto;
    padding: 8px;
    box-sizing: border-box;
}
/* ---------- Layout / container ---------- */
.categories-main-section { padding: 48px 0; }
.categories-main-section .container { max-width: 1200px; margin: 0 auto; }

/* ---------- Outer gradient border wrapper (uses padding to show gradient border with rounded corners) ---------- */
/* card outer radius */
.course-card {
  display: block;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  border-radius: 18px;                             /* outer radius */
  padding: 2px;                                    /* thickness of gradient border */
  background: linear-gradient(90deg, #ED1B24, #000000); /* gradient border color */
  box-sizing: border-box;
  overflow: visible;                               /* keep pill visible */
}

/* inner white box that holds image + body */
.course-card-inner {
  background: #ffffff;
  border-radius: 16px; /* inner radius = outer radius - padding */
  overflow: hidden;     /* clip children to keep clean rounded corners */
  display: block;
  position: relative;
}

/* ---------- Top image area: rounded top corners only ---------- */
.course-card-image {
  width: 100%;
  height: 180px;                      /* visible top area - adjust if you want taller/shorter */
  border-radius: 16px 16px 0 0;       /* top corners rounded only inside the inner box */
  background-size: contain;             /* match screenshot look */
  background-repeat: no-repeat;
  position: relative;
  z-index: 3;
}

/* ---------- Info panel (white) ---------- */
.course-card-body {
  position: relative;
  background: #ffffff;
  border-radius: 0 0 16px 16px;       /* bottom corners rounded only */
  margin-top: -40px;                  /* overlap amount - pulls white panel up over image */
  padding: 2px 22px 22px;            /* spacing inside panel */
  z-index: 2;
  box-sizing: border-box;
  /* no borders/shadows here - gradient border is outer wrapper */
}

/* ---------- Title row ---------- */
.course-card-row {
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.course-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.1;
  max-width: 72%;
}

/* ---------- Subtitle / meta ---------- */
.course-subtitle {
  color: #6b7280;
  margin: 10px 0 10px 0;
  font-size: 13px;
}
.course-meta {
  display:flex;
  gap: 14px;
  align-items:center;
  font-size: 13px;
  color: #374151;
  margin-bottom: 16px;
}
.meta-item {
  display:flex;
  align-items:center;
  gap: 8px;
}
.meta-item i { font-size: 16px; }

/* ---------- CTA (small pill like screenshot) ---------- */
/* button uses same gradient and flat look */
.btn-course-detail {
  display:inline-flex;
  align-items:center;
  gap: 3px;
  padding: 10px 22px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(to right, #ED1B24, #000000) no-repeat top;
  text-decoration: none;
  min-width: 206px;
  justify-content: center;
}

/* ---------- See all button ---------- */
.see-all-wrap { display:flex; justify-content:center; margin-top: 26px; }
.btn-see-all {
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  text-decoration:none;
  background: linear-gradient(to right, #ED1B24, #000000) no-repeat top;
}

/* small responsive tweaks */
.swiper-slide { padding: 10px; box-sizing: border-box; }
@media (max-width: 991px) {
  .course-card-image { height: 150px; }
  .course-card-body { margin-top: -36px; padding: 30px 16px 16px; }
}
@media (max-width: 639px) {
  .course-card-image { height: 120px; }
  .course-card-body { margin-top: -30px; padding: 22px 12px 12px; }
  .btn-course-detail { width: 100%; min-width: 0; }
}

/* keep your original category-card naming and behavior */
.category-card,
.qualification-listi-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    min-height: 220px;
    /* original: 220px */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 8px 24px rgba(7, 20, 30, 0.08);
}

/* subtle hover lift */
.category-card:hover,
.qualification-listi-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(7, 20, 30, 0.12);
}

/* Logo */
.qualification-listi-logo {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 4;
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.qualification-listi-logo img {
    max-width: 70%;
    max-height: 70%;
    display: block;
    border-radius: 50%;
}

/* Bottom overlay text (you provided) */
.categories-slider .qualification-listi-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 5;
    padding: 12px;
    box-sizing: border-box;
    color: #fff;
}

.categories-slider .qualification-listi-text h5 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    color: black;
}

/* CTA style */
.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-learn-more:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* Dark gradient overlay for better contrast */
.categories-slider .qualification-listi-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
}

/* remove built-in prev/next button styles (we hide them just in case) */
.categories-slider .swiper-button-next,
.categories-slider .swiper-button-prev {
    display: none !important;
}

/* Pagination styling (small dots) */
.categories-slider .swiper-pagination {
    bottom: -6px;
}

.categories-slider .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    opacity: 0.9;
    background: rgba(11, 18, 32, 0.12);
}

.categories-slider .swiper-pagination-bullet-active {
    background: linear-gradient(90deg, #ED1B24, #D29D51);
    transform: scale(1.06);
}

/* Mobile-only adjustments (<= 767px) */
@media (max-width: 767px) {
    .categories-main-section {
        padding: 28px 0;
    }

    .categories-main-section .container {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .categories-slider .swiper-slide {
        padding: 6px;
        box-sizing: border-box;
        border-radius: 5px solid black;
    }

    .categories-slider .qualification-listi-wrap {
        min-height: 160px;
        border-radius: 10px;
    }

    .qualification-listi-logo img {
        width: 48px;
        height: auto;
        display: block;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    }

    .categories-slider .qualification-listi-text h5 {
        margin: 0 0 6px 0;
        font-size: 16px;
        line-height: 1.15;
        color: #fff;
        font-weight: 700;
        z-index: 5;
    }

    .categories-slider .qualification-listi-text .btn-learn-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        z-index: 5;
    }

    .categories-slider .swiper-pagination {
        bottom: -4px;
    }
}

/* Additional responsiveness for intermediate breakpoints */
@media (max-width: 1200px) {
    .category-card {
        min-height: 200px;
    }
}

@media (max-width: 992px) {
    .category-card {
        min-height: 180px;
        border-radius: 10px;
    }

    .qualification-listi-logo {
        width: 56px;
        height: 56px;
        left: 12px;
        top: 12px;
    }

    .qualification-listi-text h5 {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .category-card {
        min-height: 150px;
    }

    .btn-learn-more {
        font-size: 14px;
        padding: 6px 10px;
    }
}
            /* Section Styling */
    .clients-section {
        padding: 80px 0;
        background: #f9fafb;
        /* light grey theme background */
        text-align: center;
    }

    .clients-section .section-title {
        font-size: 32px;
        font-weight: 600;
        color: #D29D51;
        margin-bottom: 50px;
        /* extra space below heading */
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
    }

    /* Decorative underline */
    .clients-section .section-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 60px;
        height: 3px;
        background: #ED1B24;
        transform: translateX(-50%);
        border-radius: 2px;
    }

    /* Client Logos */
    .clients-section img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 8px;
        background: #fff;
        padding: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    /* Hover effect */
    .clients-section img:hover {
        transform: scale(1.08);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    /* Wrapper + grid */
    .wc-section-updated {
        background: #f2f7fb;
        padding: 70px 0;
    }

    .wc-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .wc-grid {
        display: grid;
        grid-template-columns: 46% 54%;
        gap: 36px;
        align-items: stretch;
        min-height: 420px;
    }

    /* Left image */
    .wc-image-wrap {
        position: relative;
        display: block;
        height: 100%;
    }

    .wc-image {
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 28px 8px 8px 28px;
        box-shadow: 0 18px 40px rgba(14, 36, 63, 0.08);
        object-fit: cover;
    }

    /* Counter badge */
    .wc-counter {
        position: absolute;
        right: -28px;
        top: 50%;
        transform: translateY(-50%);
        width: 240px;
        background: linear-gradient(135deg, #000000 0%, red 100%);
        color: #fff;
        border-radius: 28px 12px 28px 12px;
        padding: 22px 18px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        z-index: 5;
    }

    .wc-counter-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 6px;
        font-size: 18px;
    }

    .wc-counter-number {
        font-size: 40px;
        font-weight: 900;
        line-height: 1;
        margin-top: 2px;
    }

    .wc-counter-plus {
        font-size: 18px;
        font-weight: 800;
        margin-top: -6px;
    }

    .wc-counter-label {
        font-size: 14px;
        opacity: 0.95;
        margin-top: 8px;
        font-weight: 600;
    }

    /* Right side content */
    .wc-content {
        padding: 8px 12px 8px 36px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        box-sizing: border-box;
    }

    /* small top heading */
    .wc-pretitle {
        color: #D29D51;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
        font-size: 2.1rem;
        /* increased */
    }

    /* main title */
    .wc-title {
        font-size: 1.5rem;
        /* increased */
        color: #082033;
        margin: 10px 0 26px;
        font-weight: 900;
        line-height: 1.15;
    }

    /* paragraphs */
    .wc-text-wrap {
        max-width: 680px;
        margin-bottom: 22px;
    }

    .wc-paragraph {
        color: #5b6b76;
        font-size: 17px;
        /* increased */
        line-height: 1.9;
        margin-bottom: 14px;
        text-align: left;
    }

    /* Info list */
    .wc-info-list {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 26px;
    }

    .wc-info-item {
        display: flex;
        gap: 18px;
        align-items: flex-start;
    }

    .wc-info-icon {
        min-width: 80px;
        height: 80px;
        background: #fff;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 12px 30px rgba(10, 30, 60, 0.06);
        color: #e85b50;
        font-size: 28px;
    }

    .wc-info-body {
        max-width: 720px;
    }

    .wc-info-title {
        margin: 0 0 8px;
        font-size: 24px;
        color: #0f2130;
        font-weight: 900;
    }

    /* bigger */
    .wc-info-text {
        margin: 0;
        font-size: 16px;
        color: #58686f;
        line-height: 1.7;
    }

    /* Responsive */
    @media (max-width: 1200px) {
        .wc-counter {
            right: -20px;
            width: 220px;
        }

        .wc-title {
            font-size: 38px;
        }

        .wc-info-title {
            font-size: 21px;
        }
    }

    @media (max-width: 992px) {
        .wc-grid {
            grid-template-columns: 1fr;
        }

        .wc-image-wrap {
            order: 1;
            height: auto;
        }

        .wc-content {
            order: 2;
            padding: 18px 12px 0 12px;
            justify-content: flex-start;
        }

        .wc-counter {
            position: relative;
            right: auto;
            top: auto;
            transform: none;
            margin: 18px auto 0;
            width: 200px;
        }

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

        .wc-pretitle {
            font-size: 16px;
        }

        .wc-info-item {
            gap: 12px;
        }

        .wc-info-icon {
            min-width: 56px;
            height: 56px;
            font-size: 20px;
            border-radius: 10px;
        }

        .wc-info-title {
            font-size: 19px;
        }
    }
     .process-paragraph {
        /* keeps text in readable width */
        margin: 0 auto;
        /* centers the box */
        padding: 0 40px;
        /* equal left & right indentation */
    }

    .process-paragraph p {
        text-align: justify;
        text-justify: inter-word;
        margin: 0;
    }
    @media (max-width: 767.98px) {
  .wc-counter {
    display: none !important;
  }
}
