    /* =========================
   RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
UTILITY
========================= */
.section {
    padding: 80px 0;
}

.section-gray {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* =========================
BUTTON
========================= */
.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: #fff;
    transition: all .35s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(102, 126, 234, .45);
}

/* =========================
NAVBAR
========================= */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 4px 25px rgba(0, 0, 0, .08);
}

/* =========================
HERO
========================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.55);
    animation: zoomSlow 18s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeUp 1.2s ease both;
}

.hero h1 {
    font-size: 4rem;
    text-shadow: 0 0 30px rgba(102, 126, 234, .6);

}

.hero p {
    font-size: 1.4rem;
    opacity: .9;
}

/* =========================
CARD
========================= */
.card {
    border-radius: 18px;
    border: none;
    transition: all .4s cubic-bezier(.25, .8, .25, 1);
    animation: floatCard 6s ease-in-out infinite;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .18);
}

.card-image,
.card-img-top {
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-weight: 600;
}

.card-text {
    color: #666;
}

.fancy-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: all .35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);

}

.card-img-wrapper {
    position: relative;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .4s;
}

.fancy-card:hover .card-overlay {
    opacity: 1;
}

.card-img-wrapper img {
    transition: transform .5s ease;
}

.fancy-card:hover img {
    transform: scale(1.1);
}

.filter-chips {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.chip {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid #ddd;
    color: #444;
    text-decoration: none;
    transition: .3s;
}

.chip.active,
.chip:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 10px 25px rgba(102, 126, 234, .35);
}


/* =========================
GRID ANIMATION
========================= */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all .9s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
SPECIAL EFFECT
========================= */
.hover-shadow:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

/* =========================
FOOTER
========================= */
.footer {
    background: #1e1e2f;
    color: #ccc;
}

/* =========================
KEYFRAMES
========================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomSlow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* =========================
Skeleton
========================= */
.skeleton-card {
    height: 280px;
    border-radius: 16px;
    background: linear-gradient(90deg,
            #eee 25%,
            #f5f5f5 37%,
            #eee 63%);
    background-size: 400% 100%;
    animation: skeleton 1.4s ease infinite;
}

@keyframes skeleton {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #667eea;
    transition: transform 0.3s ease;
}

.card:hover .stat-number {
    transform: scale(1.1);
}

.stat-icon {
    font-size: 3rem;
    font-weight: bold;
    color: #667eea;
}
.fancy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,.18);
}

/* ===== Image Wrapper ===== */
.card-img-wrapper {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.fancy-card:hover img {
    transform: scale(1.1);
}

/* ===== Overlay ===== */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.7),
        rgba(0,0,0,.15)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .4s;
}


/* ===== Badge ===== */
.badge-popular {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg,#ff512f,#dd2476);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* ===== Price ===== */
.price-tag {
    font-weight: 700;
    color: #28a745;
    font-size: 1rem;
}