/* =============================================================
   FRONTEND CSS — includes/header.php + all public pages
   (about, blog, blog-detail, contact, courses, course-detail)
   ============================================================= */

/* ========== LOCAL HEADING FONT — FHTotalDisplay ========== */
@font-face {
    font-family: 'FHTotalDisplay';
    src: url('../fonts/heading-font/FHTotalDisplay-Test-Regular-BF6514dd5b34b98.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FHTotalDisplay';
    src: url('../fonts/heading-font/FHTotalDisplay-Test-RegularItalic-BF6514dd5b252ec.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'FHTotalDisplay';
    src: url('../fonts/heading-font/FHTotalDisplay-Test-Medium-BF6514dd5ae34c2.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FHTotalDisplay';
    src: url('../fonts/heading-font/FHTotalDisplay-Test-SemiBold-BF6514dd5b27c56.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FHTotalDisplay';
    src: url('../fonts/heading-font/FHTotalDisplay-Test-Bold-BF6514dd5b3a369.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FHTotalDisplay';
    src: url('../fonts/heading-font/FHTotalDisplay-Test-BoldItalic-BF6514dd5b269d4.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'FHTotalDisplay';
    src: url('../fonts/heading-font/FHTotalDisplay-Test-Black-BF6514dd5b2001e.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FHTotalDisplay';
    src: url('../fonts/heading-font/FHTotalDisplay-Test-BlackItalic-BF6514dd5b18743.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'FHTotalDisplay';
    src: url('../fonts/heading-font/FHTotalDisplay-Test-Light-BF6514dd5b2b64b.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FHTotalDisplay';
    src: url('../fonts/heading-font/FHTotalDisplay-Test-Thin-BF6514dd5b2d9d8.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* ========== GLOBAL FONT OVERRIDE ========== */
body {
    font-family: "Be Vietnam Pro", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'FHTotalDisplay', sans-serif !important;
}

/* ========== ASTROGURU NAVBAR ========== */
#mainNav.astro-nav {
    background: rgba(8, 8, 30, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

#mainNav.astro-nav .navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff !important;
    text-transform: none;
    letter-spacing: 0.5px;
}

.navbar-brand>img {
    height: 125px;
    position: absolute;
    background: #ffffff;
    top: 0;
    padding-right: 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 80px;
}

#mainNav.astro-nav .navbar-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6c63ff, #a78bfa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

#mainNav.astro-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    padding: 8px 14px !important;
    border-radius: 0 !important;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

#mainNav.astro-nav .nav-link:hover,
#mainNav.astro-nav .nav-link.active {
    color: #fff !important;
}

#mainNav.astro-nav .nav-link.active {
    border-bottom: 2px solid #a78bfa;
    padding-bottom: 6px !important;
}

.astro-nav .btn-login {
    color: #fff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    padding: 7px 20px;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s;
}

.astro-nav .btn-login:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.astro-nav .btn-start {
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 6px;
    padding: 7px 20px;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.astro-nav .btn-start:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
    transform: translateY(-1px);
}

.astro-nav .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    background: transparent !important;
    color: #fff !important;
}

/* ========== ASTROGURU HERO BANNER ========== */
.astro-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #06061a 0%, #0d0d35 40%, #12103a 70%, #0a0820 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.astro-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 40%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 40% 10%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 55%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 20%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 80% 70%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 35%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 75%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 85%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 60% 80%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 45% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 50%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 20% 55%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 90%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 90%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 92% 8%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 50% 65%, rgba(200, 180, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 20%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 65% 40%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 18% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    z-index: 0;
}

.astro-hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 520px;
    height: 520px;
    background: radial-gradient(ellipse, rgba(100, 80, 200, 0.25) 0%, rgba(60, 40, 160, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.astro-hero .hero-content {
    position: relative;
    z-index: 2;
}

.astro-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 5px 14px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 500;
    margin-bottom: 22px;
}

.astro-hero h1 {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(100, 80, 200, 0.3);
}

.astro-hero h1 span {
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.astro-hero p.hero-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 36px;
    font-family: "Be Vietnam Pro", sans-serif;
}

.astro-hero .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-family: 'FHTotalDisplay', sans-serif;
    letter-spacing: 0.3px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 30px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
    transition: all 0.25s;
}

.astro-hero .btn-hero:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6);
    transform: translateY(-2px);
    color: #fff;
}

.astro-hero .hero-image-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
}

.astro-hero .hero-img {
    max-height: 520px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(120, 100, 220, 0.5));
}

.astro-hero .zodiac-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    border: 1px solid rgba(160, 140, 255, 0.15);
    border-radius: 50%;
    animation: rotateRing 30s linear infinite;
    z-index: 1;
}

.astro-hero .zodiac-ring::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px dashed rgba(160, 140, 255, 0.1);
    border-radius: 50%;
}

.astro-hero .zodiac-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(167, 139, 250, 0.6);
    border-radius: 50%;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.8);
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.astro-hero .star-1,
.astro-hero .star-2,
.astro-hero .star-3 {
    position: absolute;
    color: rgba(255, 220, 100, 0.7);
    font-size: 1rem;
    animation: twinkle 3s ease-in-out infinite;
    z-index: 2;
}

.astro-hero .star-1 {
    top: 20%;
    left: 8%;
    animation-delay: 0s;
}

.astro-hero .star-2 {
    top: 60%;
    left: 5%;
    animation-delay: 1s;
    font-size: 0.7rem;
}

.astro-hero .star-3 {
    top: 35%;
    right: 48%;
    animation-delay: 2s;
    font-size: 0.8rem;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* ========== FEATURED COURSES SECTION ========== */
.courses-section {
    background: #f9f9fb;
    padding: 80px 0 90px;
}

.courses-section .section-label {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #0b1023;
    margin-bottom: 10px;
    display: block;
}

.courses-section .section-title {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #1a1a2e;
    margin-bottom: 48px;
}

.course-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ebebf5;
    box-shadow: 0 2px 16px rgba(100, 80, 200, 0.07);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(100, 80, 200, 0.15);
}

.course-card .card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 170px;
    background: #e8e6f5;
}

.course-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.course-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.course-card .card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0b1023;
    color: #fff;
    font-family: 'FHTotalDisplay', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-card .card-body-custom {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-card .card-title-custom {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: 0.97rem;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 10px;
}

.course-card .instructor-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.course-card .instructor-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #6c63ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.course-card .instructor-avatar img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.course-card .instructor-name {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.82rem;
    color: #666;
    font-weight: 600;
}

.course-card .rating-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 14px;
}

.course-card .rating-score {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1a1a2e;
}

.course-card .stars {
    display: flex;
    gap: 1px;
}

.course-card .stars i {
    color: #f59e0b;
    font-size: 0.7rem;
}

.course-card .rating-count {
    font-size: 0.78rem;
    color: #aaa;
    font-family: "Be Vietnam Pro", sans-serif;
}

.course-card .price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f0f0f7;
}

.course-card .price {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #1a1a2e;
}

.course-card .btn-learn {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: #0b1023;
    background: transparent;
    border: 1.5px solid #0b1023;
    border-radius: 6px;
    padding: 6px 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.course-card .btn-learn:hover {
    background: #0b1023;
    color: #fff;
}

/* ========== TOP ASTROLOGERS SECTION ========== */
.astrologers-section {
    background: #fff;
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

.astrologers-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(124, 106, 245, 0.05) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.astrologers-section .section-label {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #0b1023;
    margin-bottom: 10px;
    display: block;
}

.astrologers-section .section-title {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #1a1a2e;
    margin-bottom: 12px;
}

.astrologers-section .section-sub {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 1rem;
    color: #777;
    max-width: 520px;
    margin: 0 auto 52px;
    line-height: 1.7;
}

.instructor-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ebebf5;
    box-shadow: 0 4px 20px rgba(100, 80, 200, 0.07);
    padding: 32px 28px 28px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
}

.instructor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(100, 80, 200, 0.14);
}

.instructor-card .photo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    border: 3px solid #ebe8ff;
    box-shadow: 0 4px 16px rgba(124, 106, 245, 0.18);
    background: linear-gradient(135deg, #e8e6ff, #d4cfff);
    position: relative;
}

.instructor-card .photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-card .photo-wrap .avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(160deg, #c4beff 0%, #a89cff 100%);
    overflow: hidden;
}

.instructor-card .photo-wrap .avatar-placeholder i {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: -8px;
    opacity: 0.9;
}

.instructor-card .instructor-name {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: 1.08rem;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.instructor-card .instructor-title {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0b1023;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.instructor-card .instructor-desc {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.88rem;
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
}

.instructor-card .instructor-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f7;
}

.instructor-card .stat-item {
    text-align: center;
}

.instructor-card .stat-value {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #1a1a2e;
    display: block;
}

.instructor-card .stat-label {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.72rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== BLOG SECTION ========== */
.blog-section {
    background: #f9f9fb;
    padding: 80px 0 90px;
}

.blog-section .divider-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 48px;
}

.blog-section .divider-heading .dh-line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, #c4beff);
}

.blog-section .divider-heading .dh-line.right {
    background: linear-gradient(to left, transparent, #c4beff);
}

.blog-section .divider-heading .dh-icon {
    color: #0b1023;
    font-size: 0.75rem;
}

.blog-section .divider-heading h2 {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: #1a1a2e;
    margin: 0;
    white-space: nowrap;
}

.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ebebf5;
    box-shadow: 0 2px 14px rgba(100, 80, 200, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 34px rgba(100, 80, 200, 0.14);
    text-decoration: none;
}

.blog-card .blog-img-wrap {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: #1a1a2e;
}

.blog-card .blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.35s, opacity 0.35s;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.06);
    opacity: 1;
}

.blog-card .blog-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(10, 8, 32, 0.65), transparent);
    pointer-events: none;
}

.blog-card .blog-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(124, 106, 245, 0.85);
    color: #fff;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.blog-card .blog-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card .blog-title {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a2e;
    line-height: 1.45;
    margin-bottom: 10px;
    flex: 1;
}

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f7;
}

.blog-card .blog-read-time {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.78rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card .blog-read-time i {
    color: #c4beff;
    font-size: 0.7rem;
}

.blog-card .blog-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f0eeff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b1023;
    font-size: 0.65rem;
    transition: background 0.2s, color 0.2s;
}

.blog-card:hover .blog-arrow {
    background: #0b1023;
    color: #fff;
}

.blog-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: #0b1023;
    text-decoration: none;
    border: 1.5px solid #0b1023;
    border-radius: 7px;
    padding: 9px 24px;
    transition: all 0.2s;
}

.blog-view-all:hover {
    background: #0b1023;
    color: #fff;
}

/* ========== TESTIMONIALS / WHATSAPP SECTION ========== */
.testimonials-section {
    background: #f0f0f0;
    padding: 80px 0 90px;
}

.testimonials-section .divider-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.testimonials-section .divider-heading .dh-line {
    flex: 1;
    max-width: 110px;
    height: 1px;
    background: linear-gradient(to right, transparent, #bbb);
}

.testimonials-section .divider-heading .dh-line.right {
    background: linear-gradient(to left, transparent, #bbb);
}

.testimonials-section .divider-heading .dh-icon {
    color: #999;
    font-size: 0.7rem;
}

.testimonials-section .divider-heading h2 {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: #1a1a2e;
    margin: 0;
    white-space: nowrap;
}

.wa-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    font-family: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
}

.wa-card .wa-header {
    background: #075e54;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-card .wa-header .wa-back {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.wa-card .wa-header .wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #6c63ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}

.wa-card .wa-header .wa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa-card .wa-header .wa-info {
    flex: 1;
}

.wa-card .wa-header .wa-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.wa-card .wa-header .wa-status {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.7rem;
}

.wa-card .wa-header .wa-actions {
    display: flex;
    gap: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.wa-card .wa-body {
    background: #e5ddd5;
    background-image: 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='%23c5b8aa' fill-opacity='0.15'%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");
    padding: 12px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 220px;
}

.wa-card .wa-date {
    text-align: center;
    margin: 4px 0 8px;
}

.wa-card .wa-date span {
    background: rgba(225, 245, 254, 0.92);
    color: #777;
    font-size: 0.68rem;
    padding: 3px 10px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.wa-bubble-received {
    background: #fff;
    color: #111;
    border-radius: 0 8px 8px 8px;
    padding: 8px 10px 18px;
    font-size: 0.78rem;
    line-height: 1.5;
    max-width: 88%;
    align-self: flex-start;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wa-bubble-received::before {
    content: '';
    position: absolute;
    top: 0;
    left: -6px;
    border-width: 0 6px 6px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.wa-bubble-sent {
    background: #dcf8c6;
    color: #111;
    border-radius: 8px 0 8px 8px;
    padding: 8px 10px 18px;
    font-size: 0.78rem;
    line-height: 1.5;
    max-width: 75%;
    align-self: flex-end;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wa-bubble-sent::before {
    content: '';
    position: absolute;
    top: 0;
    right: -6px;
    border-width: 0 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #dcf8c6;
}

.wa-bubble-received .wa-time,
.wa-bubble-sent .wa-time {
    position: absolute;
    bottom: 4px;
    right: 8px;
    font-size: 0.6rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 2px;
}

.wa-bubble-sent .wa-time {
    color: #7fba6e;
}

.wa-bubble-sent .wa-time i {
    font-size: 0.6rem;
    color: #53bdeb;
}

.wa-card .wa-footer {
    background: #f0f0f0;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #ddd;
}

.wa-card .wa-footer .wa-input {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: #999;
    border: none;
}

.wa-card .wa-footer .wa-mic {
    width: 32px;
    height: 32px;
    background: #075e54;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
}

/* ========== SEO CONTENT SECTION ========== */
.seo-section {
    background: #fff;
    padding: 70px 0 80px;
}

.seo-section .seo-block {
    margin-bottom: 44px;
}

.seo-section .seo-block:last-child {
    margin-bottom: 0;
}

.seo-section h2 {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    color: #000;
    margin-bottom: 16px;
    line-height: 1.35;
}

.seo-section p {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.93rem;
    color: #000;
    line-height: 1.8;
    margin-bottom: 12px;
}

.seo-section p strong,
.seo-section li strong {
    color: #000;
}

.seo-section .seo-subheading {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 700;
    font-size: 0.93rem;
    color: #4a3728;
    margin-bottom: 8px;
}

.seo-section ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.seo-section ul li {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.93rem;
    color: #4a3728;
    line-height: 1.8;
    margin-bottom: 6px;
}

.seo-section a {
    color: #000;
    text-decoration: underline;
}

.seo-section a:hover {
    color: #9b1717;
}

.seo-section .seo-divider {
    border: none;
    border-top: 1px solid #e8d8c8;
    margin: 40px 0;
}

/* ========== FOOTER ========== */
.astro-footer {
    background: #0b0c1e;
    padding: 44px 0 0;
}

.astro-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.astro-footer .footer-logo .logo-icon {
    width: 44px;
    height: 44px;
    background: #f5c518;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0b0c1e;
    flex-shrink: 0;
}

.astro-footer .footer-logo .logo-text {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    color: #fff;
}

.astro-footer .footer-instructor {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.astro-footer .footer-instructor:hover {
    color: #f5c518;
}

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

.astro-footer .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.astro-footer .contact-list .ci-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.astro-footer .contact-list .ci-text {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 600;
    font-size: 0.93rem;
    color: #fff;
    line-height: 1.5;
}

.astro-footer .contact-list .ci-text small {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 1px;
}

.astro-footer .footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0 0;
}

.astro-footer .footer-bottom {
    padding: 18px 0;
}

.astro-footer .footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.astro-footer .footer-links a {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.astro-footer .footer-links a:hover {
    color: #fff;
}

.astro-footer .footer-links .sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.82rem;
}

.astro-footer .social-icons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.astro-footer .social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s;
}

.astro-footer .social-icons a:hover {
    border-color: #f5c518;
    color: #f5c518;
}

/* ========== ABOUT PAGE ========== */
.about-hero {
    background: linear-gradient(135deg, #0b0c1e 0%, #13103d 40%, #1a1252 70%, #0b0c1e 100%);
    padding: 50px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1px 1px at 10% 25%, rgba(255, 255, 255, .8) 0%, transparent 100%), radial-gradient(1px 1px at 30% 65%, rgba(255, 255, 255, .6) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 55% 15%, rgba(255, 255, 255, .7) 0%, transparent 100%), radial-gradient(1px 1px at 75% 55%, rgba(255, 255, 255, .5) 0%, transparent 100%), radial-gradient(1px 1px at 90% 30%, rgba(255, 255, 255, .6) 0%, transparent 100%), radial-gradient(2px 2px at 20% 80%, rgba(200, 180, 255, .4) 0%, transparent 100%), radial-gradient(1px 1px at 65% 85%, rgba(255, 255, 255, .4) 0%, transparent 100%);
}

.about-hero::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(100, 80, 200, .2) 0%, transparent 65%);
    border-radius: 50%;
}

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

.about-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 5px 16px;
    color: rgba(255, 255, 255, .8);
    font-size: .78rem;
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: .5px;
}

.about-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 16px;
}

.about-hero h1 span {
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero p {
    color: rgba(255, 255, 255, .7);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto 30px;
}

.about-hero .breadcrumb {
    background: transparent;
    padding: 0;
    justify-content: center;
    margin-bottom: 20px;
}

.about-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
}

.about-hero .breadcrumb-item a:hover {
    color: #fff;
}

.about-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, .8);
}

.about-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .3);
}

.mission-section {
    padding: 70px 0 60px;
    background: #fff;
}

.mission-section .mission-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0b1023, #6c63ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 auto 22px;
    box-shadow: 0 8px 24px rgba(124, 106, 245, .3);
}

.mission-section h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 18px;
    text-align: center;
}

.mission-section p {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .97rem;
    color: #555;
    line-height: 1.8;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.stats-section {
    padding: 60px 0 70px;
    background: linear-gradient(135deg, #06061a 0%, #0d0d35 50%, #12103a 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, .5) 0%, transparent 100%), radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, .4) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 80% 20%, rgba(255, 255, 255, .5) 0%, transparent 100%);
}

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

.stats-section .section-label {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #a78bfa;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.stats-section h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: 48px;
}

.stat-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform .25s, background .25s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-4px);
}

.stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.stat-card .stat-number {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 6px;
}

.stat-card .stat-label {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .65);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-section {
    padding: 70px 0 80px;
    background: #f9f9fb;
}

.why-section .section-label {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #0b1023;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.why-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 48px;
}

.why-card {
    background: #fff;
    border: 1px solid #ebebf5;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(100, 80, 200, .06);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(100, 80, 200, .13);
}

.why-card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.why-card .card-icon.purple {
    background: linear-gradient(135deg, #ede9ff, #ddd6fe);
    color: #0b1023;
}

.why-card .card-icon.gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.why-card .card-icon.green {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #059669;
}

.why-card h4 {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.why-card p {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .88rem;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

.cta-section {
    background: linear-gradient(135deg, #0b1023 0%, #6c63ff 50%, #5a52e0 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin-bottom: 14px;
}

.cta-section p {
    color: rgba(255, 255, 255, .8);
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .97rem;
    margin-bottom: 28px;
}

.cta-section .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: .92rem;
    padding: 13px 32px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(245, 158, 11, .4);
    transition: all .25s;
}

.cta-section .btn-cta:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 8px 30px rgba(245, 158, 11, .55);
    transform: translateY(-2px);
    color: #fff;
}

.cta-section .btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, .5);
    transition: all .25s;
}

.cta-section .btn-secondary-cta:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

/* ========== CONTACT PAGE ========== */
.contact-hero {
    background: linear-gradient(135deg, #0b0c1e 0%, #13103d 40%, #1a1252 70%, #0b0c1e 100%);
    padding: 50px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1px 1px at 12% 20%, rgba(255, 255, 255, .7) 0%, transparent 100%), radial-gradient(1px 1px at 35% 70%, rgba(255, 255, 255, .5) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 60% 15%, rgba(255, 255, 255, .6) 0%, transparent 100%), radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, .5) 0%, transparent 100%), radial-gradient(2px 2px at 50% 85%, rgba(200, 180, 255, .35) 0%, transparent 100%);
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(100, 80, 200, .18) 0%, transparent 65%);
    border-radius: 50%;
}

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

.contact-hero .breadcrumb {
    background: transparent;
    padding: 0;
    justify-content: center;
    margin-bottom: 18px;
}

.contact-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
}

.contact-hero .breadcrumb-item a:hover {
    color: #fff;
}

.contact-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, .8);
}

.contact-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .3);
}

.contact-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 5px 16px;
    color: rgba(255, 255, 255, .8);
    font-size: .78rem;
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 600;
    margin-bottom: 18px;
}

.contact-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 500;
    margin-bottom: 14px;
}

.contact-hero h1 span {
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero p {
    color: rgba(255, 255, 255, .7);
    font-size: .97rem;
    max-width: 520px;
    margin: 0 auto;
}

.contact-section {
    padding: 60px 0 80px;
}

.form-card {
    background: #fff;
    border: 1px solid #ebebf5;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 24px rgba(100, 80, 200, .08);
}

@media(max-width:576px) {
    .form-card {
        padding: 24px 18px;
    }
}

.form-card h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.form-card .form-subtitle {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .88rem;
    color: #888;
    margin-bottom: 24px;
}

.form-label {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 700;
    font-size: .85rem;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.form-control,
.form-select {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .9rem;
    color: #1a1a2e;
    border: 1.5px solid #e0dcf8;
    border-radius: 8px;
    padding: 10px 14px;
    background: #faf9ff;
    transition: border-color .2s, box-shadow .2s;
}

.form-control:focus,
.form-select:focus {
    border-color: #0b1023;
    box-shadow: 0 0 0 3px rgba(124, 106, 245, .12);
    background: #fff;
    outline: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #ef4444;
}

.invalid-feedback {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .8rem;
    color: #ef4444;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    background: linear-gradient(135deg, #0b1023, #6c63ff);
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 10px;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: .9rem;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 6px 22px rgba(124, 106, 245, .3);
    letter-spacing: .3px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #9180f7, #0b1023);
    box-shadow: 0 8px 28px rgba(124, 106, 245, .45);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

.success-box {
    text-align: center;
    padding: 40px 20px;
}

.success-box .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #059669;
    margin: 0 auto 20px;
}

.success-box h3 {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.success-box p {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .93rem;
    color: #666;
    max-width: 380px;
    margin: 0 auto 24px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0b1023, #6c63ff);
    color: #fff;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
}

.btn-back-home:hover {
    background: linear-gradient(135deg, #9180f7, #0b1023);
    color: #fff;
}

.contact-info-card {
    background: #0b0c1e;
    border-radius: 16px;
    padding: 30px 26px;
    color: #fff;
}

.contact-info-card h3 {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 6px;
}

.contact-info-card .subtitle {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .85rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 28px;
}

.contact-info-card .info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.contact-info-card .info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-card .info-icon.purple {
    background: rgba(124, 106, 245, .25);
    color: #a78bfa;
}

.contact-info-card .info-icon.green {
    background: rgba(37, 211, 102, .2);
    color: #25d366;
}

.contact-info-card .info-icon.gold {
    background: rgba(245, 158, 11, .2);
    color: #f59e0b;
}

.contact-info-card .info-text {
    font-family: "Be Vietnam Pro", sans-serif;
}

.contact-info-card .info-text .label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 3px;
}

.contact-info-card .info-text .value {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
}

.contact-info-card .info-text .value a {
    color: #a78bfa;
    text-decoration: none;
}

.contact-info-card .info-text .value a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-info-card .divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin: 20px 0;
}

.contact-info-card .hours-title {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 10px;
}

.contact-info-card .hours-row {
    display: flex;
    justify-content: space-between;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .83rem;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 6px;
}

.contact-info-card .hours-row .day {
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}

.contact-info-card .social-row {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.contact-info-card .social-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
    text-decoration: none;
    transition: all .2s;
}

.contact-info-card .social-row a:hover {
    border-color: #f59e0b;
    color: #f59e0b;
}

.map-placeholder {
    background: linear-gradient(135deg, #1a1252, #0d0d35);
    border-radius: 12px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    text-align: center;
}

.map-placeholder i {
    font-size: 2.5rem;
    color: rgba(167, 139, 250, .5);
    margin-bottom: 8px;
}

.map-placeholder p {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
    margin: 0;
}

/* ========== COURSES CATALOG PAGE ========== */

/* Hero */
.catalog-hero {
    background: linear-gradient(135deg, #06061a 0%, #0d0d35 50%, #12103a 100%);
    padding: 56px 0 10px;
    position: relative;
    overflow: hidden;
}
.catalog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.9) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,.6) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 15%, rgba(255,255,255,.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 40%, rgba(255,255,255,.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 20% 80%, rgba(167,139,250,.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 30%, rgba(255,255,255,.7) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 45% 85%, rgba(167,139,250,.4) 0%, transparent 100%);
}
.catalog-hero::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 380px; height: 380px;
    background: radial-gradient(ellipse, rgba(124,106,245,.2) 0%, transparent 70%);
    border-radius: 50%;
}
.catalog-hero .container { position: relative; z-index: 2; }

/* Flex column so we can reorder breadcrumb vs title via CSS */
.catalog-hero-inner { display: flex; flex-direction: column; }

/* Desktop: breadcrumb floats above the title via order */
.catalog-hero-inner nav { order: -1; }

.catalog-hero .breadcrumb { background: transparent; padding: 0; margin-bottom: 18px; }
.catalog-hero .breadcrumb-item a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .85rem; }
.catalog-hero .breadcrumb-item a:hover { color: #a78bfa; }
.catalog-hero .breadcrumb-item.active { color: rgba(255,255,255,.8); font-size: .85rem; }
.catalog-hero .breadcrumb-item {  font-size: .85rem; }
.catalog-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* Mobile: breadcrumb drops below title/content, right-aligned — all pages */
@media (max-width: 767.98px) {
    .catalog-hero-inner nav { order: 1; align-self: flex-end; margin-top: 14px; margin-bottom: 0; }
    .catalog-hero-inner .breadcrumb {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        margin-bottom: 0;
    }
}

.catalog-hero h1 {
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.15;
}
.catalog-hero h1 span {
    background: linear-gradient(135deg, #a78bfa, #818cf8, #f5c518);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.catalog-hero p { color: rgba(255,255,255,.6); font-size: .97rem; margin-bottom: 0; max-width: 560px; }

/* Sticky Search Bar — hidden (search moved into filter sidebar) */
.catalog-search-bar { display: none; }
.catalog-search-bar .search-input-wrap { position: relative; }
.catalog-search-bar .search-input-wrap i {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #a78bfa; font-size: .95rem;
}
.catalog-search-bar input[type="text"] {
    width: 100%;
    padding: 11px 14px 11px 42px;
    border: 1.5px solid rgba(167,139,250,.25);
    border-radius: 10px;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .93rem;
    color: #fff;
    background: rgba(255,255,255,.06);
    transition: border-color .2s, background .2s;
}
.catalog-search-bar input[type="text"]::placeholder { color: rgba(255,255,255,.35); }
.catalog-search-bar input[type="text"]:focus {
    outline: none;
    border-color: #7c6af5;
    background: rgba(255,255,255,.1);
}
.catalog-search-bar .btn-search {
    background: linear-gradient(135deg, #7c6af5, #6c63ff);
    color: #fff; border: none;
    padding: 11px 26px; border-radius: 10px;
    font-family: 'FHTotalDisplay', sans-serif; font-weight: 700; font-size: .85rem;
    cursor: pointer; transition: all .2s; white-space: nowrap;
    box-shadow: 0 4px 14px rgba(124,106,245,.35);
}
.catalog-search-bar .btn-search:hover {
    background: linear-gradient(135deg, #8b7cf8, #7c73ff);
    box-shadow: 0 6px 20px rgba(124,106,245,.5);
}

/* Filter sidebar search — all screen sizes */
.filter-sidebar-search { padding: 16px 18px 0; }
.filter-sidebar-search .search-input-wrap { position: relative; }
.filter-sidebar-search .search-input-wrap i {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #a78bfa;
}
.filter-sidebar-search input[type="text"] {
    width: 100%; padding: 10px 12px 10px 36px;
    border: 1.5px solid rgba(167,139,250,.25); border-radius: 8px;
    font-family: "Be Vietnam Pro", sans-serif; font-size: .9rem;
    color: #fff; background: rgba(255,255,255,.06);
    transition: border-color .2s, background .2s;
}
.filter-sidebar-search input[type="text"]::placeholder { color: rgba(255,255,255,.35); }
.filter-sidebar-search input[type="text"]:focus { outline: none; border-color: #7c6af5; background: rgba(255,255,255,.1); }
.filter-sidebar-search .btn-search {
    background: linear-gradient(135deg, #7c6af5, #6c63ff);
    color: #fff; border: none; padding: 10px 14px; border-radius: 8px; width: 100%;
    font-family: 'FHTotalDisplay', sans-serif; font-weight: 700; font-size: .82rem;
    cursor: pointer; transition: all .2s;
    box-shadow: 0 4px 14px rgba(124,106,245,.3);
}
.filter-sidebar-search .btn-search:hover { background: linear-gradient(135deg, #8b7cf8, #7c73ff); }

/* Sort Bar — sticky just below navbar since search bar is removed */
.sort-bar {
    background: #0d0d2e;
    padding: 10px 0;
    border-bottom: 1px solid rgba(167,139,250,.12);
    position: sticky;
    top: 70px;
    z-index: 100;
}
.sort-bar .sort-btn {
    font-family: 'FHTotalDisplay', sans-serif; font-size: .78rem; font-weight: 600;
    color: rgba(255,255,255,.6);
    background: transparent;
    border: 1.5px solid rgba(167,139,250,.2);
    padding: 5px 14px; border-radius: 20px;
    cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block;
}
.sort-bar .sort-btn:hover { background: rgba(124,106,245,.15); border-color: #7c6af5; color: #a78bfa; }
.sort-bar .sort-btn.active { background: #7c6af5; color: #fff; border-color: #7c6af5; }
.sort-bar .result-count { font-family: "Be Vietnam Pro", sans-serif; font-size: .88rem; color: rgba(255,255,255,.5); }

/* Page background */
.catalog-body { background: #f5f4ff; min-height: 60vh; }

/* Filter Sidebar — dark themed, always visible on desktop */
.filter-sidebar {
    position: sticky;
    top: 135px;
    max-height: calc(100vh - 155px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(124,106,245,.4) transparent;
    background: #0b0c1e;
    border-radius: 16px;
    border: 1px solid rgba(167,139,250,.18);
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
    padding-bottom: 8px;
}
.filter-sidebar::-webkit-scrollbar { width: 4px; }
.filter-sidebar::-webkit-scrollbar-track { background: transparent; }
.filter-sidebar::-webkit-scrollbar-thumb { background: rgba(124,106,245,.4); border-radius: 4px; }

/* Sidebar header label */
.filter-sidebar-title {
    padding: 18px 20px 14px;
    font-family: 'FHTotalDisplay', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(167,139,250,.7);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Filter boxes */
.filter-box {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.06);
    border-radius: 0;
    padding: 18px 20px;
    margin-bottom: 0;
    box-shadow: none;
}
.filter-box:last-child { border-bottom: none; }
.filter-box h6 {
    font-family: 'FHTotalDisplay', sans-serif; font-weight: 700; font-size: .82rem;
    color: #a78bfa; margin-bottom: 14px; padding-bottom: 0;
    border-bottom: none; letter-spacing: .4px; text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
}
.filter-box .form-check-label {
    font-family: "Be Vietnam Pro", sans-serif; font-size: .875rem;
    color: rgba(255,255,255,.72); cursor: pointer;
}
.filter-box .form-check-label:hover { color: #fff; }
.filter-box .form-check-input {
    background-color: rgba(255,255,255,.08);
    border-color: rgba(167,139,250,.35);
}
.filter-box .form-check-input:checked { background-color: #7c6af5; border-color: #7c6af5; }
.filter-box .form-check { margin-bottom: 10px; }
.filter-box .level-btn {
    display: block; width: 100%; text-align: left;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(167,139,250,.15);
    border-radius: 8px; padding: 9px 12px;
    font-family: "Be Vietnam Pro", sans-serif; font-size: .875rem;
    color: rgba(255,255,255,.65); cursor: pointer; transition: all .2s;
    margin-bottom: 7px; text-decoration: none;
}
.filter-box .level-btn:hover {
    background: rgba(124,106,245,.15); border-color: rgba(124,106,245,.4); color: #c4b5fd;
}
.filter-box .level-btn.active {
    background: rgba(124,106,245,.25); border-color: #7c6af5; color: #fff; font-weight: 600;
}
.filter-box .price-btn {
    display: inline-block; padding: 6px 16px;
    border: 1px solid rgba(167,139,250,.2); border-radius: 20px;
    font-family: "Be Vietnam Pro", sans-serif; font-size: .85rem;
    color: rgba(255,255,255,.65); cursor: pointer; transition: all .2s;
    margin: 3px; text-decoration: none; background: rgba(255,255,255,.04);
}
.filter-box .price-btn:hover { background: rgba(124,106,245,.15); border-color: rgba(124,106,245,.4); color: #c4b5fd; }
.filter-box .price-btn.active { background: #7c6af5; border-color: #7c6af5; color: #fff; }

.btn-clear-filters {
    font-family: "Be Vietnam Pro", sans-serif; font-size: .82rem; font-weight: 600;
    color: #f87171; background: rgba(248,113,113,.08);
    border: 1px solid rgba(248,113,113,.25); padding: 7px 18px;
    border-radius: 8px; cursor: pointer; transition: all .2s;
    text-decoration: none; display: inline-block;
}
.btn-clear-filters:hover { background: rgba(248,113,113,.18); border-color: #f87171; color: #fca5a5; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 4rem; color: #000; margin-bottom: 20px; display: block; }
.empty-state h4 { font-family: 'FHTotalDisplay', sans-serif; color: #000; margin-bottom: 10px; }
.empty-state p { font-family: "Be Vietnam Pro", sans-serif; color: rgba(15, 0, 0, 0.55); }

/* Grid */
#courseGrid { transition: opacity .2s; }
#courseGrid.loading { opacity: .35; pointer-events: none; }
.grid-spinner {
    display: none; position: absolute; inset: 0;
    align-items: center; justify-content: center;
    background: rgba(245,244,255,.7); z-index: 10; border-radius: 14px;
}
#courseGridWrap { position: relative; }
#courseGridWrap.loading .grid-spinner { display: flex; }

/* ── Filter toggle button (mobile sort-bar) ── */
.btn-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0b1023;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
    white-space: nowrap;
}

.btn-filter-toggle:hover {
    background: #1e2a4a;
}

/* ── Mobile filter overlay backdrop ── */
#filterOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1049;
}

#filterOverlay.show {
    display: block;
}

/* ── Mobile drawer styles (< 992px) ── */
@media (max-width: 991px) {

    /* Collapse the sidebar column to zero width on mobile.
       Must NOT use display:none — a fixed-position child inside a display:none
       parent is also hidden by the browser, killing the slide-in drawer.
       Zero width + overflow:visible keeps the column out of layout while
       still allowing the fixed-position .filter-sidebar to render. */
    #filterSidebarCol {
        width: 0 !important;
        max-width: 0 !important;
        flex: 0 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    /* catalog-search-bar already hidden globally — no override needed */

    /* Sort bar: sticky, shows filter button + result count */
    .sort-bar { position: sticky; top: 70px; z-index: 100; }

    /* Slide-in drawer — dark theme matches desktop sidebar */
    .filter-sidebar {
        position: fixed !important;
        top: 0; left: -300px;
        width: 285px;
        height: 100vh;
        height: 100dvh; /* dynamic viewport height — accounts for mobile URL bar */
        max-height: none !important; /* reset desktop max-height: calc(100vh - 155px) */
        overflow-y: auto; overflow-x: hidden;
        z-index: 1050;
        background: #0b0c1e;
        border-radius: 0; border: none;
        padding: 0;
        transition: left .3s ease;
        box-shadow: 6px 0 32px rgba(0,0,0,.5);
    }
    .filter-sidebar.open { left: 0; }

    /* Drawer header */
    .filter-drawer-header {
        display: flex; align-items: center; justify-content: space-between;
        padding: 16px 20px;
        background: linear-gradient(135deg, #12103a, #0d0d35);
        border-bottom: 1px solid rgba(167,139,250,.2);
        font-family: 'FHTotalDisplay', sans-serif; font-size: .9rem; font-weight: 700;
        color: #a78bfa;
        position: sticky; top: 0; z-index: 2;
    }
    .filter-drawer-header button {
        background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
        color: rgba(255,255,255,.8); font-size: 1rem; cursor: pointer;
        border-radius: 6px; width: 28px; height: 28px;
        display: flex; align-items: center; justify-content: center;
    }
    .filter-drawer-header button:hover { background: rgba(255,255,255,.15); }

    /* filter-sidebar-search handled by global rule above */

    /* Drawer filter boxes — remove side margin overrides, use sidebar padding */
    .filter-sidebar .filter-box { margin: 0; }
    .filter-sidebar #clearFiltersWrap { padding: 10px 20px 16px; }
}

/* ========== BLOG LISTING PAGE ========== */
.blog-page-hero {
    background: linear-gradient(135deg, #06061a, #0d0d35);
    padding: 50px 0 35px;
    color: #fff;
    text-align: center;
}

.blog-page-hero .breadcrumb-item a {
    color: #a78bfa;
    text-decoration: none;
}

.blog-page-hero .breadcrumb-item.active {
    color: #ccc;
}

.blog-page-hero .breadcrumb-separator {
    color: #666;
    margin: 0 6px;
}

.blog-page-hero h1 {
    font-family: 'FHTotalDisplay', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 0;
}

.blog-page-hero h1 span {
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-card {
    background: #0f0f2e;
    border: 1px solid rgba(124, 106, 245, .18);
    border-radius: 14px;
    padding: 26px 28px;
    margin-bottom: 24px;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 106, 245, .5);
    box-shadow: 0 8px 32px rgba(124, 106, 245, .22);
}

.post-card .post-title {
    font-family: 'FHTotalDisplay', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e0e0ff;
    margin-bottom: 8px;
}

.post-card .post-title a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.post-card .post-title a:hover {
    color: #a78bfa;
}

.post-card .post-excerpt {
    color: #a0a0c0;
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.post-card .post-meta {
    font-size: .82rem;
    color: #7070a0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}

.post-card .post-meta i {
    color: #a78bfa;
    margin-right: 4px;
}

.post-tag {
    display: inline-block;
    background: rgba(124, 106, 245, .12);
    color: #a78bfa;
    border: 1px solid rgba(124, 106, 245, .25);
    border-radius: 20px;
    padding: 2px 11px;
    font-size: .75rem;
    margin-right: 5px;
    margin-bottom: 5px;
    text-decoration: none;
    transition: background .2s;
}

.post-tag:hover {
    background: rgba(124, 106, 245, .28);
    color: #c4b5fd;
}

.post-tag.active-tag {
    background: #7c6af5;
    color: #fff;
    border-color: #0b1023;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(90deg, #0b1023, #a78bfa);
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 7px 20px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s;
}

.btn-read-more:hover {
    opacity: .85;
    color: #fff;
}

.sidebar-card {
    background: #0f0f2e;
    border: 1px solid rgba(124, 106, 245, .15);
    border-radius: 14px;
    padding: 22px 20px;
    margin-bottom: 24px;
}

.sidebar-card .sidebar-title {
    font-family: 'FHTotalDisplay', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: #c4b5fd;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(124, 106, 245, .15);
}

.sidebar-search .form-control {
    background: #07071a;
    border: 1px solid rgba(124, 106, 245, .3);
    color: #d0d0f0;
    border-radius: 8px 0 0 8px;
}

.sidebar-search .form-control::placeholder {
    color: #5a5a80;
}

.sidebar-search .form-control:focus {
    background: #07071a;
    border-color: #7c6af5;
    box-shadow: none;
    color: #d0d0f0;
}

.sidebar-search .btn-search {
    background: linear-gradient(135deg, #7c6af5, #6c63ff);
    border: none;
    color: #fff;
    border-radius: 0 8px 8px 0;
    padding: 0 14px;
}

.sidebar-search .btn-search:hover {
    background: linear-gradient(135deg, #8b7cf8, #7c73ff);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sidebar-recent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(124, 106, 245, .08);
    text-decoration: none;
}

.sidebar-recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-recent-item .sr-dot {
    width: 8px;
    height: 8px;
    background: #0b1023;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.sidebar-recent-item .sr-title {
    font-size: .86rem;
    color: #c0c0e0;
    line-height: 1.5;
    transition: color .2s;
}

.sidebar-recent-item:hover .sr-title {
    color: #a78bfa;
}

.sidebar-recent-item .sr-date {
    font-size: .75rem;
    color: #6060a0;
    margin-top: 2px;
}

.filter-notice {
    background: rgba(124, 106, 245, .1);
    border: 1px solid rgba(124, 106, 245, .2);
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 20px;
    font-size: .88rem;
    color: #c4b5fd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-notice a {
    color: #f59e0b;
    font-size: .82rem;
    text-decoration: none;
}

.filter-notice a:hover {
    text-decoration: underline;
}

/* ========== BLOG DETAIL PAGE ========== */
.post-detail-hero {
    background: linear-gradient(135deg, #06061a, #0d0d35);
    padding: 44px 0 36px;
    color: #fff;
    text-align: center;
}

.post-detail-hero .breadcrumb-item a {
    color: #a78bfa;
    text-decoration: none;
}

.post-detail-hero .breadcrumb-item.active {
    color: #ccc;
}

.post-detail-hero .post-main-title {
    font-family: 'FHTotalDisplay', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 14px 0 18px;
    line-height: 1.35;
}

.author-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b1023, #a78bfa);
    color: #fff;
    font-family: 'FHTotalDisplay', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-info .author-name {
    font-size: .9rem;
    font-weight: 600;
    color: #d0d0f0;
}

.author-info .post-meta-small {
    font-size: .78rem;
    color: #7070a0;
    margin-top: 1px;
}

.author-info .post-meta-small i {
    color: #a78bfa;
    margin-right: 3px;
}

.post-wrapper {
    background: #07071a;
    padding: 50px 0 70px;
    min-height: 60vh;
}

.post-body {
    background: #0f0f2e;
    border: 1px solid rgba(124, 106, 245, .15);
    border-radius: 14px;
    padding: 36px 40px;
    color: #c0c0e0;
    font-size: 1rem;
    line-height: 1.85;
}

.post-body img {
    max-width: 100%;
    border-radius: 8px;
}

.post-body p {
    line-height: 1.9;
    margin-bottom: 1.1rem;
}

.post-body h2,
.post-body h3,
.post-body h4 {
    font-family: 'FHTotalDisplay', sans-serif;
    color: #e0e0ff;
    margin-top: 2rem;
    margin-bottom: .8rem;
}

.post-body a {
    color: #0b1023;
}

.post-body a:hover {
    color: #a78bfa;
}

.post-body blockquote {
    border-left: 3px solid #0b1023;
    padding: 10px 20px;
    margin: 1.5rem 0;
    color: #a0a0c0;
    font-style: italic;
    background: rgba(124, 106, 245, .06);
    border-radius: 0 8px 8px 0;
}

.post-body ul,
.post-body ol {
    padding-left: 1.6rem;
}

.post-body li {
    margin-bottom: .4rem;
}

.post-body code {
    background: rgba(124, 106, 245, .12);
    color: #c4b5fd;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: .9em;
}

.post-body pre {
    background: #07071a;
    border: 1px solid rgba(124, 106, 245, .2);
    border-radius: 8px;
    padding: 18px;
    overflow-x: auto;
}

.share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(124, 106, 245, .15);
}

.share-bar .share-label {
    font-size: .85rem;
    font-weight: 700;
    color: #8080b0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 22px;
    padding: 6px 16px;
    font-size: .83rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s;
}

.share-btn:hover {
    opacity: .82;
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.related-section {
    margin-top: 50px;
}

.related-title {
    font-family: 'FHTotalDisplay', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #c4b5fd;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(124, 106, 245, .15);
}

.related-card {
    background: #0f0f2e;
    border: 1px solid rgba(124, 106, 245, .15);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    transition: border-color .2s, transform .2s;
    text-decoration: none;
    display: block;
}

.related-card:hover {
    border-color: #0b1023;
    transform: translateY(-3px);
    text-decoration: none;
}

.related-card .rc-title {
    font-family: 'FHTotalDisplay', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: #e0e0ff;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color .2s;
}

.related-card:hover .rc-title {
    color: #a78bfa;
}

.related-card .rc-excerpt {
    font-size: .83rem;
    color: #8080a0;
    line-height: 1.6;
    margin-bottom: 12px;
}

.related-card .rc-meta {
    font-size: .78rem;
    color: #6060a0;
}

.related-card .rc-meta i {
    color: #0b1023;
    margin-right: 3px;
}

/* ========== COURSE DETAIL PAGE ========== */
.detail-hero {
    background: linear-gradient(135deg, #06061a 0%, #0d0d35 50%, #12103a 100%);
    padding: 150px 0 50px;
    position: relative;
    overflow: hidden;
}

.detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, .7) 0%, transparent 100%), radial-gradient(1px 1px at 40% 60%, rgba(255, 255, 255, .5) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 75% 25%, rgba(255, 255, 255, .6) 0%, transparent 100%), radial-gradient(1px 1px at 88% 75%, rgba(255, 255, 255, .4) 0%, transparent 100%);
}

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

.detail-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 14px;
}

.detail-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
}

.detail-hero .breadcrumb-item a:hover {
    color: #fff;
}

.detail-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, .85);
}

.detail-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .35);
}

.detail-hero .course-category-pill {
    display: inline-block;
    background: rgba(124, 106, 245, .25);
    border: 1px solid rgba(124, 106, 245, .4);
    color: #c4beff;
    font-size: .75rem;
    font-weight: 700;
    font-family: "Be Vietnam Pro", sans-serif;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.detail-hero h1 {
    color: #fff;
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 14px;
}

.detail-hero .hero-desc {
    color: rgba(255, 255, 255, .7);
    font-size: .97rem;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 20px;
}

.detail-hero .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 0;
}

.detail-hero .hero-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .85rem;
    color: rgba(255, 255, 255, .75);
}

.detail-hero .hero-meta-item i {
    color: #a78bfa;
    font-size: .8rem;
}

.detail-hero .hero-meta-item .rating-val {
    color: #f59e0b;
    font-weight: 700;
}

.detail-hero .hero-meta-item .stars i {
    color: #f59e0b;
    font-size: .72rem;
}

.detail-hero .level-chip {
    background: rgba(245, 158, 11, .2);
    border: 1px solid rgba(245, 158, 11, .4);
    color: #fcd34d;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: "Be Vietnam Pro", sans-serif;
    text-transform: capitalize;
}

.price-card {
    background: #fff;
    border: 1px solid #ebebf5;
    border-radius: 16px;
    box-shadow: 0 8px 36px rgba(100, 80, 200, .14);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.price-card .preview-wrap {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #e8e6f5, #d4cfff);
    overflow: hidden;
}

.price-card .preview-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-card .preview-wrap .play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .3);
}

.price-card .preview-wrap .play-btn i {
    font-size: 3rem;
    color: #fff;
    opacity: .9;
}

.price-card .preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-card .preview-placeholder i {
    font-size: 3.5rem;
    color: #0b1023;
    opacity: .3;
}

.price-card .price-body {
    padding: 22px;
}

.price-card .big-price {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: #1a1a2e;
}

.price-card .big-price.free {
    color: #059669;
}

.price-card .btn-enroll {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none;
    letter-spacing: .3px;
    box-shadow: 0 6px 22px rgba(245, 158, 11, .35);
    transition: all .25s;
    cursor: pointer;
}

.price-card .btn-enroll:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 8px 28px rgba(245, 158, 11, .55);
    transform: translateY(-1px);
    color: #fff;
}

.price-card .btn-enroll-free {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 6px 22px rgba(5, 150, 105, .3);
}

.price-card .btn-enroll-free:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 28px rgba(5, 150, 105, .45);
}

.price-card .btn-continue {
    background: linear-gradient(135deg, #0b1023, #6c63ff);
    box-shadow: 0 6px 22px rgba(124, 106, 245, .35);
}

.price-card .btn-continue:hover {
    background: linear-gradient(135deg, #9180f7, #0b1023);
}

.price-card .guarantee {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .8rem;
    color: #aaa;
    text-align: center;
    margin-top: 10px;
}

.price-card .includes-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.price-card .includes-list li {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .84rem;
    color: #555;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.price-card .includes-list li:last-child {
    border-bottom: none;
}

.price-card .includes-list li i {
    color: #0b1023;
    font-size: .8rem;
    width: 16px;
    text-align: center;
}

.btn-wishlist-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    background: transparent;
    border: 1.5px solid #e0dcf8;
    border-radius: 10px;
    padding: 10px;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    color: #0b1023;
    cursor: pointer;
    transition: all .2s;
    margin-top: 10px;
}

.btn-wishlist-card:hover,
.btn-wishlist-card.wishlisted {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
}

.btn-wishlist-card.wishlisted i {
    color: #ef4444;
}

.detail-section {
    background: #fff;
    border: 1px solid #ebebf5;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 22px;
    box-shadow: 0 2px 12px rgba(100, 80, 200, .05);
}

.detail-section h2 {
    font-size: 1.15rem;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0eeff;
}

.detail-section h2 i {
    color: #0b1023;
    margin-right: 10px;
    font-size: 1rem;
}

.learn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media(max-width:576px) {
    .learn-grid {
        grid-template-columns: 1fr;
    }
}

.learn-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .88rem;
    color: #444;
    line-height: 1.5;
}

.learn-item i {
    color: #0b1023;
    margin-top: 2px;
    flex-shrink: 0;
}

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

.prereq-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #f5f5f5;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .88rem;
    color: #444;
}

.prereq-list li:last-child {
    border-bottom: none;
}

.prereq-list li i {
    color: #f59e0b;
}

.prereq-list li a {
    color: #0b1023;
    text-decoration: none;
    font-weight: 600;
}

.prereq-list li a:hover {
    text-decoration: underline;
}

.curriculum-item {
    border: 1px solid #ebebf5;
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.curriculum-header {
    background: #faf9ff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background .2s;
}

.curriculum-header:hover {
    background: #f0eeff;
}

.curriculum-header .lesson-title {
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.curriculum-header .lesson-title i {
    color: #0b1023;
    font-size: .85rem;
}

.curriculum-header .lesson-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.curriculum-header .lesson-meta span {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .78rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.free-badge {
    background: #dcfce7;
    color: #059669;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    font-family: "Be Vietnam Pro", sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.locked-badge {
    background: #f0f0f7;
    color: #aaa;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.instructor-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

@media(max-width:576px) {
    .instructor-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.instructor-detail .photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e6ff, #d4cfff);
    flex-shrink: 0;
    border: 3px solid #ebe8ff;
}

.instructor-detail .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-detail .photo .avatar-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #a78bfa;
}

.instructor-detail .info .name {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.instructor-detail .info .role {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .82rem;
    font-weight: 700;
    color: #0b1023;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.instructor-detail .info .bio {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .88rem;
    color: #666;
    line-height: 1.7;
}

.faq-item {
    border: 1px solid #ebebf5;
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question {
    background: #faf9ff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: #1a1a2e;
    transition: background .2s;
    gap: 12px;
}

.faq-question:hover {
    background: #f0eeff;
}

.faq-question .faq-icon {
    flex-shrink: 0;
    color: #0b1023;
    transition: transform .3s;
}

.faq-answer {
    padding: 14px 16px;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .88rem;
    color: #555;
    line-height: 1.7;
    border-top: 1px solid #f0f0f7;
}

.review-card {
    background: #faf9ff;
    border: 1px solid #ebebf5;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
}

.review-card .reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-card .reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #6c63ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    flex-shrink: 0;
    font-family: 'FHTotalDisplay', sans-serif;
}

.review-card .reviewer-name {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: #1a1a2e;
}

.review-card .reviewer-date {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .76rem;
    color: #aaa;
}

.review-card .review-stars i {
    color: #f59e0b;
    font-size: .75rem;
}

.review-card .review-text {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .87rem;
    color: #555;
    line-height: 1.65;
    margin-top: 8px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f0eeff;
    border-radius: 12px;
    margin-bottom: 20px;
}

.rating-summary .big-rating {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    color: #1a1a2e;
    line-height: 1;
}

.rating-summary .stars-row i {
    color: #f59e0b;
    font-size: 1rem;
}

.rating-summary .total-reviews {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .85rem;
    color: #888;
}

.qa-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f7;
}

.qa-item:last-child {
    border-bottom: none;
}

.qa-item .qa-q {
    font-family: 'FHTotalDisplay', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: #1a1a2e;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.qa-item .qa-q i {
    color: #0b1023;
    margin-top: 2px;
    flex-shrink: 0;
}

.qa-item .qa-meta {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: .76rem;
    color: #aaa;
}



@media(max-width:992px) {
    .navbar-brand>img {
        height: 55px;
    }

    #mainNav .navbar-nav li.nav-item a.nav-link {
        color: #fff;
        text-align: center;
        border-bottom: 1px solid #121125;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    /* ── Hero padding — all page heroes must clear the fixed navbar ─────────
       Navbar on mobile ≈ 60px tall. Generous padding-top so the title is
       never hidden behind the navbar on any screen size.
    ─────────────────────────────────────────────────────────────────────── */
    .astro-hero       { padding-top: 90px; }
    .catalog-hero     { padding-top: 100px; padding-bottom: 36px; }
    .about-hero       { padding-top: 100px; }
    .contact-hero     { padding-top: 100px; }
    .blog-page-hero   { padding-top: 100px; padding-bottom: 28px; }
    .post-detail-hero { padding-top: 100px; }
    .detail-hero      { padding-top: 100px; }
}
/* ═══════════════════════════════════════════════════════════════════════
   BLOG — Reference-style white card grid
   ═══════════════════════════════════════════════════════════════════════ */

.blg-section {
    background: #f5f5f5;
    padding: 50px 0 70px;
    min-height: 60vh;
}

/* Top search bar */
.blg-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.blg-search-form {
    display: flex;
    flex: 1;
    max-width: 420px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.blg-search-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 9px 14px;
    font-size: .88rem;
    color: #333;
    background: transparent;
}
.blg-search-form button {
    background: #151529;
    border: none;
    color: #fff;
    padding: 0 16px;
    cursor: pointer;
    font-size: .88rem;
    transition: background .2s;
}
.blg-search-form button:hover { background: #6e1414; }
.blg-clear-btn {
    font-size: .82rem;
    color: #151529;
    text-decoration: none;
    white-space: nowrap;
}
.blg-clear-btn:hover { text-decoration: underline; }

/* Empty state */
.blg-empty {
    text-align: center;
    padding: 70px 20px;
    color: #999;
}
.blg-empty i { font-size: 3rem; display: block; margin-bottom: 16px; color: #ccc; }
.blg-empty h4 { color: #555; margin-bottom: 8px; }
.blg-empty a { color: #151529; }

/* ── Card ── */
.blg-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.09);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .22s, transform .22s;
}
.blg-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
    transform: translateY(-4px);
}

/* Image */
.blg-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    flex-shrink: 0;
}
.blg-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.blg-card:hover .blg-card-img img { transform: scale(1.05); }

.blg-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a0a3c, #4a1a6e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.25);
    font-size: 3rem;
    aspect-ratio: 16/10;
}

/* Body */
.blg-card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blg-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 12px;
}
.blg-card-title a {
    color: #151529;
    text-decoration: none;
    transition: color .2s;
}
.blg-card-title a:hover { color: #6e1414; }

.blg-card-excerpt {
    font-size: .88rem;
    color: #444;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 18px;
}

.blg-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #151529;
    color: #fff !important;
    text-decoration: none;
    border-radius: 30px;
    padding: 9px 24px;
    font-size: .85rem;
    font-weight: 600;
    align-self: flex-start;
    transition: background .2s, transform .2s;
    letter-spacing: .3px;
}
.blg-read-more:hover { background: #6e1414; transform: translateX(3px); }

/* ── Sidebar ── */
.blg-sidebar { padding-left: 8px; }

.blg-sb-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    margin-bottom: 24px;
    overflow: hidden;
}

.blg-sb-title {
    background: #151529;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 11px 18px;
}

/* Recent post items */
.blg-sb-post {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background .15s;
}
.blg-sb-post:last-child { border-bottom: none; }
.blg-sb-post:hover { background: #fdf5f5; }

.blg-sb-post-img {
    width: 60px;
    height: 46px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.blg-sb-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blg-sb-post-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a0a3c, #4a1a6e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.3);
    font-size: .9rem;
}

.blg-sb-post-info { flex: 1; min-width: 0; }
.blg-sb-post-title {
    font-size: .8rem;
    color: #222;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.blg-sb-post:hover .blg-sb-post-title { color: #151529; }
.blg-sb-post-date {
    font-size: .72rem;
    color: #999;
}
.blg-sb-post-date i { color: #151529; margin-right: 3px; }

/* Tags */
.blg-sb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 14px 16px;
}
.blg-sb-tag {
    display: inline-block;
    background: #f5f0f0;
    color: #151529;
    border: 1px solid #e8d0d0;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: .75rem;
    text-decoration: none;
    transition: background .2s;
}
.blg-sb-tag:hover, .blg-sb-tag.active {
    background: #151529;
    color: #fff;
    border-color: #151529;
}

/* Sidebar search (mobile) */
.blg-sb-search {
    display: flex;
    margin: 12px 14px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.blg-sb-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: .85rem;
}
.blg-sb-search button {
    background: #151529;
    border: none;
    color: #fff;
    padding: 0 12px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .blg-sidebar { padding-left: 0; margin-top: 32px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   BLOG DETAIL v2 — reference-style light layout
   ═══════════════════════════════════════════════════════════════════════ */

/* Hero */
.bdet2-hero {
    background: linear-gradient(135deg, #06061a, #0d0d35);
    padding: 80px 0 36px;
    text-align: center;
    color: #fff;
}
.bdet2-hero-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 14px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.bdet2-hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: .82rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 18px;
}
.bdet2-hero-meta i { color: #a78bfa; margin-right: 4px; }
.bdet2-hero .breadcrumb-item a { color: #a78bfa; text-decoration: none; }
.bdet2-hero .breadcrumb-item.active { color: rgba(255,255,255,.5); }
.bdet2-hero .breadcrumb-item + .breadcrumb-item::before { color: #555; }

/* Section */
.bdet2-section {
    background: #f5f5f5;
    padding: 44px 0 70px;
}

/* Article card */
.bdet2-article {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    overflow: hidden;
}

/* Thumbnail */
.bdet2-thumb {
    width: 100%;
}
.bdet2-thumb img {
    width: 100%;
    display: block;
    max-height: 420px;
    object-fit: cover;
}

/* Tags */
.bdet2-tags {
    padding: 18px 24px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bdet2-tag {
    display: inline-block;
    background: #f5f0f0;
    color: #151529;
    border: 1px solid #e8d0d0;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: .75rem;
    text-decoration: none;
    transition: background .2s;
}
.bdet2-tag:hover { background: #151529; color: #fff; border-color: #151529; }

/* Content */
.bdet2-content {
    padding: 22px 24px 28px;
    color: #333;
    font-size: .97rem;
    line-height: 1.85;
}
.bdet2-content h1, .bdet2-content h2, .bdet2-content h3,
.bdet2-content h4, .bdet2-content h5 {
    color: #111;
    margin-top: 1.4em;
    margin-bottom: .5em;
}
.bdet2-content p { margin-bottom: 1.1em; color: #444; }
.bdet2-content a { color: #151529; }
.bdet2-content a:hover { color: #6e1414; }
.bdet2-content img { max-width: 100%; border-radius: 4px; margin: 10px 0; }
.bdet2-content ul, .bdet2-content ol { padding-left: 1.5em; margin-bottom: 1em; color: #444; }
.bdet2-content blockquote {
    border-left: 4px solid #151529;
    padding-left: 16px;
    color: #666;
    margin: 1.2em 0;
    font-style: italic;
}
.bdet2-content strong { color: #111; }

/* Share buttons */
.bdet2-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 16px 24px 20px;
    border-top: 1px solid #f0f0f0;
}
.bdet2-share-fb, .bdet2-share-tw, .bdet2-share-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 4px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s;
}
.bdet2-share-fb { background: #1877f2; color: #fff; }
.bdet2-share-tw { background: #1da1f2; color: #fff; }
.bdet2-share-wa { background: #25d366; color: #fff; }
.bdet2-share-fb:hover, .bdet2-share-tw:hover, .bdet2-share-wa:hover {
    opacity: .85; color: #fff;
}

/* Back link */
.bdet2-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #151529;
    text-decoration: none;
    font-size: .85rem;
    padding: 0 24px 22px;
    transition: color .2s;
}
.bdet2-back:hover { color: #6e1414; }

/* ── Right Sidebar ── */
.bdet2-sidebar {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    overflow: hidden;
}

.bdet2-sb-heading {
    background: #151529;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 12px 18px;
}

.bdet2-sb-item {
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s;
}
.bdet2-sb-item:last-child { border-bottom: none; }
.bdet2-sb-item:hover { background: #fdf5f5; }

.bdet2-sb-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.bdet2-sb-placeholder {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #2a0a3c, #4a1a6e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.2);
    font-size: 2rem;
}

.bdet2-sb-info {
    padding: 12px 16px 14px;
}
.bdet2-sb-title {
    font-size: .88rem;
    font-weight: 700;
    color: #151529;
    line-height: 1.4;
    margin-bottom: 6px;
    transition: color .2s;
}
.bdet2-sb-item:hover .bdet2-sb-title { color: #6e1414; }
.bdet2-sb-excerpt {
    font-size: .78rem;
    color: #555;
    line-height: 1.55;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bdet2-sb-meta {
    font-size: .72rem;
    color: #999;
}
.bdet2-sb-meta i { color: #151529; margin-right: 3px; }

/* Mobile */
@media (max-width: 767px) {
    .bdet2-hero { padding-top: 90px; }
    .bdet2-content { padding: 18px 16px 22px; }
    .bdet2-tags { padding: 14px 16px 0; }
    .bdet2-share { padding: 14px 16px 16px; }
    .bdet2-back { padding: 0 16px 18px; }
}

#page-top{
    margin-top: 60px;
}
