﻿
/* Hero Background */
.studies-hero {
    background-image: url("../images/About Us banner.png");
    padding: 150px 0;
    margin-top: 0 !important;
    width: auto;
}

.case-btn {
    width: 60% !important;
}

.hero-title {
    font-size: 38px;
    line-height: 1.3;
    color: white;
}

.hero-img {
    width: 120px;
    max-width: 100%;
}

.breadcrumb-wrap {
    font-size: 18px;
    font-weight: 500;
}

.crumb-link {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 22px;
    ;
}

    .crumb-link:hover {
        color: #00d084;
    }

.crumb-current {
    color: #f3f4f5;
    font-size: 22px;
}

/* HIMS label */
.hims-label {
    display: inline-flex;
    align-items: start;
    gap: 10px;
    background: #ffffff;
    color: #000;
    padding: 0px 18px;
    border-radius: 50px;
    font-weight: 600;
}

    .hims-label img {
        width: 18px;
    }

@media (max-width: 992px) {
    .hero-title {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 24px;
    }
}

.button-label {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border-left: 3px solid #f4f6f9;
    border-right: 3px solid #eff0f1;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(6px);
    cursor: default !important; /* Hand symbol raadu */
    pointer-events: none; /* Click avvadu */
    text-transform: uppercase;
}

    .button-label i {
        color: #2ecc71;
        font-size: 20px;
        font-weight: bold;
    }

/* section2 */
.Stories-board {
    background-color: aliceblue;
    padding: 20px 30px;
    margin: 50px 150px;
    border-radius: 10.5px;
    height: auto;
}

.stories-list {
    color: #000;
    list-style: none;
    display: flex;
    justify-content: start;
}

.stat-item {
    border-right: 1px solid #a9a9a9;
    margin-right: 2%;
}

@media (max-width: 768px) {
    .stat-item {
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

.case-btnu {
    background-color: aliceblue;
    color: #080808;
    padding: 10px 30px;
    border-radius: 50px;
    border: solid 1px green;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

    .case-btnu i {
        color: green;
    }

/* --- Section 1: Hero Responsiveness --- */
.studies-hero {
    background-image: url("../images/About Us banner.png");
    padding: 100px 0; /* Reduced padding for mobile */
    margin-top: 4%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

@media (min-width: 992px) {
    .studies-hero {
        padding: 150px 0;
    }
}

/* --- Section 2: Container Responsiveness --- */
.Stories-board {
    background-color: aliceblue;
    padding: 20px 30px;
    /* Responsive margins: 50px top/bottom, auto side margins */
    margin: 30px 15px;
    border-radius: 10.5px;
    height: auto;
}

@media (min-width: 1200px) {
    .Stories-board {
        margin: 50px 150px; /* Restores your original layout on large desktops */
    }
}

/* --- Stats List Responsiveness --- */
.stories-list {
    color: #000;
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Allows stats to wrap on small screens */
    justify-content: start;
    padding-left: 0;
}

    .stories-list li {
        flex: 1 1 200px; /* Allows items to grow and shrink, min-width 200px */
        margin-bottom: 20px;
    }

.stat-item {
    border-right: 1px solid #a9a9a9;
    padding-right: 15px;
}

/* Handle Mobile Layout for Columns and Stats */
@media (max-width: 768px) {
    .Stories-board .col-3,
    .Stories-board .col-9 {
        width: 100%; /* Stack the image and text vertically */
        text-align: center;
    }

    .Stories-board .col-3 {
        margin-bottom: 20px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding-bottom: 15px;
        margin-right: 0;
    }

    .stories-list {
        display: block; /* Stack stats vertically on mobile */
    }

    .case-btnu {
        width: 100%; /* Full width button on mobile */
        justify-content: center;
    }
}

/* --- Image Responsiveness --- */
.Stories-board img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ex-btn {
    background-color: aliceblue;
    color: black;
    border-color: green;
}

    .ex-btn i {
        color: green
    }

        .ex-btn i:hover {
            transform: translateX(5px);
            color: green
        }

.count1 h4 {
    font: 700;
}

.element.style {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.animate-card span {
    font-size: 30px;
}

.healmax-board {
    padding: 140px 150px;
}

.healmax-case {
    background-color: #102534;
    margin: 0 8rem;
    border-radius: 10.5px;
    padding: 20px 20px;
}

.healmax {
    display: flex;
    list-style: none;
    color: white;
}

.healmax-list {
    list-style: none;
}

.healmax p {
    font-size: 18px;
    color: white;
    width: 200px;
}

.button-section {
    width: auto;
    height: auto;
    padding: 10px 80px;
}

.sticky-nav {
    position: sticky;
    top: 80px;
    background: #ffffff;
    padding: 20px;
}

.p-size {
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 500;
}


.content-section section {
    padding: 10px 0;
}

.content-section h2 {
    font-weight: 500;
    margin-bottom: 10px;
    color: #2b6997;
}

.content-section p {
    font-size: 18px;
}

@media (max-width: 767px) {
    .sticky-nav {
        position: relative;
        top: 0;
        border-left: none;
        border-bottom: 2px solid #2b6997;
        margin-bottom: 20px;
    }
}

.greeline {
    border-left: 4px solid green;
    margin-bottom: 15px;
    margin-top: 15px;
    padding-left: 20px;
}

    .greeline h3 {
        color: green;
    }

.font-info {
    font-weight: bold;
}

.list-solution span {
    font-size: 18px;
}

.list-solution li {
    font-size: 18px;
}

.center-sidebar {
    padding: 0 8rem;
}

/* Main Container using Flex */
.healmax-container {
    display: flex;
    flex-wrap: wrap;
    padding: 4rem 8rem;
    gap: 30px;
    align-items: center;
    padding-top: 8rem
}

/* Desktop: Text Left (50%), Image Right (50%) */
.healmax-content-col {
    flex: 1;
    min-width: 300px;
    order: 1;
}

.healmax-image-col {
    flex: 1;
    min-width: 300px;
    order: 2;
    text-align: center;
}

    .healmax-image-col img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }

/* Industry Details Row */
.info-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    list-style: none;
    padding: 0;
}

/* Tablet & Mobile Responsive */
@media (max-width: 991px) {
    .healmax-container {
        padding: 5rem 5%;
        flex-direction: column;
    }

    .healmax-image-col {
        order: 1;
        width: 100%;
    }

    .healmax-content-col {
        order: 2;
        width: 100%;
    }

    .info-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Styling for Icons and Headings */
.img-icon {
    width: 24px;
    margin-right: 10px;
}

.d-flex {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.logo-text {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.info-item li:last-child {
    padding-left: 34px;
    color: #666;
    font-size: 15px;
}
/* ===============================
   HEALMAX STATS RESPONSIVE FIX
   =============================== */



.healmax {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}



/* Tablet – 2 in one row */
@media (max-width: 991px) {
    .healmax > li {
        flex: 1 1 45%;
    }
}

/* Mobile – 1 in one row */
@media (max-width: 575px) {
    .healmax {
        gap: 20px;
    }

        .healmax > li {
            flex: 1 1 100%;
        }

            .healmax > li h1 {
                font-size: 36px;
            }

            .healmax > li p {
                font-size: 16px !important;
            }

    .healmax-case {
        background-color: #102534;
        margin: 2rem !important;
        border-radius: 10.5px;
        padding: 20px 20px;
    }

    .center-sidebar {
        padding: 2rem !important;
    }
}

.content-text h2 {
    color: #2b6997
}
