﻿/* ── CSS VARIABLES ── */
:root {
    --brand: #5FB4FD;
    --brand-dk: #3A8EDB;
    --brand-lt: #EEF6FF;
    --dark: #4D4D4D;
    --mid: #6b7280;
    --border: #e5e7eb;
    --bg: #f8fafc;
    --white: #ffffff;
}

/* ── CTA BANNER ── */
.home-cta {
    background: linear-gradient(135deg, #5FB4FD 0%, #7C58FA 100%);
    padding: 0;
}

.home-cta-inner {
    display: flex;
    align-items: stretch;
    min-height: 110px;
}

.home-cta-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 40px;
}

.home-cta-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .home-cta-icon i {
        font-size: 26px;
        color: #fff;
    }

.home-cta-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.home-cta-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.home-cta-right {
    display: flex;
    align-items: center;
    padding: 28px 40px;
    border-left: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.08);
}

.home-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: #fff;
    color: var(--brand-dk);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .home-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        color: var(--brand-dk);
    }

    .home-cta-btn i {
        font-size: 13px;
    }

@@media (max-width: 768px) {
    .home-cta-inner {
        flex-direction: column;
    }

    .home-cta-left {
        padding: 24px 20px;
    }

    .home-cta-right {
        padding: 0 20px 24px;
        border-left: none;
        background: none;
    }

    .home-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .home-cta-text h3 {
        font-size: 17px;
    }
}

/* ── PRODUCTS SECTION ── */
.medical-departments-area {
    padding: 80px 0;
    background: #fff;
}

.products-header {
    text-align: center;
    margin-bottom: 50px;
}

    .products-header .label {
        display: inline-block;
        padding: 5px 16px;
        background: rgba(95,180,253,0.12);
        color: var(--brand-dk);
        border-radius: 20px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 14px;
    }

    .products-header h2 {
        font-size: 34px;
        font-weight: 800;
        color: var(--dark);
        margin: 0 0 12px;
    }

    .products-header p {
        font-size: 15px;
        color: var(--mid);
        max-width: 460px;
        margin: 0 auto;
    }

@@media (max-width: 768px) {
    .medical-departments-area {
        padding: 50px 0;
    }

    .products-header h2 {
        font-size: 26px;
    }
}

/* ── PRODUCT CARD ── */
.pgh-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .pgh-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #5FB4FD, #7C58FA);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .pgh-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 56px rgba(95,180,253,0.15);
        border-color: transparent;
        text-decoration: none;
    }

        .pgh-card:hover::before {
            opacity: 1;
        }

/* Image */
.pgh-img {
    width: 100%;
    height: 200px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.pgh-card:hover .pgh-img {
    background: #eef6ff;
}

.pgh-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.4s ease;
}

.pgh-card:hover .pgh-img img {
    transform: scale(1.06);
}

/* Body */
.pgh-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    align-items: center;
}

.pgh-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
    line-height: 1.4;
}

.pgh-desc {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.7;
    margin: 0 0 20px;
    flex-grow: 1;

    /* clamp to 3 lines max */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pgh-btn {
    display: block;
    width: 100%;
    padding: 11px 20px;
    background: linear-gradient(135deg, #5FB4FD, #7C58FA);
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
    transition: opacity 0.2s ease;
}

.pgh-card:hover .pgh-btn {
    opacity: 0.88;
}

/* ── FEATURES ── */
.special-features-area {
    padding: 80px 0;
    background: linear-gradient(160deg, #f8fafc 0%, #eef6ff 50%, #f3eeff 100%);
    position: relative;
    overflow: hidden;
}

    .special-features-area::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(95,180,253,0.12) 0%, transparent 70%);
        pointer-events: none;
    }

    .special-features-area::after {
        content: '';
        position: absolute;
        bottom: -60px;
        left: -60px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(124,88,250,0.10) 0%, transparent 70%);
        pointer-events: none;
    }

.features-header {
    text-align: center;
    margin-bottom: 56px;
}

    .features-header .label {
        display: inline-block;
        padding: 5px 16px;
        background: rgba(95,180,253,0.12);
        color: var(--brand-dk);
        border-radius: 20px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 14px;
    }

    .features-header h2 {
        font-size: 34px;
        font-weight: 800;
        color: var(--dark);
        margin: 0 0 12px;
        line-height: 1.2;
    }

    .features-header p {
        font-size: 15px;
        color: var(--mid);
        max-width: 480px;
        margin: 0 auto;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-header h2 {
        font-size: 26px;
    }
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #5FB4FD, #7C58FA);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(95,180,253,0.15);
        border-color: transparent;
    }

        .feature-card:hover::before {
            opacity: 1;
        }

.feature-card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(95,180,253,0.07);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef6ff, #e8e0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrap {
    background: linear-gradient(135deg, #5FB4FD, #7C58FA);
    transform: scale(1.08);
}

.feature-icon-wrap span,
.feature-icon-wrap i {
    font-size: 22px;
    color: var(--brand-dk);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon-wrap span,
.feature-card:hover .feature-icon-wrap i {
    color: #fff;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--mid);
    line-height: 1.7;
    margin: 0;
}

/* ── PARTNERS SCROLL ── */
.partners-area {
    padding: 50px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partners-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .partners-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    .partners-scroll-wrapper:active {
        cursor: grabbing;
    }

.partners-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: max-content;
    padding: 20px 0;
}

.partner-logo {
    flex-shrink: 0;
    width: 280px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    box-sizing: border-box;
}

    .partner-logo:first-child {
        border-left: 1px solid var(--border);
    }

    .partner-logo img {
        width: 220px;
        height: 130px;
        object-fit: contain;
        object-position: center;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
        display: block;
    }

    .partner-logo:hover img {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.05);
    }

.pgh-card {
    display: flex;
    flex-direction: column;
    height: 420px; /* fixed height — adjust to taste */
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
