:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: rgba(37, 99, 235, 0.12);
    --secondary: #06b6d4;
    --secondary-hover: #0891b2;

    --dark: #020617;
    --dark-2: #0f172a;
    --dark-3: #1e293b;

    --soft: #f8fafc;
    --bg: #f3f7fc;
    --bg-2: #eef4fb;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --white: #ffffff;

    --success-bg: #dcfce7;
    --success-text: #166534;
    --warning-bg: #fef3c7;
    --warning-text: #92400e;
    --info-bg: #e0f2fe;
    --info-text: #075985;

    --shadow-xs: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 28px 72px rgba(15, 23, 42, 0.16);
    --shadow-glow: 0 20px 60px rgba(37, 99, 235, 0.18);

    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;

    --transition: all 0.28s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}
/* Contact Icon */
.contact-float .contact-icon img {
  width: 40px;
  height: 40px;
  max-width: 100%;
}
.action-col{
white-space:nowrap;
}

.btn-action{
display:inline-block;
padding:6px 12px;
font-size:13px;
border-radius:6px;
text-decoration:none;
border:1px solid transparent;
margin-right:5px;
}

.btn-edit{
background:#f59e0b;
color:white;
}

.btn-delete{
background:#ef4444;
color:white;
}

.btn-status{
background:white;
border:1px solid #3b82f6;
color:#3b82f6;
cursor:pointer;
}

.btn-edit:hover{
background:#d97706;
}

.btn-delete:hover{
background:#dc2626;
}

.btn-status:hover{
background:#3b82f6;
color:white;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.05), transparent 22%),
        radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.05), transparent 20%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fc 55%, #eef4fb 100%);
    color: var(--text);
    font-family: "Prompt", "Segoe UI", Tahoma, sans-serif;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

main {
    flex: 1 0 auto;
}

.footer-section {
    position: relative;
    z-index: 5;
    margin-top: auto;
}

/* =========================
   Typography
========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(2.3rem, 4vw, 4rem);
}

h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.section-title {
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 2.5vw, 2.9rem);
    color: var(--dark);
    letter-spacing: -0.035em;
}

.small-muted {
    color: var(--muted);
    font-size: 0.5rem;
}

/* =========================
   Links / Buttons
========================= */
a {
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: none;
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.82rem 1.4rem;
    transition: var(--transition);
    border: 0;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: #fff;
    border: 0;
    box-shadow:
        0 14px 28px rgba(37, 99, 235, 0.22),
        0 8px 16px rgba(6, 182, 212, 0.10);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow:
        0 18px 34px rgba(37, 99, 235, 0.28),
        0 10px 20px rgba(6, 182, 212, 0.14);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255, 255, 255, 0.14);
}

.btn-outline-primary {
    border: 1px solid rgba(37, 99, 235, 0.26);
    color: var(--primary);
    background: #fff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.06);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.22);
}

.company-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
}

.company-item img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.company-item span {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.company-item:hover {
    background: #f1f5f9;
}
/* =========================
   Navbar
========================= */
.navbar {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.navbar-brand {
    font-size: 2.0rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.navbar-brand img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.08));
}

.navbar .navbar-toggler {
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: none;
    padding: 0.45rem 0.7rem;
    border-radius: 12px;
}

.navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.navbar .nav-link {
    color: #334155 !important;
    font-weight: 500;
    padding: 0.72rem 0.95rem !important;
    position: relative;
    border-radius: 999px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.08);
}

.navbar .nav-link.active {
    font-weight: 600;
}

.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #22d3ee);
}

.navbar .btn {
    padding: 0.62rem 1rem;
    font-size: 0.93rem;
}

/* ===============================
   HERO FIX
=============================== */
.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 14%, rgba(96, 165, 250, 0.18), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(34, 211, 238, 0.14), transparent 24%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.16), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
    color: #fff;
    padding: 40px 0 70px;
}
/* Title */
.hero-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    margin-bottom: 5px;
}

/* Subtitle (ห้ามตกบรรทัด) */
.hero-subtitle {
    font-size: clamp(20px, 3vw, 38px);
    font-weight: 700;
    white-space: normal;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* description spacing */
.hero-section .lead {
    margin-top: 20px;
}
html, body {
    overflow-x: hidden;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 88%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 88%);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -120px;
    top: -160px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 68%);
    filter: blur(18px);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section .display-4,
.hero-section .display-5 {
    color: #fff;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-section p,
.hero-section .lead {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.hero-section .lead {
    max-width: 700px;
}

.hero-section .text-info {
    color: #38bdf8 !important;
}

.hero-section .badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    border-radius: 999px;
    padding: 0.58rem 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}

.hero-checklist {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.hero-checklist li {
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    padding-left: 1.7rem;
}

.hero-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #7dd3fc;
    font-weight: 700;
}

.hero-logo {
    max-width: 430px;
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.22));
}
.dropdown-item img {
    border-radius: 6px;
}
.dropdown-menu {
    border-radius: 12px;
    padding: 8px;
}
.dropdown-item:hover {
    background-color: #f1f5f9;
}
/* =========================
   Cards
========================= */
.icon-card,
.info-card,
.portal-card,
.report-card,
.login-card,
.admin-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 100%);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.icon-card::before,
.info-card::before,
.portal-card::before,
.report-card::before,
.login-card::before,
.admin-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 30%);
    pointer-events: none;
}

.icon-card:hover,
.info-card:hover,
.portal-card:hover,
.report-card:hover,
.login-card:hover,
.admin-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.icon-card .card-body,
.info-card .card-body,
.portal-card .card-body,
.report-card .card-body,
.login-card .card-body,
.admin-card .card-body {
    padding: 1.6rem;
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(6, 182, 212, 0.18));
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 22px rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.icon-box i {
    font-size: 1.38rem;
}

.icon-card h5,
.info-card h5,
.portal-card h5,
.report-card h5,
.admin-card h5 {
    margin-bottom: 0.62rem;
    font-size: 1.08rem;
    color: var(--dark);
}

.icon-card p,
.info-card p,
.portal-card p,
.report-card p,
.admin-card p {
    color: var(--muted);
    margin-bottom: 0;
}

/* =========================
   Stats Box
========================= */
.stats-box {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1.18rem 1rem;
    color: #fff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.stats-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.stats-box .fw-bold,
.stats-box h3,
.stats-box h4,
.stats-box h5,
.stats-box small {
    color: #fff;
}

/* =========================
   Page Banner
========================= */
.page-banner {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.20), transparent 26%),
        radial-gradient(circle at right center, rgba(34, 211, 238, 0.10), transparent 22%),
        linear-gradient(135deg, #edf4ff 0%, #f8fbff 55%, #eef6ff 100%);
    padding: 40px 0 70px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.page-banner::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -90px;
    top: -95px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 65%);
    pointer-events: none;
}

.page-banner h1,
.page-banner h2 {
    margin-bottom: 0.6rem;
}

/* =========================
   Portal / Report / Login
========================= */
.portal-card,
.report-card,
.login-card,
.admin-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.portal-card .card-header,
.report-card .card-header,
.admin-card .card-header {
    background: linear-gradient(135deg, #f8fbff 0%, #edf4ff 100%);
    border-bottom: 1px solid #e6eefc;
    font-weight: 700;
    color: var(--dark);
    padding: 1rem 1.25rem;
}

.login-wrapper {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    padding: 44px 0;
}

.login-card {
    max-width: 480px;
    margin: 0 auto;
}

.portal-card {
    background: linear-gradient(145deg, #ffffff, #f4f7fb);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    transition: all 0.3s ease;
}

.portal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}

.portal-title {
    font-size: 1.8rem;
    color: #0f172a;
}

.portal-text {
    color: #64748b;
    line-height: 1.7;
}

.portal-list {
    color: #64748b;
    padding-left: 20px;
}

.portal-list li {
    margin-bottom: 8px;
}

.portal-btn {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
    transition: 0.25s;
}

.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
    color: #fff;
}

.login-card input,
.login-card .form-control,
.admin-card input,
.admin-card select,
.admin-card textarea,
.report-card input,
.report-card select,
.report-card textarea {
    border-radius: 14px;
    border: 1px solid #dbe3f0;
    padding: 0.84rem 0.98rem;
    box-shadow: none;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.98);
}

.login-card input::placeholder,
.login-card .form-control::placeholder,
.admin-card input::placeholder,
.admin-card textarea::placeholder,
.report-card input::placeholder,
.report-card textarea::placeholder {
    color: #94a3b8;
}

.login-card input:focus,
.login-card .form-control:focus,
.admin-card input:focus,
.admin-card select:focus,
.admin-card textarea:focus,
.report-card input:focus,
.report-card select:focus,
.report-card textarea:focus {
    border-color: rgba(37, 99, 235, 0.34);
    box-shadow:
        0 0 0 0.24rem rgba(37, 99, 235, 0.11),
        0 10px 22px rgba(37, 99, 235, 0.05);
    background: #fff;
}

/* =========================
   Tables
========================= */
.table {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 0;
}

.table thead th {
    white-space: nowrap;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
    color: #334155;
    font-weight: 600;
    border-bottom: 1px solid #e8eef7;
}

.table > :not(caption) > * > * {
    padding: 0.98rem 1rem;
    vertical-align: middle;
    border-color: #edf2f7;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: #f8fbff;
}

/* =========================
   Status Badge
========================= */
.badge-status {
    font-size: 0.78rem;
    padding: 0.5rem 0.74rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.bg-status-open {
    background: var(--info-bg);
    color: var(--info-text);
}

.bg-status-progress {
    background: var(--warning-bg);
    color: var(--warning-text);
}

.bg-status-closed {
    background: var(--success-bg);
    color: var(--success-text);
}

/* =========================
   Footer
========================= */
.footer-section {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 24%),
        linear-gradient(135deg, #0b1220 0%, #111827 45%, #0f172a 100%);
    color: #cbd5e1;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent 85%);
    pointer-events: none;
}

.footer-section > .container,
.footer-section > .container-fluid {
    position: relative;
    z-index: 1;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-text {
    color: #94a3b8;
    line-height: 1.78;
    margin-bottom: 15px;
}

.footer-contact {
    margin-bottom: 8px;
    color: #cbd5e1;
}

.footer-heading {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
}
.footer-headingline {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-qr {
    width: 120px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 10px;
    margin-right: 8px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.18);
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.line-btn {
    background: linear-gradient(135deg, #06c755, #03a84a);
}

.fb-btn {
    background: linear-gradient(135deg, #1877f2, #125dcc);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 30px 0 15px;
}

.footer-copy {
    color: #94a3b8;
    font-size: 14px;
}

/* =========================
   Utilities
========================= */
.rounded-4 {
    border-radius: var(--radius-md) !important;
}

.rounded-5 {
    border-radius: var(--radius-lg) !important;
}

.shadow-soft {
    box-shadow: var(--shadow-md) !important;
}

.bg-soft {
    background: var(--soft) !important;
}

.text-muted {
    color: var(--muted) !important;
}
/* ==========================
   PROMOTIONS PAGE
========================== */

.promo-hero {
    padding: 40px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 35%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.promo-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    width: 100%;
    max-width: 100%;
    align-items: center;
}

.promo-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.promo-hero-content h1 {
    font-size: 46px;
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
}

.promo-hero-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 28px;
    max-width: 700px;
}

.promo-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.promo-mini-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.promo-mini-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.promo-mini-item strong {
    display: block;
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 6px;
}

.promo-mini-item span {
    display: block;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.promo-hero-card {
    display: flex;
    justify-content: center;
}

.promo-highlight-card {
    width: 100%;
    max-width: 430px;
    background: linear-gradient(180deg, #0f172a 0%, #162338 100%);
    color: #fff;
    border-radius: 28px;
    padding: 34px 30px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-highlight-top {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
}

.promo-highlight-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.promo-price {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 16px;
}

.promo-price-main {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.promo-price-sub {
    font-size: 15px;
    opacity: 0.8;
}

.promo-highlight-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 18px;
}

.promo-highlight-card ul {
    padding-left: 18px;
    margin-bottom: 24px;
}

.promo-highlight-card ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.88);
}

.promo-section {
    padding: 90px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.section-kicker.light {
    color: rgba(255, 255, 255, 0.75);
}

.section-heading h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}

.section-heading p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
}

.promo-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.promo-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px 26px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.10);
    border-color: rgba(37, 99, 235, 0.25);
}

.promo-card.featured {
    border: 2px solid #2563eb;
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.12);
}

.promo-card.combo {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.promo-card-label {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 999px;
}

.promo-card-icon {
    font-size: 34px;
    margin-bottom: 16px;
}

.promo-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.promo-card-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 18px;
}

.promo-card-price {
    font-size: 28px;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 18px;
}

.promo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.promo-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #334155;
    line-height: 1.7;
}

.promo-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #2563eb;
}

.promo-soft-bg {
    background: #f8fbff;
}

.promo-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.promo-feature-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.promo-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.10);
    font-size: 28px;
}

.promo-feature-box h4 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.promo-feature-box p {
    font-size: 15px;
    line-height: 1.8;
    color: #64748b;
    margin: 0;
}

.promo-cta-section {
    padding: 0 0 90px;
    background: #f8fbff;
}

.promo-cta-box {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border-radius: 30px;
    padding: 42px 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.20);
}

.promo-cta-content h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}

.promo-cta-content p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
}
.promo-highlight-card h3 {
    color: #ffffff !important;
}
.promo-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-light {
    background: #fff;
    color: #2563eb;
    border: 1px solid #fff;
}

.btn-light:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.w-100 {
    width: 100%;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1199px) {
    .promo-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-mini-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .promo-hero {
        padding: 30px 0 60px;
    }

    .promo-hero-grid {
        grid-template-columns: 1fr;
    }

    .promo-hero-content h1 {
        font-size: 38px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .promo-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .promo-card-grid,
    .promo-feature-grid {
        grid-template-columns: 1fr;
    }

    .promo-hero-content h1 {
        font-size: 32px;
    }

    .promo-cta-content h2 {
        font-size: 28px;
    }

    .promo-section {
        padding: 70px 0;
    }

    .promo-highlight-card,
    .promo-card,
    .promo-feature-box,
    .promo-cta-box {
        border-radius: 22px;
    }
}
/* =========================
   Responsive
========================= */
@media (max-width: 991.98px) {
    .navbar .nav-link.active::after,
    .navbar .nav-link:hover::after {
        display: none;
    }

    .navbar .nav-link {
        border-radius: 12px;
        padding-left: 0.9rem !important;
        padding-right: 0.9rem !important;
    }

    .navbar .navbar-collapse {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        margin-top: 0.9rem;
        padding: 0.9rem;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    }

    .hero-section {
        padding: 30px 0 60px;
        text-align: center;
    }

    .hero-section .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .hero-checklist {
        text-align: left;
        margin-top: 1.25rem;
    }

    .stats-box {
        margin-bottom: 1rem;
    }

    .page-banner {
        padding: 30px 0 60px;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero-section h1,
    .hero-section .display-4,
    .hero-section .display-5 {
        font-size: 2.18rem;
    }

    .navbar-brand {
        font-size: 1.04rem;
    }

    .navbar-brand img {
        height: 50px;
    }

    .icon-card .card-body,
    .info-card .card-body,
    .portal-card .card-body,
    .report-card .card-body,
    .login-card .card-body,
    .admin-card .card-body {
        padding: 1.25rem;
    }

    .footer-section {
        padding-top: 30px;
    }
    /* 🔥 หัวข้อ */
    .footer-section .col-lg-3 .footer-headingline {
        text-align: center;
    }

    /* QR อยู่กลาง */
    .footer-qr {
        display: block;
        margin: 0 auto 10px;
    }

    /* icon อยู่กลาง */
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 10px;
    }


    .table > :not(caption) > * > * {
        padding: 0.85rem 0.82rem;
    }
}
@media (max-width: 576px) {

    .hero-subtitle {
        white-space: normal;
    }

}

