/* ============================================================
   Việt Khang Pharma – Main Stylesheet
   Author: VKPharma Dev Team
   ============================================================ */

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
    --primary:        #1b5e20;   /* deep green */
    --primary-light:  #388e3c;
    --primary-hover:  #145a18;
    --secondary:      #1565c0;   /* blue */
    --secondary-light:#1976d2;
    --accent:         #f9a825;   /* amber */
    --danger:         #c62828;
    --white:          #ffffff;
    --light:          #f5f7f2;
    --dark:           #1a1a2e;
    --muted:          #6c757d;
    --border:         #e0e0e0;
    --font-main:      'Be Vietnam Pro', sans-serif;
    --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
    --shadow-md:      0 6px 24px rgba(0,0,0,.12);
    --shadow-lg:      0 12px 40px rgba(0,0,0,.16);
    --radius:         12px;
    --radius-sm:      8px;
    --transition:     all .3s ease;
}

/* ── Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: #222;
    background: #fff;
    font-size: 15px;
    line-height: 1.75;
}

a { color: var(--primary-light); transition: var(--transition); }
a:hover { color: var(--primary); text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ── Typography helpers ─────────────────────────────────────── */
.text-primary-pharma { color: var(--primary-light) !important; }
.bg-primary-pharma   { background-color: var(--primary) !important; }
.btn-primary-pharma  {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
}
.btn-primary-pharma:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    font-size: 12px;
    transition: var(--transition);
}
.topbar .social-links a:hover { background: rgba(255,255,255,.3); }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar-main {
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 0;
    transition: var(--transition);
}
.navbar-main.scrolled {
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: var(--shadow-md);
}
.navbar-brand img { height: 52px; width: auto; }
.navbar-main .nav-link {
    font-weight: 600;
    font-size: 14px;
    padding: 22px 14px !important;
    color: #333;
    position: relative;
}
.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 3px;
    background: var(--primary-light);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 3px 3px 0 0;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active { color: var(--primary-light); }
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after { transform: scaleX(1); }

.navbar-main .dropdown-menu {
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    min-width: 220px;
    animation: fadeDown .2s ease;
}
.navbar-main .dropdown-item {
    font-size: 14px;
    padding: 9px 20px;
    color: #444;
}
.navbar-main .dropdown-item:hover {
    background: var(--light);
    color: var(--primary-light);
    padding-left: 26px;
}
.navbar-search .form-control {
    border-radius: 50px 0 0 50px;
    border-right: none;
    width: 180px;
    font-size: 14px;
}
.navbar-search .btn { border-radius: 0 50px 50px 0; background: var(--primary-light); border-color: var(--primary-light); color:#fff;}

/* ── Page Header ────────────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 48px 0 40px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg opacity='0.05' xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cpath fill='%23fff' d='M100 0C44.8 0 0 44.8 0 100s44.8 100 100 100 100-44.8 100-100S155.2 0 100 0zm0 180c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z'/%3E%3C/svg%3E") repeat;
}
.page-header-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.breadcrumb-wrapper { padding: 10px 0; background: #f8f9fa; border-bottom: 1px solid var(--border); }
.breadcrumb { margin: 0; font-size: 13px; }
.breadcrumb-item a { color: var(--primary-light); }
.breadcrumb-item.active { color: var(--muted); }

/* ── Section Headers ────────────────────────────────────────── */
.section-header { margin-bottom: 2.5rem; }
.section-tag {
    display: inline-block;
    background: rgba(56,142,60,.1);
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(56,142,60,.3);
    margin-bottom: 10px;
}
.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: .75rem;
}
.section-desc { color: var(--muted); font-size: 15px; max-width: 580px; margin: 0 auto; }
.section-divider {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    border-radius: 2px;
    margin: 12px auto 0;
}

/* ── Hero Slider ────────────────────────────────────────────── */
.hero-slider { height: 580px; }
.hero-slide {
    position: relative;
    height: 580px;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,94,32,.85) 0%, rgba(21,101,192,.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    color: #fff;
}
.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50px;
    padding: 4px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
    margin-bottom: 16px;
}
.hero-subtitle { font-size: 1.1rem; opacity: .9; margin-bottom: 28px; max-width: 520px; }
.hero-buttons .btn { border-radius: 50px; padding: 12px 28px; font-weight: 600; font-size: 15px; }
.hero-slider .swiper-pagination-bullet { background: rgba(255,255,255,.6); opacity: 1; }
.hero-slider .swiper-pagination-bullet-active { background: #fff; width: 24px; border-radius: 4px; }

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 28px 0;
}
.stat-item { text-align: center; padding: 8px; }
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-label { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 500; margin-top: 4px; }
.stat-divider { width: 1px; background: rgba(255,255,255,.2); height: 60px; margin: auto; }

/* ── Category Cards ─────────────────────────────────────────── */
.category-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    color: inherit;
}
.category-icon {
    width: 72px; height: 72px;
    background: rgba(56,142,60,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--primary-light);
    transition: var(--transition);
}
.category-card:hover .category-icon {
    background: var(--primary-light);
    color: #fff;
}
.category-name { font-weight: 700; font-size: 15px; color: #1a1a2e; margin-bottom: 6px; }
.category-count { font-size: 13px; color: var(--muted); }

/* ── Product Cards ──────────────────────────────────────────── */
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(56,142,60,.3);
}
.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light);
}
.product-image img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform .4s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badge {
    position: absolute;
    top: 10px; left: 10px;
    font-size: 11px; font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    z-index: 1;
}
.product-info { padding: 16px; }
.product-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.product-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-manufacturer { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.product-actions { display: flex; gap: 8px; padding: 0 16px 16px; }
.product-actions .btn { flex: 1; font-size: 13px; font-weight: 600; border-radius: var(--radius-sm); }

/* Product Detail */
.product-gallery { position: sticky; top: 100px; }
.gallery-main-img {
    width: 100%; border-radius: var(--radius);
    border: 1px solid var(--border); padding: 20px;
    aspect-ratio: 1; object-fit: contain;
    background: #fafafa;
    cursor: zoom-in;
}
.gallery-thumb {
    width: 70px; height: 70px;
    object-fit: contain; padding: 6px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer; transition: var(--transition);
}
.gallery-thumb:hover, .gallery-thumb.active {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(56,142,60,.15);
}
.product-title { font-size: 1.6rem; font-weight: 800; color: #1a1a2e; line-height: 1.3; }
.product-specs table { font-size: 14px; }
.product-specs table th { color: var(--muted); font-weight: 500; width: 38%; }
.product-specs table td { font-weight: 600; }

/* ── News Cards ─────────────────────────────────────────────── */
.news-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.news-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--light);
}
.news-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.news-card:hover .news-image img { transform: scale(1.05); }
.news-cat-badge {
    position: absolute;
    bottom: 10px; left: 10px;
    background: var(--primary-light);
    color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 50px;
}
.news-body { padding: 18px; }
.news-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.news-meta span + span::before { content: '•'; margin: 0 6px; }
.news-title {
    font-size: 15px; font-weight: 700; color: #1a1a2e; line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-excerpt {
    font-size: 13px; color: var(--muted); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--primary-light); }

/* News article content */
.news-article .article-header { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 28px; }
.news-article .article-title { font-size: 1.8rem; font-weight: 800; line-height: 1.35; }
.news-article .article-meta { font-size: 13px; color: var(--muted); }
.article-content { line-height: 1.9; font-size: 15.5px; }
.article-content h2,
.article-content h3 { color: var(--primary); font-weight: 700; margin: 2rem 0 1rem; }
.article-content img { border-radius: var(--radius-sm); max-width: 100%; }
.article-content blockquote {
    border-left: 4px solid var(--primary-light);
    padding: 12px 20px;
    background: var(--light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--muted);
    font-style: italic;
    margin: 20px 0;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.sidebar { position: sticky; top: 100px; }
.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 24px;
}
.sidebar-title {
    font-size: 15px; font-weight: 700; color: #1a1a2e;
    padding-bottom: 12px; margin-bottom: 16px;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
}
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { margin-bottom: 4px; }
.sidebar-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: #444; font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}
.sidebar-list li a:hover,
.sidebar-list li a.active {
    background: rgba(56,142,60,.08);
    color: var(--primary-light);
    padding-left: 16px;
}
.sidebar-list li a .badge { font-size: 11px; }
.sidebar-sublist { list-style: none; padding: 0 0 0 14px; margin: 4px 0 4px; border-left: 2px solid var(--border); }
.sidebar-sublist li a { font-size: 13px; padding: 5px 10px; color: var(--muted); }
.sidebar-sublist li a:hover { color: var(--primary-light); background: transparent; }

/* ── Partner Cards ──────────────────────────────────────────── */
.partner-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}
.partner-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(56,142,60,.3);
    transform: translateY(-3px);
}
.partner-card img { height: 72px; object-fit: contain; filter: grayscale(60%); transition: var(--transition); }
.partner-card:hover img { filter: none; }
.partner-card .partner-name { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 10px; }

/* Cert Cards */
.cert-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cert-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.cert-card .cert-info { padding: 14px; }
.cert-card .cert-name { font-weight: 700; font-size: 14px; }

/* Branch Cards */
.branch-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.branch-card:hover { box-shadow: var(--shadow-md); }
.branch-card.hq { border-top: 4px solid var(--primary-light); }

/* VMV Cards (Vision/Mission/Values) */
.vmv-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}
.vmv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.vmv-card.vision  { border-top-color: var(--primary-light); }
.vmv-card.mission { border-top-color: var(--secondary); }
.vmv-card.values  { border-top-color: var(--accent); }
.vmv-icon {
    width: 76px; height: 76px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}
.vmv-card.vision  .vmv-icon { background: rgba(52,168,83,.1);  color: var(--primary-light); }
.vmv-card.mission .vmv-icon { background: rgba(21,101,192,.1); color: var(--secondary); }
.vmv-card.values  .vmv-icon { background: rgba(249,168,37,.1); color: var(--accent); }

/* ── Job Cards ──────────────────────────────────────────────── */
.job-card {
    background: #fff;
    transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.job-title { font-size: 16px; color: #1a1a2e; line-height: 1.4; margin-bottom: 0; }
.job-salary { font-size: 15px; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: #0d1b2a; color: rgba(255,255,255,.75); margin-top: auto; }
.footer-top { padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-heading {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    display: inline-block;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a {
    color: rgba(255,255,255,.65);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links li a::before {
    content: '›';
    color: var(--primary-light);
    font-size: 16px;
    line-height: 1;
}
.footer-links li a:hover { color: #fff; padding-left: 4px; }
.footer-contact .footer-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,.7);
}
.footer-contact .footer-icon {
    width: 30px; height: 30px;
    background: rgba(56,142,60,.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--primary-light);
    font-size: 12px;
}
.footer-form .form-control {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: 13px;
    border-radius: var(--radius-sm);
}
.footer-form .form-control::placeholder { color: rgba(255,255,255,.4); }
.footer-form .form-control:focus {
    background: rgba(255,255,255,.12);
    border-color: var(--primary-light);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(56,142,60,.2);
}
.footer-bottom {
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ── Floating Contact Buttons ───────────────────────────────── */
.floating-contacts {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.float-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    animation: pulse 2.5s infinite;
}
.float-btn:hover { transform: scale(1.12); color: #fff; }
.float-btn.phone { background: linear-gradient(135deg, #00897b, #004d40); animation-delay: 0s; }
.float-btn.zalo  { background: linear-gradient(135deg, #0088cc, #005fa3); animation-delay: 0.4s; }

.float-btn::after {
    content: attr(data-label);
    position: absolute;
    right: 56px;
    background: #1a1a2e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.float-btn:hover::after { opacity: 1; right: 60px; }

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 44px; height: 44px;
    background: var(--primary-light);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 9998;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); transform: translateY(-3px); }

/* ── Contact CTA ────────────────────────────────────────────── */
.contact-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}
.contact-cta h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.contact-cta p   { font-size: 16px; opacity: .85; margin-bottom: 30px; }
.contact-cta .btn { border-radius: 50px; padding: 13px 32px; font-weight: 700; font-size: 15px; }

/* ── About / Company Sections ───────────────────────────────── */
.about-snippet { background: var(--light); padding: 80px 0; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--primary-light);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    min-width: 130px;
}
.about-badge .num { font-size: 2rem; font-weight: 800; display: block; }
.about-badge .label { font-size: 12px; opacity: .85; }

/* ── Swiper customization ───────────────────────────────────── */
.partners-swiper .swiper-slide img { height: 64px; object-fit: contain; filter: grayscale(50%); transition: var(--transition); }
.partners-swiper .swiper-slide img:hover { filter: none; }
.cert-swiper .swiper-slide { padding: 8px; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: 10px 14px;
    font-size: 14px;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(56,142,60,.15);
}
.form-label { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px; }
.btn { border-radius: var(--radius-sm); font-weight: 600; }
.btn-success { background: var(--primary-light); border-color: var(--primary-light); }
.btn-success:hover { background: var(--primary); border-color: var(--primary); }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination .page-link {
    border-radius: var(--radius-sm) !important;
    margin: 0 3px;
    color: var(--primary-light);
    border: 1.5px solid var(--border);
    font-weight: 600;
    font-size: 14px;
}
.pagination .page-item.active .page-link {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
}
.pagination .page-link:hover { background: var(--light); border-color: var(--primary-light); color: var(--primary-light); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    .hero-slider, .hero-slide { height: 420px; }
    .hero-title { font-size: 1.8rem; }
    .hero-content { padding: 0 20px; }
    .stats-bar .stat-divider { display: none; }
    .section-title { font-size: 1.5rem; }
    .navbar-main .nav-link { padding: 12px 14px !important; }
    .about-badge { bottom: 10px; right: 10px; }
    .navbar-search { display: none !important; }
}
@media (max-width: 767px) {
    .hero-slider, .hero-slide { height: 320px; }
    .hero-title { font-size: 1.4rem; }
    .hero-subtitle { font-size: .9rem; }
    .hero-buttons .btn { font-size: 13px; padding: 9px 18px; }
    .page-header { padding: 32px 0 28px; }
    .page-header-title { font-size: 1.5rem; }
    .contact-cta h2 { font-size: 1.5rem; }
    .footer-top { padding: 40px 0 28px; }
    .floating-contacts { bottom: 70px; right: 14px; }
    .float-btn { width: 44px; height: 44px; font-size: 18px; }
}

/* ── Utilities / Animations ─────────────────────────────────── */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56,142,60,.4); }
    50%       { box-shadow: 0 0 0 10px rgba(56,142,60,0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.section-bg { background: var(--light); }
.rounded-pharma { border-radius: var(--radius); }
.text-green { color: var(--primary-light) !important; }
.bg-green  { background-color: var(--primary-light) !important; }

/* ── WhatsApp/Zalo hover ring ───────────────────────────────── */
@keyframes ring {
    0%   { transform: rotate(0deg); }
    10%  { transform: rotate(-15deg); }
    20%  { transform: rotate(15deg); }
    30%  { transform: rotate(-10deg); }
    40%  { transform: rotate(10deg); }
    50%, 100% { transform: rotate(0deg); }
}
.float-btn.phone { animation: pulse 2s infinite, ring 4s 2s infinite; }
