/* Headings */
.solutions-title {
    color: var(--golden-yellow);
    font-size: 2rem;
}

.empowering {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.harnesses {
    width: 100%;
    font-size: 1rem;
    color: var(--light-grey);
    text-align: center;
}

.solutions-intro {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sector-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--light-grey);
    margin-top: 1rem;
}

.sector-list ul {
    padding-left: 1.2rem;
    list-style: disc;
}

.sector-list li {
    margin-bottom: 0.5rem;
}

.sector-list p {
    margin-bottom: 0.25rem;
}

.list-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.list-wrapper ul {
    text-align: left;
    padding-left: 1.5rem;
    margin: 0;
    list-style: disc;
    width: fit-content;
}

/* Individual Card */
.card {
    background-color: #fff;
    color: var(--dark-navy);
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
}

/* Card Body and Content */
.card-body {
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    text-align: left;
}

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

/* Typography */
.card-body p.fw-semibold {
    font: 1.1rem;
    color: var(--dark-grey);
}

.card-body p.fw-bold {
    font-size: 1.2rem;
    color: var(--dark-navy);
}

.text-secondary {
    font-size: x-large;
}

/* Book Demo Button */
.card .btn {
    background-color: var(--golden-yellow);
    color: var(--dark-navy);
    font-weight: bold;
    border: none;
    padding: 0.5rem 1rem;
    align-self: flex-start;
}

.card .btn:hover {
    background-color: var(--golden-yellow);
}

html {
    scroll-behavior: smooth;
}

/* Card Image and Overlay */
.position-relative {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 180px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.position-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-heading-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--golden-yellow);
    background: rgba(0, 0, 0, 0.7);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.list-wrapper li {
    margin-left: 1.5em;
}

/* ===== Media queries ===== */

/* Please follow the mobile-first design philosophy strictly */
/* Breakpoints */
/* Extra small: none (<576px) */
/* Small: min-width: 576px; */
/* Medium: min-width: 768px; */
/* Large: min-width: 992px; */
/* Extra large: min-width: 1200px; */
/* Extra extra large: min-width: 1400px; */

/* Media queries for the screen size of 768px or wider */
@media screen and (min-width: 768px) {
    .solutions-title {
        font-size: 2.8rem;
    }

    .empowering {
        font-size: 1.4rem;
    }

    .position-relative {
        height: 250px;
    }

    .cards-container {
        gap: 2rem;
        padding: 2rem 1rem;
    }
}

/* Media queries for the screen size of 992px or wider */
@media screen and (min-width: 992px) {
    .solutions-intro {
        width: 800px;
    }
}