/* MMW School Website - Main Stylesheet */

:root {
    --blue-900: #173683;
    --blue-800: #2b5ada;
    --blue-700: #3e75ed;
    --sky-400: #0bb3fb;
    --sky-200: #b3e2fc;
    --white: #ffffff;
    --slate-50: #f8fbff;
    --slate-100: #ecf4ff;
    --gold-500: #cc9e2a;
    --gold-400: #f2c14e;

    --primary: var(--blue-800);
    --primary-dark: var(--blue-900);
    --warning: var(--gold-500);
}

html {
    font-size: 13px;
}

body {
    font-family: 'K2D', 'Sarabun', 'Noto Sans Thai', sans-serif;
    background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 20%, var(--slate-100) 100%);
    color: #3b67c0;
}

@font-face {
    font-family: 'K2D';
    src: url('../fonts/k2d/K2D-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'K2D';
    src: url('../fonts/k2d/K2D-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'K2D';
    src: url('../fonts/k2d/K2D-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'K2D';
    src: url('../fonts/k2d/K2D-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'K2D';
    src: url('../fonts/k2d/K2D-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.site-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
    vertical-align: middle;
}

.site-logo-admin {
    width: 45px;
    height: 45px;
}

.navbar {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%) !important;
    border-bottom: 1px solid rgba(212, 160, 23, 0.4);
    box-shadow: 0 8px 20px rgba(15, 47, 127, 0.08) !important;
    position: relative;
    min-height: 74px;
}

.navbar > .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(27, 56, 127, 0.9) 0%, rgba(35, 83, 215, 0.85) 58%, rgba(69, 174, 219, 0.85) 100%);
}

.navbar .navbar-brand {
    color: var(--blue-900) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.brand-lines {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-line-th {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--blue-900);
}

.brand-line-en {
    margin-top: 0.18rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #6b7f9b;
    text-transform: uppercase;
}

.navbar .nav-link {
    color: var(--blue-900) !important;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.42rem 0.78rem !important;
    transition: all 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--blue-800) !important;
    border-color: rgba(212, 160, 23, 0.35);
    background: linear-gradient(180deg, rgba(186, 230, 253, 0.32) 0%, rgba(236, 244, 255, 0.68) 100%);
}

/* Glassmorphism dropdown */
.navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border: 1px solid rgba(29, 78, 216, 0.18) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 10px 30px rgba(15, 47, 127, 0.16) !important;
    padding: 0.4rem 0.3rem;
    margin-top: 0.35rem !important;
}

.navbar .dropdown-menu .dropdown-item {
    color: var(--blue-900) !important;
    border-radius: 0.5rem;
    padding: 0.45rem 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background: rgba(56, 189, 248, 0.16) !important;
    color: var(--blue-800) !important;
}

.btn-warning,
.bg-warning {
    background: linear-gradient(180deg, #ffd971 0%, var(--gold-500) 100%) !important;
    border-color: var(--gold-500) !important;
    color: #13264f !important;
}

.btn-outline-primary {
    border-color: var(--blue-800);
    color: var(--blue-800);
}

.btn-outline-primary:hover {
    background: var(--blue-800);
    border-color: var(--blue-800);
    color: var(--white);
}

/* Hero */
.hero-section {
    background: linear-gradient(140deg, var(--blue-900) 0%, var(--blue-800) 45%, var(--sky-400) 100%);
    min-height: calc(70vh - 3rem);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    border-bottom: 4px solid var(--gold-500);
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-section::after {
    content: '';
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -120px;
    height: 220px;
    background: radial-gradient(circle at center, rgba(242, 193, 78, 0.28), rgba(242, 193, 78, 0));
    pointer-events: none;
}

/* Hero Admins Block */
.hero-admins {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 16px;
    padding: 20px 20px 16px;
    min-height: 196px;
    backdrop-filter: blur(6px);
}
.hero-admins__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.hero-admins__title {
    font-size: .82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 0;
}
.hero-admins__arrows {
    display: flex;
    gap: 6px;
}
.hero-admins__arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: .72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    padding: 0;
}
.hero-admins__arrow:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.65);
}
/* Carousel wrapper — overflow hidden, shows 1 slide */
.hero-admins__carousel {
    position: relative;
    overflow: hidden;
    min-height: 120px;
}
/* Each slide */
.hero-admin-slide {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .4s ease, transform .4s ease;
    pointer-events: none;
}
.hero-admin-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}
.hero-admin-slide:hover {
    background: rgba(255,255,255,0.20);
}
.hero-admin-slide__img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.55);
    flex-shrink: 0;
}
.hero-admin-slide__img--placeholder {
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1.4rem;
}
.hero-admin-slide__info {
    flex: 1;
    min-width: 0;
}
.hero-admin-slide__name {
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-admin-slide__pos {
    font-size: .75rem;
    color: rgba(255,255,255,0.70);
    line-height: 1.3;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.hero-gallery-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    grid-template-rows: repeat(2, 130px);
    gap: 12px;
}

.hero-gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 44px rgba(10, 30, 80, 0.24);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.hero-gallery-card--large {
    grid-row: 1 / span 2;
}

.hero-gallery-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.hero-gallery-card:hover .hero-gallery-card__image {
    transform: scale(1.05);
}

.hero-gallery-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 24, 68, 0.12) 0%, rgba(9, 24, 68, 0.82) 100%);
}

.hero-gallery-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 1rem;
    color: var(--white);
}

.hero-gallery-card__badge {
    display: inline-block;
    padding: .25rem .55rem;
    margin-bottom: .55rem;
    border-radius: 999px;
    background: rgba(242, 193, 78, 0.92);
    color: #0f2f7f;
    font-size: .72rem;
    font-weight: 700;
}

.hero-gallery-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.hero-gallery-card__caption {
    margin-top: .25rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: .8rem;
    line-height: 1.35;
}

/* Cards */
.card {
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 8px 20px rgba(26, 63, 138, 0.08);
}

/* Keep Bootstrap contextual backgrounds readable on cards (dashboard stats) */
.card.bg-primary {
    background: linear-gradient(140deg, #1d4ed8, #2563eb) !important;
    border-color: rgba(29, 78, 216, 0.35);
}

.card.bg-success {
    background: linear-gradient(140deg, #0f766e, #14b8a6) !important;
    border-color: rgba(20, 184, 166, 0.35);
}

.card.bg-warning {
    background: linear-gradient(180deg, #ffd971 0%, #d4a017 100%) !important;
    border-color: rgba(212, 160, 23, 0.45);
}

.card.bg-info {
    background: linear-gradient(140deg, #0284c7, #38bdf8) !important;
    border-color: rgba(56, 189, 248, 0.45);
}

.card.bg-danger {
    background: linear-gradient(140deg, #b91c1c, #ef4444) !important;
    border-color: rgba(239, 68, 68, 0.35);
}

.card.bg-secondary {
    background: linear-gradient(140deg, #334155, #64748b) !important;
    border-color: rgba(100, 116, 139, 0.4);
}

.card.text-white,
.card.text-white h1,
.card.text-white h2,
.card.text-white h3,
.card.text-white h4,
.card.text-white h5,
.card.text-white h6,
.card.text-white p,
.card.text-white small,
.card.text-white span {
    color: #ffffff !important;
}

.card.text-dark,
.card.text-dark h1,
.card.text-dark h2,
.card.text-dark h3,
.card.text-dark h4,
.card.text-dark h5,
.card.text-dark h6,
.card.text-dark p,
.card.text-dark small,
.card.text-dark span {
    color: #12213f !important;
}

.card-hover { transition: transform .2s, box-shadow .2s; }
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(19, 56, 130, 0.2) !important;
    border-color: rgba(212, 160, 23, 0.35);
}

.card-header {
    background: linear-gradient(90deg, rgba(186, 230, 253, 0.35), rgba(255, 255, 255, 0.95)) !important;
    border-bottom: 2px solid rgba(212, 160, 23, 0.35) !important;
}

/* Section title */
.section-title { position: relative; display: inline-block; }
.section-title::after {
    content: '';
    display: block;
    height: 4px; width: 60px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
    border-radius: 2px;
    margin-top: 8px;
}

/* News card — modern hover-zoom style */
.news-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(15,47,127,.07);
    transition: transform .22s ease, box-shadow .22s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15,47,127,.14);
}
.news-card__img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}
.news-card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.news-card:hover .news-card__img-wrap img {
    transform: scale(1.08);
}
.news-card__no-img {
    height: 210px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.news-card__badge {
    position: absolute;
    top: .75rem; left: .75rem;
    font-size: .68rem;
    font-weight: 700;
    padding: .28rem .7rem;
    border-radius: 999px;
    color: #fff;
    background: var(--blue-800);
    letter-spacing: .02em;
    z-index: 1;
}
.news-card__body {
    padding: 1.1rem 1.25rem .6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card__date {
    font-size: .72rem;
    color: #94a3b8;
    margin-bottom: .45rem;
}
.news-card__title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--blue-900);
    line-height: 1.4;
    margin-bottom: .5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__excerpt {
    font-size: .83rem;
    color: #64748b;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.news-card__footer {
    padding: .65rem 1.25rem 1rem;
    display: flex;
    align-items: center;
}
.news-card__link {
    font-size: .83rem;
    font-weight: 700;
    color: var(--blue-800);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .3rem;
    transition: gap .18s ease;
}
.news-card__link:hover { gap: .55rem; color: var(--blue-900); }

/* Legacy aliases kept for other pages */
.news-img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px 8px 0 0; }
.news-no-img { height: 200px; background: linear-gradient(135deg, #e0e7ff, #c7d2fe); display: flex; align-items: center; justify-content: center; border-radius: 8px 8px 0 0; }

/* Gallery */
.gallery-img-wrap { overflow: hidden; border-radius: 8px; aspect-ratio: 4/3; cursor: pointer; }
.gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-img-wrap:hover img { transform: scale(1.05); }

/* Icon polish */
.fa,
.fas,
.far,
.fab {
    transition: transform 0.22s ease, color 0.22s ease;
}

.btn i,
.nav-link i,
.card i,
h1 i,
h2 i,
h3 i,
h4 i,
h5 i,
h6 i {
    color: var(--gold-500);
}

.btn:hover i,
.nav-link:hover i,
.card-hover:hover i {
    transform: translateY(-1px) scale(1.06);
    color: var(--gold-400);
}

/* Admin nav */
.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #102a63 0%, #173b8f 55%, #1e3a8a 100%);
    border-right: 2px solid rgba(242, 193, 78, 0.42);
}
.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, .82);
    padding: .6rem 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255, 255, 255, .13);
    color: white;
    border-color: rgba(242, 193, 78, 0.35);
}
.admin-sidebar .nav-link i { width: 20px; }

/* Admin dashboard quick actions (Linux Mint inspired) */
.ios-quick-btn {
    --ios-accent: #1f9d6a;
    --ios-accent-soft: rgba(31, 157, 106, 0.24);
    --ios-text: #1a2f2a;
    --ios-bg-top: #f6fcf9;
    --ios-bg-bottom: #e5f3ec;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .26rem;
    width: 92%;
    max-width: 280px;
    margin-inline: auto;
    min-height: 66px;
    padding: .65rem .65rem;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid var(--ios-accent-soft);
    background: linear-gradient(180deg, color-mix(in srgb, var(--ios-bg-top) 88%, white 12%) 0%, var(--ios-bg-bottom) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), inset 0 -1px 0 rgba(30, 41, 59, 0.05), 0 11px 20px rgba(15, 23, 42, 0.1);
    backdrop-filter: saturate(130%) blur(1px);
    color: var(--ios-text);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    overflow: hidden;
}

.ios-quick-btn::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: -58%;
    height: 120%;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.ios-quick-btn:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--ios-accent) 45%, white 55%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), inset 0 -1px 0 rgba(30, 41, 59, 0.08), 0 14px 22px rgba(15, 23, 42, 0.14);
}

.ios-quick-btn:active {
    transform: translateY(0) scale(0.985);
    box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.12);
}

.ios-quick-btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--ios-accent) 60%, white 40%);
    outline-offset: 1px;
}

.ios-quick-btn__icon {
    font-size: 1.38rem;
    line-height: 1;
    color: var(--ios-accent);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ios-quick-btn__label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ios-text);
    text-align: center;
    line-height: 1.2;
}

.ios-quick-btn--primary { --ios-accent: #1f9d6a; --ios-accent-soft: rgba(31, 157, 106, 0.34); }
.ios-quick-btn--info { --ios-accent: #0f766e; --ios-accent-soft: rgba(15, 118, 110, 0.32); }
.ios-quick-btn--success { --ios-accent: #15803d; --ios-accent-soft: rgba(21, 128, 61, 0.34); }
.ios-quick-btn--warning { --ios-accent: #d4a017; --ios-accent-soft: rgba(212, 160, 23, 0.34); }
.ios-quick-btn--dark { --ios-accent: #334155; --ios-accent-soft: rgba(51, 65, 85, 0.34); }
.ios-quick-btn--secondary { --ios-accent: #4b6b61; --ios-accent-soft: rgba(75, 107, 97, 0.34); }

/* iOS 26.3 controls for members page */
.ios26-btn {
    --ios26-accent: #1f9d6a;
    --ios26-soft: rgba(31, 157, 106, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    min-height: 42px;
    padding: .55rem 1rem;
    border-radius: 13px;
    border: 1px solid var(--ios26-soft);
    background: linear-gradient(180deg, #f8fbff 0%, #e9eff7 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), inset 0 -1px 0 rgba(15, 23, 42, 0.06), 0 8px 16px rgba(15, 23, 42, 0.1);
    color: #1f2a44;
    text-decoration: none;
    font-weight: 600;
    font-size: .97rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ios26-btn:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--ios26-accent) 45%, white 55%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), inset 0 -1px 0 rgba(15, 23, 42, 0.08), 0 11px 18px rgba(15, 23, 42, 0.14);
    color: #1f2a44;
}

.ios26-btn:active {
    transform: translateY(0) scale(.986);
}

.ios26-btn i {
    color: var(--ios26-accent);
    font-size: 1rem;
}

.ios26-btn--primary { --ios26-accent: #1f9d6a; --ios26-soft: rgba(31, 157, 106, 0.34); }
.ios26-btn--neutral { --ios26-accent: #4b6b61; --ios26-soft: rgba(75, 107, 97, 0.34); }

.ios26-icon-btn {
    --ios26-icon: #1f9d6a;
    --ios26-icon-soft: rgba(31, 157, 106, 0.32);
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--ios26-icon-soft);
    background: linear-gradient(180deg, #f8fbff 0%, #e8eef6 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 5px 10px rgba(15, 23, 42, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
}

.ios26-icon-btn i {
    color: var(--ios26-icon);
    font-size: .95rem;
}

.ios26-icon-btn:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 8px 12px rgba(15, 23, 42, 0.14);
}

.ios26-icon-btn--primary { --ios26-icon: #1f9d6a; --ios26-icon-soft: rgba(31, 157, 106, 0.36); }
.ios26-icon-btn--danger { --ios26-icon: #dc2626; --ios26-icon-soft: rgba(220, 38, 38, 0.34); }

/* Global icon style: gold with white edge + 3D */
:root {
    --ios26-icon-surface-top: #fffef8;
    --ios26-icon-surface-bottom: #f5ebd0;
    --ios26-icon-border: rgba(255, 255, 255, 0.98);
    --ios26-icon-shadow: rgba(82, 56, 10, 0.28);
    --icon-gold: #d4a017;
    --icon-gold-hover: #efc55d;
}

.navbar .nav-link i,
.admin-sidebar .nav-link i,
.ios-quick-btn__icon i,
.ios26-btn i,
.ios26-icon-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: .5rem;
    background: linear-gradient(180deg, var(--ios26-icon-surface-top) 0%, var(--ios26-icon-surface-bottom) 100%);
    border: 1px solid var(--ios26-icon-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), inset 0 -1px 0 rgba(175, 133, 47, 0.18), 0 4px 8px var(--ios26-icon-shadow);
    color: var(--icon-gold);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 -1px 0 rgba(255, 255, 255, 0.75), 0 2px 3px rgba(120, 86, 16, 0.42);
    line-height: 1;
}

.navbar .nav-link:hover i,
.admin-sidebar .nav-link:hover i,
.admin-sidebar .nav-link.active i,
.ios-quick-btn:hover .ios-quick-btn__icon i,
.ios26-btn:hover i,
.ios26-icon-btn:hover i {
    color: var(--icon-gold-hover);
    transform: translateY(-1px) scale(1.04);
}

.admin-sidebar .nav-link i {
    width: 1.55rem;
    margin-right: .45rem;
}

@media (max-width: 768px) {
    .ios-quick-btn {
        width: 100%;
        max-width: none;
        min-height: 64px;
        border-radius: 11px;
    }
    .ios-quick-btn__label {
        font-size: 1rem;
    }
    .ios-quick-btn__icon {
        font-size: 1.22rem;
    }
    .ios26-btn {
        width: 100%;
    }
}

/* Homepage menu banners */
.menu-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.menu-banner-grid__item {
    width: 100%;
}

.menu-banner-card {
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.menu-banner-card__inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 7;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(15, 47, 127, 0.96) 0%, rgba(37, 99, 235, 0.96) 68%, rgba(56, 189, 248, 0.96) 100%);
    border: 1px solid rgba(242, 193, 78, 0.35);
    box-shadow: 0 12px 24px rgba(15, 47, 127, 0.14);
    color: var(--white);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.menu-banner-card:hover .menu-banner-card__inner {
    transform: translateY(-3px);
    box-shadow: 0 18px 28px rgba(15, 47, 127, 0.22);
    border-color: rgba(242, 193, 78, 0.68);
}

.menu-banner-card__inner--image {
    background: none;
}

.menu-banner-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-banner-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 66, 0.14) 0%, rgba(10, 25, 66, 0.82) 100%);
}

.menu-banner-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .8rem;
    width: 100%;
    padding: .75rem .95rem;
}

.menu-banner-card__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--gold-400);
    font-size: 1.35rem;
}

.menu-banner-card__title {
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: .1rem;
    font-size: .96rem;
}

.menu-banner-card__desc {
    font-size: .76rem;
    color: rgba(255, 255, 255, .82);
}

.milestone-event-text {
    white-space: pre-wrap;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .menu-banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .menu-banner-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .menu-banner-card__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .menu-banner-card__desc {
        font-size: .68rem;
    }
}

/* Table */
.table th {
    background: linear-gradient(180deg, #eef6ff 0%, #e8f2ff 100%);
    color: #143675;
    font-weight: 700;
    border-bottom: 2px solid rgba(212, 160, 23, 0.28);
}

.table td {
    border-color: rgba(37, 99, 235, 0.12);
}

.table-hover tbody tr:hover {
    background-color: rgba(186, 230, 253, 0.2);
}

/* Monthly Calendar */
.calendar-month-list {
    display: grid;
    gap: 22px;
}

.calendar-month-card {
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(15, 47, 127, 0.08);
}

.calendar-month-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(20, 54, 117, 0.98) 0%, rgba(37, 99, 235, 0.94) 62%, rgba(14, 165, 233, 0.94) 100%);
    color: #fff;
}

.calendar-month-card__eyebrow {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .78;
    margin-bottom: 4px;
}

.calendar-month-card__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.calendar-month-card__count {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
}

.calendar-month-card__body {
    padding: 22px;
}

.calendar-month-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.calendar-sheet {
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.calendar-sheet__weekdays,
.calendar-sheet__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-sheet__weekday {
    padding: 10px 6px;
    text-align: center;
    font-size: .8rem;
    font-weight: 700;
    color: #173683;
    background: rgba(37, 99, 235, 0.08);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.calendar-sheet__day {
    min-height: 74px;
    padding: 8px 7px;
    border-right: 1px solid rgba(37, 99, 235, 0.08);
    border-bottom: 1px solid rgba(37, 99, 235, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    background: #fff;
}

.calendar-sheet__day:nth-child(7n) {
    border-right: none;
}

.calendar-sheet__day--empty {
    background: rgba(226, 232, 240, 0.26);
}

.calendar-sheet__day--event {
    background: linear-gradient(180deg, rgba(219, 234, 254, 0.92) 0%, rgba(255, 255, 255, 1) 100%);
}

.calendar-sheet__day-number {
    font-weight: 700;
    color: #173683;
    font-size: .92rem;
}

.calendar-sheet__day-badge {
    align-self: flex-end;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}

.calendar-agenda {
    display: grid;
    gap: 12px;
}

.calendar-agenda__item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 47, 127, 0.05);
}

.calendar-agenda__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(180deg, #16367f 0%, #2563eb 100%);
    color: #fff;
    padding: 10px 8px;
    min-height: 74px;
}

.calendar-agenda__day {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}

.calendar-agenda__weekday {
    margin-top: 6px;
    font-size: .78rem;
    opacity: .86;
}

.calendar-agenda__content {
    min-width: 0;
}

.calendar-agenda__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.calendar-agenda__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #16337f;
    line-height: 1.45;
}

.calendar-agenda__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: .8rem;
    color: #5b6b83;
}

.calendar-agenda__notes {
    margin-top: 8px;
    color: #42536b;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .calendar-month-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-month-card__title {
        font-size: 1.12rem;
    }

    .calendar-month-card__body {
        padding: 16px;
    }

    .calendar-month-grid {
        grid-template-columns: 1fr;
    }

    .calendar-sheet__day {
        min-height: 58px;
    }

    .calendar-agenda__item {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 12px;
    }

    .calendar-agenda__day {
        font-size: 1.15rem;
    }
}

/* Badge */
.badge-category { font-size: .75rem; }

.badge {
    border: 1px solid rgba(212, 160, 23, 0.28);
}

/* Responsive */
@media (max-width: 768px) {
    .brand-line-th {
        font-size: 1.25rem;
    }

    .brand-line-en {
        font-size: 0.74rem;
        letter-spacing: 0.08em;
    }

    .hero-section { min-height: 55vh; }
    .hero-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 120px);
        margin-top: 1rem;
    }

    .hero-gallery-card--large {
        grid-row: 1 / span 2;
    }
}

/* Share Bar */
.share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .85rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.share-bar__label {
    font-size: .8rem;
    font-weight: 600;
    color: #555;
    margin-right: .25rem;
}
.share-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .9rem;
    border-radius: 5px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity .18s;
}
.share-bar__btn:hover { opacity: .82; }
.share-bar__btn--fb   { background: #1877f2; color: #fff; }
.share-bar__btn--line { background: #06c755; color: #fff; }
.share-bar__btn--copy { background: #6c757d; color: #fff; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue-800, #1a3a6b);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
}
.back-to-top--show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover { background: var(--gold-500, #d4a017); color: #1a1a1a; }

/* Memorial Popup */
.memorial-overlay {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(0,0,0,.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: memFadeIn .45s ease;
}
.memorial-overlay--hiding {
    animation: memFadeOut .42s ease forwards;
}
@keyframes memFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes memFadeOut { from { opacity: 1; } to { opacity: 0; } }

.memorial-modal {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.65);
    animation: memSlideUp .5s cubic-bezier(.2,.8,.2,1);
    background: radial-gradient(ellipse at 50% 25%, #dedede 0%, #b8b8b8 55%, #909090 100%);
    filter: grayscale(1);
    text-align: center;
}
@keyframes memSlideUp {
    from { transform: translateY(28px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.memorial-modal__photo {
    display: block;
    max-width: 100%;
    max-height: 45vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-bottom: 1px solid rgba(0,0,0,.15);
}
.memorial-modal__body-wrap {
    padding: 1.4rem 1.75rem 1.6rem;
}
.memorial-modal__title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 .3rem;
    line-height: 1.3;
}
.memorial-modal__subtitle {
    font-size: .92rem;
    color: #333;
    margin: 0 0 .6rem;
}
.memorial-modal__ornament {
    font-size: 1.5rem;
    color: #555;
    letter-spacing: .5rem;
    margin-bottom: .7rem;
    line-height: 1;
}
.memorial-modal__body {
    font-size: .82rem;
    color: #3a3a3a;
    line-height: 1.75;
    margin: 0 0 1.1rem;
}
.memorial-modal__actions {
    display: flex;
    gap: .65rem;
    justify-content: center;
    flex-wrap: wrap;
}
.memorial-modal__btn {
    display: inline-block;
    padding: .5rem 1.6rem;
    border-radius: 4px;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #1e1e1e;
    background: #1e1e1e;
    color: #f0f0f0;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.memorial-modal__btn:hover { background: #000; color: #fff; }
.memorial-modal__btn--outline {
    background: transparent;
    color: #1e1e1e;
}
.memorial-modal__btn--outline:hover { background: #1e1e1e; color: #f0f0f0; }
@media (max-width: 480px) {
    .memorial-modal__body-wrap { padding: 1.1rem 1.2rem 1.3rem; }
    .memorial-modal__title { font-size: 1.3rem; }
    .memorial-modal__actions { flex-direction: column; }
    .memorial-modal__btn { text-align: center; }
}

/* Announcement Bar */
.annbar {
    width: 100%;
    padding: .5rem 3rem .5rem 1rem;
    font-size: .875rem;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    animation: annbarSlideDown .35s ease;
    z-index: 1050;
}
.annbar--danger  { background: #dc3545; color: #fff; }
.annbar--warning { background: #ffc107; color: #212529; }
.annbar--info    { background: #0dcaf0; color: #212529; }
.annbar--success { background: #198754; color: #fff; }
.annbar__text { flex: 1; }
.annbar__link { color: inherit; font-weight: 600; text-decoration: underline; }
.annbar__link:hover { opacity: .85; }
.annbar__close {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    opacity: .65;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0 .35rem;
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
}
.annbar__close:hover { opacity: 1; }
@keyframes annbarSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* PDPA Banner */
.pdpa-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1049;
    background: rgba(13, 20, 42, 0.97);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--gold-500);
    animation: pdpaSlideUp .35s ease;
}

@keyframes pdpaSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}

.pdpa-banner--hiding {
    animation: pdpaSlideDown .38s ease forwards;
}

@keyframes pdpaSlideDown {
    from { transform: translateY(0);   opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}

.pdpa-banner__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pdpa-banner__icon {
    font-size: 1.75rem;
    color: var(--gold-400);
    flex-shrink: 0;
}

.pdpa-banner__text {
    flex: 1 1 280px;
    min-width: 0;
}

.pdpa-banner__title {
    display: block;
    color: #fff;
    font-size: .9rem;
    margin-bottom: .2rem;
}

.pdpa-banner__body {
    color: rgba(255,255,255,0.70);
    font-size: .82rem;
    margin: 0;
    line-height: 1.55;
}

.pdpa-banner__actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.pdpa-banner__link {
    color: var(--gold-400);
    font-size: .82rem;
    text-decoration: underline;
    white-space: nowrap;
}

.pdpa-banner__link:hover { color: #fff; }

.pdpa-banner__accept {
    background: linear-gradient(180deg, #ffd971 0%, var(--gold-500) 100%);
    border: none;
    color: #13264f;
    font-weight: 700;
    font-size: .88rem;
    padding: .5rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .2s;
}

.pdpa-banner__accept:hover { opacity: .88; }

@media (max-width: 575.98px) {
    .pdpa-banner__inner { padding: .8rem 1rem; gap: .65rem; }
    .pdpa-banner__icon { display: none; }
    .pdpa-banner__actions { width: 100%; justify-content: flex-end; }
    .pdpa-banner__accept { flex: 1; text-align: center; }
}

/* Homepage chatbot */
.chatbot-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
}

.chatbot-toggle {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--blue-900) 0%, var(--blue-800) 58%, var(--sky-400) 100%);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 12px 26px rgba(15, 47, 127, 0.32);
}

.chatbot-panel {
    width: 330px;
    max-width: calc(100vw - 24px);
    height: 440px;
    max-height: calc(100vh - 110px);
    background: #fff;
    border: 1px solid rgba(29, 78, 216, 0.18);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(15, 47, 127, 0.22);
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    transform-origin: bottom right;
}

.chatbot-panel.chatbot-panel--open {
    animation: chatbotPop .3s cubic-bezier(.2,.8,.2,1);
}

.chatbot-header {
    background: linear-gradient(120deg, var(--blue-900) 0%, var(--blue-800) 70%, var(--sky-400) 100%);
    color: #fff;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-headline {
    display: flex;
    align-items: center;
    gap: 9px;
}

.chatbot-mascot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffe082;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: .95rem;
    animation: mascotPulse 2.2s ease-in-out infinite;
}

.chatbot-mascot img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.chatbot-title {
    font-weight: 700;
    line-height: 1.1;
}

.chatbot-subtitle {
    font-size: .78rem;
    opacity: .85;
}

.chatbot-close {
    border: 0;
    background: transparent;
    color: #fff;
    opacity: .9;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #f8fbff;
}

.chatbot-message {
    max-width: 86%;
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    line-height: 1.4;
    font-size: .88rem;
}

.chatbot-message.bot {
    background: #fff;
    color: #153268;
    border: 1px solid #e6edff;
}

.chatbot-message.user {
    margin-left: auto;
    background: var(--blue-800);
    color: #fff;
}

.chatbot-message--typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    padding: 8px 9px;
}

.chatbot-message--typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7f93bc;
    animation: chatbotTyping 1s infinite ease-in-out;
}

.chatbot-message--typing span:nth-child(2) {
    animation-delay: .15s;
}

.chatbot-message--typing span:nth-child(3) {
    animation-delay: .3s;
}

.chatbot-quick {
    padding: 8px 10px 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid #ebf2ff;
    background: #fff;
}

.chatbot-quick button {
    border: 1px solid rgba(29, 78, 216, 0.25);
    background: #f3f7ff;
    color: #224386;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: .78rem;
}

.chatbot-form {
    border-top: 1px solid #ebf2ff;
    padding: 9px;
    display: flex;
    gap: 8px;
    background: #fff;
}

.chatbot-form input {
    flex: 1;
    border: 1px solid #d7e3ff;
    border-radius: 999px;
    padding: 7px 11px;
    outline: none;
}

.chatbot-form input:focus {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.16);
}

.chatbot-form button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--blue-800);
    color: #fff;
}

@media (max-width: 576px) {
    .chatbot-widget {
        right: 10px;
        bottom: 10px;
    }

    .chatbot-panel {
        width: min(94vw, 340px);
        height: 70vh;
    }
}

@keyframes chatbotPop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes mascotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
    }
}

@keyframes chatbotTyping {
    0%, 80%, 100% {
        opacity: .35;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-2px);
    }
}
