@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Prompt:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Ultra-Luxury Emerald & Royal Imperial Gold Palette (เขียว-ขาว-เหลืองทอง พรีเมียม) */
    --u-green-deep: #052312;       /* Ultra Deep Forest Emerald */
    --u-green-royal: #0b3d1f;      /* Royal Emerald Base */
    --u-green-accent: #15803d;     /* Luminous Green Glow */
    --u-green-light: #22c55e;      /* Neon Mint Sparkle */
    --u-green-subtle: #f0fdf4;    /* Ultra Soft Emerald Tint */
    
    --u-gold-light: #fffbeb;       /* Pearl Starlight */
    --u-gold-shine: #fef08a;       /* Bright Radiant Gold */
    --u-gold-base: #f59e0b;        /* Pure Amber Gold */
    --u-gold-rich: #d4af37;        /* Imperial Luxury Gold */
    --u-gold-dark: #b45309;        /* Deep Bronze Gold */
    --u-gold-grad: linear-gradient(135deg, #fff5a5 0%, #f59e0b 35%, #d4af37 70%, #9a3412 100%);
    --u-gold-grad-soft: linear-gradient(135deg, rgba(254, 240, 138, 0.25) 0%, rgba(212, 175, 55, 0.12) 100%);
    --u-gold-glow: 0 10px 25px rgba(212, 175, 55, 0.4);
    
    --u-bg: #f7faf8;
    --u-card-bg: #ffffff;
    --u-text-dark: #0f172a;
    --u-text-muted: #64748b;
    
    --u-shadow-card: 0 10px 30px -5px rgba(11, 61, 31, 0.07), 0 0 0 1px rgba(11, 61, 31, 0.05);
    --u-shadow-hover: 0 24px 50px -10px rgba(11, 61, 31, 0.18), 0 0 0 1.5px rgba(212, 175, 55, 0.5);
    --u-shadow-gold: 0 12px 30px rgba(212, 175, 55, 0.38);
}

body {
    font-family: 'Prompt', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--u-bg);
    color: var(--u-text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Theme Color Overrides for Bootstrap Primary (แก้ปัญหาสีฟ้าไม่เข้าพวก) */
.btn-primary {
    background-color: var(--u-green-royal) !important;
    border-color: var(--u-green-royal) !important;
    color: #ffffff !important;
    font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--u-green-deep) !important;
    border-color: var(--u-green-deep) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(11, 61, 31, 0.35) !important;
}
.btn-outline-primary {
    color: var(--u-green-royal) !important;
    border-color: var(--u-green-royal) !important;
    font-weight: 600;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--u-green-royal) !important;
    border-color: var(--u-green-royal) !important;
    color: #ffffff !important;
}
.text-primary {
    color: var(--u-green-royal) !important;
}
.bg-primary {
    background-color: var(--u-green-royal) !important;
}
.border-primary {
    border-color: var(--u-green-royal) !important;
}

/* 1. Neon Glow Scroll Progress */
#scrollProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #fef08a, #d4af37, #22c55e, #15803d);
    width: 0%;
    z-index: 999999;
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.9);
}

/* 2. Top Luxury Announcement Strip */
.top-bar {
    background: linear-gradient(90deg, #03170b 0%, #082f16 50%, #03170b 100%);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    font-weight: 400;
}
.top-bar a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: all 0.25s ease;
}
.top-bar a:hover {
    color: #fef08a;
    text-shadow: 0 0 10px rgba(254, 240, 138, 0.7);
}

/* 3. Live Broadcast Marquee Bar */
.news-ticker {
    background: #041f0e;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 9px 0;
    box-shadow: inset 0 -1px 3px rgba(0, 0, 0, 0.25);
}
.news-ticker marquee {
    color: #ffffff !important;
    font-weight: 500;
}
.news-ticker-badge {
    background: var(--u-gold-grad);
    color: #052312;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 11.5px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45);
    display: inline-flex;
    align-items: center;
}

/* 4. Imperial Royal Header (หัวเว็บสีเขียวมรกตพรีเมียม ขลิบทอง) */
.site-header {
    background: 
        radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 10% 80%, rgba(34, 197, 94, 0.15) 0%, transparent 45%),
        linear-gradient(135deg, #031c0d 0%, #093c1d 48%, #052413 100%);
    padding: 26px 0 22px;
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}
.site-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--u-gold-grad);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}
.brand-title {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #fff4a3 25%, #fef08a 50%, #f59e0b 80%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
.brand-subtitle {
    font-size: 13.5px;
    color: #e2e8f0;
    letter-spacing: 1.2px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Royal 3D Jewel Crest */
.emblem-icon {
    width: 78px;
    height: 78px;
    background: radial-gradient(circle at 30% 30%, #15803d, #052312);
    border: 3px solid #fef08a;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fef08a;
    font-size: 36px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.6);
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.emblem-icon:hover {
    transform: translateY(-4px) rotate(8deg) scale(1.08);
    border-color: #ffffff;
    box-shadow: 0 16px 36px rgba(212, 175, 55, 0.55), 0 0 22px rgba(254, 240, 138, 0.65);
}

/* 5. Luxury Emerald Navigation Bar (เมนูหลัก สีเขียวมรกตหรูหรา ขลิบทอง) */
.main-navbar {
    background: linear-gradient(90deg, #041d0e 0%, #093c1d 50%, #041d0e 100%) !important;
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    border-bottom: 2.5px solid #d4af37;
    padding: 0;
}
.main-navbar .nav-link {
    font-size: 15.5px;
    font-weight: 600;
    color: #ffffff !important;
    padding: 18px 20px !important;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.main-navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--u-gold-grad);
    box-shadow: 0 0 8px rgba(254, 240, 138, 0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(-50%);
    border-radius: 4px 4px 0 0;
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-item.active .nav-link::after {
    width: 85%;
}
.main-navbar .nav-link:hover {
    color: #fef08a !important;
    text-shadow: 0 0 12px rgba(254, 240, 138, 0.6);
}
.main-navbar .dropdown-toggle::after {
    border-top-color: #fef08a;
    transition: transform 0.25s ease;
}
.main-navbar .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Luxury Emerald Dropdown Menu (เมนูดรอปดาวน์) */
.main-navbar .dropdown-menu {
    background: #083319;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 1px rgba(212, 175, 55, 0.7);
    padding: 8px 0;
    margin-top: 4px;
    min-width: 240px;
    animation: dropdownFadeIn 0.25s ease;
}
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.main-navbar .dropdown-item {
    color: #f1f5f9;
    font-size: 14.5px;
    font-weight: 500;
    padding: 11px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
}
.main-navbar .dropdown-item:last-child {
    border-bottom: none;
}
.main-navbar .dropdown-item i {
    color: #fef08a !important;
    width: 22px;
    transition: transform 0.25s ease;
}
.main-navbar .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.04) 100%);
    color: #fef08a;
    padding-left: 26px;
    border-left: 3px solid #d4af37;
}
.main-navbar .dropdown-item:hover i {
    transform: scale(1.15);
}

/* Mobile Navbar Toggler & Drawer */
.main-navbar .navbar-toggler {
    border: 1.5px solid rgba(212, 175, 55, 0.6);
    padding: 8px 12px;
    border-radius: 10px;
}
.main-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}
.main-navbar .navbar-toggler-icon {
    filter: invert(1) brightness(2);
}
@media (max-width: 991.98px) {
    .main-navbar .navbar-collapse {
        background: #052413;
        padding: 16px;
        border-radius: 14px;
        margin-top: 10px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }
    .main-navbar .nav-link {
        padding: 12px 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
}

/* 5.1 Subpage Menus & Sidebar List Group (เมนูแถบข้างในหน้าต่างๆ เช่น about.php) */
.list-group-item-action {
    color: #1e293b;
    font-weight: 500;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}
.list-group-item-action:hover {
    background-color: #f0fdf4;
    color: var(--u-green-royal);
    border-left-color: var(--u-green-royal);
    padding-left: 20px;
}
.list-group-item-action.active {
    background: linear-gradient(135deg, #052413 0%, #0b3d1f 100%) !important;
    border-color: #0b3d1f !important;
    border-left: 4px solid #d4af37 !important;
    color: #fef08a !important;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(11, 61, 31, 0.25);
}
.list-group-item-action.active i {
    color: #fef08a !important;
}

/* 5.2 Filter Tabs & Pill Menus (เมนูกรองหมวดหมู่ใน board, news, documents) */
.btn-outline-success {
    color: var(--u-green-royal) !important;
    border-color: rgba(11, 61, 31, 0.35) !important;
    background: #ffffff;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-outline-success:hover,
.btn-outline-success:focus {
    background: linear-gradient(135deg, #052413 0%, #0b3d1f 100%) !important;
    border-color: #0b3d1f !important;
    color: #fef08a !important;
    box-shadow: 0 4px 14px rgba(11, 61, 31, 0.25);
    transform: translateY(-2px);
}
.btn-success {
    background: linear-gradient(135deg, #052413 0%, #0b3d1f 100%) !important;
    border-color: #d4af37 !important;
    color: #fef08a !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(11, 61, 31, 0.35);
}

/* 5.3 Breadcrumbs Menu (แถบระบุตำแหน่งหน้าเว็บ) */
.breadcrumb {
    background: #ffffff;
    padding: 11px 20px;
    border-radius: 50px;
    border: 1px solid rgba(11, 61, 31, 0.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    font-size: 13.5px;
    margin-bottom: 22px;
}
.breadcrumb-item a {
    color: var(--u-green-royal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.breadcrumb-item a:hover {
    color: var(--u-gold-base);
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: #64748b;
    font-weight: 500;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #d4af37;
    content: "›";
    font-size: 16px;
    line-height: 1;
}

/* 6. Grand Cinematic Hero Showcase (Wow Effect) */
.hero-showcase {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 65px -15px rgba(5, 35, 18, 0.45);
    border: 2px solid rgba(212, 175, 55, 0.4);
    margin-top: 15px;
    background: #052312;
}
.hero-carousel .carousel-item {
    height: 500px;
    background: #052312;
    position: relative;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(5, 35, 18, 0.98) 0%, rgba(11, 61, 31, 0.90) 45%, rgba(21, 128, 61, 0.35) 100%);
    display: flex;
    align-items: center;
}
.hero-content {
    max-width: 820px;
    position: relative;
    z-index: 2;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(254, 240, 138, 0.16);
    border: 1px solid rgba(254, 240, 138, 0.45);
    color: #fef08a;
    font-size: 13.5px;
    font-weight: 700;
    padding: 7px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.hero-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #22c55e;
    animation: pulseGlow 1.8s infinite;
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}
.hero-title-giant {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}
.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 26px;
}

/* 7. Floating Glass Counter Metrics */
.metrics-wrap {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.glass-metric-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 28px 20px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 20px 45px -10px rgba(11, 61, 31, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.8);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}
.glass-metric-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--u-gold-grad);
}
.glass-metric-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--u-shadow-hover);
    border-color: rgba(212, 175, 55, 0.6);
}
.metric-num {
    font-size: 44px;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #0c381e 0%, #15803d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}
.metric-label {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--u-text-muted);
}

/* 8. Super Luxury Quick Service Cards */
.super-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(12, 56, 30, 0.06);
    box-shadow: var(--u-shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.super-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    border: 2px solid transparent;
    transition: all 0.35s ease;
}
.super-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--u-shadow-hover);
}
.super-card:hover::after {
    border-color: rgba(212, 175, 55, 0.7);
}
.super-card-icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f0f7f2 0%, #e2efe6 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--u-green-royal);
    margin-bottom: 16px;
    transition: all 0.4s ease;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8);
}
.super-card:hover .super-card-icon {
    background: var(--u-gold-grad);
    color: #061e10;
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.45);
}
.super-card-title {
    font-weight: 700;
    font-size: 17px;
    color: #1e293b;
    margin-bottom: 4px;
}

/* 9. High-Impact Section Headers */
.section-header-grand {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid rgba(12, 56, 30, 0.08);
    padding-bottom: 14px;
    margin-bottom: 28px;
    position: relative;
}
.section-header-grand::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--u-gold-grad);
    border-radius: 4px;
}
.section-title-grand {
    font-size: 24px;
    font-weight: 800;
    color: var(--u-green-deep);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 10. Magazine Quality News Cards */
.news-mag-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(12, 56, 30, 0.05);
    box-shadow: var(--u-shadow-card);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-mag-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--u-shadow-hover);
}
.news-mag-thumb {
    height: 195px;
    background: linear-gradient(135deg, #061e10 0%, #15803d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fef08a;
    font-size: 46px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.news-mag-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(6, 30, 16, 0.6) 100%);
}
.news-mag-thumb i {
    z-index: 2;
    transition: all 0.4s ease;
}
.news-mag-card:hover .news-mag-thumb i {
    transform: scale(1.15) rotate(-5deg);
    color: #ffffff;
}
.news-mag-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-pill-tag {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    display: inline-block;
    margin-bottom: 12px;
    align-self: flex-start;
}
.news-mag-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    color: #0f172a;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.2s;
}
.news-mag-title:hover {
    color: var(--u-green-accent);
}

/* 11. VIP Gold CTA Box */
.vip-contact-box {
    background: radial-gradient(circle at 10% 10%, rgba(254, 240, 138, 0.22) 0%, transparent 50%), linear-gradient(135deg, #052312 0%, #0b3d1f 60%, #15803d 100%);
    border-radius: 24px;
    padding: 32px 24px;
    border: 2px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 20px 45px rgba(5, 35, 18, 0.38);
    position: relative;
    overflow: hidden;
}
.vip-contact-box::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

/* 11.1 Executive Frame in Sidebar */
.exec-avatar-frame {
    width: 72px;
    height: 90px;
    border-radius: 14px;
    background: #ffffff;
    border: 2.5px solid #d4af37;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.exec-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.exec-card-item:hover .exec-avatar-frame {
    transform: scale(1.06) translateY(-2px);
    border-color: #fef08a;
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.55);
}

/* 11.2 Featured Big News Card */
.news-featured-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: var(--u-shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}
.news-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--u-shadow-hover);
    border-color: rgba(212, 175, 55, 0.6);
}
.news-featured-thumb {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #052312;
}
.news-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.news-featured-card:hover .news-featured-thumb img {
    transform: scale(1.08);
}
.news-featured-ribbon {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--u-gold-grad);
    color: #052312;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 11.3 Institutional Network Cards */
.network-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 16px;
    border: 1px solid rgba(11, 61, 31, 0.08);
    box-shadow: var(--u-shadow-card);
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.network-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--u-gold-grad);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.network-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--u-shadow-hover);
    border-color: rgba(212, 175, 55, 0.4);
}
.network-card:hover::after {
    opacity: 1;
}
.network-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #15803d;
    margin-bottom: 16px;
    transition: all 0.35s ease;
}
.network-card:hover .network-icon-box {
    background: var(--u-gold-grad);
    border-color: #fef08a;
    color: #052312;
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* 12. Buttons */
.btn-gold {
    background: var(--u-gold-grad) !important;
    border: none !important;
    color: #052312 !important;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: 12px;
    box-shadow: var(--u-shadow-gold);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(212, 175, 55, 0.55);
    color: #000000 !important;
}

/* 13. Imperial Grand Footer */
footer.main-footer {
    background: #041b0e;
    color: #94a3b8;
    padding: 70px 0 35px;
    margin-top: 80px;
    position: relative;
    border-top: 4px solid transparent;
    border-image: var(--u-gold-grad) 1;
}
footer h5 {
    color: #ffffff;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.01em;
}
footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
}
footer a:hover {
    color: #fef08a;
    padding-left: 5px;
}
.footer-bottom {
    background: #020f08;
    padding: 22px 0;
    color: #64748b;
    font-size: 13.5px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

/* CKEditor Content Rendering in Frontend */
.news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.news-body figure.image {
    margin: 15px 0;
    text-align: center;
}
.news-body figure.image figcaption {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
    font-style: italic;
}
.news-body table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}
.news-body table td, .news-body table th {
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
}
.news-body table th {
    background-color: #f1f5f9;
    font-weight: 700;
    color: var(--u-green-deep);
}
.news-body blockquote {
    border-left: 4px solid var(--u-gold-rich);
    padding: 10px 20px;
    margin: 15px 0;
    background: #f8fafc;
    font-style: italic;
    color: #475569;
}

/* Pagination Styling for Green-Gold Theme */
.pagination .page-item .page-link {
    color: var(--u-green-deep);
    border: 1px solid rgba(12, 56, 30, 0.1);
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.pagination .page-item.active .page-link {
    background: var(--u-gold-grad) !important;
    border-color: var(--u-gold-base) !important;
    color: #061e10 !important;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}
.pagination .page-item .page-link:hover:not(.active) {
    background-color: #f0fdf4;
    color: var(--u-green-accent);
}
/* Contact Page Luxury Styling (เขียว ขาว เหลืองทอง พรีเมียม) */
.contact-info-card {
    background: radial-gradient(circle at 10% 10%, rgba(254, 240, 138, 0.22) 0%, transparent 50%), linear-gradient(135deg, #052312 0%, #0b3d1f 60%, #15803d 100%);
    border-radius: 24px;
    padding: 38px 30px;
    border: 2px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 20px 45px rgba(5, 35, 18, 0.25);
    color: #ffffff;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.contact-info-card::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, transparent 70%);
    border-radius: 50%;
}
.contact-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(254, 240, 138, 0.2);
    border: 1.5px solid #fef08a;
    color: #fef08a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 38px 32px;
    border: 1px solid rgba(11, 61, 31, 0.08);
    box-shadow: 0 15px 40px rgba(5, 35, 18, 0.06);
    position: relative;
}
.contact-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 4px;
    background: var(--u-gold-grad);
    border-radius: 0 0 6px 6px;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.22);
}
.contact-quick-link {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(254, 240, 138, 0.4);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.contact-quick-link:hover {
    background: var(--u-gold-grad);
    color: #052312;
    border-color: #fef08a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

.footer-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #fef08a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-social-btn:hover {
    background: var(--u-gold-grad);
    color: #052312;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.55);
    border-color: #fef08a;
}

.pagination .page-item.disabled .page-link {
    color: #94a3b8;
    background-color: #f8fafc;
}

/* Floating Back to Top Button */
#backToTopBtn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    background: var(--u-gold-grad);
    color: #052312;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#backToTopBtn:hover {
    transform: translateY(-5px) scale(1.12);
    box-shadow: 0 14px 35px rgba(212, 175, 55, 0.75);
    color: #000000;
}
