    .main-memberprofile-section {
        width: 100%;
        max-width: 1170px;
        margin: 0 auto;
        padding: 20px;
    }

    /* Company Header styles */
    .details {
        display: flex;
        justify-content: space-between;
        margin-top: 90px;
        width: 100%;
        align-items: center;
    }

    .memberProfile h1 {
        text-align: left !important;
    }

    .Heading h1 {
        font-size: 40px;
        line-height: 43px;
        color: #ff5e00;
        letter-spacing: 2px;
        margin: 0;
        font-weight: 700;
    }

    .companyInfo {
        padding: 10px;
    }

    .companyInfo h1 {
        font-family: "Montserrat", Sans-serif;
    }

    .memberProfile .details .logo {
        padding: 30px;
        background: #FFFFFF;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
        border-radius: 15px;
        text-align: center;
        height: fit-content;
        align-self: center;
        transition: transform 0.3s ease;
    }

    .memberProfile .details .logo:hover {
        transform: translateY(-5px);
    }

.heading h5 {
    padding-top: 15px;
    margin-bottom: 20px;
    word-wrap: break-word;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    letter-spacing: 0.3px;
    max-width: 100%;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid #ff5e00;
    background-color: rgba(255, 94, 0, 0.03);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    
    /* Handle long descriptions elegantly */
/*     max-height: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; 
    -webkit-box-orient: vertical; */
    
    /* Smooth transition for hover effects */
    transition: all 0.3s ease;
}

.heading h5:hover {
    background-color: rgba(255, 94, 0, 0.05);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Add a small info badge showing character limit */
.heading {
    position: relative;
}

.heading::after {
    position: absolute;
    top: -10px;
    left: 25px;
    background-color: #014c9d;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    opacity: 0.9;
    z-index: 1;
}

    /* Company Stats Styles */
    .company-stats {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .stat-card {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
        padding: 30px 20px;
        text-align: center;
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .stat-card:hover {
        transform: translateY(-10px);
        box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
    }

    .stat-icon {
        font-size: 36px;
        color: #ff5e00;
        margin-bottom: 15px;
    }

    .stat-info h3 {
        color: #1C1C1D;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .stat-info p {
        color: #666;
        font-size: 16px;
        margin: 0;
    }

    /* Address Section Styles */
    .address-section {
        background-color: #f9f9f9;
        padding: 50px 0;
        border-radius: 10px;
        margin-bottom: 50px;
    }

    .address-container {
        max-width: 800px;
        margin: 0 auto;
    }

    .address-card {
        background: white;
        border-radius: 10px;
        box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
        padding: 30px;
        display: flex;
        align-items: flex-start;
    }

    .address-icon {
        font-size: 28px;
        color: #ff5e00;
        margin-right: 20px;
        padding-top: 5px;
    }

    .address-details {
        flex-grow: 1;
    }

    .address-details h5 {
        font-size: 20px;
        font-weight: 600;
        color: #1C1C1D;
        margin-bottom: 15px;
    }

    .address-details p {
        font-size: 16px;
        line-height: 1.6;
        color: #555;
        margin-bottom: 15px;
    }

    .website-link {
        display: inline-block;
        color: #ff5e00;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .website-link:hover {
        color: #014c9d;
    }

    /* Specialization Section Styles */
    .technology {
        background: #f9f9f9;
        padding: 50px 0;
        border-radius: 10px;
        margin-bottom: 50px;
    }

    .specialization-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .memberProfile .sectionHeading h4 {
        display: flex;
        justify-content: center;
        font-family: sans-serif;
        font-style: normal;
        font-weight: 700;
        font-size: 35px;
        line-height: 37px;
        color: #1C1C1D;
        margin-bottom: 40px;
    }

    .memberProfile .techName {
        background-color: #fff;
        border: none;
        border-radius: 10px;
        font-weight: 600;
        font-size: 17px;
        line-height: 20px;
        letter-spacing: 0.02em;
        color: #000000;
        padding: 15px 25px;
        margin: 10px;
        font-family: sans-serif;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        display: inline-block;
    }

    .memberProfile .techName:hover {
        transform: translateY(-5px);
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
        background-color: #ff5e00;
        color: white;
    }

    /* Contact Us Section Styles */
    .contactUs {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .contactUs .grid3 {
        max-width: 1040px;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 30px;
    }

    .card {
        background: #FFFFFF;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        padding: 30px;
        text-align: center;
        transition: all 0.3s ease;
        border: none;
    }

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.15);
    }

    .logo-img img {
        width: 50px;
        margin-bottom: 20px;
    }

    .memberProfile .contactUs .card a {
        font-weight: 600;
        font-size: 16px;
        color: #014c9d;
        margin: 0px 8px;
        cursor: pointer;
        text-decoration: none;
        font-family: sans-serif;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        word-break: break-word;
    }

    .memberProfile .contactUs .card a:hover {
        color: #ff5e00;
    }

    .social-icon {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .social-icon a img {
        width: 30px;
        height: 30px;
        transition: all 0.3s ease;
    }

    .social-icon a:hover img {
        transform: scale(1.2);
    }

   /* Responsive Styles - Enhanced Version */
/* Large screens (1200px and down) */
@media only screen and (max-width: 1200px) {
    .main-memberprofile-section {
        max-width: 960px;
        padding: 15px;
    }
    
    .details {
        margin-top: 70px;
    }
    
    .Heading h1 {
        font-size: 36px;
        line-height: 40px;
    }
}

/* Medium screens (992px and down) */
@media only screen and (max-width: 991px) {
    .main-memberprofile-section {
        max-width: 720px;
    }
    
    .details {
        margin-top: 50px;
    }
    
    .Heading h1 {
        font-size: 34px;
        line-height: 38px;
    }
    
    .contactUs .grid3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card {
        padding: 25px;
    }
    
    .address-details h5 {
        font-size: 18px;
    }
    
    .memberProfile .sectionHeading h4 {
        font-size: 32px;
        line-height: 34px;
        margin-bottom: 30px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-icon {
        font-size: 32px;
    }
    
    .stat-info h3 {
        font-size: 24px;
    }
}

/* Small screens (768px and down) */
@media only screen and (max-width: 767px) {
    .main-memberprofile-section {
        max-width: 540px !important;
        padding: 10px !important;
    }
    
    .details {
        margin-top: 40px !important;
        flex-direction: column;
    }
    
    .companyInfo {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .Heading h1 {
        font-size: 32px !important;
        line-height: 36px !important;
        text-align: center !important;
    }
    
    .heading h5 {
        font-size: 15px !important;
        line-height: 1.5 !important;
        max-height: 140px !important;
        -webkit-line-clamp: 4 !important; /* Reduce to 4 lines on mobile */
        padding: 12px 15px !important;
        text-align: center !important;
    }
    
    .heading::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 10px !important;
        padding: 2px 8px !important;
        white-space: nowrap !important;
    }
    
    .memberProfile .details .logo {
        width: 70% !important;
        margin: 30px auto 0 !important;
        padding: 20px !important;
    }
    
    .company-stats {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
    
    .company-stats .row > div {
        margin-bottom: 20px !important;
    }
    
    .address-section, 
    .technology {
        padding: 40px 0 !important;
        margin-bottom: 40px !important;
    }
    
    .address-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 25px 15px !important;
    }
    
    .address-icon {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    
    .contactUs .grid3 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .memberProfile .sectionHeading h4 {
        font-size: 28px !important;
        line-height: 32px !important;
        margin-bottom: 25px !important;
    }
    
    .memberProfile .techName {
        padding: 12px 20px !important;
        font-size: 16px !important;
    }
}

/* Extra small screens (576px and down) */
@media only screen and (max-width: 575px) {
    .main-memberprofile-section {
        padding: 10px 15px !important;
    }
    
    .details {
        margin-top: 30px !important;
    }
    
    .Heading h1 {
        font-size: 26px !important;
        line-height: 30px !important;
    }
    
    .heading h5 {
        padding: 12px 15px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        -webkit-line-clamp: 3 !important; /* Further reduce to 3 lines on smallest screens */
        margin-bottom: 15px !important;
    }
    
    .memberProfile .details .logo {
        width: 85% !important;
        padding: 15px !important;
    }
    
    .company-stats {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
    
    .stat-card {
        padding: 20px 15px !important;
        margin-bottom: 15px !important;
    }
    
    .stat-icon {
        font-size: 26px !important;
        margin-bottom: 10px !important;
    }
    
    .stat-info h3 {
        font-size: 22px !important;
    }
    
    .stat-info p {
        font-size: 14px !important;
    }
    
    .memberProfile .sectionHeading h4 {
        font-size: 24px !important;
        line-height: 28px !important;
        margin-bottom: 20px !important;
    }
    
    .address-section,
    .technology {
        padding: 30px 0 !important;
        margin-bottom: 30px !important;
        border-radius: 8px !important;
    }
    
    .address-details h5 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    
    .address-details p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    .memberProfile .techName {
        padding: 10px 15px !important;
        font-size: 14px !important;
        margin: 5px !important;
        border-radius: 8px !important;
    }
    
    .card {
        padding: 20px 15px !important;
    }
    
    .logo-img img {
        width: 40px !important;
        margin-bottom: 15px !important;
    }
    
    .memberProfile .contactUs .card a {
        font-size: 14px !important;
        margin: 0 5px !important;
    }
    
    .social-icon {
        gap: 10px !important;
    }
    
    .social-icon a img {
        width: 25px !important;
        height: 25px !important;
    }
}

/* Very small screens (400px and down) */
@media only screen and (max-width: 400px) {
    .Heading h1 {
        font-size: 22px !important;
        line-height: 26px !important;
    }
    
    .heading h5 {
/*         padding: 10px;
        font-size: 13px;
        line-height: 1.4; */
        -webkit-line-clamp: 3 !important;
    }
    
    .heading::after {
        font-size: 9px !important;
        padding: 2px 6px !important;
        top: -8px !important;
    }
    
    .memberProfile .sectionHeading h4 {
        font-size: 22px !important;
        line-height: 26px !important;
    }
    
    .memberProfile .details .logo {
        width: 95% !important;
        padding: 10px !important;
    }
    
    .address-card {
        padding: 20px 10px !important;
    }
    
    .memberProfile .techName {
        padding: 8px 12px !important;
        font-size: 13px !important;
        margin: 4px !important;
    }
}