/* ===== GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #1E88E5;
    --secondary: #1565C0;
    --accent: #FFC107;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #FFC107;
    --info: #1E88E5;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.navbar-brand,
.card-title {
    font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, #1E88E5, #1565C0) !important;
    box-shadow: 0 2px 20px rgba(30, 136, 229, 0.3);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand span {
    color: var(--accent);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: width 0.25s ease;
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-toggler {
    border: none;
    color: #fff !important;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 85vh;
    background: linear-gradient(135deg, #1E88E5 0%, #1565C0 60%, #0D47A1 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

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

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}

.hero-title .highlight {
    color: var(--accent);
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-floating {
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.hero-floating-alt {
    animation: float 5s ease-in-out infinite reverse;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

/* ===== COURSE CARDS ===== */
.course-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.28s cubic-bezier(.34,1.56,.64,1), box-shadow 0.28s ease;
    background: #fff;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 136, 229, 0.18);
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .card-img-top {
    transform: scale(1.04);
}

.course-card .card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.course-card .card-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.course-card .card-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    flex: 1;
}

.course-card .card-footer {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-tag {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.age-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.course-card-wrapper {
    transition: var(--transition);
}

/* ===== ARTICLE CARDS ===== */
.article-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.28s cubic-bezier(.34,1.56,.64,1), box-shadow 0.28s ease;
    background: #fff;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30, 136, 229, 0.15);
}

.article-thumbnail {
    height: 180px;
    object-fit: cover;
    width: 100%;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    transition: transform 0.4s ease;
}

.article-card:hover .article-thumbnail {
    transform: scale(1.04);
}

.article-card .card-body {
    padding: 1.25rem;
}

.article-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    font-size: 0.8rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ===== ADMIN LAYOUT ===== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ===== ADMIN SIDEBAR ===== */
.admin-sidebar {
    width: 250px;
    min-height: 100vh;
    background: #1e293b;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.admin-sidebar .sidebar-brand {
    padding: 1.5rem 1.25rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-sidebar .sidebar-brand span {
    color: var(--accent);
}

.admin-sidebar .sidebar-section {
    padding: 1rem 1.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-sidebar .nav-link {
    color: #94a3b8;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    border-radius: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.admin-sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 18px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--primary);
}

.admin-content {
    flex: 1;
    padding: 1.5rem 2rem;
    min-width: 0;
    overflow-x: auto;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

/* ===== DASHBOARD STATS ===== */
.stat-card {
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    border: none;
    overflow: hidden;
    position: relative;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -1px;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.85;
}

.stat-card .stat-icon {
    font-size: 3rem;
    opacity: 0.2;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

.stat-card .stat-change {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 700;
    border-radius: 999px;
    padding: 0.5rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.2px;
}

.btn:active {
    transform: translateY(1px) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #2979FF, #1565C0);
    border-color: transparent;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #448AFF, #1976D2);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    border-color: transparent;
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.btn-gradient {
    background: linear-gradient(135deg, #2979FF, #7C3AED);
    color: #fff;
    border: none;
}

.btn-gradient:hover {
    filter: brightness(1.1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(41, 121, 255, 0.4);
}

.btn-gradient:active {
    transform: translateY(0);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-width: 2px;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 136, 229, 0.3);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: #1e293b;
    border: none;
    font-weight: 800;
}

.btn-accent:hover {
    filter: brightness(1.08);
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.45);
}

.btn-sm {
    padding: 0.28rem 0.85rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.8rem 2.25rem;
    font-size: 1.1rem;
}

/* ===== BADGES ===== */
.badge {
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    padding: 0.35em 0.65em;
    border-radius: 6px;
}

.badge-status-open,
.badge-open {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.badge-status-upcoming,
.badge-upcoming {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.badge-status-closed,
.badge-closed {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.badge-status-draft,
.badge-draft {
    background: rgba(148, 163, 184, 0.15);
    color: #64748b;
}

.badge-status-published,
.badge-published {
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
}

.badge-status-archived,
.badge-archived {
    background: rgba(51, 65, 85, 0.12);
    color: #334155;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title-center {
    display: block;
    text-align: center;
}

.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), #ff8c00);
    border-radius: 99px;
    margin-top: 8px;
}

.section-title-center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
    margin: 0.75rem auto 1.5rem;
}

/* ===== FOOTER ===== */
footer,
.footer {
    background: #1e293b;
    color: #cbd5e1;
}

footer .footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

footer .footer-brand span {
    color: var(--accent);
}

footer p {
    color: #94a3b8;
    font-size: 0.9rem;
}

footer h6,
footer .footer-heading {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 1rem;
}

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

footer .footer-links li {
    margin-bottom: 0.5rem;
}

footer .footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

footer .footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #64748b;
}

/* ===== FORMS ===== */
.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.35rem;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    font-size: 0.95rem;
    padding: 0.55rem 0.875rem;
    transition: var(--transition);
    font-family: 'Nunito', sans-serif;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-text {
    font-size: 0.8rem;
    color: #94a3b8;
}

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

.input-group-text {
    background: var(--gray-100);
    border-color: #e2e8f0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ===== CARDS (general) ===== */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

/* ===== TABLES ===== */
.table {
    font-size: 0.9rem;
}

.table th {
    font-weight: 700;
    color: #374151;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-200);
    padding: 0.75rem 1rem;
}

.table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
    color: #475569;
}

.table-hover tbody tr:hover {
    background: rgba(79, 70, 229, 0.03);
}

.table > :not(:first-child) {
    border-top: none;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--primary);
    font-weight: 600;
}

.breadcrumb-item.active {
    color: var(--gray-600);
}

/* ===== ALERTS ===== */
.alert {
    border-radius: var(--border-radius);
    border: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
}

/* ===== PAGINATION ===== */
.page-link {
    color: var(--primary);
    border-color: var(--gray-200);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 8px !important;
    margin: 0 2px;
    transition: var(--transition);
}

.page-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* ===== SEARCH BAR ===== */
.search-bar {
    position: relative;
}

.search-bar .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.search-bar .form-control {
    padding-left: 2.75rem;
}

/* ===== THUMBNAIL PREVIEW ===== */
.thumbnail-preview-wrapper {
    border: 2px dashed var(--gray-200);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    background: var(--gray-100);
    text-align: center;
}

.thumbnail-preview-wrapper img {
    border-radius: 8px;
    max-height: 200px;
    object-fit: cover;
}

/* ===== AGE FILTER ===== */
.age-filter-btn {
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    transition: var(--transition);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state .empty-icon {
    font-size: 4rem;
    opacity: 0.25;
    margin-bottom: 1rem;
}

.empty-state h5 {
    font-weight: 700;
    color: #475569;
}

.empty-state p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ===== FEATURE ICONS ===== */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    height: 100%;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-up-delay-1 {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.animate-fade-in-up-delay-2 {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.animate-fade-in-up-delay-3 {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .admin-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        z-index: 1050;
        transition: left 0.3s ease;
        height: 100vh;
    }

    .admin-sidebar.show {
        left: 0;
    }

    .admin-content {
        padding: 1rem;
    }

    .admin-topbar {
        padding: 0.75rem 1rem;
    }

    .hero-section {
        min-height: 70vh;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 1.5rem;
    }

    .stat-card .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 60vh;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .course-card .card-img-top {
        height: 160px;
    }

    .article-thumbnail {
        height: 150px;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card .stat-number {
        font-size: 1.75rem;
    }

    .stat-card .stat-icon {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .admin-content {
        padding: 0.75rem;
    }

    .card-header {
        padding: 0.75rem 1rem;
    }

    .table th,
    .table td {
        padding: 0.6rem 0.75rem;
    }
}
.hero-overlay { top:0; left:0; background: rgba(0,0,0,0.03); pointer-events: none; }

/* ===== SCROLL-REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.26s; }
.reveal-delay-4 { transition-delay: 0.34s; }

/* ===== PLAYFUL ELEMENTS ===== */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    20%       { transform: rotate(-8deg); }
    40%       { transform: rotate(8deg); }
    60%       { transform: rotate(-5deg); }
    80%       { transform: rotate(5deg); }
}

@keyframes bounce-in {
    0%   { transform: scale(0.7); opacity: 0; }
    60%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

@keyframes pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.18); }
    100% { transform: scale(1); }
}

.icon-wiggle:hover { animation: wiggle 0.55s ease; }
.icon-bounce       { animation: bounce-in 0.5s cubic-bezier(.34,1.56,.64,1) both; }

/* Feature icon circles */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 1rem;
    transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
}
.feature-icon:hover { transform: scale(1.15) rotate(-4deg); }

/* Decorative dot pattern */
.dot-pattern {
    background-image: radial-gradient(circle, rgba(30,136,229,.12) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}

/* Page header for public pages */
.page-header-public {
    background: linear-gradient(135deg, #1E88E5 0%, #1565C0 60%, #0D47A1 100%);
    position: relative;
    overflow: hidden;
}
.page-header-public::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}

/* Highlight pill (used in headings) */
.highlight-pill {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: #1e293b;
    border-radius: 8px;
    padding: 0 6px;
    display: inline-block;
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
    background: linear-gradient(145deg, #1E88E5 0%, #0D47A1 100%);
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
    box-shadow: 0 12px 40px rgba(21, 101, 192, 0.35);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-info-item:last-child { border-bottom: none; }

.contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
}
.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.social-fb   { background: #1877F2; color: #fff; }
.social-yt   { background: #FF0000; color: #fff; }
.social-tt   { background: #000; color: #fff; }
.social-zalo { background: #0068FF; color: #fff; }

/* FAQ card */
.faq-card {
    border-radius: 18px;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.faq-card:hover {
    border-color: rgba(30,136,229,0.25);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(30,136,229,0.12);
}
