/* CSS for Upcoming Sessions Section */
.text-align-center {
    text-align: center;
}

/* =========================================
   1.5 NHS ALIGNED FEATURES SECTION
   ========================================= */
.nhs-aligned-section {
    font-family: 'Poppins', sans-serif;
    padding: 60px 0;
    background: #ffffff;
}

.nhs-container {
    padding: 0px 30px;
}


.nhs-aligned-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.nhs-image-panel {
    position: relative;
    overflow: hidden;
}

.nhs-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nhs-image-panel:hover img {
    transform: scale(1.05);
}

.nhs-content-panel {
    background: linear-gradient(135deg, #1e73be 0%, #2589d4 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
}

.nhs-logo-container {
    background: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nhs-logo {
    height: 50px;
    width: auto;
    display: block;
}

.nhs-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px 0;
    color: #fff;
}

.nhs-description {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 30px 0;
    color: #fff;
    opacity: 0.95;
}

.nhs-highlight-banner {
    background: #dc143c;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

.nhs-highlight-banner span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    }

    50% {
        box-shadow: 0 6px 25px rgba(220, 20, 60, 0.5);
    }
}

/* NHS Section Responsive */
@media (max-width: 992px) {
    .nhs-aligned-wrapper {
        grid-template-columns: 1fr;
    }

    .nhs-image-panel {
        min-height: 350px;
    }

    .nhs-content-panel {
        padding: 50px 40px;
        align-items: center;
        text-align: center;
    }

    .nhs-title {
        font-size: 28px;
    }

    .nhs-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .nhs-aligned-section {
        padding: 40px 0;
    }


    .nhs-image-panel {
        min-height: 300px;
    }

    .nhs-content-panel {
        padding: 40px 30px;
    }

    .nhs-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .nhs-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .nhs-logo {
        height: 40px;
    }

    .nhs-logo-container {
        padding: 12px 20px;
        margin-bottom: 25px;
    }

    .nhs-highlight-banner {
        padding: 12px 25px;
    }

    .nhs-highlight-banner span {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .nhs-image-panel {
        min-height: 250px;
    }

    .nhs-content-panel {
        padding: 30px 20px;
    }

    .nhs-title {
        font-size: 22px;
    }

    .nhs-description {
        font-size: 14px;
    }

    .nhs-highlight-banner span {
        font-size: 15px;
    }
}

/* =========================================
   2. HERO & WCU SECTION (Why Choose Us)
   ========================================= */
.wcu-section-new {
    font-family: 'Poppins', sans-serif;
    padding: 50px 0;
    position: relative;
    background-image: linear-gradient(rgb(101 218 137 / 83%), rgb(18 46 49 / 64%)), url(https://phlebotomycourse.uk/wp-content/uploads/2026/04/phlebotomy-uk-hero-right-image.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.wcu-focus-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: var(--wcu-shadow);
    overflow: hidden;
}

/* Left Panel */
.wcu-intro-panel {
    background: #122e31;
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wcu-tag {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #65da89;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.wcu-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: white;
}

.wcu-subtitle {
    font-size: 16px !important;
    line-height: 1.7;
    opacity: 0.8;
    margin: 0;
    font-weight: 500;
}

/* Right Panel */
.wcu-features-panel {
    padding: 25px;
}

.wcu-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: auto;
}

.wcu-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.wcu-icon {
    font-size: 2rem;
    margin-top: 5px;
    color: #51a76c;
    flex-shrink: 0;
}

.wcu-text-box h3,
.wcu-text-box .wcu-feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--wcu-text-dark);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.wcu-text-box p {
    font-size: 16px !important;
    color: var(--wcu-text-light);
    line-height: 1.6;
    margin: 0;
}

/* WCU Responsive */
@media (max-width: 992px) {
    .wcu-focus-card {
        grid-template-columns: 1fr;
    }

    .wcu-intro-panel {
        text-align: center;
    }

    .wcu-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .wcu-image-wrapper,
    .wcu-content-wrapper {
        text-align: center;
    }

    .wcu-image-wrapper img {
        width: 80%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .wcu-section-new {
        padding: 20px 0;
    }

    .wcu-features-grid {
        grid-template-columns: 1fr;
    }

    .wcu-intro-panel,
    .wcu-features-panel {
        padding: 40px 30px;
    }

    .wcu-title {
        font-size: 2rem;
    }

    .wcu-icon {
        font-size: 2rem;
        color: #65da89;
    }
}

@media (max-width: 480px) {
    .wcu-feature-item {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 15px;
    }
}

/* =========================================
   3. COURSES SECTION GENERAL
   ========================================= */
.courses-section {
    padding: 30px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2,
.section-text h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--phuk-dark-blue);
    margin: 5px 0 15px 0;
}

.section-header p {
    margin: 0 auto;
    color: #4a5568;
    line-height: 35px;
    font-size: 16px !important;
    font-weight: 400;
    text-align: justify;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* =========================================
    4. TABS NAVIGATION
    ========================================= */
/* CSS for Courses Section Carousel Navigation */
.course-tabs-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--phuk-border-color);
    padding-bottom: 5px;
}

.course-tabs {
    display: flex;
    gap: 15px;
    margin: auto;
    margin-bottom: 15px;
}

.tab-link {
    padding: 12px 25px;
    font-size: 17px;
    font-weight: 600;
    color: var(--phuk-text-light);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
    border: 2px solid #122e31;
    border-radius: 50px;
}

.course-tabs .tab-link {
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.tab-link:hover:not(.active) {
    color: white;
    /* Changed based on your later rule */
    background-color: #47985f;
    border: 2px solid #47985f;
}

.tab-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 3px;
    background: var(--phuk-gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-link.active {
    background: #122e31;
    color: white;
    border-radius: 50px;
    border-color: #122e31;
    box-shadow: -2px 4px 0px 1px #65da8b87;
}

.tab-link.active::after {
    transform: scaleX(1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tabs Responsive */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 22px;
    }

    .course-tabs-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
        border-bottom: none;
        padding-bottom: 20px;
    }

    .course-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
        width: 100%;
        justify-content: center;
        margin: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .tab-link {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 50px !important;
        border: 2px solid #122e31 !important;
        background: #fff;
        color: #122e31;
        font-weight: 700;
        font-size: 15px;
        padding: 15px 5px;
        width: 100%;
        line-height: 1.2;
        box-shadow: none;
    }

    .tab-link.active {
        background: #122e31 !important;
        color: #fff !important;
        box-shadow: -6px 6px 0px 0px #c6f0d0 !important;
        border-color: #122e31 !important;
    }

    .tab-link::after {
        display: none !important;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .courses-section {
        padding: 5px 0;
    }

    .course-tabs {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .tab-link {
        font-size: 13px;
        padding: 12px 5px;
    }

    .tab-link.active {
        box-shadow: -4px 4px 0px 0px #c6f0d0 !important;
    }
}

/* End of Courses Section Carousel Navigation CSS */

/* =========================================
   5. COURSE CARDS (Standard)
   ========================================= */
.course-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #4798613d;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.12);
}

.card-image {
    position: relative;
    height: 220px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badges */
.card-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.card-badge.expert,
.card-badge.clinical,
.card-badge.specialized,
.card-badge.Part-1,
.badge-modern {
    background-color: #479860;
    border: 1px solid #ffffff;
    color: #ffffff;
}

/* Content */
.card-content {
    padding: 5px 25px;
    flex-grow: 1;
}

.card-category {
    font-size: 21px !important;
    font-weight: 700;
    color: var(--phuk-dark-blue);
    margin: 15px 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--phuk-dark-blue);
    margin: 0 0 18px 0;
    line-height: 1.3;
    min-height: 60px;
}

.card-location {
    display: flex;
    align-items: center;
    font-size: 22px !important;
    font-weight: 600;
    color: #49ae6a;
}

.card-location i {
    color: #49ae6a;
    margin-right: 8px;
    font-size: 1.1rem;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    color: var(--phuk-text-dark);
    margin-bottom: 8px;
    font-size: 16px !important;
    display: flex;
    align-items: center;
    line-height: 35px;
}

.card-features i {
    color: var(--phuk-accent-blue);
    margin-right: 10px;
    font-size: 15px;
}

/* Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-top: 1px solid var(--phuk-border-color);
    background-color: var(--phuk-light-blue-bg);
}

.card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.original-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: var(--phuk-text-light);
    margin-bottom: 3px;
    opacity: 0.8;
}

.discounted-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--phuk-dark-blue);
    line-height: 1;
}

.card-price .discounted-price:only-child {
    font-size: 1.8rem;
    color: var(--phuk-accent-blue);
}

/* Buttons */
.view-more {
    background: #479861;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px #65da8980;
    background: #122e31;
    color: #fff;
}

.btn-add-to-cart {
    background: #65da8b;
    color: #212529;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgb(101 218 139);
    background: #122e31;
    color: #fff;
}

.btn-view-all {
    background: #122e31;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgb(101 218 139);
    color: white;
}

/* Links reset */
a.course-card,
a.course-card-modern {
    text-decoration: none !important;
    color: inherit;
}

/* Health Care Specific */
.health-care-and-social {
    height: 560px;
}

/* =========================================
   FIX: OWL CAROUSEL ARROW POSITIONING
   ========================================= */

/* 1. Ensure the carousel container is a reference point for absolute positioning */
.courses-section .owl-carousel {
    position: relative;
    z-index: 1;
}

/* 2. Position the navigation container floating over the middle of the cards */
.courses-section .owl-nav {
    position: absolute;
    top: 40%;
    /* Positions arrows slightly above the exact center for better visual balance */
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    margin: 0 !important;
    padding: 0;
    pointer-events: none;
    /* CRITICAL: Allows users to click the cards behind the arrow container */
    display: flex;
    justify-content: space-between;
    /* Pushes buttons to the far left and right */
    z-index: 10;
}

/* 3. Style the Left and Right Buttons (Circle Shape) */
.courses-section .owl-prev,
.courses-section .owl-next {
    pointer-events: auto;
    /* Re-enable clicking on the buttons themselves */
    width: 50px;
    height: 50px;
    background: #122e31 !important;
    /* Your Theme Dark Blue */
    border-radius: 50% !important;
    /* Perfect Circle */
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* Drop shadow for visibility */
    transition: all 0.3s ease;
    position: absolute;
    /* Allows us to pull them outside the grid */
}

/* 4. Position Left Arrow to the Left Side */
.courses-section .owl-prev {
    left: -80px !important;
    /* Pulls the arrow 25px to the left of the card */
}

/* 5. Position Right Arrow to the Right Side */
.courses-section .owl-next {
    right: -80px !important;
    /* Pulls the arrow 25px to the right of the card */
}

/* 6. Hover Effects (Theme Green) */
.courses-section .owl-prev:hover,
.courses-section .owl-next:hover {
    background: #65da8b !important;
    /* Your Theme Green */
    color: #122e31 !important;
    transform: scale(1.1);
    /* Slight zoom effect */
}

/* Add space between the left arrow and the card */
.courses-section .owl-carousel .owl-nav button.owl-prev {
    margin-right: 15px;
}

/* Add space between the right arrow and the card */
.courses-section .owl-carousel .owl-nav button.owl-next {
    margin-left: 15px;
}

/* --- Mobile Adjustment --- */
@media (max-width: 768px) {

    /* Bring arrows inside on mobile so they don't get cut off or cause scrolling */
    .courses-section .owl-prev {
        left: -10px;
        width: 40px;
        height: 40px;
    }

    .courses-section .owl-next {
        right: -10px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 1200px) {
    .courses-section .owl-prev {
        left: -40px !important;
    }

    .courses-section .owl-next {
        right: -40px !important;
    }
}

@media (max-width: 768px) {
    .courses-section .owl-prev {
        left: -10px !important;
    }

    .courses-section .owl-next {
        right: -10px !important;
    }

    .courses-section .course-tab-content {
        padding: 0;
    }
}

/* Course Card Responsive */
@media (max-width: 992px) {
    .card-title {
        min-height: auto;
    }

    .btn-view-all {
        width: fit-content;
    }

    .health-care-and-social {
        height: auto !important;
        min-height: auto !important;
    }
}

@media (max-width: 768px) {
    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 20px 15px;
        flex-grow: 0 !important;
    }

    .card-category {
        font-size: 18px !important;
    }

    .card-title {
        font-size: 1.25rem;
        min-height: auto;
        margin-bottom: 20px;
    }

    .card-features li {
        font-size: 15px !important;
        line-height: 28px;
    }

    .card-location {
        font-size: 18px !important;
        justify-content: center;
    }

    .card-footer {
        padding: 15px;
    }

    .card-price {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .original-price {
        margin-bottom: 0;
    }
}

@media (max-width: 420px) {
    .card-image {
        height: 180px;
    }

    .card-content,
    .card-footer {
        padding: 15px;
    }

    .card-footer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .card-price {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .original-price {
        display: block;
        margin-bottom: 3px;
    }

    .discounted-price {
        font-size: 1.6rem;
    }

    .card-footer .view-more,
    .card-footer .btn-add-to-cart {
        width: 100%;
        padding-top: 14px;
        padding-bottom: 14px;
        justify-content: center;
    }

    .health-care-and-social,
    .course-card-modern {
        height: auto !important;
        min-height: auto !important;
    }

    .btn-add-to-cart {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   6. COURSE CARDS (Modern / Clinical)
   ========================================= */
.course-card-modern {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    height: auto;
    padding-bottom: 20px;
    border: 1px solid #4798613d;
}

.course-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-card-modern img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.course-card-modern .card-content {
    flex-grow: 1;
}

.badge-modern {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
}

.card-body-modern {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    width: 100%;
}

.card-body-modern h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 15px 0;
    text-align: center;
}

/* Modern Card Button Desktop Fix */
@media (min-width: 992px) {
    .course-card-modern .view-more {
        width: fit-content !important;
        margin: 0 auto 15px auto;
        align-self: center;
        padding: 12px 45px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        box-shadow: 0 4px 10px rgba(71, 152, 97, 0.3);
    }

    .course-card-modern {
        padding-bottom: 5px;
    }
}

@media (max-width: 768px) {

    .course-card-modern,
    .card-body-modern {
        align-items: center !important;
        text-align: center !important;
    }

    .course-card-modern {
        height: auto !important;
        min-height: auto !important;
    }

    .course-card-modern img {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }
}

/* =========================================
   7. UPCOMING SESSIONS
   ========================================= */
#phuk-upcoming-sessions {
    padding: 30px 0px;
}

.phuk-course-timetable {
    box-shadow: 0 2px 4px rgb(135 135 135 / 40%);
    text-align: center;
    background-color: #469861;
    border-color: #479861;
    color: #fff;
}

.phuk-course-timetable span:last-of-type {
    color: #f4b400;
    font-weight: 700;
    font-size: 1.2em;
}

.phuk-course-title p span i {
    color: #469861;
}

.phuk-status-available:not(.view-details):hover,
.phuk-status-available.view-details:hover {
    background: transparent;
    color: #0d6efd;
    border: 2px solid #0d6efd;
}

.phuk-single-session-wrap {
    overflow: hidden;
    box-shadow: 0 8px 30px rgb(44 62 80 / 9%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #122e3130;
    border-radius: 12px;
    margin-bottom: 15px;
}

.phuk-single-session-wrap:hover {
    transform: translateY(-4px);
    box-shadow: var(--phuk-shadow-hover);
}

.phuk-status-available.view-details {
    border: 2px solid #479861;
    font-weight: 700;
}

/* Hide mobile icons on desktop */
.phuk-mobile-icon {
    display: none;
}

/* Upcoming Sessions Responsive */
@media (max-width: 768px) {
    .phuk-single-session-wrap {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0;
    }

    .phuk-single-session {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
        margin-bottom: 0px !important;
    }

    .phuk-course-timetable {
        padding: 12px 10px !important;
        border-radius: 10px 10px 0 0;
        text-align: center;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    /* Show icons on mobile */
    .phuk-course-timetable .phuk-mobile-icon {
        display: inline-block;
        margin-right: 6px;
        color: #fbce07;
        /* Yellowish icon color */
        font-size: 16px;
        /* slightly larger icon */
        vertical-align: middle;
    }

    /* Reorder items: Location (left), Date (right) */
    .phuk-session-location {
        order: 1;
        font-weight: 600 !important;
        color: #fff !important;
        display: flex;
        align-items: center;
        padding-right: 15px;
        margin-right: 15px;
        line-height: 1.2;
        font-size: 20px !important;
    }

    .phuk-session-date {
        order: 3;
        font-weight: 600;
        color: #fff;
        display: flex;
        align-items: center;
        line-height: 1.2;
        text-decoration: none !important;
        /* Ensure no underline */
        border-bottom: none !important;
    }

    .phuk-session-date i {
        margin-top: 0;
        /* reset optical adjustment */
        margin-right: 6px;
        /* spacing for icon */
        vertical-align: middle;
    }

    .phuk-session-location i {
        margin-right: 6px;
        vertical-align: middle;
        margin-top: -1px;
        /* tiny tweak for map marker usually needed */
    }

    /* Separator */
    /* Clean separator approach */
    /*
    .phuk-session-location {
        position: relative;
        padding-right: 16px;
        border-right: 1px solid rgba(255, 255, 255, 0.4);
        margin-right: 0;
    }
    */

    .phuk-course-timetable {
        /* gap: 16px; */
        /* Removed as per instruction */
    }

    .phuk-course-title {
        text-align: left;
        padding: 0px 15px 5px 15px;
    }

    .phuk-course-session-md {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px;
        flex-wrap: nowrap !important;
        padding: 10px 0px 0px 0px;
    }

    .phuk-course-session-md span {
        background-color: #f0fdf4;
        border: 1px solid #dcfce7;
        color: #166534;
        padding: 6px 2px;
        border-radius: 6px;
        font-size: 12px;
        text-align: center;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        min-width: 0;
        /* verify flex shrinking */
    }

    .phuk-course-session-md span i {
        margin-right: 4px;
        color: #15803d;
        flex-shrink: 0;
    }

    .phuk-course-status {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        padding: 5px 15px 15px 15px;
    }

    .phuk-course-status a,
    .phuk-course-status button {
        width: 100%;
        flex: 1;
        text-align: center;
        padding: 10px 5px;
        margin: 0 !important;
        min-width: 0 !important;
        font-size: 14px !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* =========================================
   8. CAROUSEL & SLIDERS
   ========================================= */
.owl-stage-outer {
    padding: 5px 0;
}

.owl-item {
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.owl-item.active {
    opacity: 1;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.carousel-header h2 {
    margin: 0;
}

.custom-nav {
    display: flex;
    gap: 10px;
}

.custom-nav button {
    background-color: #e0e0e0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

.custom-nav button:hover {
    background-color: #00796b;
    color: #fff;
}

.course-carousel-nav {
    text-align: center;
    padding: 35px 0px;
    padding-bottom: 0px;
}

.course-carousel-nav button {
    background: transparent;
    color: #122e31;
    border: 5px solid #122e31;
    padding: 5px 20px;
    margin: 5px;
}

.course-carousel-nav button:hover {
    border-color: #65da8b;
    color: #65da8b;
}

.course-carousel-nav button i {
    font-size: 20px;
    font-weight: 900;
}

/* Health Social Care Slider Specifics */
.care-courses-slider .course-card {
    min-height: 420px;
    height: 100%;
}

.care-courses-slider .owl-stage {
    display: flex !important;
}

.care-courses-slider .owl-item {
    display: flex;
    height: auto !important;
}

.care-courses-slider .course-card {
    flex: 1 1 auto;
}

/* =========================================
   9. CLINICAL COURSES SECTION
   ========================================= */
.clinical-courses-section {
    background-color: #f7f9fc;
    padding: 0;
    overflow: hidden;
}

.clinical-header {
    margin-bottom: 35px;
}

.clinical-header h2 {
    font-weight: 700;
    color: #1a202c;
    margin-top: 5px;
    margin-bottom: 10px;
}

.clinical-header p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
}

.section-text {
    text-align: justify;
    max-width: 700px;
}

.section-text p {
    color: #4a5568;
}

@media (max-width: 991px) {
    .clinical-header {
        text-align: center;
        margin-bottom: 70px;
    }

    .section-text {
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .clinical-header {
        margin-bottom: 20px;
        text-align: center;
    }
}

/* =========================================
   10. ABOUT US SECTION
   ========================================= */
.about-us-section {
    padding: 30px 0;
    padding-top: 50px;
    overflow: hidden;
}

.about-us-box {
    box-shadow: 0 5px 20px rgb(0 0 0 / 9%);
    border-radius: 20px;
}

.about-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    background: #63db8a12;
    padding: 35px;
    border-radius: 20px 20px 0 0;
}

.section-title {
    font-size: 30px;
    color: #1a2b48;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px !important;
}

.section-subtitle {
    font-size: 16px;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: justify;
}

.feature-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item i {
    font-size: 20px;
    color: #65da89;
    margin-top: 5px;
}

.feature-item p {
    margin: 0;
    line-height: 1.7;
    color: #556070;
}

.feature-item p strong {
    color: #1a2b48;
    font-weight: 600;
    margin-right: 5px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: #122e31;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: -2px 4px 0px 1px #65da8b87;
    margin-top: 15px;
}

.view-more-btn:hover {
    transform: translateY(-3px);
    background-color: #65da89;
    color: #122e31;
    box-shadow: 0 7px 20px rgba(101, 218, 139, 0.4);
}

/* About Us Images */
.about-us-image-collage {
    position: relative;
    height: 400px;
}

.about-us-image-collage img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-main {
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 2;
}

.img-secondary {
    width: 50%;
    height: 50%;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 6px solid #fff;
}

.about-us-image-collage:hover .img-main {
    transform: translate(-10px, -10px) rotate(-3deg);
}

.about-us-image-collage:hover .img-secondary {
    transform: translate(10px, 10px) rotate(3deg);
}

/* Partners */
.partners-area-revised {
    text-align: center;
    background: transparent;
    border-radius: 0 0px 20px 20px;
}

.partners-area-revised h4 {
    font-size: 18px;
    color: #122e32;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 15px;
}

.partners-area-revised .partners-logos img {
    height: 160px;
    width: auto;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 12px;
}

/* About Us Responsive */
@media (max-width: 991px) {
    .about-us-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
        padding: 20px;
    }

    .about-us-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .feature-item {
        justify-content: center;
        text-align: left;
    }

    .about-us-image-collage {
        margin-top: 30px;
        height: 350px;
        display: block;
    }

    .partners-area {
        text-align: center;
    }

    .partners-area-revised .partners-logos img {
        height: auto;
    }

    .partners-area-revised {
        padding: 0;
    }

    .section-subtitle {
        font-size: 17px !important;
    }

    .view-more-btn {
        margin-top: 0px;
    }
}

/* =========================================
   11. FAQ SECTION
   ========================================= */
.faq-section-new {
    padding: 25px 0;
    background: linear-gradient(180deg, #f4f7fa 0%, #ffffff 100%);
    position: relative;
    z-index: 9;
}

.faq-section-new:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23e2ebf5" fill-opacity="1" d="M0,192L80,181.3C160,171,320,149,480,128C640,107,800,85,960,106.7C1120,128,1280,192,1360,224L1440,256L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z"></path></svg>') no-repeat center bottom;
    background-size: cover;
    opacity: 0.5;
    z-index: -9;
}

.faq-header-new {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
}

.faq-header-new h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    margin: 10px 0 15px 0;
}

.faq-header-new p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5f708a;
}

.faq-accordion-new {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item-new {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.faq-question-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 17px;
    font-weight: 600;
    color: #2d3748;
}

.faq-icon-new {
    font-size: 1.1rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #65da89;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-answer-new {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 25px;
    line-height: 1.7;
    color: #5f708a;
}

.faq-answer-new p {
    font-size: 16px !important;
    line-height: 30px;
}

/* Active State */
.faq-item-new.active {
    border-color: #65da89;
    box-shadow: 0 8px 25px rgba(101, 218, 139, 0.15);
    background-color: #fafffc;
}

.faq-item-new.active .faq-answer-new {
    max-height: 525px;
    padding: 0 25px 25px 25px;
}

.faq-item-new.active .faq-icon-new {
    transform: rotate(45deg);
}

/* =========================================
   12. LOCATION CARDS & MODAL
   ========================================= */
.location {
    padding: 30px;
    margin-bottom: 35px;
}

.location-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.location-card {
    display: block;
    text-decoration: none;
    color: #333;
    border-radius: 20px 0;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 6px solid var(--card-bg-color, #ddd);
    background-color: #fff;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.location-card-header {
    background-color: var(--card-bg-color, #333);
    padding: 8px 20px;
    padding-top: 0;
}

.location-card-header .title {
    margin: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.location-card-image {
    height: 180px;
    width: 100%;
    background-color: #f0f0f0;
}

.location-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal Styling */
#galleryModal .modal-dialog {
    max-width: 950px;
    height: auto;
    max-height: 85vh;
    margin: 1.75rem auto;
    transition: transform 0.3s ease-out;
    display: flex;
    align-items: center;
}

#galleryModal .modal-content {
    background-color: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
}

#locationCarousel {
    width: 100%;
    height: auto;
    background-color: transparent;
    border-radius: 1rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    aspect-ratio: 16 / 10;
}

#locationCarousel .carousel-inner,
#locationCarousel .carousel-item {
    width: 100%;
    height: 100%;
}

#locationCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Modal Overlays */
.gallery-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.gallery-logo {
    height: 40px;
    width: auto;
    opacity: 0.9;
}

.image-counter {
    color: #fff;
    font-size: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    padding-left: 70px;
}

#galleryModal .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    background-color: #28a745;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1em;
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.2s ease;
    margin-left: auto;
    padding: 10px;
}

#galleryModal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
    background-color: #218838;
}

/* Carousel Controls */
#locationCarousel .carousel-control-prev,
#locationCarousel .carousel-control-next {
    width: 5%;
    background: transparent;
}

#locationCarousel .carousel-control-prev-icon,
#locationCarousel .carousel-control-next-icon {
    background-color: #28a745;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.2s ease;
}

#locationCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#locationCarousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: #218838;
    opacity: 1;
    transform: scale(1.05);
}

#locationCarousel .carousel-indicators {
    bottom: 1rem;
}

#locationCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
}

#locationCarousel .carousel-indicators .active {
    background-color: #fff;
}

.carousel-item.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3rem;
    height: 3rem;
    margin: -1.5rem 0 0 -1.5rem;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    #galleryModal .modal-dialog {
        margin: 0;
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
    }

    #locationCarousel {
        border-radius: 0;
        aspect-ratio: unset;
        height: 100%;
    }

    .gallery-header {
        padding: 1rem;
    }
}

/* =========================================
   13. REVIEWS & BLOG SECTION
   ========================================= */
#home-review {
    padding-top: 50px;
}

.la-reviews-carousel-section-wrap {
    margin-top: 50px;
}

.blog-section {
    background: #f0f1f7;
    padding: 30px;
}

.blog-section-header {
    text-align: center;
    padding: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    grid-auto-rows: 1fr;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.blog-card-top-content {
    flex: 1;
}

.blog-category {
    display: inline-block;
    background-color: #eaf6eae0;
    color: #377645;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 700;
}

.blog-card h3 a {
    text-decoration: none;
    color: #222;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #28a745;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0;
}

.blog-card-meta a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.blog-card-meta a:hover {
    text-decoration: underline;
}

.blog-card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link {
    margin-top: auto;
    padding-top: 15px;
    color: #3e844d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #65da89;
}

.blog-view-more-container {
    text-align: center;
    margin: 25px 0;
}

/* Blog Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-section-header {
        padding: 5px;
    }

    .blog-section-header h2 {
        font-size: 1.5rem;
    }

    .blog-section-header p {
        font-size: 17px !important;
        text-align: justify;
    }
}