/* ===== Global ===== */
body {
    font-family: 'Inter', sans-serif;
    color: #425269;
    background:
        linear-gradient(180deg,
            #071f24 0%,
            #0d4c56 15%,
            #f4fbf9 45%,
            #ffffff 100%);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1140px;
}

html {
    scroll-behavior: smooth;
}

/* =========================================
   NAVBAR BMB2027
========================================= */

.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background:
        linear-gradient(90deg,
            #07252c 0%,
            #0b6b61 100%);
    backdrop-filter: blur(12px);
    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.15);
    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
    transition: all .3s ease;
}

/* Logo */
.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: #ffffff !important;
}

/* Main Menu */
.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92) !important;
    transition: all .3s ease;
}

.nav-link:hover {
    color: #1dd3b0 !important;
}

/* Underline Animation */
.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #1dd3b0;
    transition: .3s;
}

.nav-link:not(.dropdown-toggle):hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-toggle:hover {
    color: #1dd3b0 !important;
}

.dropdown-menu {
    border: none;
    border-radius: 18px;
    padding: 12px;
    min-width: 250px;
    background: rgba(7, 37, 44, 0.95);
    backdrop-filter: blur(18px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
    animation: dropdownFade .25s ease;
    z-index: 99999;
}

/* Dropdown Item */
.dropdown-item {
    color: rgba(255, 255, 255, 0.88);
    padding: 12px 16px;
    border-radius: 12px;
    transition: all .25s ease;
}

.dropdown-item:hover {
    background: rgba(29, 211, 176, 0.15);
    color: #1dd3b0;
    transform: translateX(5px);
}

/* Divider */
.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08);
}

/* Header in Dropdown */
.dropdown-header {
    color: #1dd3b0;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dropdown Animation */
@keyframes dropdownFade {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ===== Hero ===== */
.hero-full {
    width: 100%;
    min-height: 90vh;
    padding: 80px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url('../images/conference.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.4rem;
}

/* ===== Animation ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.hero-image {
    max-width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Section ===== */
.section {
    padding: 120px 0;
}

.section-alt {
    background-color: #f8fafc;
}

.section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #0072ff;
    margin: 10px auto 0;
    border-radius: 5px;
}

h2 {
    font-weight: 700;
}

h3 {
    font-weight: 600;
}

/* ===== Buttons ===== */
.btn-primary {
    background-color: #0056b3;
    border: none;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #003d80;
}

.btn-warning {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
}

/* ===== Card ===== */
.card {
    border-radius: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

/* ===== About Section ===== */
.section-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: #e8f8f5;
    color: #0b6b61;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title-modern {
    font-size: 3rem;
    font-weight: 800;

    background:
        linear-gradient(90deg,
            #0b6b61,
            #14b8a6);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    max-width: 760px;
    color: #6b7280;
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-highlight-box {
    margin-top: 60px;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06);
}

.highlight-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0bb8a7;
}

.highlight-item p {
    margin-top: 10px;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .about-card {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

/* =========================================================
   CONFERENCE TOPICS
========================================================= */

.topic-section-badge {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 30px;
    background: #e8f1ff;
    color: #0056b3;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* Topic Card */

.topic-card {
    position: relative;
    height: 100%;
    background: #ffffff;

    padding: 28px;

    border-radius: 18px;

    border: 1px solid rgba(0, 0, 0, 0.05);

    box-shadow:
        0 6px 20px rgba(30, 41, 59, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* Hover */

.topic-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(30, 41, 59, 0.15);
}


/* Icon */

.topic-icon {
    width: 64px;
    height: 64px;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.15);

    transition: transform 0.35s ease;
}


/* Icon Hover */

.topic-card:hover .topic-icon {
    transform: scale(1.08) rotate(-2deg);
}


/* Icon Colors */

.icon-red {
    background: #e5383b;
}

.icon-yellow {
    background: #ffd60a;
}

.icon-green {
    background: #16a34a;
}

.icon-orange {
    background: #f77f00;
}

.icon-blue {
    background: #4361ee;
}

.icon-pink {
    background: #e4368c;
}


/* Topic Heading */

.topic-card h5 {
    font-size: 1.05rem;
    font-weight: 650;

    line-height: 1.45;

    color: #2c3a4f;

    margin-bottom: 12px;
}


/* Topic Description */

.topic-card p {
    font-size: 0.92rem;

    line-height: 1.65;

    color: #5b6472;

    margin-bottom: 0;
}


/* Mobile */

@media (max-width: 768px) {

    .topic-card {
        padding: 24px;
    }

    .topic-icon {
        width: 58px;
        height: 58px;
    }

}





/* ===== Countdown ===== */
.countdown-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

#countdown {
    font-size: 1.2rem;
    font-weight: 500;
    color: #444;
}

.time-box {
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    color: white;
    padding: 20px 25px;
    border-radius: 15px;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.time-box:hover {
    transform: translateY(-5px);
}

.time-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.time-box small {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Flip animation */
.flip {
    animation: flip 0.5s ease;
}

@keyframes flip {
    0% {
        transform: rotateX(0);
    }

    50% {
        transform: rotateX(90deg);
    }

    100% {
        transform: rotateX(0);
    }
}

/* ===== Topic Cards ===== */
.topic-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.35s;
}

.topic-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.topic-card p {
    color: #555;
    font-size: 0.95rem;
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

/* ===== Footer ===== */
.footer {
    background-color: #212529;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}

.footer {
    background:
        linear-gradient(90deg,
            #07252c,
            #0b6b61);
    padding: 20px;
}

/* ===== Logos ===== */
.logo-img {
    max-width: 200px;
    width: 100%;
    height: 100px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 0.7;
    transition: 0.3s;
}

.logo-img:hover {
    filter: grayscale(40%);
    opacity: 1;
    transform: scale(1.1);
}

/* Welcome Messages */
/* Hero */
.welcome-hero {
    position: relative;
    min-height: 42vh;
    background:
        linear-gradient(
            rgba(8,75,80,.68),
            rgba(36,175,71,.72)
        ),
        url('../assets/images/banner/banner1.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    padding:80px 0;
}

.welcome-hero h1{
    letter-spacing:1px;
    text-shadow:0 3px 15px rgba(0,0,0,.25);
}

.welcome-hero .lead{
    max-width:700px;
    margin:auto;
}

/* Profile Image */
.welcome-profile {
    max-width: 260px;
    border: 6px solid #fff;
}

/* Text */
.welcome-profile{
    width:260px;
    height:260px;
    object-fit:cover;
    object-position:center top;
    border-radius:50%;
    border:8px solid #fff;
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.text-primary {
    font-weight: bold;
    color: #662e00;
}

/* Welcome Messages */

/* หน้า login- register ตกแต่ง */
.login-bg {
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    height: 100vh;
}

.card {
    border-radius: 16px;
    border: none;
}

.btn {
    border-radius: 10px;
}

h2 {
    letter-spacing: 1px;
}

/* step ปกติ */
.step-indicator div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dee2e6;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;
}

/* step ปัจจุบัน */
.step-indicator .active {
    background: #0d6efd;
    color: #fff;
}

/* 🔥 step ที่ผ่านมาแล้ว (ฟ้าอ่อน) */
.step-indicator .done {
    background: #cfe2ff;
    /* ฟ้าอ่อน */
    color: #0d6efd;
}

.step-indicator .done:hover {
    background: #b6d4fe;
    cursor: pointer;
}

.step-indicator .done::after {
    content: "✔";
    display: block;
    font-size: 12px;
}

body {
    background: linear-gradient(135deg, #eef5ff, #ffffff);
}

/* CARD */
.form-card {
    border-radius: 15px;
    padding: 30px;
}

/* STEP INDICATOR */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step-indicator div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dee2e6;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;
}

.step-indicator .active {
    background: #0d6efd;
    color: white;
}

.step-indicator .done {
    background: #0dcaf0;
    color: white;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

/* FORM */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 10px;
}

/* BUTTON */
.btn {
    border-radius: 10px;
    padding: 10px 20px;
}

/* ===== SPEAKERS CLEAN ===== */

.speaker-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* กรอบรูป */
.speaker-img-wrapper {
    width: 100%;
    height: 220px;
    /* 🔥 ลดลงนิดนึงให้พอดี */
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 🔥 สำหรับรูปคน */
.speaker-img.cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 🔥 สำหรับโลโก้ */
.speaker-img.contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

/* info */
.speaker-info {
    padding: 15px;
    text-align: left;
}

.speaker-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.speaker-affiliation {
    font-size: 0.8rem;
    color: #6c757d;
}

.speaker-topic {
    font-size: 0.78rem;
    color: #888;
}

.speaker-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .3s ease;
}

.speaker-card:hover .speaker-img {
    transform: scale(1.05);
}

/* logout  */
.toast {
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ปรับวีดีโอ */
.video-wrapper iframe {
    aspect-ratio: 16 / 9;
    height: auto;
}

.video-wrapper {
    transition: 0.3s;
}

.video-wrapper:hover {
    transform: translateY(-5px);
}

/* REGISTRATION FEES */
.section-light {
    background: #f4fbf9;
}

.registration-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.registration-title span {
    color: #0bb8a7;
}

.fee-card {
    position: relative;
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    height: 100%;
}

.fee-card:hover {
    transform: translateY(-8px);
}

.featured-card {
    border: 2px solid #0bb8a7;
}

.fee-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #0bb8a7;
    color: white;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.fee-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 20px;
    background: #eef8f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #0b6b61;
    margin-bottom: 25px;
}

.fee-card h3 {
    font-size: 2rem;
    font-weight: 700;
}

.fee-subtitle {
    color: #6c757d;
    margin-bottom: 30px;
    min-height: 48px;
}

.fee-price {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.05rem;
    padding-left: 90px;
}

.fee-price strong {
    font-size: 1.5rem;
}

.fee-price.early {
    color: #0bb8a7;
}

.fee-price.regular {
    color: #4f5749;
}

.fee-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.fee-list li {
    margin-bottom: 12px;
    color: #495057;
}

.fee-btn {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    background: #0bb8a7;
    color: white;
    font-weight: 600;
    transition: 0.3s;
}

.fee-btn:hover {
    background: #089b8d;
    color: white;
}

/* MOBILE */
@media (max-width: 768px) {

    .registration-title {
        font-size: 2rem;
    }

    .fee-card {
        padding: 30px 20px;
    }

}

/* REGISTRATION FEES END*/

/* Hero css */
.hero-section {
    position: relative;
    min-height: 92vh;
    background:
        linear-gradient(135deg,
            #083c46 0%,
            #0b6b61 100%);
    overflow: hidden;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right,
            rgba(255, 255, 255, 0.12),
            transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 550px;
    line-height: 1.8;
}

.hero-info {
    margin-top: 30px;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
}

.hero-info-item i {
    color: #1dd3b0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #1dd3b0;
    color: white;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-hero-primary:hover {
    background: #17b89a;
    color: white;
}

.btn-hero-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 14px 34px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    border-radius: 32px;
    position: relative;
    z-index: 2;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.25);
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(29, 211, 176, 0.35);
    filter: blur(100px);
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* =====================================================
   IMPORTANT DATES Index.php
   ===================================================== */

.important-dates-card {
    width: 100%;
    max-width: 560px;

    margin-top: 28px;

    padding: 18px 20px;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}


/* Header */

.important-dates-header {
    margin-bottom: 8px;
}

.important-dates-title {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.important-dates-title i {
    font-size: 19px;
}

.important-dates-header p {
    margin: 4px 0 12px 28px;

    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
    line-height: 1.5;
}


/* Date Row */

.important-date-row {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}


/* Icon */

.important-date-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.14);

    color: #ffffff;

    font-size: 17px;
}


/* Text */

.important-date-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.important-date-label {
    color: rgba(255, 255, 255, 0.68);

    font-size: 12px;
    line-height: 1.4;
}

.important-date-content strong {
    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 991.98px) {

    .important-dates-card {
        max-width: 100%;
        margin-top: 24px;
    }

}

/* =====================================================
   IMPORTANT DATES - conference_program.php
   ===================================================== */

.program-important-dates {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 0;
}

/* Title */
.program-important-dates .important-dates-title {
    color: #0d6efd;
}
.program-important-dates .important-dates-title i {
    color: #0d6efd;
}
/* Subtitle */
.program-important-dates .important-dates-header p {
    color: #6c757d;
}
/* Row */
.program-important-dates .important-date-row {
    border-top: 1px solid #e9ecef;
}
/* Icon */
.program-important-dates .important-date-icon {
    background: #eaf3ff;
    color: #0d6efd;
}
/* Label */
.program-important-dates .important-date-label {
    color: #6c757d;
}
/* Date */
.program-important-dates .important-date-content strong {
    color: #212529;
}

/* ปรับ header bar */
.custom-navbar {
    background: rgba(0, 77, 26, 0.55);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(56, 201, 104, 0.08);
}

/* ทำให้ header bar เลื่อนตาม */
.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;

    background:
        linear-gradient(90deg,
            #07252c,
            #0b6b61);

    backdrop-filter: blur(12px);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.15);

    transition: all 0.3s ease;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover {
    color: #1dd3b0 !important;
}

.navbar-brand {
    color: white !important;
    font-weight: 800;
}


/* ==========================
   NAVBAR DROPDOWN MODERN
========================== */
.dropdown-menu {
    border: none;
    border-radius: 18px;
    background: rgba(7, 37, 44, 0.95);
    backdrop-filter: blur(18px);
    padding: 12px;
    min-width: 240px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
    animation: dropdownFade 0.25s ease;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.88);
    padding: 12px 16px;
    border-radius: 12px;
    transition: all .25s ease;
}

.dropdown-item:hover {
    background: rgba(29, 211, 176, 0.15);
    color: #1dd3b0;
    transform: translateX(5px);
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08);
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   HERO MODERN
========================================= */

.hero-section {
    position: relative;
    min-height: 100vh;

    background:
        linear-gradient(135deg,
            #07252c 0%,
            #0b6b61 55%,
            #14967f 100%);

    overflow: hidden;
    color: white;
}

/* overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right,
            rgba(255, 255, 255, 0.12),
            transparent 30%);
}

/* glow */
.hero-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

.hero-blur-1 {
    width: 300px;
    height: 300px;
    background: #1dd3b0;
    top: -100px;
    right: -50px;
}

.hero-blur-2 {
    width: 250px;
    height: 250px;
    background: #00c6ff;
    bottom: -100px;
    left: -50px;
}

/* CONTENT */
.hero-left {
    padding-left: 4vw;
    padding-right: 3vw;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.9;
    max-width: 600px;
    opacity: 0.9;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #1dd3b0;
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
}

.btn-hero-primary:hover {
    background: #15b999;
    color: white;
}

.btn-hero-secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

/* IMAGE SIDE */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* main image */
.conference-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);

    animation: floatCard 5s ease-in-out infinite;
}

.hero-image{
    max-height: 700px;      /* ปรับได้ เช่น 650-750px */
    width: auto;
    max-width: 100%;
    border-radius: 24px;
}

.conference-card{
    background: transparent;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-visual{
    display:flex;
    justify-content:center;
    align-items:center;
}


/* floating small cards */
.floating-card {
    position: absolute;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.15);

    padding: 14px 20px;
    border-radius: 20px;

    display: flex;
    align-items: center;
    gap: 10px;

    color: white;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.2);
}

.floating-card i {
    color: #1dd3b0;
}

.floating-card-1 {
    top: 10%;
    left: -40px;
}

.floating-card-2 {
    bottom: 10%;
    right: -30px;
}

/* STATS */
.stat-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    text-align: center;

    backdrop-filter: blur(10px);
}

.stat-box h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-box p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* FLOAT ANIMATION */
@keyframes floatCard {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }

}

/* MOBILE */
@media (max-width: 991px) {

    .hero-title {
        padding-left: 50px;
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-visual {
        margin-top: 50px;
    }

    .floating-card {
        display: none;
    }

}

/* Venue Overviewr Picture */
/* รูปภาพใหญ่บนสุด */
.overview-image-wrapper {
    height: 100%;
    min-height: 100px;
    border-radius: 20px;
    overflow: hidden;

}

.overview-image {
    width: 100%;
    height: 50%;
    object-fit: cover;
    transition: 0.4s;
}

.overview-image:hover {
    transform: scale(1.03);
}

/* cursor pointer */
.overview-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.4s;

    cursor: pointer;
}

/* รูปภาพปกจาง */
.venue-hero {
    position: relative;
    min-height: 78vh;
    background:
        linear-gradient(rgba(8, 75, 80, 0.68),
            rgba(36, 175, 71, 0.72)),
        url('../images/KNECC/Knecc view 1.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    background-attachment: fixed;

    overflow: hidden;

    padding: 120px 0;
}

/* White Fade Overlay */
.venue-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(to right,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.02));

    backdrop-filter: blur(2px);
}

/* เพิ่ม fade ด้านล่าง */
.venue-hero::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 140px;

    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(248, 249, 250, 1));
}

/* Content Above Overlay */
.venue-hero .container {
    position: relative;
    z-index: 2;
}

.hero-info-box {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    color: white;
    min-width: 170px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.1);
}

.ratio iframe {
    filter: grayscale(10%) contrast(1.05);
}

.gallery-img {
    width: 100%;
    height: 250px;

    object-fit: cover;

    border-radius: 20px;

    cursor: pointer;

    transition: 0.3s;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);
}

.gallery-img:hover {
    transform: translateY(-5px) scale(1.02);
}

#overview p.lead {
    max-width: 850px;
    margin: auto;

    line-height: 1.9;
}

/* Venue Overviewr Picture  End*/

/* Transport Venue Start*/
/* TRANSPORTATION */
.transport-hero-card {
    background: white;
    border-radius: 28px;
    padding: 50px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.06);
}

.transport-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(13, 110, 253, 0.08);
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
}

.transport-highlight i {
    color: #0d6efd;
    font-size: 1.2rem;
}

.transport-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.transport-icon i {
    font-size: 2rem;
    color: #0d6efd;
}

.table {
    border-radius: 16px;
    overflow: hidden;
}

.table thead {
    background: #0d6efd;
    color: white;
}

.table th {
    border: none;
    padding: 18px;
}

.table td {
    padding: 18px;
    vertical-align: middle;
}

/* Transport Venue END*/

/* ACCOMMODATION Venue Start */
/* ACCOMMODATION */

.featured-hotel {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    padding: 30px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.06);
}

.featured-hotel-image {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
}

.featured-hotel-content {
    padding: 50px;
}

.hotel-feature {
    background: rgba(13, 110, 253, 0.08);
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotel-feature i {
    color: #0d6efd;
}

.hotel-card-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s ease;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05);
}

.hotel-card-modern:hover {
    transform: translateY(-8px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.10);
}

.hotel-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.hotel-tag {
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

.benefit-card {
    background: white;
    border-radius: 24px;
    padding: 35px 25px;
    height: 100%;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #0d6efd;
}

/* Transport Venue END*/

/* ACCOMMODATION SLIDER */

.carousel-control-prev,
.carousel-control-next {
    width: auto;
}

.carousel-arrow {
    width: 55px;
    height: 55px;

    border-radius: 50%;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

    color: #0d6efd;

    font-size: 1.4rem;

    transition: 0.3s ease;
}

.carousel-arrow:hover {
    transform: scale(1.08);
}

.hotel-card-modern {
    background: white;

    border-radius: 24px;

    overflow: hidden;

    transition: 0.35s ease;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05);
}

.hotel-card-modern:hover {
    transform: translateY(-10px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.10);
}

.hotel-card-image {
    width: 100%;
    height: 240px;

    object-fit: cover;
}

.hotel-tag {
    background: rgba(13, 110, 253, 0.08);

    color: #0d6efd;

    padding: 6px 14px;

    border-radius: 30px;

    font-size: 0.82rem;

    font-weight: 600;
}

.hotel-meta {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-top: 20px;

    color: #6c757d;

    font-size: 0.92rem;
}

.hotel-meta i {
    color: #0d6efd;

    margin-right: 8px;
}

.carousel-indicators button {
    width: 10px !important;
    height: 10px !important;

    border-radius: 50%;

    background-color: #0d6efd !important;
}

/* ACCOMMODATION SLIDER Venue END*/

/* FEATURED ATTRACTION Venue Start*/

.featured-attraction {
    position: relative;

    border-radius: 32px;

    overflow: hidden;

    min-height: 500px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12);
}

.featured-attraction-img {
    width: 100%;
    height: 500px;

    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 60px;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.70),
            rgba(0, 0, 0, 0.15));
}

.featured-badge {
    display: inline-block;

    width: fit-content;

    background: rgba(255, 255, 255, 0.18);

    border: 1px solid rgba(255, 255, 255, 0.25);

    backdrop-filter: blur(10px);

    color: white;

    padding: 10px 18px;

    border-radius: 30px;

    font-size: 0.9rem;

    font-weight: 600;
}

/* ATTRACTION CARD */

.attraction-card {
    background: white;

    border-radius: 24px;

    overflow: hidden;

    transition: 0.35s ease;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05);

    height: 100%;
}

.attraction-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.10);
}

.attraction-image-wrapper {
    position: relative;

    overflow: hidden;
}

.attraction-image {
    width: 100%;
    height: 260px;

    object-fit: cover;

    transition: 0.4s ease;
}

.attraction-card:hover .attraction-image {
    transform: scale(1.05);
}

.attraction-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.attraction-tag {
    background: rgba(255, 255, 255, 0.92);

    color: #0d6efd;

    padding: 8px 16px;

    border-radius: 30px;

    font-size: 0.82rem;

    font-weight: 600;
}

.attraction-meta {
    margin-top: 18px;

    color: #6c757d;

    font-size: 0.92rem;
}

.attraction-meta i {
    color: #0d6efd;

    margin-right: 8px;
}

/* MOBILE */

@media(max-width:768px) {

    .featured-overlay {
        padding: 30px;
    }

    .featured-attraction,
    .featured-attraction-img {
        min-height: 380px;
        height: 380px;
    }

}

/* FEATURED ATTRACTION Venue END*/

/* =========================================
   VENUE NAVIGATION TABS
========================================= */

.nav-pills .nav-link {
    background: white;
    color: #425269;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 24px;
    border: 1px solid #dce7e5;
    transition: all .3s ease;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav-pills .nav-link:hover {
    background: #eef8f6;
    color: #0bb8a7;
    transform: translateY(-2px);
}

/* Active */

.nav-pills .nav-link.active {
    background: #0bb8a7 !important;
    color: white !important;
    border-color: #0bb8a7;
    box-shadow:
        0 10px 25px rgba(11, 184, 167, 0.35);
}

/* ===== VENUE TABS ===== */

.venue-tabs-wrapper .nav-link{
    background: rgb(255, 255, 255);
    color: #425269 !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 24px;
    border: 1px solid #dce7e5;
    transition: all .3s ease;
    box-shadow:
        0 4px 15px rgba(0,0,0,0.05);
}

.venue-tabs-wrapper .nav-link:hover{
    background: #eef8f6;
    color: #0bb8a7 !important;
    transform: translateY(-2px);
}

.venue-tabs-wrapper .nav-link.active{
    background: #0bb8a7 !important;
    color: white !important;
    border-color: #0bb8a7;
    box-shadow:
        0 10px 25px rgba(11,184,167,0.35);
}

.custom-navbar .nav-link{
    color: rgba(255,255,255,0.9) !important;
}

/* Conference Program Start */
/* Hero */
.program-hero {
    position: relative;
    min-height: 75vh;
    background:
        linear-gradient(rgba(13, 45, 92, 0.78),
            rgba(25, 90, 160, 0.72)),
        url('../images/Logo/bmb-conference-2027.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    padding: 120px 0;
}

/* เพิ่ม text shadow  */
.program-hero h1,
.program-hero p {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

/* Content Above */
.program-hero .container {
    position: relative;
    z-index: 2;
}

/* Overview Cards */
.overview-card {
    border-radius: 20px;
    transition: 0.3s;
}

.overview-card:hover {
    transform: translateY(-5px);
}

.overview-icon i {
    font-size: 2.2rem;
    color: #0d6efd;
}

/* Program Image */
.program-image {
    border-radius: 16px;
    max-height: 900px;
    object-fit: cover;
}

/* Download */
.download-icon i {
    font-size: 2.5rem;
    color: #0d6efd;
}

/* Highlight */
.highlight-card {
    padding: 40px 20px;
    border-radius: 20px;
    background: #fff;
    transition: 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card i {
    font-size: 2.5rem;
    color: #0d6efd;
}

/* Notes */
.notes-list li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #555;
}

/* Responsive */
@media (max-width: 991px) {
    .program-hero {
        min-height: 250px;
        padding: 60px 0;
    }

}

/* special_acitivities START*/
/* Hero */

.activities-hero{
height:55vh;
background:
linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
url("../images/activities-banner.jpg");

background-size:cover;
background-position:center;

}

/* Cards */

.activity-card{
transition:.3s;
overflow:hidden;
border-radius:15px;
}


.activity-card img{
height:220px;
object-fit:cover;
transition:.4s;

}

.activity-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,.15);
}


.activity-card:hover img{
transform:scale(1.08);
}

/* special_acitivities END*/

/* coming soon */
.coming-soon-card{
    background:#fff;
    border-radius:24px;
    padding:80px 40px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.coming-soon-card i{
    opacity:.85;
}

/* special_acitivities.php */
.activities-hero{
    min-height:42vh;
    background:
    linear-gradient(
        rgba(13, 45, 92, 0.78),
        rgba(25, 90, 160, 0.72)
    ),
    url('../images/special-activities-banner.jpg');
    background-size:cover;
    background-position:center;
    display:flex;
}

/* เพิ่ม ประกาศแจ้งเตือน pop-up new */
.new-badge {
    font-size: 0.7rem;
}

/* Organizing Society.php Start */
.organization-card{
    background:#fff;
    border-radius:20px;
    padding:40px 25px;
    text-align:center;
    cursor:pointer;
    transition:.35s;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    height:100%;
}

.organization-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 45px rgba(0,0,0,.15);

}

.organization-logo{
    height:130px;
    object-fit:contain;
    margin-bottom:25px;
    transition:.3s;

}

.organization-card:hover .organization-logo{
    transform:scale(1.05);
}

.organization-card h5{
    font-weight:700;
}

.organization-card p{
    margin-bottom:0;
}

/* Organizing Society.php END */

/* organizing_committee.php Start */
/* ===============================
   Organizing Committee
================================== */

.committee-section{
    padding:80px 0;
}

.section-heading{
    text-align:center;
    margin-bottom:55px;
}

.section-heading h2{
    font-weight:700;
    color:#0d2d5c;
    margin-bottom:10px;
}

.section-heading p{
    color:#6c757d;
    max-width:700px;
    margin:auto;
}

.committee-card{
    background:#fff;
    border-radius:20px;
    padding:30px 25px;
    text-align:center;
    height:100%;
    cursor:pointer;
    transition:.35s;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.committee-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 45px rgba(0,0,0,.15);
}

.committee-card img{
    width:170px;
    height:170px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #fff;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    margin-bottom:20px;
    transition:.3s;
}

.committee-card:hover img{
    transform:scale(1.05);
}

.committee-card h4,
.committee-card h5{
    font-weight:700;
    color:#0d2d5c;
    margin-bottom:10px;
}

.committee-role{
    display:inline-block;
    padding:6px 18px;
    background:#0d6efd;
    color:#fff;
    border-radius:30px;
    font-size:.85rem;
    margin-bottom:15px;
}

.committee-card p{
    margin-bottom:0;
    color:#666;
}

.committee-divider{
    margin:70px auto;
    width:100px;
    height:4px;
    border-radius:20px;
    background:#0d6efd;
}

.leadership-card img{
    width:200px;
    height:200px;
}

.placeholder-avatar{
    background:#f8f9fa;
}

.placeholder-avatar img{
    object-fit:contain;
    padding:25px;
}

.committee-note{
    background:#f8fbff;
    border-left:5px solid #0d6efd;
    border-radius:12px;
    padding:20px;
    margin-top:25px;
    color:#555;
}
/* organizing_committee.php END */

/* ================================
   Secretariat
================================ */

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    height: 100%;
}

.contact-card h3 {
    color: #0d2d5c;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #0d6efd;
    margin-right: 18px;
    margin-top: 3px;
}

.contact-item h6 {
    margin-bottom: 6px;
    font-weight: 600;
    color: #0d2d5c;
}

.contact-item p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.7;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 12px;
    padding: .8rem .9rem;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form .btn {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
}

.map-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
}

.faq-section .accordion-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.faq-section .accordion-button {
    font-weight: 600;
}

.section-space {
    padding: 80px 0;
}



/* =========================================================
   Participant Profile Page start
========================================================= */

.participant-profile {
    padding-top: 110px;
    padding-bottom: 60px;
}


/* =========================================================
   Profile Hero
========================================================= */

.profile-hero {
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(135deg,
            #0d6efd 0%,
            #198754 100%);
}


.profile-hero .card-body {

    padding: 42px;

}


/* =========================================================
   Profile Cards
========================================================= */

.profile-card {

    border: 0;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .06);

}


.profile-card .card-header {

    background: #fff;

    border-bottom:
        1px solid #eef0f2;

    padding: 18px 22px;

    font-weight: 700;

}


.profile-card .card-body {

    padding: 22px;

}


/* =========================================================
   Information Rows
========================================================= */

.info-row {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 13px 0;

    border-bottom:
        1px solid #eef0f2;

}


.info-row:last-child {

    border-bottom: 0;

}


.info-label {

    color: #6c757d;

    font-size: .92rem;

}


.info-value {

    text-align: right;

    font-weight: 500;

}

/* =========================================================
   Participant Portal Sidebar participant/dashboard.php Start
========================================================= */
.participant-dashboard {
    padding-top: 110px;
    padding-bottom: 60px;
}

.dashboard-hero {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
}

.dashboard-hero .card-body {
    padding: 42px;
}

.summary-card {
    border: 0;
    border-radius: 18px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .09) !important;
}

.summary-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.dashboard-section {
    border: 0;
    border-radius: 18px;
}

.section-title {
    font-weight: 700;
}

.status-row {
    padding: 14px 0;
    border-bottom: 1px solid #eef0f2;
}

.status-row:last-child {
    border-bottom: 0;
}

.progress-step {
    position: relative;
    padding-left: 42px;
    padding-bottom: 24px;
}

.progress-step:last-child {
    padding-bottom: 0;
}

.progress-step::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 25px;
    bottom: -2px;
    width: 2px;
    background: #dee2e6;
}

.progress-step:last-child::before {
    display: none;
}

.step-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
}

.quick-action {
    min-height: 105px;
    border-radius: 15px;
    transition: all .2s ease;
}

.quick-action:hover {
    transform: translateY(-2px);
}

.quick-action i {
    font-size: 1.45rem;
}

.decision-note {
    border-left: 4px solid #dc3545;
    background: #fff5f5;
    border-radius: 8px;
}

@media (max-width: 767.98px) {
    .dashboard-hero .card-body {
        padding: 28px 22px;
    }

    .participant-dashboard {
        padding-top: 95px;
    }
}
/* =========================================================
   Participant Portal Sidebar participant/dashboard.php END
========================================================= */


/* =========================================================
   Participant Portal Sidebar participant/profile.php
========================================================= */

.portal-sidebar {
    border: 0;
    border-radius: 18px;
    box-shadow:
        0 5px 18px rgba(0, 0, 0, .06);
    position: sticky;
    top: 100px;
}


.portal-title {
    font-weight: 700;
    font-size: 1rem;
    padding:
        10px 12px 18px;
    color: #1f2937;
}


.portal-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.portal-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding:
        12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.portal-menu-item i {

    width: 22px;
    text-align: center;
    font-size: 1.05rem;
}


.portal-menu-item:hover {
    background: #f1f5f9;
    color: #0d6efd;
    transform:
        translateX(2px);
}


.portal-menu-item.active {
    background: #e7f0ff;
    color: #0d6efd;
    font-weight: 700;
}


.portal-menu-item.text-danger:hover {
    background: #fff1f2;
    color: #dc3545 !important;
}


.portal-divider {
    height: 1px;
    background: #eef0f2;
    margin:
        10px 4px;
}


/* =========================================================
   Mobile Portal
========================================================= */

@media (max-width: 991.98px) {
    .portal-sidebar {
        position: static;
    }
    .portal-menu {
        display: grid;
        grid-template-columns:
            repeat(2, 1fr);
        gap: 6px;
    }
}


@media (max-width: 575.98px) {
    .portal-menu {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   Mobile Profile
========================================================= */

@media (max-width: 767.98px) {
    .participant-profile {
        padding-top: 95px;
    }

    .profile-hero .card-body {
        padding:
            28px 22px;
    }


    .info-row {
        flex-direction: column;
        gap: 4px;
    }

    .info-value {
        text-align: left;
    }
}
/* =========================================================
   Participant Profile Page participant/profile.php End
========================================================= */

/* =========================================================
   BMB2027 - PRODUCTION NAVBAR
   Updated from latest Localhost layout
   ---------------------------------------------------------
   ใช้ปรับ Navbar ให้เป็นรูปแบบเดียวกับ Localhost
   โดยวางต่อท้าย style.css เพื่อ Override CSS Navbar เดิม
========================================================= */

/* ---------- Main Navbar ---------- */
.custom-navbar {
    min-height: 80px;
    padding-top: 0;
    padding-bottom: 0;
    background: linear-gradient(90deg, #07252c 0%, #0b6b61 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
}

.custom-navbar > .container-fluid {
    min-height: 80px;
}

/* ---------- Logo ---------- */
.custom-navbar .navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 25px;
    padding-top: 0;
    padding-bottom: 0;
}

.custom-navbar .navbar-logo {
    display: block;
    width: auto;
    max-width: 170px;
    height: 54px;
    object-fit: contain;
}

/* ---------- Navbar Toggle ---------- */
.custom-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
    padding: 7px 10px;
    box-shadow: none;
}

.custom-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
}

/* ---------- Navigation Links ---------- */
.custom-navbar .navbar-nav .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 8px;
    transition: color 0.25s ease;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link:focus,
.custom-navbar .navbar-nav .nav-link.show {
    color: #ffffff;
}

/* Underline animation for main navigation */
.custom-navbar .main-nav > .nav-item > .nav-link::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 5px;
    height: 2px;
    background: #8ce0c4;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.custom-navbar .main-nav > .nav-item > .nav-link:hover::after,
.custom-navbar .main-nav > .nav-item > .nav-link:focus::after {
    transform: scaleX(1);
}

/* ---------- Dropdown Menu ---------- */
.custom-navbar .dropdown-menu {
    min-width: 230px;
    padding: 8px;
    margin-top: 8px;
    background: rgba(5, 37, 40, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.custom-navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 10px 13px;
    border-radius: 7px;
    white-space: normal;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        padding-left 0.2s ease;
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus {
    color: #ffffff;
    background: rgba(38, 166, 140, 0.25);
    padding-left: 17px;
}

.custom-navbar .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ---------- Nested Dropdown: Transportation ---------- */
.custom-navbar .dropdown-submenu {
    position: relative;
}

.custom-navbar .dropdown-submenu > .submenu-toggle {
    position: relative;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
}

.custom-navbar .dropdown-submenu > .submenu-toggle::after {
    display: inline-block;
    float: right;
    margin-top: 7px;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid transparent;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid currentColor;
}

.custom-navbar .dropdown-submenu > .submenu {
    display: none;
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 5px;
}

.custom-navbar .dropdown-submenu > .submenu.show {
    display: block;
}

/* ---------- Account / Authentication ---------- */
.custom-navbar .auth-nav {
    align-items: center;
}

.custom-navbar .auth-nav .login-link,
.custom-navbar .auth-nav .admin-link,
.custom-navbar .auth-nav .account-link,
.custom-navbar .auth-nav .logout-link {
    white-space: nowrap;
}

.custom-navbar .auth-nav .register-link {
    margin-left: 7px;
    padding: 9px 17px;
    color: #073b35;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.custom-navbar .auth-nav .register-link:hover {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.8);
}

.custom-navbar .auth-nav .logout-link {
    color: #ffe0e0;
}

/* =========================================================
   DESKTOP NAVBAR
   ใช้ navbar-expand-xl จึงเริ่มแสดงเมนูแนวนอนที่ 1200px
========================================================= */
@media (min-width: 1200px) {

    .custom-navbar .navbar-collapse {
        display: flex !important;
        align-items: center;
    }

    .custom-navbar .main-nav {
        flex: 1;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
    }

    .custom-navbar .auth-nav {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        gap: 5px;
        margin-left: 20px;
    }

    .custom-navbar .navbar-brand {
        margin-right: 12px;
    }

    .custom-navbar .main-nav > .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .custom-navbar .dropdown-submenu:hover > .submenu {
        display: block;
    }
}

/* =========================================================
   MOBILE / TABLET NAVBAR
========================================================= */
@media (max-width: 1199.98px) {

    .custom-navbar {
        padding: 8px 0;
    }

    .custom-navbar > .container-fluid {
        min-height: 64px;
    }

    .custom-navbar .navbar-collapse {
        max-height: calc(100vh - 85px);
        overflow-y: auto;
        padding: 12px 0 18px;
    }

    .custom-navbar .main-nav,
    .custom-navbar .auth-nav {
        width: 100%;
        align-items: stretch;
    }

    .custom-navbar .navbar-nav .nav-link {
        display: flex;
        justify-content: space-between;
        padding: 11px 10px;
    }

    .custom-navbar .main-nav > .nav-item > .nav-link::after {
        display: none;
    }

    .custom-navbar .dropdown-menu {
        position: static !important;
        width: 100%;
        margin: 3px 0 8px;
        padding: 5px 8px;
        border: 0;
        border-left: 2px solid rgba(140, 224, 196, 0.55);
        border-radius: 0;
        background: rgba(0, 0, 0, 0.13);
        box-shadow: none;
        transform: none !important;
    }

    .custom-navbar .dropdown-item {
        padding: 10px 13px;
    }

    .custom-navbar .dropdown-submenu > .submenu {
        position: static !important;
        width: auto;
        margin: 3px 0 5px 12px;
        padding-left: 10px;
        background: rgba(0, 0, 0, 0.16);
        border-left: 2px solid rgba(140, 224, 196, 0.35);
    }

    .custom-navbar .dropdown-submenu > .submenu-toggle::after {
        transform: rotate(90deg);
    }

    .custom-navbar .auth-nav {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .custom-navbar .auth-nav .register-link {
        display: inline-flex;
        justify-content: center;
        width: fit-content;
        margin: 8px 10px;
        padding: 9px 20px;
    }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 575.98px) {

    .custom-navbar > .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .custom-navbar .navbar-logo {
        max-width: 145px;
        height: 47px;
    }

    .custom-navbar .navbar-brand {
        margin-right: 10px;
    }
}