/* Product Banner Styling */
.product-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    background-color: #fff5e3;
    border: 2px solid #717d02;
    border-radius: 25px;
    padding: 15px 25px;
    min-height: 120px;
    gap: 15px;
}

.banner-logo {
    display: flex;
    align-items: center;
}

.banner-logo img {
    max-height: 100px;
}

.banner-title {
    flex-grow: 1;
    text-align: center;
}

.banner-title h2 {
    font-weight: 700;
    color: #717d02;
    font-size: 2rem;
    margin-bottom: 0;
}

.banner-action {
    text-align: right;
    flex-shrink: 0;
}

.banner-action .buy-btn {
    background-color: #ff7a00;
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
}

/* .banner-action .buy-btn:hover {
    background-color: #e65c00;
    color: #fff;
} */

@media (max-width: 992px) {
    .banner-title h2 {
        font-size: 1.5rem;
    }

    .banner-logo img {
        max-height: 80px;
    }
}

@media (max-width: 576px) {
    .product-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .banner-title {
        order: 2;
    }

    .banner-logo {
        order: 1;
        justify-content: center;
    }

    .banner-action {
        order: 3;
        width: 100%;
    }

    .banner-action .buy-btn {
        width: 100%;
    }

    .banner-title h2 {
        font-size: 1.2rem;
    }
}

/* Features Section */
.product-features {
    max-width: 900px;
    margin: 0 auto;
}

.features-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.features-list li {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 18px;
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.2;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #000;
}

@media (max-width: 992px) {
    .features-list li {
        font-size: 1rem;
        padding-left: 1.75rem;
    }
}

@media (min-width: 768px) {
    .features-list {
        display: inline-block;
        text-align: left;
    }

    .product-features {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .features-list li {
        font-size: 1rem;
        padding-left: 1.25rem;
        margin-bottom: 0.9rem;
    }

    .features-list li::before {
        font-size: 1rem;
    }
}

/* CTA Section */
.cta-section {
    margin-top: 40px;
}

.cta-box {
    background: linear-gradient(90deg, #e6c3c3, #d9b3d9);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #790867;
    margin-bottom: 10px;
}

.cta-subtext {
    font-size: 1.25rem;
}

.cta-bottom {
    gap: 1rem;
}

.cta-highlight {
    font-size: 1.25rem;
    font-weight: 700;
}

.cta-btn {
    background-color: #790867;
    color: #fff;
    font-size: 1.25rem;
    padding: 10px 25px;
    border-radius: 12px;
    font-weight: bold;
}

.cta-btn:hover {
    background-color: #6f0856;
    color: #fff;
}

@media (max-width: 992px) {
    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-subtext {
        font-size: 1rem;
    }

    .cta-highlight {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {

    .cta-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-btn {
        width: 100%;
        margin-left: 0 !important;
    }

    .cta-box h2 {
        font-size: 1.2rem;
    }
}

/* Pharamacies Features Section */
.pharmacies-features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.pharmacies-features .features-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pharmacies-features .features-list li {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 18px;
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.2;
}

.pharmacies-features .features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #000;
}

@media (max-width: 992px) {
    .pharmacies-features h2 {
        font-size: 1.5rem;
    }

    .pharmacies-features .features-list li {
        font-size: 1rem;
        padding-left: 1.75rem;
    }
}

@media (min-width: 768px) {
    .pharmacies-features {
        text-align: center;
    }

    .pharmacies-features .features-list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .pharmacies-features h2 {
        font-size: 1.2rem;
    }

    .pharmacies-features .features-list {
        text-align: left;
    }

    .pharmacies-features .features-list li {
        font-size: 1rem;
        padding-left: 1.25rem;
        margin-bottom: 0.9rem;
    }

    .pharmacies-features .features-list li::before {
        font-size: 1rem;
    }
}

/* Ribbon Section */
.ribbon-section {
    text-align: center;
}

.ribbon-section .ribbon-wrapper {
    display: inline-block;
    --r: 0.8em;
    background-color: #790867;
    padding: 2px;
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--r)) 50%, 100% 100%, 0 100%, var(--r) 50%);
}

.ribbon-section .ribbon {
    --r: 0.8em;
    font-size: 2rem;
    font-weight: bold;
    color: #206212;
    padding: 1rem;
    padding-inline: calc(var(--r) + .3em);
    line-height: 1.5;
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--r)) 50%, 100% 100%, 0 100%, var(--r) 50%);
    background: #dbffd4;
    width: fit-content;
}

@media (max-width: 992px) {
    .ribbon-section .ribbon {
        font-size: 1.5rem;
        line-height: 1.2;
    }
}

@media (max-width: 576px) {
    .ribbon-section .ribbon {
        font-size: 1.2rem;
    }
}

/* Video Section */
.video-section {
    display: flex;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border: 5px solid #790867;
    border-radius: 12px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    /* border-radius: 12px;
    border: none; */
}

/* Core Capabilities Section */
.core-section {
    text-align: center;
}

.core-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.core-card {
    padding: 25px 25px;
    text-align: center;
    border-right: 2px solid #ddd; /* If you want the vertical border after the last child then remove this */
}

.core-card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

/* Add vertical borders only for first 2 columns  and last child if you want */
/* .core-card:nth-child(3n+1),
.core-card:nth-child(3n+2) {
    border-right: 2px solid #ddd;
} */

.core-card:nth-child(3n),
.core-card:last-child {
    border-right: none;
}

.core-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-icon img {
    max-width: 100px;
}

.core-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.core-card p {
    font-size: 1rem;
    max-width: 260px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .core-heading {
        font-size: 1.5rem;
    }

    .core-icon {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 576px) {

    .core-grid {
        grid-template-columns: 1fr;
    }

    .core-card {
        border-right: none !important;
        border-bottom: 2px solid #ddd;
    }

    .core-card:last-child {
        border-bottom: none;
    }

    .core-heading {
        font-size: 1.2rem;
    }
}

/* Optmise Section */
.optimise-section {
    text-align: center;
}

.optimise-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.optimise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.optimise-card {
    padding: 30px 25px;
    text-align: center;
    border-right: 2px solid #ddd;
}

.optimise-card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.optimise-card:nth-child(4n),
.optimise-card:last-child {
    border-right: none;
}

.optimise-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.optimise-icon img {
    max-width: 100px;
}

.optimise-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.optimise-card p {
    font-size: 1rem;
    max-width: 260px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .optimise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .optimise-card {
        border-right: 2px solid #ddd;
    }

    .optimise-card:nth-child(2n),
    .optimise-card:last-child {
        border-right: none;
    }

    .optimise-heading {
        font-size: 1.5rem;
    }

    .optimise-icon {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 576px) {

    .optimise-grid {
        grid-template-columns: 1fr;
    }

    .optimise-card {
        border-right: none !important;
        border-bottom: 2px solid #ddd;
    }

    .optimise-card:last-child {
        border-bottom: none;
    }

    .optimise-heading {
        font-size: 1.2rem;
    }
}