﻿
/* 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;
    }
    .content-text img {
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 24px;
    }
}



/* section2 */

.stories-list {
    color: #000;
    list-style: none;
    display: flex;
    justify-content: start;
}

.stat-item {
    margin-right: 2%;
}

@media (max-width: 768px) {
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid #ccc;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .content-text img{
        width:100%;
        max-width:450px;
    }
}

.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 --- */
/* --- Logo Size Adjustment --- */
.custom-logo-size {
    width: 120px !important; /* Logo width thagginchanu */
    height: auto;
    object-fit: contain;
}

/* --- Section 2: Container Responsiveness --- */
.Stories-board {
    background-color: aliceblue;
    padding: 30px;
    margin: 20px 0;
    border-radius: 15px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
}

/* Mobile view adjustment */
@media (max-width: 991px) {
    .Stories-board {
        text-align: center; /* Mobile lo text antha center avthundi */
        margin: 20px 10px;
    }

    .custom-logo-size {
        width: 100px !important; /* Mobile lo inkoncham small logo */
    }

    .border-end {
        border-right: none !important; /* Mobile metrics borders removal */
    }

    /* Metrics grid adjustment for small screens */
    .col-6 {
        border-bottom: 1px solid #d1e3f3;
        padding: 15px 5px;
    }

    .w-xs-100 {
        width: 100%; /* Mobile lo button full width */
    }
    .borad-section{
        margin-top:1rem !important
    }
}


/* --- 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;
}


.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-family: "deca-serif", Sans-serif;
    font-size: 32px;
    font-weight: 700;
}

.healmax-board {
    padding: 140px 150px;
}

.healmax-case {
    background-color: #102534;
    margin: 0 6rem;
    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: 3rem 8rem;
    gap: 30px;
    align-items: center;
   
}

/* 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: 1rem 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;
  
}

.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
}
@media (max-width: 767px) {
    /* Mobile lo 2nd and 4th columns ki borders remove cheyadaniki */
    .col-6:nth-child(2n) {
        border-right: none !important;
    }
}


/* Flex Item */
.stat-flex-item {
    flex: 1; /* Equal width columns */
    min-width: 150px;
    position: relative;
    padding: 10px 20px;
    text-align: center;
}

    /* Vertical Border Logic */
    .stat-flex-item:not(.last-item)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 15%;
        height: 70%;
        width: 1px;
        background-color: #dee2e6; /* Border color */
    }

/* Number Styling */
.stat-number {
    
    color: #212529;
    margin-bottom: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Text Styling - Image lo unnatlu Left Align */
.stat-text {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: left;
    max-width: 130px;
    margin: 0 auto;
    line-height: 1.3;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stat-flex-item {
        flex: 0 0 50%; /* Mobile lo rows ki 2 items */
        margin-bottom: 20px;
    }

        .stat-flex-item:nth-child(2n)::after {
            display: none; /* Even items ki border hide */
        }
}
.healmax-description h2 {
    font-size: 36px;
    font-weight: 500;
    line-height: 40px;
    margin-top:1rem;
}

/* డెస్క్‌టాప్ కోసం మీ పాత కోడ్ అలాగే ఉంచండి */
.stats-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 30px;
}

/* కేవలం మొబైల్ కోసం (768px కంటే తక్కువ ఉన్నప్పుడు మాత్రమే) */
@media screen and (max-width: 768px) {
    .stats-flex-container {
        display: flex !important; /* ఫ్లెక్స్ లోనే ఉంచుదాం */
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }

        /* లోపల ఉన్న బాక్సులకి (Child Elements) 48% వెడల్పు ఇద్దాం */
        .stats-flex-container > div {
            flex: 0 0 48% !important; /* ఇది ఒక వరుసలో 2 వచ్చేలా చేస్తుంది */
            max-width: 48% !important;
            margin-bottom: 15px;
            min-width: 0 !important; /* బాక్స్ విడ్త్ తగ్గకుండా అడ్డుపడకుండా చేస్తుంది */
        }
    .Stories-board {
        padding: 1rem;
    }
}
   
