.programs-section {
    background-color: #f8f9fa;
}

.scroll-wrapper {
    overflow: hidden;
}

.scroll-track {
    display: flex;
}

.set1 {
    display: flex;
    gap: 20px;
    min-width: max-content;
    align-items: stretch;
}

.program-card {
    flex: 0 0 300px;
    background: #f8f6f2;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card .card-body {
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.program-card .card-content {
    flex: 1;
}

.program-card .btn {
    margin-top: auto;
}

@media (max-width: 768px) {
    .program-card {
        flex: 0 0 calc(100vw - 20px);
    }

    .set1 {
        gap: 10px;
    }
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: fill;
    object-position: center;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}


.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    color: white;
}

.ctl-btn {
    width: 46px;
    height: 46px;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    outline: none;
    padding-bottom: 4px !important;

    /* Default (not hovered): dark border + dark arrow */
    background-color: transparent;
    border: 2px solid rgb(7, 28, 74);
    color: rgb(7, 28, 74); /* arrow color (via inheritance) */
}

/* Ensure arrow inherits and doesn't intercept events */
.ctl-btn span {
    color: inherit;
    pointer-events: none;
}

/* Variant presets (both share same hover behavior) */
.ctl-btn.filled {
    background-color: #efefef;
}

/* subtle filled bg */
.ctl-btn.outline {
    background-color: transparent;
}

/* Hover: dark background + WHITE border + WHITE arrow */
.ctl-btn:hover {
    background-color: rgb(7, 28, 74);
    color: #fff; /* arrow becomes white */
    border-color: #fff; /* border becomes white */
}

/* Keyboard focus */
.ctl-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(7, 28, 74, .25);
}

.program-card .btn {
    background-color: rgb(7, 28, 74);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.4rem 2.2rem;
    font-size: 0.9rem;
    align-self: flex-start;
    margin-top: auto;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.program-card .btn:hover {
    background-color: #6b86dd;

}


