/* ============================================================
   Alpha Medicare - Complete Pharmaceutical Website CSS
   ============================================================ */

/* ----- Font Import ----- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ----- CSS Variables ----- */
:root {
    --primary: #1e3c72;
    --primary-dark: #152a52;
    --primary-light: #2a5298;
    --accent: #4fc3f7;
    --accent-red: #ff6b6b;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --teal: #00897b;
    --text: #333;
    --text-light: #666;
    --text-muted: #888;
    --bg: #f5f7fa;
    --white: #fff;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-sm: 4px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

/* ----- Layout Containers ----- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

.section {
    padding: 40px 0;
}

/* ----- Grid System (Bootstrap 3 compatible) ----- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.row::after {
    content: '';
    display: table;
    clear: both;
}

[class*="col-"] {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    float: left;
}

.col-xs-1  { width: 8.333%; }
.col-xs-2  { width: 16.666%; }
.col-xs-3  { width: 25%; }
.col-xs-4  { width: 33.333%; }
.col-xs-5  { width: 41.666%; }
.col-xs-6  { width: 50%; }
.col-xs-7  { width: 58.333%; }
.col-xs-8  { width: 66.666%; }
.col-xs-9  { width: 75%; }
.col-xs-10 { width: 83.333%; }
.col-xs-11 { width: 91.666%; }
.col-xs-12 { width: 100%; }

@media (min-width: 768px) {
    .col-sm-1  { width: 8.333%; }
    .col-sm-2  { width: 16.666%; }
    .col-sm-3  { width: 25%; }
    .col-sm-4  { width: 33.333%; }
    .col-sm-5  { width: 41.666%; }
    .col-sm-6  { width: 50%; }
    .col-sm-7  { width: 58.333%; }
    .col-sm-8  { width: 66.666%; }
    .col-sm-9  { width: 75%; }
    .col-sm-10 { width: 83.333%; }
    .col-sm-11 { width: 91.666%; }
    .col-sm-12 { width: 100%; }
}

@media (min-width: 992px) {
    .col-md-1  { width: 8.333%; }
    .col-md-2  { width: 16.666%; }
    .col-md-3  { width: 25%; }
    .col-md-4  { width: 33.333%; }
    .col-md-5  { width: 41.666%; }
    .col-md-6  { width: 50%; }
    .col-md-7  { width: 58.333%; }
    .col-md-8  { width: 66.666%; }
    .col-md-9  { width: 75%; }
    .col-md-10 { width: 83.333%; }
    .col-md-11 { width: 91.666%; }
    .col-md-12 { width: 100%; }
}

@media (min-width: 1200px) {
    .col-lg-1  { width: 8.333%; }
    .col-lg-2  { width: 16.666%; }
    .col-lg-3  { width: 25%; }
    .col-lg-4  { width: 33.333%; }
    .col-lg-5  { width: 41.666%; }
    .col-lg-6  { width: 50%; }
    .col-lg-7  { width: 58.333%; }
    .col-lg-8  { width: 66.666%; }
    .col-lg-9  { width: 75%; }
    .col-lg-10 { width: 83.333%; }
    .col-lg-11 { width: 91.666%; }
    .col-lg-12 { width: 100%; }
}

/* ----- Utility Classes ----- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.left-align  { text-align: left; }
.center-align { text-align: center; }
.inline      { display: inline; }
.inline-block { display: inline-block; }
.block       { display: block; }
.d-flex      { display: flex; }
.d-inline    { display: inline; }
.hidden      { display: none; }

.mb-4  { margin-bottom: 20px; }
.mb-7  { margin-bottom: 35px; }
.mb-15 { margin-bottom: 15px; }
.mb-25 { margin-bottom: 25px; }
.mb-50 { margin-bottom: 50px; }
.mt-5  { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-25 { margin-top: 25px; }
.mt--5 { margin-top: -5px; }
.mr-3  { margin-right: 15px; }
.ml-5  { margin-left: 5px; }
.pb-5  { padding-bottom: 5px; }
.pt-5  { padding-top: 5px; }
.pl-5  { padding-left: 5px; }
.pl-10 { padding-left: 10px; }

.text-white { color: #fff; }
.capitalize { text-transform: capitalize; }

.margin-b-5 { margin-bottom: 5px; }
.margin-bottom-20 { margin-bottom: 20px; }
.margin-bottom-30 { margin-bottom: 30px; }
.margin-t-2 { margin-top: 2px; }

.visible-lg { display: none; }
@media (min-width: 1200px) {
    .visible-lg { display: block; }
}

.visible-md, .visible-md-block { display: none; }
@media (min-width: 992px) and (max-width: 1199px) {
    .visible-md { display: block; }
    .visible-md-block { display: block; }
}

.visible-xs, .visible-sm, .visible-sm-block {
    display: none;
}

@media (max-width: 767px) {
    .visible-xs { display: block; }
    .hidden-xs  { display: none; }
}

@media (max-width: 991px) {
    .visible-sm { display: block; }
    .visible-sm-block { display: block; }
    .hidden-sm  { display: none; }
}

/* ----- Header ----- */
#header {
    position: relative;
    z-index: 1000;
}

.header__main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header--minimal {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.logo-first-word {
    color: var(--white);
}

.logo-second-word {
    color: var(--accent);
}

#lwfl {
    color: var(--accent-red);
}

/* ----- Navigation ----- */
.navigation {
    display: flex;
    align-items: center;
    list-style: none;
}

.navigation > li {
    position: relative;
}

.navigation > li > a {
    display: block;
    padding: 15px 18px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.navigation > li > a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.navigation__dropdown > a::after {
    content: '\f107';
    font-family: 'FontAwesome';
    margin-left: 6px;
    font-size: 11px;
}

.navigation__drop-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    list-style: none;
    padding: 8px 0;
    z-index: 1001;
}

.navigation__dropdown:hover .navigation__drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navigation__drop-menu li a {
    display: block;
    padding: 10px 22px;
    color: var(--text);
    font-size: 13px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.navigation__drop-menu li a:hover {
    background: #f0f4f8;
    color: var(--primary-light);
    border-left-color: var(--primary-light);
    padding-left: 26px;
}

.navigation__close {
    display: none;
    padding: 15px 20px;
    color: var(--white);
    text-align: right;
    font-size: 18px;
}

.navigation-trigger {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navigation-trigger {
        display: block;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        padding: 0;
        transition: right 0.35s ease;
        overflow-y: auto;
    }
    
    .navigation.active {
        right: 0;
    }
    
    .navigation > li {
        width: 100%;
    }
    
    .navigation > li > a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .navigation__close {
        display: block;
    }
    
    .navigation__drop-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.15);
        display: none;
        border-radius: 0;
    }
    
    .navigation__dropdown:hover .navigation__drop-menu,
    .navigation__dropdown.active .navigation__drop-menu {
        display: block;
    }
    
    .navigation__drop-menu li a {
        color: rgba(255,255,255,0.85);
        padding-left: 35px;
    }
    
    .navigation__drop-menu li a:hover {
        background: rgba(255,255,255,0.08);
        color: var(--white);
        border-left-color: var(--accent);
    }
}

/* ----- Header Search ----- */
.header__search {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    padding: 20px 0;
}

.filter-search-form {
    width: 100%;
    position: relative;
}

.filter-search-form input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.filter-search-form input[type="text"]:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.filter-search-form select {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.filter-search-form button {
    width: 100%;
    padding: 14px 25px;
    background: var(--success);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(40,167,69,0.3);
}

.filter-search-form button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40,167,69,0.4);
}

.filter-search-form button i {
    margin-right: 5px;
}

/* Search dropdown */
.filter-search-form .output {
    list-style: none;
    width: 95%;
    position: absolute;
    z-index: 100;
    background: var(--white);
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
    margin: 5px 0 0;
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 var(--radius) var(--radius);
    display: none;
}

.filter-search-form .output.active {
    display: block;
}

.prediction-item {
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: var(--text);
    transition: all 0.2s;
}

.prediction-item:hover,
.prediction-item.focus {
    background: #f0f4f8;
    color: var(--primary);
}

/* ----- Counter Section ----- */
.counter-section-wrapper {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    padding: 60px 0 40px;
    position: relative;
}

.counter-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.counters-wrapper {
    position: relative;
    z-index: 1;
}

.counter-container {
    text-align: center;
    margin-bottom: 20px;
}

.counter-container a {
    display: block;
    color: var(--white);
}

.counter {
    padding: 30px 15px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(5px);
    transition: all 0.35s ease;
}

.counter:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.counter i {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 36px;
}

.counter .count {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 700;
    margin: 10px 0;
    color: var(--white);
    line-height: 1;
}

.counter .count-text {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* ----- News Ticker / Notice Cards ----- */
.feat-news {
    padding: 0;
}

.notice-card {
    padding: 5px;
    margin-bottom: 10px;
}

.notice-card .counter {
    background: #e8f0fe;
    border-radius: 6px;
    padding: 12px;
    height: 100%;
    border: none;
    backdrop-filter: none;
}

.notice-card .counter:hover {
    transform: none;
    box-shadow: none;
    background: #dce6f8;
}

.notice-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.notice-card h4 span {
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 3px;
}

.notice-card marquee a {
    color: var(--text);
    font-size: 12px;
    text-decoration: none;
    margin-right: 20px;
}

.notice-card marquee a:hover {
    color: var(--primary-light);
}

.notice-card marquee a p {
    display: inline;
    margin: 0;
}

.notice-card marquee a i {
    color: var(--primary-light);
    margin-right: 5px;
}

/* ----- Section Headings ----- */
.news-top-heading,
.news-top-headingx {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin: 50px 0 35px;
    text-align: center;
    position: relative;
    padding-bottom: 18px;
}

.news-top-heading::after,
.news-top-headingx::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 2px;
}

.page-heading-1 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 30px 0 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.page-heading-1-l {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0 15px;
    line-height: 1.4;
}

.h1-subtitle {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

/* ----- News List / Product List ----- */
.news-list {
    list-style: none;
    padding: 0;
}

.news-list > li,
.news-list > a > li {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.news-list > li:hover,
.news-list > a > li:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.news-container {
    display: flex;
    align-items: center;
    padding: 12px;
}

.news-thumbnail-container {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 6px;
    margin-right: 15px;
}

.news-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-container:hover .news-thumbnail {
    transform: scale(1.08);
}

.news-thumbnail.job-thumbnail,
.news-thumbnail.video {
    object-fit: contain;
    padding: 5px;
}

.news-title-container {
    flex: 1;
    min-width: 0;
}

.news-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list a:hover .news-title {
    color: var(--primary-light);
}

.job-company-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

.job-title {
    font-size: 13px;
    color: var(--text-light);
    margin: 3px 0;
    font-weight: 400;
}

.job-top-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.job-link {
    display: block;
    color: var(--text);
}

.job-link:hover {
    color: var(--primary-light);
}

/* View More Button */
.view-more,
.jobsvm {
    display: block;
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white) !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    transition: all 0.3s;
}

.view-more:hover,
.jobsvm:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30,60,114,0.3);
}

/* ----- Campaign Banner ----- */
.campaign-banner {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.35s;
}

.campaign-banner:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40,167,69,0.3);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #c82333;
}

.btn-warning {
    background: var(--warning);
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-info {
    background: var(--info);
    color: var(--white);
}

.btn-info:hover {
    background: #138496;
}

.btn-teal {
    background: linear-gradient(135deg, #00897b, #00695c);
    color: var(--white);
}

.btn-teal:hover {
    background: linear-gradient(135deg, #00695c, #004d40);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-light);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary);
}

.btn-outline-info {
    background: transparent;
    border: 1px solid var(--info);
    color: var(--info);
}

.btn-outline-info:hover {
    background: var(--info);
    color: var(--white);
}

.btn-outline-teal {
    background: transparent;
    border: 1px solid var(--teal);
    color: var(--teal);
}

.btn-outline-teal:hover {
    background: var(--teal);
    color: var(--white);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

.expand-btn {
    padding: 8px 18px;
    font-size: 12px;
}

.prsinf-btn {
    margin-left: 10px;
}

.product_btn {
    width: 100%;
}

/* ----- Footer ----- */
#footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: rgba(255,255,255,0.85);
    padding: 0;
}

#footer > div:first-child {
    padding: 40px 0 30px;
}

#footer h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

#footer small {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.subscribe_now {
    display: flex;
    margin-top: 15px;
}

.subscribe_now input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 14px;
}

.subscribe_now input:focus {
    outline: none;
}

.subscribe_now button {
    padding: 14px 28px;
    background: var(--success);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe_now button:hover {
    background: #218838;
}

.footer__bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

.footer__bottom a {
    color: rgba(255,255,255,0.7);
    margin: 0 12px;
    transition: color 0.3s;
}

.footer__bottom a:hover {
    color: var(--accent);
}

.footer__copyright {
    color: var(--white);
    font-weight: 600;
}

.footer__to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 999;
}

.footer__to-top:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* ----- Video Overlay ----- */
#video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

#video-overlay.active {
    display: flex;
}

.overlay-wrapper {
    width: 85%;
    max-width: 850px;
    position: relative;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#close-video {
    position: absolute;
    top: -45px;
    right: 0;
    color: rgba(255,255,255,0.8);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s;
}

#close-video:hover {
    color: var(--white);
}

/* ----- Play Video Button ----- */
.play-video,
.play-video1 {
    position: relative;
    display: block;
    cursor: pointer;
}

.play-video::after,
.play-video1::after {
    content: '\f144';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.play-video:hover::after,
.play-video1:hover::after {
    color: var(--accent-red);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ----- Tables ----- */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th,
.table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
}

.table th {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tr:hover {
    background: #f8f9fa;
}

.table-striped tr:nth-child(even) {
    background: #fafbfc;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #e0e0e0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ----- Data Rows (for brand/generic details) ----- */
.data-row,
.data-row-top,
.data-row-company,
.data-row-strength {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.data-row:hover,
.data-row-top:hover {
    background: #f8f9fa;
}

.data-row-top {
    background: linear-gradient(135deg, #f0f4f8, #e8f0fe);
    font-weight: 600;
    color: var(--primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

/* ----- Package/Pricing ----- */
.packages-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.package-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 200px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e8e8e8;
}

.package-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.package-pricing {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

.unit-price {
    font-size: 13px;
    color: var(--text-light);
}

/* ----- Accordion ----- */
.ac-header {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
    padding: 15px 20px;
    cursor: pointer;
    border-radius: var(--radius);
    margin-bottom: 5px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    font-size: 15px;
}

.ac-header:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.ac-body {
    padding: 20px;
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.ac-body p,
.ac-body ul,
.ac-body ol {
    margin-bottom: 12px;
}

.ac-body ul {
    list-style: disc;
    padding-left: 25px;
}

.ac-body ol {
    list-style: decimal;
    padding-left: 25px;
}

.ac-body li {
    margin-bottom: 6px;
}

/* ----- Toggle ----- */
.toggle-trigger {
    cursor: pointer;
    padding: 12px 18px;
    background: #f0f4f8;
    border-radius: var(--radius);
    margin-bottom: 5px;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--primary);
}

.toggle-trigger:hover {
    background: #e0e8f5;
}

/* ----- Dosage Icons ----- */
.dosage-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    vertical-align: middle;
}

.md-icon-container,
.sm-icon-container {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.no-mr {
    margin-right: 0;
}

.mt-neg {
    margin-top: -5px;
}

/* ----- CPanel (admin-like cards) ----- */
.cpanel {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.cpanel-heading {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 15px 20px;
    font-weight: 600;
    font-size: 15px;
}

.cpanel-body {
    padding: 20px;
}

/* ----- Brand Header ----- */
.brand-header {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.brand-header > div {
    margin-bottom: 8px;
    font-size: 15px;
}

.brand-header a {
    color: var(--primary-light);
    font-weight: 500;
}

.calm-link {
    color: var(--primary-light);
    font-weight: 500;
}

/* ----- Available Brands ----- */
.available-brands-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.available-brands {
    margin-bottom: 15px;
}

.brand-item {
    display: block;
    color: var(--text);
}

.brand-item:hover {
    color: var(--text);
}

/* ----- Company Filter ----- */
.company-filter-container {
    margin-bottom: 15px;
}

/* ----- Generic Data Container ----- */
.generic-data-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.generic-data-container.en {
    font-family: 'Open Sans', sans-serif;
}

/* ----- Product Detail Page ----- */
.details {
    min-height: 350px;
    padding: 20px;
}

.details h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 15px;
}

.description {
    line-height: 1.8;
    color: var(--text);
}

.description p {
    margin-bottom: 12px;
}

.img-thumbnail {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 100%;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

/* ----- News Detail Page ----- */
.news-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.news-image-container {
    margin: 20px 0;
    text-align: center;
}

.news-image-container img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.news-body-container {
    line-height: 1.8;
    font-size: 15px;
}

.news-body-container p {
    margin-bottom: 15px;
}

.news-posted-on-container {
    margin: 15px 0;
}

/* ----- Hoverable Blocks ----- */
.hoverable-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: var(--shadow);
    transition: all 0.35s ease;
    display: block;
    margin-bottom: 15px;
}

.hoverable-block:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

/* ----- Slideshow ----- */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    border-radius: var(--radius);
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--primary-light);
}

.animated_slider {
    color: var(--white);
    transition: color 0.3s;
}

.animated_slider:hover {
    color: #ffeb3b;
}

/* ----- Background Colors ----- */
.bg-success { background: var(--success) !important; color: var(--white); }

/* ----- Grey/Color Utilities ----- */
.grey-ligten { color: #999; }
.darker { color: var(--text); }

/* ----- Image Pane (for videos) ----- */
.imgpane-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.imgpane-media {
    width: 100%;
    transition: transform 0.4s;
}

.imgpane-container:hover .imgpane-media {
    transform: scale(1.05);
}

.imgpane-content {
    padding: 15px;
    background: var(--white);
}

/* ----- Modal ----- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-dialog {
    width: 90%;
    max-width: 600px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.modal-dialog.modal-lg {
    max-width: 900px;
}

.modal-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-weight: 600;
    font-size: 16px;
}

.modal-body {
    padding: 20px;
}

.close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* ----- Company Logo ----- */
.company-logo {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

/* ----- Byline ----- */
.byline-wrapper {
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.byline {
    font-size: 13px;
    color: var(--text-light);
}

/* ----- AlphaDex / Alphabetical ----- */
.alphadex {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 15px 0;
    justify-content: center;
}

.alpha-item {
    display: inline-block;
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--primary);
    transition: all 0.2s;
}

.alpha-item:hover {
    background: var(--primary-light);
    color: var(--white);
    border-color: var(--primary-light);
}

/* ----- Filter Items ----- */
.filter-item {
    display: inline-block;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 20px;
    margin: 3px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-item:hover,
.filter-item.active {
    background: var(--primary-light);
    color: var(--white);
    border-color: var(--primary-light);
}

/* ----- Downloadable Row ----- */
.downloadable-row {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.downloadable-row:hover {
    box-shadow: var(--shadow-hover);
}

.downloadable-row i {
    color: var(--danger);
    margin-right: 12px;
    font-size: 20px;
}

/* ----- Block Link ----- */
.block-link {
    display: block;
    color: var(--text);
}

.block-link:hover {
    color: var(--primary-light);
}

/* ----- Info Box ----- */
.info {
    padding: 15px 20px;
    background: #e8f4fd;
    border-left: 4px solid var(--info);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 15px;
}

/* ----- Highlight Data ----- */
.hl-data {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.hl-data-block {
    display: inline-block;
    padding: 8px 15px;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin: 3px;
    font-weight: 500;
}

.hl-data-table {
    width: 100%;
    margin-top: 10px;
}

/* ----- DCIND ----- */
.dcind {
    padding: 15px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 15px;
}

.dcind-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

/* ----- Other Combinations ----- */
.other-comb {
    padding: 15px;
    background: #f0f4f8;
    border-radius: var(--radius);
    margin: 10px 0;
}

/* ----- Clearfix ----- */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ----- Text Utilities ----- */
.tx-0-6 { font-size: 0.6em; }
.tx-1-1 { font-size: 1.1em; }
.tx-center { text-align: center; }

/* ----- Width ----- */
.w-100c { width: 100%; }

/* ----- No Flow (body lock) ----- */
.no-flow {
    overflow: hidden;
}

/* ----- Fade ----- */
.fade {
    opacity: 0;
    transition: opacity 0.3s;
}

.fade.in {
    opacity: 1;
}

/* ----- Jihtext ----- */
.jihtext {
    text-align: justify;
}

/* ----- Clp ----- */
.clp {
    cursor: pointer;
}

/* ----- Inld ----- */
.inld {
    display: inline-block;
}

/* ----- Ov-data ----- */
.ov-data {
    overflow: visible;
}

/* ----- G Sense ----- */
.gSense {
    font-weight: 600;
    color: var(--primary);
}

/* ----- H Link ----- */
.hlink {
    color: var(--primary-light);
    text-decoration: underline;
}

.hlink:hover {
    color: var(--primary);
}

/* ----- Title (for video/image titles) ----- */
.title {
    font-weight: 600;
    font-size: 15px;
    margin: 10px 0 5px;
    color: var(--text);
}

/* ----- Forms ----- */
.form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--white);
    border: 1px solid #ced4da;
    border-radius: var(--radius);
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(42,82,152,0.1);
    outline: none;
}

.form-group {
    margin-bottom: 18px;
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* ----- Pagination ----- */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
    margin: 30px 0;
}

.pagination li {
    margin: 0 4px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    color: var(--primary-light);
    font-weight: 500;
    transition: all 0.3s;
}

.pagination li.active span {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(30,60,114,0.25);
}

.pagination li a:hover {
    background: #f0f4f8;
    transform: translateY(-2px);
}

/* ----- Responsive ----- */
@media (max-width: 767px) {
    .logo-text {
        font-size: 22px;
    }
    
    .counter-section-wrapper {
        padding: 35px 0 15px;
    }
    
    .counter {
        padding: 20px 10px;
    }
    
    .counter .count {
        font-size: 28px;
    }
    
    .news-top-heading,
    .news-top-headingx,
    .page-heading-1 {
        font-size: 20px;
    }
    
    .page-heading-1-l {
        font-size: 20px;
    }
    
    .news-container {
        flex-direction: column;
        text-align: center;
    }
    
    .news-thumbnail-container {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .filter-search-form button {
        margin-top: 10px;
    }
    
    .mob {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    
    .notice-card {
        padding: 5px 0;
    }
    
    .footer__bottom a {
        display: block;
        margin: 5px 0;
    }
    
    .packages-wrapper {
        flex-direction: column;
    }
    
    .package-container {
        min-width: 100%;
    }
    
    .details h1 {
        font-size: 22px;
    }
    
    .brand-header {
        padding: 15px;
    }
    
    .generic-data-container {
        padding: 15px;
    }
    
    .news-wrapper {
        padding: 15px;
    }
}

@media (max-width: 991px) {
    .news-top-heading,
    .news-top-headingx {
        font-size: 22px;
    }
    
    .available-brands-wrapper {
        margin-top: 20px;
    }
}

/* ----- Print Styles ----- */
@media print {
    .navigation,
    .header__search,
    .footer__to-top,
    #video-overlay,
    .navigation-trigger {
        display: none !important;
    }
    
    body {
        background: var(--white);
    }
    
    .section {
        padding: 20px 0;
    }
}

/* ----- Animations ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter-container {
    animation: fadeInUp 0.6s ease forwards;
}

.counter-container:nth-child(1) { animation-delay: 0.1s; }
.counter-container:nth-child(2) { animation-delay: 0.2s; }
.counter-container:nth-child(3) { animation-delay: 0.3s; }
.counter-container:nth-child(4) { animation-delay: 0.4s; }
.counter-container:nth-child(5) { animation-delay: 0.5s; }
.counter-container:nth-child(6) { animation-delay: 0.6s; }
.counter-container:nth-child(7) { animation-delay: 0.7s; }
.counter-container:nth-child(8) { animation-delay: 0.8s; }
