﻿:root {
    /*--primary: #4e4a7c;*/
    --primary: #0054DC;
    /*#3e649e;*/
    /*#2d2f93;*/
    /*--secondary: #ec9c12;*/
    --secondary: #D6680B;
    --third: #f8f9fa;
    /*--four: #ec9c12;*/
    --four: #424242;
    /*#832161;*/
    /*#ff206e;*/
    /*#dee2e6;*/
    /*#f8f9fa;*/
    /*#e1e5fd;*/
}

.mist_Pharmacovigilance_form #img_Load {
    display: none;
    width: 25px;
    height: 20px;
    filter: grayscale(0);
    margin: 0 10px;
}

body {
}
/*#topbar.topbar-transparent,#header.header-transparent{
background-color:#ffffff8c;
}*/
code, kbd, pre, samp {
    font-family: 'DROIDKUFI-REGULAR_0',"Open Sans", sans-serif !important;
}

#header.header-transparent {
    background: linear-gradient(rgb(2 8 14), #41404c1f);
    /*linear-gradient(rgb(2 8 14), rgb(193 200 206));*/
}

#header.header-scrolled {
    background: #fff;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

    #header.header-scrolled .main-nav a {
        color: var(--primary);
    }

        #header.header-scrolled .main-nav a:hover,
        #header.header-scrolled .main-nav .active > a,
        #header.header-scrolled .main-nav li:hover > a {
            color: var(--secondary);
            border-bottom: 2px solid var(--secondary);
        }

#internal-body {
    padding: 30px;
    min-height: 300px;
    font-size: 16px;
    /*box-shadow: 0 0 10px rgb(108 105 136);*/
    /*margin: 0 15px 15px 15px;
    border-top: 5px solid #f5f8fd;*/
    direction: ltr;
    text-align: left;
    line-height: normal;
}

#internal-header {
    height: 28rem;
    /*margin-top: 11rem!important;*/
    position: relative;
    background: #f5f8fd;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    background: #f5f8fd url(../img/banner/inner_page2.jpg) center center no-repeat;
    background-size: 100% 100%;
    /*margin-top: 13rem!important;
    position: relative;
    background: #f5f8fd;
    box-shadow: 0 0 10px rgb(108 105 136);
       background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url('../img/banner_inner5.jpg');*/
    /*margin: 15px 15px 0 15px;*/
}
/*#internal-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:#d2d6ff4a;
}*/
/*#header.header-scrolled{
    background-color: #fff !important;
}*/
h2.Page_header {
    height: 40rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    font-size: 32px;
    /*padding: 60px 0;*/
    margin: 0;
    font-weight: bold;
    color: var(--primary);
}
/*#header{
    margin-top: 1rem;
}*/
.fa-globe {
    font-size: 20px;
}
/*#header .container {
    max-width: 90%;
}*/


/************** therap inner page ******************/
.therapeuticsPage .card {
    border: none;
}

    .therapeuticsPage .card .therapeutic-card-header {
        text-align: left;
        padding-bottom: 1.25rem;
        font-weight: 600;
        color: var(--primary);
    }

    .therapeuticsPage .card .card-body {
        padding: 0;
    }

.therapeuticsPage .pic-txt a:hover {
    color: white;
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.therapeuticsPage .nav-in a.selected {
    background: var(--secondary);
    color: white;
}



.therapeuticsPage .nav-in a {
    margin-left: 3%;
    display: block;
    position: relative;
    width: 98%;
    border: 1px solid var(--third);
    margin-bottom: 15px;
    text-decoration: none;
    text-align: center;
    background-color: var(--primary);
    color: white;
    border-radius: 7px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.therapeuticsPage .pic-txt img {
    border-radius: 10px;
    border: none;
    width: 100%;
    height: 150px;
    /*padding: 2px;
    border: 1px solid var(--four);
    background-color: var(--four);*/
}

.therapeuticsPage .pic-txt a {
    float: right;
    text-decoration: none;
    margin-top: 10px;
    padding-right: 7px;
    color: white;
    font-weight: 600;
    background-color: var(--primary);
    border-color: var(--primary);
}

/************************ product inner **********************/


.productsPage.tabs ul.nav .selected a {
    background: var(--secondary);
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
}

.productsPage.tabs ul.nav li a {
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
    text-decoration: none;
    margin: 5px;
}

.productsPage .nav a {
    width: 32px;
    float: left;
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    border-right: 1px solid #d6d6d6;
    text-decoration: none;
    text-align: center;
    background-color: var(--primary);
    color: #FFF;
    padding-top: 5px;
    padding-bottom: 5px;
}

.productsPage .nav .ln-disabled {
    background-color: #e9f0f6;
    color: var(--primary);
    cursor: default;
    text-decoration: none;
    text-align: center;
}

.productsPage ul#allLetters {
    width: 100%;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.productsPage #divProducts {
    width: 100%;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    padding: 40px 0;
}

.products-letter a {
    display: block;
    position: relative;
    width: 100%;
    border: 1px solid var(--secondary);
    margin-bottom: 15px;
    text-decoration: none;
    text-align: center;
    background-color: var(--secondary);
    color: white;
    border-radius: 7px;
    padding: 15px;
    /* padding-bottom: 15px; */
    font-weight: 600;
}

    .products-letter a:hover {
        width: 100%;
        transform: scale(1.03);
        background-color: var(--primary);
        color: white;
    }

/************* product details ***********************/
/* Product Details Page */
.productsdetails {
    padding: 20px 0;
    align-items: stretch;
}

    .productsdetails .productName {
        font-size: 22px;
        font-weight: 700;
        color: #1a3c8f;
        margin-bottom: 20px;
        display: block;
    }

    /* الجزء الأيمن - الصورة */
    .productsdetails .img_div {
        display: flex;
        justify-content: center;
        align-items: stretch;
    }

        .productsdetails .img_div img {
            width: 100%;
            max-width: 300px;
            height: 100%;
            max-height: 280px;
            object-fit: contain;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

            .productsdetails .img_div img:hover {
                transform: scale(1.03);
            }

    /* الجزء الأيسر - التفاصيل */
    .productsdetails .details_div {
        padding-right: 20px;
    }

    .productsdetails .products-text {
        font-size: 15px;
        font-weight: 700;
        color: #1a3c8f;
        margin-top: 15px;
        margin-bottom: 5px;
    }

    .productsdetails .details_content {
        font-size: 14px;
        color: #444;
        line-height: 1.7;
        margin-bottom: 10px;
    }

    /* زرار PDF */
    .productsdetails .read_more {
        margin-top: 20px;
        display: inline-block;
    }

/* Responsive */
@media (max-width: 768px) {
    .productsdetails .img_div {
        margin-top: 20px;
    }

        .productsdetails .img_div img {
            max-width: 220px;
            max-height: 200px;
        }

    .productsdetails .details_div {
        padding-right: 0;
    }
}

.productsdetails img {
    max-width: 400px;
    /*width:100%;
 height:266px;*/
    border-radius: 15px;
    border: none;
    min-height: 150px;
    /*border: 1px solid var(--secondary);
    background-color:var(--secondary);*/
}

.productsdetails .productName {
    color: var(--primary);
    font-weight: bold;
}

.productsdetails .products-text {
    color: var(--secondary);
    font-weight: bold;
}

.productsdetails .details_content * {
    /*font-size: 16px;*/
    font-family: 'DROIDKUFI-REGULAR_0',"Open Sans", sans-serif !important;
    /*color: var(--primary);*/
    margin-left: 10px;
}

.productsdetails .read_more {
    float: left;
    text-decoration: none;
    margin-top: 10px;
    padding-right: 7px;
    color: white;
    font-weight: 600;
    background-color: var(--primary);
    border-color: var(--primary);
}

    .productsdetails .read_more:hover {
        color: white;
        background-color: var(--secondary);
        border-color: var(--secondary);
    }

/***************** news **************************/
/* ================ tap-categories ================ */
.tab-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

/* Base tab style */
.tab {
    padding: 10px 20px;
    border: 1px solid var(--secondary);
    border-radius: 25px;
    background-color: #fff;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    /* Hover effect */
    .tab:hover {
        background-color: var(--secondary);
        color: #fff;
    }

    /* Active tab style */
    .tab.active {
        background-color: var(--secondary);
        color: #fff;
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    }
/* ================ End tap-categories ================ */
.company_news_page .table td, .company_news_page .table th {
    border-top: none;
}

.company_news_page .marketNews {
    display: flex;
}

.company_news_page .marketNewsContainer {
    /*padding: 5px;*/
    width: 100%;
    border-bottom: 1px solid #d7d7eb;
}

.company_news_page .marketNews .marketNewstitleWithDate {
    width: 100%;
    display: flex;
    margin-bottom: 5px;
    align-items: center;
}
/*.company_news_page .marketNews*/
#TitleSection {
    padding-top: 90px;
}

.marketNewstitleWithDate .marketNewsdateSection {
    padding: 5px 10px;
    width: 150px;
    text-align: center;
    /*border: 2px solid var(--use-color1);*/
    color: white;
    background: var(--secondary);
    font-weight: 500;
    font-size: 20px;
}
/*.company_news_page .marketNews*/ .marketNewstitleWithDate .marketNewsTitle {
    line-height: normal;
    color: var(--primary);
    transition: all 0.15s ease;
    font-weight: bold;
    font-size: 20px;
    align-content: center;
    padding-left: 10px;
}

.marketNewstitleWithDate .NewsTitle {
    margin-bottom: 10px;
    display: flex;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    color: white;
    line-height: 2;
    transition: all 0.15s ease;
    font-weight: bold;
    font-size: 22px;
    align-content: center;
    padding: 5px 15px;
}

.company_news_page .marketNews .marketNewsBody {
    color: var(--primary);
    font-weight: 50%;
    font-size: 15px;
}

.marketNewsBody a {
    display: block;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
}

.marketNewsBody img {
    display: block;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
}

.company_news_page .marketNews .readmarketNewsBtn {
    transition: all 0.2s ease-in-out;
    padding: 0 15px;
    width: auto;
    height: 35px;
    border: 1px solid;
    border-color: var(--secondary);
    font-size: 13px;
    border-radius: 50px;
    line-height: 32px;
    float: right;
    color: white;
    background: var(--secondary);
    margin: 5px 0;
}

.marketNewsdateSection p {
    margin: 0px;
    font-size: 15px;
    direction: rtl;
    line-height: 20px;
}

.company_news_page .news_innerContent .table td, .company_news_page .news_innerContent .table th {
    border: none !important;
}

.company_news_page .details_page_body .marketNewsContainer {
    border: none;
}


.company_news_page .marketNews .readmarketNewsBtn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    cursor: pointer;
    font-weight: bold;
}
/******************* company news ************************/
.company_news_page .marketNews .marketNewstitleWithDate .marketNewsTitle, .amalka_details_div .marketNews .marketNewstitleWithDate .marketNewsTitle {
    text-align: left;
    direction: ltr;
    line-height: normal;
}

.company_news_page .marketNews .marketNewstitleWithDate .marketNewsdateSection, .amalka_details_div .marketNews .marketNewstitleWithDate .marketNewsdateSection {
    margin-right: 2%;
    margin-left: 0;
    font-weight: 500;
}

.company_news_page .marketNews .marketNewstitleWithDate .marketNewsTitle:hover {
    color: var(--primary);
    margin-left: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.details_page_body .marketNews .marketNewstitleWithDate .marketNewsTitle:hover {
    /*line-height: normal;*/
    margin-left: 0;
    color: var(--four);
    transform: unset;
    cursor: unset;
}

.details_page_body .marketNewsContainer {
    /*padding: 5px;*/
    /*width:auto;*/
    border-bottom: none;
}
/************************** Media & News Gallery Grid *******************************/
.gallery-container, .news-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}

.gallery-item, .news-grid-item {
    width: 300px;
    text-align: center;
    cursor: pointer;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .gallery-item:hover, .news-grid-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.news-grid-item-link {
    text-decoration: none !important;
    color: inherit !important;
}

.news-grid-img-wrapper, .video-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .news-grid-img, .gallery-item img, .video-thumb-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.news-grid-item:hover .news-grid-img {
    transform: scale(1.1);
}

.news-grid-overlay, .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 84, 220, 0.7); /* Primary color with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-grid-item:hover .news-grid-overlay {
    opacity: 1;
}

.read-more-text {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #fff;
    padding: 8px 20px;
    border-radius: 25px;
}

.news-grid-content {
    padding: 15px;
    text-align: left;
}

.news-grid-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-grid-date {
    font-size: 13px;
    color: #777;
    display: block;
}

.image-caption {
    margin: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* Play button overlay for videos */
.play-overlay {
    background: rgba(0,0,0,0.4);
    opacity: 1;
}

    .play-overlay::after {
        content: '';
        display: block;
        border-style: solid;
        border-width: 15px 0 15px 25px;
        border-color: transparent transparent transparent #fff;
        margin-left: 5px;
    }

/* Popup styles */
.popup {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.popup-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 8px;
}

.popup-caption {
    margin: 20px;
    text-align: center;
    color: #fff;
    font-size: 18px;
}

.close {
    position: absolute;
    top: 40px;
    right: 60px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
/************************** grid view paging *******************************/

.GridPager table td {
    border: none !important;
    padding: 5px !important;
    margin: 5px !important;
    color: #2e2e31;
    font-size: 16px;
    font-weight: 600;
}

    .GridPager table td a {
        color: white !important;
    }

    .GridPager table td span {
        color: var(--primary) !important;
        background: transparent !important;
        padding: 0px !important;
    }

    .GridPager table td span, .GridPager table td a {
        /*border: solid 1px rgba(241, 156, 20, 0.49) !important;*/
        padding: 5px 15px;
        background: var(--four);
    }

.table .GridPager .fooicon {
    display: none;
}

.GridPager table td span, .GridPager table td a {
    padding: 3px 15px !important;
}
/********* grid style ***********/
.pagination td {
    border: none !important;
}

.pagination a {
    padding: 3px 12px;
    background: var(--secondary);
    color: white !important;
    font-weight: bold;
}

.pagination td span {
    padding: 3px 8px;
    background: transparent;
    color: white;
}

.pagination .fooicon {
    display: none;
}

.pagination .page-item.disabled {
    display: none !important;
}

/******************************* management *************************/

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.title {
    background-color: #f5f5f5;
    border: none;
    border-radius: 15px;
    padding: 10px 30px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

    .title:before {
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border: 2px solid #4a4e69;
        border-radius: 17px;
        z-index: -1;
    }

    .title:after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 3px;
        width: 96%;
        height: 6px;
        background-color: var(--secondary);
        border-radius: 0px 0px 10px 10px;
        z-index: -2;
    }

.management-board {
    border: none;
    padding: 15px;
    margin-bottom: 40px;
    text-align: center;
    width: 400px;
    position: relative;
    background-color: #fff;
}

    .management-board:before {
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border: 2px solid #4a4e69;
        z-index: -1;
    }

    .management-board:after {
        content: '';
        position: absolute;
        bottom: -40px;
        left: 50%;
        width: 2px;
        height: 40px;
        background-color: #333;
    }

    .management-board .corner {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 0px;
        width: 100%;
        height: 6px;
        background-color: var(--secondary);
        z-index: -2;
    }

    .management-board:after {
        content: '';
        position: absolute;
        bottom: -40px;
        left: 50%;
        width: 2px;
        height: 40px;
        background-color: #333;
    }

.non-executive {
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.executive {
    font-weight: bold;
    margin-top: 15px;
}

.departments {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
    position: relative;
}

    .departments:before {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #333;
    }

.department {
    border: none;
    padding: 10px;
    width: 13%;
    text-align: center;
    position: relative;
    /*background-color: #fff;*/
    font-size: 14px;
}

    .department:before {
        content: '';
        position: absolute;
        top: -20px;
        left: 50%;
        width: 2px;
        height: 20px;
        background-color: #333;
    }

.department-inner {
    position: relative;
    padding: 8px;
    height: 100%;
}

    .department-inner:before {
        content: '';
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border: 2px solid #4a4e69;
        z-index: -1;
    }

    .department-inner:after {
        content: '';
        position: absolute;
        bottom: -7px;
        right: 0px;
        width: 100%;
        height: 7px;
        background-color: var(--secondary);
        z-index: -2;
    }

.dept-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 13px;
}

.dept-manager {
    font-size: 13px;
    margin-bottom: 5px;
}

.dept-status {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

@media (max-width: 1200px) {
    .departments {
        flex-wrap: wrap;
    }

    .department {
        width: 30%;
        margin-bottom: 30px;
        margin-right: 5px;
        margin-left: 5px;
    }
}

@media (max-width: 768px) {
    .department {
        width: 48%;
    }

    .management-board {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .department {
        width: 100%;
    }
}

/* Additional styling for better spacing */
.department {
    margin-bottom: 20px;
}

.department-inner {
    min-height: 120px;
}
/* ========================= End Update ========================== */
.managementPage .table td, .company_news_page .table th {
    border-top: none;
}

.managementPage img {
    height: 100%;
    width: 100%;
    /* height: 30rem; */
    object-fit: cover;
    /*border:5px solid var(--primary);*/
    transition: 0.5s;
}

.managementPage .manage_name {
    color: var(--primary);
    font-weight: 600;
}

.managementPage .manage_description {
    color: var(--primary);
}

.managementPage .manage_position {
    color: var(--secondary);
    font-weight: bold;
}

.managementPage .manageer_img {
    position: relative;
    margin: 1rem;
}

    .managementPage .manageer_img::after {
        position: absolute;
        right: -5px;
        bottom: -5px;
        width: 100%;
        height: 100%;
        z-index: -1;
        content: "";
        background-color: var(--secondary);
        transition: 0.5s;
    }


    .managementPage .manageer_img::before {
        position: absolute;
        left: -5px;
        top: -5px;
        width: 100%;
        height: 100%;
        z-index: -1;
        content: "";
        background-color: var(--secondary);
        transition: 0.5s;
    }

.managementPage .col-inner {
    margin: 1rem 0;
}
/************************* contact us ********************/
.contactus_page #btn_send {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    /* width: 100%; */
    font-size: 14px;
    float: right;
}

#ContentPlaceHolder1_alert_fail {
    color: red;
    font-weight: bold;
    margin: 1%;
}

#ContentPlaceHolder1_alert_success {
    color: green;
    font-weight: bold;
    margin: 1%;
}

.contactus_page #btn_send:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.form-control {
    font-size: 14px;
    color: var(--secondary);
}

.company_news_page .marketNews .marketNewsBody, .company_news_page .marketNews .marketNewstitleWithDate .marketNewsTitle {
    line-height: 25px;
}

.news-details-img {
    max-width: 100%;
    height: 95%;
}

.img_show {
    width: 350px;
    max-height: 450px;
}

.company_img {
    text-align: center;
}

.static_page_content * {
    font-family: 'DROIDKUFI-REGULAR_0',"Open Sans", sans-serif !important;
    /*font-size:16px !important;*/
    /*color: var(--primary);*/
    /*line-height: 30px;*/
    white-space: normal;
}

hr {
    border-top: 1px solid rgb(218 229 240);
}
/*#static_page{
           overflow:auto;
       }*/
.mist_static_header {
    color: var(--primary);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
}
/*#topbar .container ,#header .container{
    max-width: 85%;
}*/
@media only screen and (max-width: 768px) {
    #internal-header {
        /*margin-top: 10rem!important;*/
        /*border-top:4px solid var(--primary);*/
    }

    .productsdetails img {
        max-width: 220px;
    }
    /*#internal-header {
        padding-top: 11rem !important;
    }*/
}

@media only screen and (max-width: 425px) {
    .static_page_content table td {
        display: block;
        width: 100%;
    }

    .productsdetails img {
        max-width: 260px;
    }

    #internal-header {
        /*margin-top: 12rem!important;
        height:12rem;*/
        /*border-top:4px solid var(--primary);*/
    }

    h2.Page_header {
        font-size: 25px;
        /*height:12rem;*/
    }

    .productsdetails .productName {
        font-size: 18px;
    }

    .productsdetails .products-text {
        font-size: 16px;
    }

    .productsdetails .details_content * {
        font-size: 15px;
    }

    #internal-body {
        font-size: 15px;
        padding: 30px 15px;
    }
    /****************** management ********************/
    .managementPage .col-inner {
        margin: 2rem 0 0 0;
    }

    .managementPage .manage_description {
        font-size: 15px;
    }
    /********************** news *******************/
    .company_news_page .marketNews .marketNewstitleWithDate .marketNewsTitle {
        font-size: 15px;
    }

    .company_news_page .marketNews .marketNewsBody {
        font-size: 14px;
    }

    .static_page_content * {
        font-size: 14px !important;
        overflow: auto;
    }
}
/* Therapeutic fixes */
.therapeutic-product {
    display: flex;
    margin-bottom: 24px;
    padding-left: 15px;
    padding-right: 15px;
}

    .therapeutic-product .product-card {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #ddd;
    }

    .therapeutic-product .product-img-wrapper {
        height: 180px;
        flex-shrink: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .therapeutic-product .product-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

            .therapeutic-product .product-img-wrapper img.default-product-image {
                width: auto;
                height: 100%;
                object-fit: contain;
                padding: 10px;
            }

    .therapeutic-product .product-content {
        padding: 10px 15px 5px;
    }

    .therapeutic-product .product-footer {
        padding: 5px 15px 10px;
        display: flex;
        justify-content: flex-end;
    }

/* الـ link هيبقى overlay بدل ما يكون wrapper */
.product-card-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent !important;
}
/* Product Card Design */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-card {
    background: #FFFF;
    border-radius: 15px;
    border: 2px solid #dee2e6;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

.product-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    /*background: #f8f9fa;*/
    background: #FFFF;
    /*padding: 20px;*/
}

    .product-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

        .product-img-wrapper img.default-product-image {
            object-fit: contain;
            padding: 20px;
            background: #fff;
        }

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-icon-badge {
    background: #FFFF;
    width: 35px;
    height: 35px;
    min-width: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--secondary);
    flex-shrink: 0;
}

    .product-icon-badge i {
        color: var(--secondary);
        font-size: 18px;
    }

.product-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-footer {
    padding: 0 15px 15px;
    display: flex;
    justify-content: flex-end;
}

.product-category-badge {
    display: inline-block;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: left;
}

.product-text-content {
    width: 100%;
}

.product-title {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: left;
}

.product-desc {
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 0;
}

#products-section .container {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

/* Pagination Styling */
.pagination .page-link {
    color: var(--primary);
    border: 1px solid #dee2e6;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border: none !important;
    /*border-color: #dee2e6;*/
}

.pagination .page-link:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.pharmadownload {
    background: var(--primary);
    border: 5px var(--primary) solid;
}

    .pharmadownload:hover {
        background: var(--four);
        border: 5px var(--four) solid;
    }
