/**
 * Robi Rani Pharmacy (RRP System) - Modern External Stylesheet
 * 100% Clean CSS for Fast Core Web Vitals & Maximum SEO Crawl Efficiency
 */

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #eef2ff;
    --accent: #10b981;
    --accent-light: #ecfdf5;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-3d: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1120;
        --card-bg: #1e293b;
        --text-main: #f8fafc;
        --text-muted: #94a3b8;
        --border: #334155;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind Siliguri', 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ── Common Layout Utilities ── */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.text-center {
    text-align: center;
}

.flex-1 {
    flex: 1;
}

.flex-between-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mt-2 {
    margin-top: 2rem;
}

.w-full-btn {
    width: 100%;
    justify-content: center;
}

.empty-state-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 18px;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ── Top Announcement Ticker ── */
.top-ticker {
    background: linear-gradient(90deg, #312e81, #4f46e5, #059669);
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.ticker-pill {
    background: #ef4444;
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.ticker-hotline {
    font-weight: 700;
    font-size: 0.85rem;
}

.ticker-hotline-link {
    color: #ffffff;
    text-decoration: underline;
}

/* ── Sticky Navbar ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

@media (prefers-color-scheme: dark) {
    .navbar {
        background: rgba(15, 23, 42, 0.94);
    }
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 14px -3px rgba(79, 70, 229, 0.4);
    flex-shrink: 0;
    background: #fff;
}

.brand-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-main);
    transition: color 0.2s;
    position: relative;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-light);
    color: #059669;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: var(--transition);
}

.btn-call:hover {
    background: #10b981;
    color: #fff;
    transform: translateY(-2px);
}

.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 14px -3px rgba(79, 70, 229, 0.4);
    transition: var(--transition);
}

.btn-admin:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Language Switcher Pill (Bangla / English for SEO) */
.lang-switcher-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(241, 245, 249, 0.95);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 4px;
    gap: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

@media (prefers-color-scheme: dark) {
    .lang-switcher-pill {
        background: rgba(30, 41, 59, 0.85);
    }
}

.lang-opt {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}

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

.lang-opt.active {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.lang-divider {
    color: #cbd5e1;
    font-size: 0.72rem;
}

.lang-text-mobile {
    display: none;
}

.lang-text-desktop {
    display: inline;
}

.action-btn-text {
    display: inline;
}

.ticker-lang-hide-mobile {
    display: inline-flex;
}

/* ── 3D Hero Section ── */
.hero-section {
    position: relative;
    padding: 1.15rem 0 1.5rem;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 45%),
                radial-gradient(circle at 90% 70%, rgba(16, 185, 129, 0.07) 0%, transparent 45%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 1.75rem;
    align-items: stretch;
}

.hero-chip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.22);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.chip-tag {
    background: #10b981;
    color: #fff;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.hero-title span {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 1.15rem;
    max-width: 540px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.btn-3d-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #4338ca 100%);
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.45), 0 3px 0 #312e81;
    transition: var(--transition);
}

.btn-3d-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 25px -5px rgba(79, 70, 229, 0.55), 0 4px 0 #312e81;
}

.btn-3d-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-main);
    background: var(--card-bg);
    border-radius: 14px;
    border: 1.5px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.btn-3d-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-quick-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    margin-left: 4px;
}

/* Hero Micro-Metrics Dashboard Ribbon */
.hero-metrics-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
    .hero-metrics-bar {
        background: rgba(30, 41, 59, 0.7);
    }
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.metric-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.metric-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.metric-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.2;
}

/* Hero Fast Pharmacy Express Highlights Ribbon */
.hero-express-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 0.85rem;
}

.express-pill-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 2px 8px -1px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.express-pill-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 6px 16px -2px rgba(79, 70, 229, 0.12);
}

@media (prefers-color-scheme: dark) {
    .express-pill-card {
        background: rgba(30, 41, 59, 0.75);
    }
}

.express-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--primary-light);
}

.express-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.express-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.express-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 1px;
}

/* Fast Track WhatsApp Prescription Upload Card (Fills Hero Gap Perfectly) */
.hero-rx-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.07) 0%, rgba(16, 185, 129, 0.07) 100%);
    border: 1.5px dashed rgba(79, 70, 229, 0.3);
    border-radius: 14px;
    padding: 10px 14px;
    margin-top: 0.85rem;
    transition: var(--transition);
}

.hero-rx-card:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(16, 185, 129, 0.12) 100%);
}

.rx-card-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.rx-card-content {
    flex: 1;
    min-width: 0;
}

.rx-card-content strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

.rx-card-content p {
    font-size: 0.73rem;
    color: var(--text-muted);
    margin: 2px 0 0 0;
    line-height: 1.25;
}

.rx-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #059669;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 10px;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 4px 12px -2px rgba(5, 150, 105, 0.35);
    transition: var(--transition);
}

.rx-card-btn:hover {
    background: #047857;
    transform: translateY(-2px);
}

/* 3D Showcase Card in Hero */
.hero-3d-card {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    padding: 1.15rem;
    box-shadow: 
        0 25px 50px -12px rgba(79, 70, 229, 0.2),
        0 10px 24px -6px rgba(16, 185, 129, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    transform-style: preserve-3d;
    animation: floatHeroCard 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

@media (prefers-color-scheme: dark) {
    .hero-3d-card {
        background: #1e293b;
    }
}

@keyframes floatHeroCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.card-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.card-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #a7f3d0;
}

.card-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #c7d2fe;
}

.hero-image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fdfbf7;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 0.75rem;
    height: 275px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.floating-delivery-chip {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #065f46;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-bottom-info {
    text-align: left;
    padding: 0 4px;
}

.card-store-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
}

.card-store-sub {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.card-tag {
    font-size: 0.74rem;
    background: #f1f5f9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    .card-tag {
        background: #334155;
        color: #cbd5e1;
    }
}

/* ── Seamless Ad Banner System (Zero Awkward Gaps) ── */
.ad-banner-frame {
    margin: 1.25rem auto;
    text-align: center;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ad-frame-header_ad {
    max-width: 970px;
    margin: 0.45rem auto 0.65rem auto;
}

.ad-frame-in_article_ad {
    max-width: 750px;
    margin: 1.75rem auto;
}

.ad-frame-sidebar_ad {
    max-width: 320px;
    margin: 1.5rem auto;
}

.ad-frame-footer_ad {
    max-width: 970px;
    margin: 1.75rem auto 1rem auto;
}

.ad-micro-chip {
    display: none !important;
}

.ad-banner-anchor {
    display: block;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    text-decoration: none;
    line-height: 0;
    border: 1px solid rgba(0,0,0,0.04);
}

.ad-banner-anchor:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.ad-banner-media {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    object-fit: cover;
}

.ad-script-frame {
    margin: 1.25rem auto;
    text-align: center;
    max-width: 100%;
    padding: 0.85rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
}

.ad-code-inner {
    overflow-x: auto;
    text-align: center;
}

.ad-in-article {
    margin: 2rem 0;
    padding: 1.25rem;
    background: #f1f5f9;
    border-radius: 12px;
    text-align: center;
}

/* ── Services Grid ── */
.services-section {
    padding: 2.25rem 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 1.5rem;
}

.section-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.service-card-3d {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.4rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-3d);
    transition: var(--transition);
}

.service-card-3d:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.18);
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 6px 14px -3px rgba(79, 70, 229, 0.18);
}

.service-title {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Notice / Announcement Section ── */
.notice-section {
    padding: 2.25rem 0;
    background: rgba(79, 70, 229, 0.03);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.notice-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-3d);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.notice-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 16px 35px -8px rgba(79, 70, 229, 0.12);
}

.notice-badge {
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 8px;
}

.badge-danger {
    background: #fee2e2;
    color: #dc2626;
}

.badge-success {
    background: #d1fae5;
    color: #059669;
}

.badge-primary {
    background: #e0e7ff;
    color: #4338ca;
}

.badge-warning {
    background: #fef3c7;
    color: #d97706;
}

.badge-purple {
    background: #f3e8ff;
    color: #7e22ce;
}

.badge-info {
    background: #e0f2fe;
    color: #0284c7;
}

.notice-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.notice-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.notice-desc p {
    margin-bottom: 0.5rem;
}

.notice-desc p:last-child {
    margin-bottom: 0;
}

.notice-desc ul, .notice-desc ol {
    margin: 0.5rem 0 0.5rem 1.25rem;
}

.notice-desc li {
    margin-bottom: 0.25rem;
}

.notice-desc a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.notice-desc blockquote {
    border-left: 3px solid #cbd5e1;
    margin: 0.5rem 0;
    padding-left: 0.75rem;
    color: #475569;
    font-style: italic;
}

.notice-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 8px;
}

.notice-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    transition: var(--transition);
}

.btn-download:hover {
    background: var(--primary);
    color: #fff;
}

/* ── Notice Full List View ── */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.notice-row-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.2s ease;
}

.notice-row-card:hover {
    border-color: #4f46e5;
    box-shadow: 0 15px 35px -8px rgba(79, 70, 229, 0.12);
    transform: translateY(-2px);
}

.btn-dl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef2ff;
    color: #4f46e5;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s;
}

.btn-dl:hover {
    background: #4f46e5;
    color: #fff;
}

/* ── Blog Section ── */
.blog-section {
    padding: 2.25rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-3d);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.blog-img-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    overflow: hidden;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.04);
}

.blog-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.blog-category {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 6px;
}

.blog-card-title, .blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    color: var(--text-main);
}

.blog-excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex: 1;
}

.blog-read-link, .blog-read-btn {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

/* ── Blog Archive Header ── */
.page-header {
    margin-bottom: 2.75rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
}

.blog-badge-archive {
    background: #eef2ff;
    color: #4f46e5;
    padding: 4px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.blog-subtitle {
    color: #64748b;
    font-size: 1.05rem;
}

/* ── Single Blog Article View ── */
.article-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.article-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #0f172a;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #64748b;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.article-body {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 2rem 0 0.85rem;
    color: #0f172a;
    line-height: 1.35;
}

.article-body h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 1.75rem 0 0.75rem;
    color: #0f172a;
}

.article-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    color: #0f172a;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1.75rem 0;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
    display: block;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    margin: 1.75rem 0;
    font-style: italic;
    color: #475569;
}

.article-body ul, .article-body ol {
    margin-left: 1.75rem;
    margin-bottom: 1.25rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body pre, .article-body code {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.9em;
    color: #0f172a;
}

.article-footer-cta {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-call-info {
    font-size: 0.95rem;
    color: #64748b;
}

.article-call-info a {
    color: #4f46e5;
    font-weight: 700;
}

.article-footer-btn {
    background: #4f46e5;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}

/* ── Back Navigation ── */
.back-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

.back-nav:hover {
    text-decoration: underline;
}

/* ── Policy & Terms Layouts ── */
.policy-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}

.policy-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.policy-badge {
    display: inline-block;
    background: #eef2ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.policy-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.policy-subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

.policy-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.75rem 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-content h2::before {
    content: "";
    width: 4px;
    height: 18px;
    background: #4f46e5;
    border-radius: 2px;
    display: inline-block;
}

.policy-content p {
    color: #334155;
    margin-bottom: 1rem;
    font-size: 0.98rem;
}

.policy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: #334155;
}

.policy-content li {
    margin-bottom: 0.5rem;
    font-size: 0.96rem;
}

.info-box {
    background: #f1f5f9;
    border-left: 4px solid #4f46e5;
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
    font-size: 0.92rem;
    color: #1e293b;
}

.warning-box {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
    font-size: 0.92rem;
    color: #991b1b;
}

.contact-box {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.policy-support-label {
    font-weight: 700;
    color: #0f172a;
}

.policy-support-contact {
    font-size: 0.9rem;
    color: #64748b;
}

.policy-support-btn {
    background: #4f46e5;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.policy-support-btn-green {
    background: #059669;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.policy-list-green {
    margin-left: 1.2rem;
    font-size: 0.92rem;
    color: #166534;
}

.policy-list-red {
    margin-left: 1.2rem;
    font-size: 0.92rem;
    color: #991b1b;
}

.rule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

@media (max-width: 680px) {
    .rule-grid {
        grid-template-columns: 1fr;
    }
}

.rule-card {
    border-radius: 14px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
}

.rule-card-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.rule-card-danger {
    background: #fef2f2;
    border-color: #fecaca;
}

.rule-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rule-card-success h3 {
    color: #166534;
}

.rule-card-danger h3 {
    color: #991b1b;
}

/* ── Smart 3D Contact Us Section ── */
.contact-section {
    padding: 2.25rem 0;
    background: radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1.75rem;
    align-items: stretch;
}

.contact-info-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 1.65rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-3d);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
}

.contact-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-title {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 1px;
}

.info-text {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.info-text a {
    color: var(--primary);
    font-weight: 700;
}

.btn-whatsapp-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25D366;
    color: #fff;
    padding: 11px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px -4px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.btn-whatsapp-chat:hover {
    transform: translateY(-2px);
    background: #20bd5a;
}

/* Contact Direct Interactive Map */
.contact-map-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.85rem;
    margin-top: 0.65rem;
    box-shadow: 0 4px 14px -3px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
    .contact-map-card {
        background: #1e293b;
        border-color: #334155;
    }
}

.contact-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.map-head-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

.map-external-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 8px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid rgba(79, 70, 229, 0.2);
    transition: var(--transition);
}

.map-external-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.contact-map-iframe-wrap {
    width: 100%;
    height: 195px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid #cbd5e1;
    background: #e2e8f0;
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* 3D Contact Form */
.contact-form-3d {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 1.65rem;
    border: 1px solid var(--border);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.1),
        0 8px 18px -4px rgba(79, 70, 229, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.contact-form-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.15rem;
}

#publicInquiryForm {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.form-group-3d {
    margin-bottom: 0.75rem;
    text-align: left;
}

.form-group-3d label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-main);
}

.form-group-message {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 1.15rem;
}

.form-group-message textarea {
    flex: 1;
    min-height: 150px;
    resize: vertical;
}

.input-3d {
    width: 100%;
    padding: 0.78rem 0.95rem;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: rgba(248, 250, 252, 0.7);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

.input-3d:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.alert-toast {
    display: none;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    align-items: center;
    gap: 10px;
}

.alert-toast-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-toast-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ── Footer ── */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.05fr 1.15fr;
    gap: 2rem;
    margin-bottom: 2.25rem;
}

.footer-brand-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.85rem;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.footer-brand-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    color: #94a3b8;
}

.footer-license {
    font-size: 0.82rem;
    color: #64748b;
}

.footer-title {
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.footer-links {
    list-style: none;
    line-height: 2;
    font-size: 0.9rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact-info {
    line-height: 1.75;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-strong-white {
    color: #ffffff;
}

.footer-strong-whatsapp {
    color: #25D366;
}

.footer-email {
    color: #cbd5e1;
}

.footer-address {
    margin-top: 0.4rem;
    font-size: 0.85rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
}

.footer-legal-links a {
    color: #94a3b8;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

.footer-legal-links .sep {
    color: #475569;
}

.footer-portal-link {
    color: #818cf8;
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM MODERN MOBILE RESPONSIVE SUITE
   Flawless UX across 320px, 360px, 390px, 414px, 768px, 1024px+
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    .hero-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
    .hero-title {
        font-size: 2.15rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .notice-row-card {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* 1. Sleek Mobile Top Ticker */
    .top-ticker {
        padding: 6px 12px;
        font-size: 0.78rem;
        min-height: 36px;
        height: auto;
    }
    .top-ticker .flex-between-center {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .ticker-content {
        display: flex;
        align-items: center;
        gap: 6px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0;
    }
    .ticker-pill {
        font-size: 0.68rem;
        padding: 2px 7px;
        flex-shrink: 0;
    }
    .ticker-text {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 0.76rem;
    }
    .ticker-lang-hide-mobile {
        display: none !important;
    }
    .ticker-hotline {
        font-size: 0.78rem;
        flex-shrink: 0;
    }
    .ticker-hotline-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #ffffff;
        font-weight: 700;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.18);
        padding: 3px 8px;
        border-radius: 999px;
    }

    /* 2. Sleek Sticky Navbar */
    .nav-wrapper {
        height: auto;
        min-height: 58px;
        padding: 8px 0;
    }
    .nav-brand {
        gap: 10px;
        min-width: 0;
    }
    .brand-logo-box {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }
    .brand-text-wrap {
        min-width: 0;
    }
    .brand-name {
        font-size: 1.05rem;
        line-height: 1.15;
        white-space: nowrap;
    }
    .brand-sub {
        font-size: 0.68rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 170px;
    }
    .nav-actions {
        gap: 6px;
        flex-shrink: 0;
    }
    .lang-switcher-pill {
        padding: 2px 4px;
        font-size: 0.78rem;
    }
    .lang-opt {
        padding: 2px 7px;
        font-size: 0.74rem;
    }

    /* 3. Header Ad Banner */
    .ad-frame-header_ad {
        margin: 8px auto 14px auto;
        border-radius: 12px;
        overflow: hidden;
        max-height: 85px;
    }
    .ad-frame-header_ad .ad-banner-media {
        max-height: 85px;
        object-fit: cover;
    }

    /* 4. Modern Hero Section */
    .hero-section {
        padding: 1.15rem 0 1.75rem 0;
    }
    .hero-chip-badge {
        font-size: 0.74rem;
        padding: 4px 10px;
        line-height: 1.35;
        margin-bottom: 0.65rem;
        display: inline-flex;
        flex-wrap: wrap;
    }
    .hero-title {
        font-size: 1.72rem;
        line-height: 1.25;
        letter-spacing: -0.3px;
        margin-bottom: 0.65rem;
    }
    .hero-desc {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 1rem;
    }
    .btn-3d-primary, .btn-3d-outline {
        width: 100%;
        justify-content: center;
        padding: 13px 18px;
        font-size: 0.98rem;
        border-radius: 12px;
    }
    .hero-quick-call {
        width: 100%;
        justify-content: center;
        padding: 10px;
        background: rgba(79, 70, 229, 0.06);
        border: 1px dashed rgba(79, 70, 229, 0.25);
        border-radius: 12px;
        margin-left: 0;
        font-size: 0.92rem;
    }

    /* Hero Micro-Metrics */
    .hero-metrics-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 8px 6px;
        border-radius: 14px;
        margin-bottom: 0.85rem;
    }
    .metric-item {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    .metric-icon-box {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        margin: 0 auto;
        border-radius: 8px;
    }
    .metric-val {
        font-size: 0.96rem;
    }
    .metric-lbl {
        font-size: 0.68rem;
        line-height: 1.15;
    }

    /* Hero Express Highlights */
    .hero-express-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .express-pill-card {
        padding: 10px 12px;
        border-radius: 12px;
    }

    /* Hero Rx WhatsApp Card */
    .hero-rx-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 14px;
        margin-top: 10px;
    }
    .rx-card-btn {
        width: 100%;
        justify-content: center;
    }

    /* 3D Showcase Card on Mobile */
    .hero-3d-card {
        margin-top: 1.25rem;
    }
    .hero-image-frame {
        height: 220px;
    }

    /* Services Grid */
    .services-section {
        padding: 2.5rem 0 !important;
    }
    .section-header {
        margin-bottom: 1.5rem;
    }
    .section-title {
        font-size: 1.45rem;
        line-height: 1.3;
    }
    .section-desc {
        font-size: 0.88rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .service-card-3d {
        padding: 1.25rem;
    }

    /* Notice Board */
    .notice-section {
        padding: 2.5rem 0 !important;
    }
    .notice-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .notice-card {
        padding: 1.25rem;
    }

    /* Blog Section */
    .blog-section {
        padding: 2.5rem 0 !important;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .blog-img-box {
        height: 190px;
    }

    /* Contact Section */
    .contact-section {
        padding: 2.5rem 0 !important;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .contact-info-card, .contact-form-3d {
        padding: 1.25rem;
    }
    .contact-map-iframe-wrap {
        height: 200px;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0 1.25rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
    }
}

/* ── Mobile Devices (< 520px) ── */
@media (max-width: 520px) {
    .nav-wrapper {
        min-height: 56px;
    }
    .brand-name {
        font-size: 0.96rem;
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .brand-sub {
        display: none !important;
    }
    .lang-text-desktop {
        display: none !important;
    }
    .lang-text-mobile {
        display: inline !important;
    }
    .action-btn-text {
        display: none !important;
    }
    .btn-call, .btn-admin {
        width: 36px;
        height: 36px;
        padding: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        flex-shrink: 0;
    }
    .btn-call svg, .btn-admin svg {
        width: 17px;
        height: 17px;
        margin: 0;
    }
}

/* ── Extra Small Phones (< 360px) ── */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.55rem;
    }
    .brand-name {
        font-size: 0.88rem;
        max-width: 110px;
    }
    .metric-val {
        font-size: 0.88rem;
    }
    .ticker-content {
        max-width: 170px;
    }
}
