/* ============================================
   HMIS PAGE - DEDICATED STYLES
   ============================================ */

/* Global Section Padding */
.hmis-section {
    padding: 20px 0;
}

/* ============================================
   1. HERO SECTION STYLES
   ============================================ */

.hmis-hero {
    background-color: var(--primary-dark);
    min-height: 700px;
    position: relative;
    overflow: hidden;
}

.hmis-hero__container {
    height: 100%;
    max-width: 80%;
}

.hmis-hero__content {
    z-index: 20;
    min-height: 100px;
    display: flex;
}

.hmis-hero__content-wrapper {
    margin-top: 100px;
}

.hmis-hero__subheading {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.hmis-hero__title {
    line-height: 1.3;
    font-size: 2.8rem;
    max-width: 90%;
    font-weight: 800;
}

.hmis-hero__title-highlight {
    color: #b294efff;
}

.hmis-hero__description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 85%;
}

.hmis-hero__cta-btn {
    background-color: var(--button-bg);
    color: var(--text-color);
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: 0.3s;
}

.hmis-hero__cta-btn:hover {
    background-color: var(--button-hover);
}

.hmis-hero__image-col {
    position: relative;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
}

/* ============================================
   2. PARTNERS SECTION STYLES
   ============================================ */

.hmis-partners {
    padding: 20px 0;
    background-color: #fff;
}

.hmis-partners__heading {
    font-weight: 700;
    color: var(--primary-dark);
}

/* ============================================
   3. FEATURES SECTION STYLES
   ============================================ */

.hmis-features {
    background-color: #f6f6f8;
    padding: 20px 0;
}

.hmis-features__tagline {
    color: var(--accent-light);
}

.hmis-features__title {
    color: var(--primary-dark);
    font-size: 3.2rem;
    line-height: 1.15;
}

.hmis-features__card {
    background: #fff;
    text-center: center;
    padding: 2rem;
    border-radius: 0.5rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.hmis-features__card:hover {
    transform: translateY(-5px);
}

.hmis-features__icon {
    color: var(--accent-light);
    font-size: 3rem;
}

.hmis-features__card-title {
    color: #212529;
    font-size: 1.25rem;
    font-weight: 700;
}

.hmis-features__card-text {
    color: #6c757d;
}

/* ============================================
   4. SOLUTIONS SECTION STYLES
   ============================================ */

.hmis-solutions {
    background-color: #f5f5f7;
    background-image: radial-gradient(#e5e7eb 0.8px, transparent 0.8px);
    background-size: 30px 30px;
    padding: 20px 0;
}

.hmis-solutions__title {
    color: var(--primary-dark);
    font-weight: 700;
}

.hmis-solutions__diagram {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    transition: transform 0.5s ease;
}

.hmis-solutions__diagram:hover {
    transform: scale(1.02);
}

.hmis-solutions__diagram-img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.hmis-solutions__content-title {
    color: var(--primary-dark);
    font-size: 2.2rem;
    font-weight: 700;
}

.hmis-solutions__content-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.hmis-solutions__module-item {
    display: flex;
    align-items: center;
}

.hmis-solutions__module-icon {
    color: var(--accent-light);
    font-size: 1.3rem;
}

.hmis-solutions__module-name {
    color: #555;
    font-weight: 600;
}

.hmis-solutions__cta-btn {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-light));
    color: white;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: inline-block;
    transition: opacity 0.3s;
}

.hmis-solutions__cta-btn:hover {
    opacity: 0.9;
}

/* ============================================
   5. TRANSFORM SECTION STYLES
   ============================================ */

.hmis-transform {
    background-color: #ffffff;
    padding: 20px 0;
}

.hmis-transform__title {
    color: #372a5a;
    font-weight: 700;
}

.hmis-transform__description {
    color: #6c757d;
}

.hmis-transform__feature-icon {
    color: var(--accent-light);
    font-size: 2rem;
}

.hmis-transform__feature-title {
    color: #372a5a;
    font-weight: 700;
}

.hmis-transform__feature-text {
    color: #6c757d;
}

.hmis-transform__cta-btn {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-light));
    color: white;
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hmis-transform__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hmis-transform__visual-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hmis-transform__visual-dots {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hmis-transform__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.hmis-transform__dot--red {
    background: #ff5f56;
}

.hmis-transform__dot--yellow {
    background: #ffbd2e;
}

.hmis-transform__dot--green {
    background: #27c93f;
}

.hmis-transform__image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.hmis-transform__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.hmis-transform__glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(156, 108, 255, 0.1), rgba(55, 42, 90, 0.1));
    pointer-events: none;
}

/* ============================================
   6. STATISTICS SECTION STYLES
   ============================================ */

.hmis-stats {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark-blob));
    padding: 20px 0;
    color: #fff;
}

.hmis-stats__title {
    font-weight: 700;
    color: #fff;
}

.hmis-stats__description {
    color: rgba(255, 255, 255, 0.75);
}

.hmis-stats__item {
    padding: 1.5rem;
}

.hmis-stats__number {
    color: var(--accent-light);
    font-weight: 700;
}

.hmis-stats__label {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   7. BENEFITS SECTION STYLES
   ============================================ */

.hmis-benefits {
    background-color: #f5f5f7;
    background-image: radial-gradient(#e5e7eb 0.8px, transparent 0.8px);
    background-size: 30px 30px;
    padding: 20px 0;
}

.hmis-benefits__title {
    color: var(--primary-dark);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hmis-benefits__description {
    color: #6c757d;
    font-size: 1.1rem;
}

.hmis-benefits__feature-icon {
    color: var(--accent-light);
    font-size: 1.5rem;
}

.hmis-benefits__feature-text {
    color: #6c757d;
    font-weight: 600;
}

.hmis-benefits__cta-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hmis-benefits__cta-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.hmis-benefits__image-stack {
    position: relative;
    padding: 20px;
}

.hmis-benefits__image-card {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    transition: transform 0.5s ease;
}

.hmis-benefits__image-card:hover {
    transform: scale(1.02);
}

.hmis-benefits__stat-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    animation: hmis-float 4s ease-in-out infinite;
}

@keyframes hmis-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   7. HMIS MODULE CARDS (for Modules Section)
   ============================================ */

.hmis-module-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.hmis-module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(178, 148, 239, 0.2);
    border-color: #b294efff;
}

.hmis-module-card__image {
    width: 100%;
    height: 270px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hmis-module-card__overlay {
    position: absolute;
    inset: 0;
    transition: all 0.3s ease;
}



.hmis-module-card__content {
    padding: 0px 5px;
    text-align: center;
}

.hmis-module-card__icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #bda3f0, #9a6ef1);
    color: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: -35px auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(178, 148, 239, 0.3);
    position: relative;
    z-index: 2;
}

.hmis-module-card:hover .hmis-module-card__icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(178, 148, 239, 0.4);
}

.hmis-module-card__title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.hmis-module-card__text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.hmis-module-card__link {
    color: #b294efff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.hmis-module-card__link:hover {
    color: #9a6ef1;
    transform: translateX(5px);
}

/* ============================================
   8. BENEFITS SECTION STYLES
   ============================================ */

.hmis-timeline {
    background-color: #f0f4f8;
    padding: 20px 0;
}

.hmis-timeline__title {
    color: #9a6ef1;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hmis-timeline__subtitle {
    color: #6c757d;
    font-size: 1.05rem;
}

.hmis-timeline__card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.hmis-timeline__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.hmis-timeline__number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #bda3f0, #9a6ef1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.hmis-timeline__card-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.hmis-timeline__card-text {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

.hmis-timeline__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hmis-timeline__btn-primary {
    background: #b294efff;
    color: #fff;
    padding: 0.9rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #b294efff;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.hmis-timeline__btn-primary:hover {
    background: #b294efff;
    border-color: #b294efff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(22, 179, 172, 0.3);
}

.hmis-timeline__btn-secondary {
    background: #fff;
    color: #b294efff;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #b294efff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.hmis-timeline__btn-secondary:hover {
    background: #b294efff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(22, 179, 172, 0.2);
}

/* ============================================
   9. RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
    .hmis-hero__title {
        font-size: 3.2rem;
    }

    .hmis-features__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hmis-hero__title {
        font-size: 3rem;
        text-align: center;
    }

    .hmis-hero__content {
        text-align: center;
    }

    .hmis-hero__title,
    .hmis-hero__description,
    .hmis-hero__subheading {
        margin-left: auto;
        margin-right: auto;
    }

    .hmis-hero__image-col {
        padding-bottom: 50px;
    }

    .hmis-features__title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hmis-hero__content {
        padding: 2rem 1.5rem !important;
        text-align: center;
    }

    .hmis-hero__content-wrapper {
        margin-top: 100px;
    }

    .hmis-solutions__content-title {
        font-size: 1.8rem;
    }

    .hmis-benefits__title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hmis-hero__title {
        font-size: 2.2rem;
    }

    .hmis-solutions__content-title {
        font-size: 1.6rem;
    }

    .hmis-benefits__title {
        font-size: 2rem;
    }
}