﻿/*
 * ============================================================
 * EarnBright — Main Stylesheet  (style.css)
 * ============================================================
 *
 * TABLE OF CONTENTS
 * ---------------------------------------------------------
 * 01. CSS Variables & Design Tokens
 * 02. Base Reset & Global Styles
 * 03. Typography
 * 04. Utility Classes
 * 05. Buttons
 * 06. Cards & Product Cards (Legacy)
 * 07. Course Card (New Design — Grid View)
 * 08. Form Controls & Inputs
 * 09. Alert System
 * 10. Status Badges
 * 11. Header & Navigation
 * 12. Mobile Navigation
 * 13. Live Search Bar
 * 14. Footer
 * 15. Home — Parallax Hero
 * 16. Home — Hero Animations & Keyframes
 * 17. Home — Featured / Trending Courses Swiper
 * 18. Home — Section Titles & General Sections
 * 19. Home — Why Choose EarnBright
 * 20. Home — Who Is EarnBright For?
 * 21. Home — About Section
 * 22. Home — Stats Strip
 * 23. Home — Testimonials
 * 24. Home — Newsletter
 * 25. Courses Page — Hero
 * 26. Courses Page — Category Chips
 * 27. Courses Page — Filter Sidebar
 * 28. Courses Page — Toolbar (Sort & View Toggle)
 * 29. Courses Page — Grid & List Product Views
 * 30. Courses Page — Course Card (Grid Variant)
 * 31. Courses Page — No Results & AJAX Loading State
 * 32. Product Details Page
 * 33. Shop Sidebar
 * 34. Cart & Checkout
 * 35. Auth Pages (Login / Register / Forgot Password)
 * 36. My Account & Orders
 * 37. Privacy Policy & Legal Pages
 * 38. 404 Page
 * 39. Scroll-to-Top Button
 * 40. Responsive — Tablet  (≤991px)
 * 41. Responsive — Mobile  (≤767px)
 * 42. Responsive — Small   (≤575px)
 * 43. Scrollbar & Selection Overrides
 * 44. Print Styles
 * ============================================================
 */


/* ============================================================
   01. CSS VARIABLES & DESIGN TOKENS
   ============================================================ */

:root {
    /* Brand Colours */
    --primary:        #2563eb;
    --primary-dark:   #1e40af;
    --primary-light:  #3b82f6;
    --accent:         #fe8600;
    --accent-dark:    #ea580c;
    --accent-light:   #fb923c;

    /* Neutral Scale */
    --gray-50:  #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic Colours */
    --success: #10b981;
    --warning: #f59e0b;
    --error:   #ef4444;
    --info:    #3b82f6;

    /* Backgrounds */
    --bg-primary:   #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary:  #f3f4f6;

    /* Borders & Radius */
    --border-color: #e5e7eb;
    --radius-sm:    0.5rem;
    --radius-md:    0.75rem;
    --radius-lg:    1rem;
    --radius-xl:    1.5rem;
    --radius-2xl:   2rem;

    /* Shadows */
    --shadow-xs:  0 1px 2px 0 rgba(0,0,0,.05);
    --shadow-sm:  0 1px 3px 0 rgba(0,0,0,.10), 0 1px 2px -1px rgba(0,0,0,.10);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.10);
    --shadow-lg:  0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
    --shadow-xl:  0 20px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.10);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(.4,0,.2,1);
    --transition-base: 250ms cubic-bezier(.4,0,.2,1);
    --transition-slow: 350ms cubic-bezier(.4,0,.2,1);

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2rem;
    --space-xl:  3rem;
    --space-2xl: 4rem;
}


/* ============================================================
   02. BASE RESET & GLOBAL STYLES
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-900);
    background: var(--bg-secondary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}
a:hover { color: var(--primary-dark); }

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}


/* ============================================================
   03. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem,  4vw, 3rem);  }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.text-gradient {
    background: linear-gradient(90deg, #2563eb 0%, #fe8600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}


/* ============================================================
   04. UTILITY CLASSES
   ============================================================ */

.backdrop-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.hover-lift {
    transition: transform var(--transition-base);
}
.hover-lift:hover { transform: translateY(-4px); }

/* Skeleton loading shimmer */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0%   { background-position:  200% 0; }
    100% { background-position: -200% 0; }
}


/* ============================================================
   05. BUTTONS
   ============================================================ */

/* --- Primary Button --- */
.eb-btn-primary {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: .875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 14px 0 rgba(99,102,241,.3);
}
.eb-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}
.eb-btn-primary:hover::before { opacity: 1; }
.eb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px 0 rgba(99,102,241,.4); color: white; }
.eb-btn-primary:active { transform: translateY(0); }
.eb-btn-primary > * { position: relative; z-index: 1; }

/* --- Secondary Button --- */
.eb-btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: .875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.eb-btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px 0 rgba(37,99,235,.3);
}
.eb-btn-secondary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* --- Outline Button --- */
.eb-btn-outline {
    background: white;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: .875rem 2rem;
    font-weight: 500;
    transition: all var(--transition-base);
}
.eb-btn-outline:hover { border-color: var(--gray-400); background: var(--gray-50); }

/* Bootstrap btn override — prevent Bootstrap padding/border-radius from overriding pill buttons */
.btn.eb-btn-hero-primary,
.btn.eb-btn-hero-outline,
.btn.eb-btn-explore,
.btn.eb-btn-secondary,
.btn.eb-btn-buy-now {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1.063rem;
    font-weight: 700;
    line-height: 1.4;
}
/* btn-lg should not override our custom sizing */
.btn-lg.eb-btn-hero-primary,
.btn-lg.eb-btn-hero-outline,
.btn-lg.eb-btn-explore,
.btn-lg.eb-btn-secondary {
    padding: 14px 36px;
    font-size: 1.063rem;
    border-radius: 50px;
}

/* --- Explore Button (Blue → Orange on hover) --- */
.eb-btn-explore {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1.063rem;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(37,99,235,.3);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.4;
}
.eb-btn-explore:hover { background: #f97316; color: white; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(249,115,22,.4); }
.eb-btn-explore svg { transition: transform .3s ease; flex-shrink: 0; }
.eb-btn-explore:hover svg { transform: translateX(4px); }

/* --- Hero Primary Button --- */
.eb-btn-hero-primary {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1.063rem;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(37,99,235,.3);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.4;
}
.eb-btn-hero-primary:hover { background: #f97316; color: white; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(249,115,22,.4); }
.eb-btn-hero-primary svg { transition: transform .3s ease; flex-shrink: 0; }
.eb-btn-hero-primary:hover svg { transform: translateX(4px); }

/* --- Hero Outline Button --- */
.eb-btn-hero-outline {
    background: white;
    color: #4b5563;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1.063rem;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.4;
}
.eb-btn-hero-outline:hover { background: #f97316; color: white; border-color: #f97316; transform: translateY(-2px); box-shadow: 0 6px 28px rgba(249,115,22,.4); }
.eb-btn-hero-outline svg { transition: transform .3s ease; flex-shrink: 0; }
.eb-btn-hero-outline:hover svg { transform: translateY(4px); }

/* --- Buy Now Button --- */
.eb-btn-buy-now {
    background: #2563eb;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.063rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    border: none;
    box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.eb-btn-buy-now:hover { background: #f97316; color: white; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(249,115,22,.4); }
.eb-btn-buy-now svg { width: 18px; height: 18px; transition: transform .3s ease; }
.eb-btn-buy-now:hover svg { transform: translateX(3px); }


/* ============================================================
   06. CARDS & PRODUCT CARDS (Legacy)
   ============================================================ */

.eb-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    overflow: hidden;
}
.eb-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow-xl); transform: translateY(-4px); }

/* Clean modern product card */
.eb-product-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.eb-product-card:hover { border-color: var(--primary-light); box-shadow: 0 12px 40px -10px rgba(37,99,235,.15); transform: translateY(-6px); }

.eb-product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--gray-100);
}
.eb-product-image { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.eb-product-card:hover .eb-product-image { transform: scale(1.05); }

.eb-product-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.eb-badge-discount {
    position: absolute; top: .875rem; right: .875rem;
    background: #dc2626; color: white;
    padding: .375rem .75rem; border-radius: var(--radius-md);
    font-size: .813rem; font-weight: 700; z-index: 10;
    box-shadow: 0 2px 8px rgba(220,38,38,.3);
}
.eb-badge-featured {
    position: absolute; top: .875rem; left: .875rem;
    background: var(--accent); color: white;
    padding: .375rem .75rem; border-radius: var(--radius-md);
    font-size: .813rem; font-weight: 600; z-index: 10;
    box-shadow: 0 2px 8px rgba(249,115,22,.3);
}

.eb-category-tag {
    display: inline-block; font-size: .75rem; color: var(--primary);
    font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem;
}

.eb-product-title {
    font-size: 1.125rem; font-weight: 600; margin: .5rem 0 .75rem;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    line-height: 1.4; color: var(--gray-900);
}
.eb-product-title a { color: var(--gray-900); }
.eb-product-title a:hover { color: var(--primary); }

.eb-product-desc {
    font-size: .938rem; color: var(--gray-600);
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 1rem; line-height: 1.6;
}
.eb-product-meta {
    display: flex; align-items: center; gap: .5rem;
    margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--gray-100);
}
.eb-price-old { text-decoration: line-through; color: var(--gray-400); font-size: .938rem; font-weight: 500; }
.eb-price-current { font-size: 1.5rem; font-weight: 700; color: var(--accent); }

/* New product card design */
.eb-product-card-new { height: 100%; }
.eb-product-card-inner {
    background: white; border-radius: 32px; overflow: hidden;
    height: 100%; display: flex; flex-direction: column;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.eb-product-card-inner:hover { box-shadow: 0 12px 40px rgba(0,0,0,.15); transform: translateY(-8px); }

.eb-product-category-badge {
    position: absolute; top: 16px; left: 16px;
    background: white; border-radius: 20px; padding: 6px 14px;
    font-size: .75rem; font-weight: 600; color: #1e40af;
    box-shadow: 0 2px 8px rgba(0,0,0,.1); z-index: 10;
}
.eb-category-icon { display: none; }

.eb-product-visual {
    position: relative; width: 100%; aspect-ratio: 16/9;
    background: white; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.eb-product-visual::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(37,99,235,.65) 0%, rgba(30,64,175,.85) 100%);
    opacity: 0; transition: opacity .4s cubic-bezier(.16,1,.3,1); z-index: 2;
}
.eb-product-card-inner:hover .eb-product-visual::before { opacity: 1; }

.eb-product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.eb-product-card-inner:hover .eb-product-img { transform: scale(1.08); }

.eb-quick-view-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%) scale(.85);
    background: white; color: #2563eb;
    padding: 12px 28px; border-radius: 50px; font-size: 1rem; font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,.2);
    opacity: 0; visibility: hidden; transition: all .4s cubic-bezier(.16,1,.3,1); z-index: 10;
}
.eb-product-card-inner:hover .eb-quick-view-btn { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }
.eb-quick-view-btn:hover { background: #2563eb; color: white; box-shadow: 0 8px 32px rgba(37,99,235,.45); transform: translate(-50%,-50%) scale(1.05); }
.eb-quick-view-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.eb-product-content { padding: 32px 28px 24px; flex: 1; background: white; }
.eb-product-card-title { font-size: 1.375rem; font-weight: 700; color: #1a202c; margin: 0 0 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eb-product-card-title a { color: #1a202c; }
.eb-product-card-title a:hover { color: #2563eb; }
.eb-product-card-desc { font-size: 1rem; color: #8892a6; line-height: 1.6; margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.eb-course-features { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #e8ecf0; }
.eb-feature-item { display: inline-flex; align-items: center; gap: 8px; font-size: .938rem; color: #8892a6; font-weight: 600; }
.eb-feature-item svg { color: #f97316; flex-shrink: 0; width: 20px; height: 20px; }

.eb-product-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 0 28px 28px; background: white; }
.eb-product-card-price { display: flex; align-items: baseline; }
.eb-price-strike { font-size: 1.125rem; color: #cbd5e0; text-decoration: line-through; font-weight: 500; margin-right: 8px; }
.eb-price-main { font-size: 2.5rem; font-weight: 800; color: #f97316; line-height: 1; }

/* Rating */
.eb-rating { display: inline-flex; align-items: center; gap: .125rem; }
.eb-rating .star { color: var(--gray-300); font-size: 1rem; transition: color var(--transition-fast); }
.eb-rating .star.filled,
.eb-rating .star.half { color: var(--accent); text-shadow: 0 1px 2px rgba(249,115,22,.3); }


/* ============================================================
   07. COURSE CARD — REDESIGNED
   ============================================================ */

.eb-course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid #f0f4ff;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    transition: all .35s cubic-bezier(.16,1,.3,1);
    height: 100%;
    display: flex;
    flex-direction: column;
    isolation: isolate;          /* ensures overflow:hidden clips absolutely positioned children */
    transform: translateZ(0);   /* GPU layer — forces proper border-radius clipping in all browsers */
}
.eb-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(37,99,235,.14);
    border-color: rgba(37,99,235,.15);
}

/* ── Image area — fixed 16:9 ratio, always consistent ── */
.eb-course-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;   /* 9/16 = 56.25% — locks 16:9 regardless of container width */
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff 0%, #fef3e8 100%);
    flex-shrink: 0;
    border-radius: 18px 18px 0 0;   /* match card's top corners */
}
.eb-course-card-image img,
.eb-course-card-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.eb-course-card-image img {
    object-fit: cover;
    object-position: center center;
    transition: transform .4s ease;
    display: block;
    border-radius: 18px 18px 0 0;
}
.eb-course-card:hover .eb-course-card-image img { transform: scale(1.06); }

/* Placeholder (no image) */
.eb-course-card-placeholder {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #eef2ff 0%, #fef3e8 100%);
    color: #c7d2fe;
    border-radius: 18px 18px 0 0;
}

/* Discount badge */
.eb-card-discount-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: 5px 11px;
    border-radius: 50px;
    letter-spacing: .03em;
    box-shadow: 0 3px 10px rgba(249,115,22,.5);
    z-index: 3;
}

/* Hover overlay */
.eb-course-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.7) 0%, rgba(15,23,42,.2) 100%);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}
.eb-course-card:hover .eb-course-card-overlay { opacity: 1; }

.eb-course-view-btn {
    background: #fff;
    color: #2563eb;
    padding: 11px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .875rem;
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    transition: all .25s ease;
    transform: translateY(8px);
}
.eb-course-card:hover .eb-course-view-btn { transform: translateY(0); }
.eb-course-view-btn:hover { background: #f97316; color: #fff; }

/* ── Card body ── */
.eb-course-card-body {
    padding: 18px 18px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Category + rating row */
.eb-course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}
.eb-course-category {
    display: inline-flex; align-items: center; gap: 5px;
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: .7rem; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px;
    letter-spacing: .2px;
}
.eb-course-rating {
    display: inline-flex; align-items: center; gap: 3px;
    color: #f59e0b;
    font-size: .78rem; font-weight: 700;
    flex-shrink: 0;
}

/* Title */
.eb-course-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}
.eb-course-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.eb-course-title a:hover { color: #2563eb; }

/* Description */
.eb-course-description {
    color: #64748b;
    font-size: .82rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    flex: 1;
}

/* Feature pills */
.eb-course-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 2px;
}
.eb-course-feature {
    display: inline-flex; align-items: center; gap: 4px;
    background: #f8faff;
    border: 1px solid #e8edf5;
    color: #475569;
    font-size: .7rem; font-weight: 600;
    padding: 3px 9px;
    border-radius: 50px;
}
.eb-course-feature svg { color: #fe8600; flex-shrink: 0; }

/* ── Card footer ── */
.eb-course-card-footer {
    padding: 12px 18px 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.eb-course-price { display: flex; align-items: baseline; gap: 7px; flex-shrink: 0; }
.eb-price-original {
    font-size: .78rem; color: #94a3b8;
    text-decoration: line-through; font-weight: 500;
}
.eb-price-current {
    font-size: 1.2rem; font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.eb-price-free { font-size: 1.1rem; font-weight: 800; color: #16a34a; }

.eb-course-buy-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700; font-size: .82rem;
    display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.eb-course-buy-btn:hover {
    background: linear-gradient(135deg, #fe8600 0%, #ea580c 100%);
    box-shadow: 0 6px 20px rgba(249,115,22,.4);
    color: #fff;
    transform: translateY(-1px);
}
.eb-course-buy-btn svg { transition: transform .2s ease; flex-shrink: 0; }
.eb-course-buy-btn:hover svg { transform: translateX(3px); }

/* ── Mobile card overrides ── */
@media (max-width: 600px) {
    .eb-pd-related-grid .eb-course-card-body  { padding: 12px 14px 8px; }
    .eb-pd-related-grid .eb-course-description { display: none; }
    .eb-pd-related-grid .eb-course-title      { font-size: .88rem; }
    .eb-pd-related-grid .eb-course-card-footer { padding: 10px 14px 12px; }
    .eb-pd-related-grid .eb-price-current     { font-size: 1rem; }
    .eb-pd-related-grid .eb-course-buy-btn    { padding: 8px 14px; font-size: .78rem; }
}


/* ============================================================
   08. FORM CONTROLS & INPUTS
   ============================================================ */

.form-control,
.form-select {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: .875rem 1.25rem;
    font-size: .938rem;
    transition: all var(--transition-base);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,.1);
}
.form-label { font-weight: 500; color: var(--gray-700); margin-bottom: .5rem; font-size: .938rem; }

/* Password toggle */
.eb-password-wrapper { position: relative; display: flex; align-items: center; }
.eb-password-wrapper .form-control { padding-right: 3rem !important; width: 100%; }

.btn-password-toggle {
    position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
    padding: .5rem; background: transparent; border: none;
    color: var(--gray-400); cursor: pointer; transition: all var(--transition-fast);
    display: flex; align-items: center; justify-content: center;
    z-index: 10; outline: none; line-height: 1;
}
.btn-password-toggle:hover,
.btn-password-toggle:focus { color: var(--primary); outline: none; }
.btn-password-toggle svg { width: 20px; height: 20px; stroke: currentColor; flex-shrink: 0; }
.btn-password-toggle .d-none { display: none !important; }

.password-input-wrapper { position: relative; }
.password-input-wrapper input { padding-right: 45px; }

/* Form range */
.form-check { margin-bottom: .75rem; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-range::-webkit-slider-thumb { background: var(--primary); }
.form-range::-moz-range-thumb { background: var(--primary); }


/* ============================================================
   09. ALERT SYSTEM
   ============================================================ */

.eb-alert {
    border-radius: var(--radius-lg); padding: 1rem 1.5rem;
    margin-bottom: 1.5rem; border: 1.5px solid;
    font-size: .938rem; display: flex; align-items: center; gap: .75rem;
}
.eb-alert-success { background: rgba(16,185,129,.1); color: #065f46; border-color: #10b981; }
.eb-alert-error   { background: rgba(239,68,68,.1);  color: #991b1b; border-color: #ef4444; }
.eb-alert-warning { background: rgba(245,158,11,.1); color: #92400e; border-color: #f59e0b; }
.eb-alert-info    { background: rgba(59,130,246,.1);  color: #1e40af; border-color: #3b82f6; }


/* ============================================================
   10. STATUS BADGES
   ============================================================ */

.badge { padding: .375rem .875rem; border-radius: 9999px; font-weight: 600; font-size: .813rem; }
.badge-paid     { background: rgba(16,185,129,.15); color: #065f46; }
.badge-pending  { background: rgba(245,158,11,.15); color: #92400e; }
.badge-failed   { background: rgba(239,68,68,.15);  color: #991b1b; }
.badge-refunded { background: rgba(99,102,241,.15); color: #4338ca; }


/* ============================================================
   11. HEADER & NAVIGATION
   ============================================================ */

.eb-header-wrapper {
    padding: 1rem 40px;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease,
                transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide on scroll-down, show on scroll-up */
.eb-header-wrapper.header-hidden {
    transform: translateY(-110%);
}
/* Never hide when mobile menu is open */
.eb-header-wrapper.menu-open {
    transform: translateY(0) !important;
}

/* Scrolled state — adds backdrop when user has scrolled down */
.eb-header-wrapper.scrolled {
    background: rgba(255,255,255,.08);
    padding: 0.6rem 40px;
}
.eb-header-wrapper.scrolled .eb-navbar {
    box-shadow: 0 12px 40px rgba(30,64,175,.4);
    padding: 0.6rem 2.5rem;
}

.eb-navbar {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 60px;
    padding: 0.75rem 2.5rem;
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.3);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.eb-navbar-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 3rem; min-height: 50px;
}
.eb-navbar-content {
    display: flex; align-items: center; justify-content: flex-end; gap: 2.5rem; margin-left: auto;
}

/* Logo */
.eb-logo { display: flex; align-items: center; gap: .625rem; text-decoration: none; flex-shrink: 0; }
.eb-logo-icon { height: 50px; width: auto; display: block; }
.eb-logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; display: flex; white-space: nowrap; }
.eb-logo-earn { color: white; }
.eb-logo-bright { color: var(--accent); }
.eb-logo:hover .eb-logo-icon { transform: scale(1.05); transition: transform .2s ease; }

/* Nav links */
.eb-nav-menu { display: flex; align-items: center; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.eb-nav-link {
    color: rgba(255,255,255,.9); font-weight: 500; font-size: .938rem;
    padding: .625rem 1.25rem; border-radius: 40px;
    transition: all var(--transition-fast); display: flex; align-items: center; gap: .375rem; white-space: nowrap;
}
.eb-nav-link:hover { background: rgba(255,255,255,.15); color: white; }
.eb-nav-link.active { background: rgba(255,255,255,.2); color: white; font-weight: 600; }

/* Dropdown */
.eb-nav-dropdown { position: relative; }
.eb-dropdown-toggle svg { transition: transform .2s ease; }
.eb-nav-dropdown:hover .eb-dropdown-toggle svg { transform: rotate(180deg); }
.eb-dropdown-menu {
    position: absolute; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%);
    background: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.15);
    border: 1px solid #e5e7eb; list-style: none; padding: 0; margin: 0; min-width: 200px;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; z-index: 1000;
}
.eb-nav-dropdown:hover .eb-dropdown-menu { opacity: 1; visibility: visible; }
.eb-dropdown-menu li a {
    display: block; padding: .75rem 1.25rem; color: #374151;
    font-size: .938rem; font-weight: 500; transition: all .15s ease;
}
.eb-dropdown-menu li a:hover { background: var(--primary); color: white; }
.eb-dropdown-divider { height: 1px; background: #e5e7eb; margin: 0; }

/* Auth buttons */
.eb-nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.eb-btn-login {
    color: white; font-weight: 500; font-size: .938rem;
    padding: .625rem 1.5rem; border-radius: 40px; border: 1.5px solid rgba(255,255,255,.3);
    transition: all var(--transition-fast); white-space: nowrap;
}
.eb-btn-login:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); color: white; }
.eb-btn-get-started {
    background: var(--accent); color: white; font-weight: 600; font-size: .938rem;
    padding: .625rem 1.75rem; border-radius: 40px;
    transition: all var(--transition-fast); box-shadow: 0 4px 12px rgba(249,115,22,.3); white-space: nowrap;
}
.eb-btn-get-started:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(249,115,22,.4); color: white; }

/* User dropdown */
.eb-user-menu { position: relative; }
.eb-user-btn {
    color: white; font-weight: 500; font-size: .938rem;
    padding: .625rem 1.25rem; border-radius: 40px; border: 1.5px solid rgba(255,255,255,.3);
    background: transparent; transition: all var(--transition-fast);
    display: flex; align-items: center; gap: .5rem; cursor: pointer; white-space: nowrap;
}
.eb-user-btn:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); }
.eb-user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.eb-user-menu .dropdown-menu {
    background: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.15);
    border: 1px solid #e5e7eb; padding: 0; margin-top: .5rem !important; min-width: 200px;
}
.eb-user-menu .dropdown-item {
    display: flex; align-items: center; padding: .75rem 1.25rem;
    color: #374151; font-size: .938rem; font-weight: 500; transition: all .15s ease;
}
.eb-user-menu .dropdown-item:hover,
.eb-user-menu .dropdown-item:focus { background: var(--primary); color: white; }
.eb-user-menu .dropdown-item.text-danger { color: #dc3545 !important; }
.eb-user-menu .dropdown-item.text-danger:hover,
.eb-user-menu .dropdown-item.text-danger:focus { background: #dc3545; color: white !important; }
.eb-user-menu .dropdown-divider { height: 1px; background: #e5e7eb; margin: 0; }
.eb-user-menu .dropdown-item svg { flex-shrink: 0; opacity: .7; transition: opacity .15s ease; }
.eb-user-menu .dropdown-item:hover svg,
.eb-user-menu .dropdown-item:focus svg { opacity: 1; }

/* Cart badge */
.eb-cart-badge {
    position: absolute; top: -6px; right: -8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white; font-size: .688rem; min-width: 20px; height: 20px;
    border-radius: 9999px; display: flex; align-items: center; justify-content: center;
    font-weight: 700; box-shadow: 0 2px 8px rgba(245,158,11,.4);
    padding: 0 4px;
    line-height: 1;
    /* Ensure it always renders on top and never gets clipped */
    z-index: 10;
}

/* On mobile — switch from absolute to inline so it's never clipped by overflow:hidden */
@media (max-width: 991px) {
    .eb-cart-badge {
        position: static;
        display: inline-flex;
        top: auto; right: auto;
        margin-left: 6px;
        min-width: 22px;
        height: 22px;
        font-size: .72rem;
        box-shadow: none;
        border: 1.5px solid rgba(255,255,255,.25);
        vertical-align: middle;
        flex-shrink: 0;
    }
}


/* ============================================================
   12. MOBILE NAVIGATION
   ============================================================ */

.eb-mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.25);
    padding: .5rem .6rem; cursor: pointer; border-radius: 10px;
    transition: background .2s;
}
.eb-mobile-toggle:hover { background: rgba(255,255,255,.2); }
.eb-mobile-toggle span {
    width: 22px; height: 2px; background: white; border-radius: 2px;
    display: block; transition: transform .3s ease, opacity .2s ease;
    transform-origin: center;
}
/* Hamburger → X */
.eb-mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eb-mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.eb-mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Tablet (768px – 991px) ── */
@media (max-width: 991px) {
    .eb-header-wrapper { padding: 0.75rem 20px; }
    .eb-header-wrapper.scrolled { padding: 0.5rem 20px; }

    .eb-navbar { border-radius: 20px; padding: .75rem 1.25rem; }
    .eb-navbar-inner { flex-wrap: wrap; gap: 0; }
    .eb-mobile-toggle { display: flex; margin-left: auto; }

    /* Animated slide-down menu */
    .eb-navbar-content {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        overflow: hidden;
        max-height: 0;
        transition: max-height .35s cubic-bezier(0.4,0,0.2,1),
                    padding .3s ease, opacity .25s ease;
        padding: 0;
        opacity: 0;
        border-top: 0 solid rgba(255,255,255,.1);
        margin-top: 0;
    }
    .eb-navbar-content.active {
        max-height: 600px; /* large enough for all items */
        padding-top: 1rem;
        opacity: 1;
        border-top-width: 1px;
        margin-top: .75rem;
    }

    .eb-nav-menu {
        flex-direction: column; gap: .2rem;
        align-items: stretch; width: 100%;
    }
    .eb-nav-link {
        justify-content: flex-start;
        padding: .7rem 1rem;
        font-size: .95rem;
    }
    .eb-dropdown-menu {
        position: static; opacity: 1; visibility: visible;
        transform: none; margin-top: .4rem; margin-left: 1rem;
        background: rgba(255,255,255,.07); box-shadow: none; border: none;
    }
    .eb-dropdown-menu li a { color: rgba(255,255,255,.85); padding: .55rem 1rem; }
    .eb-dropdown-menu li a:hover { background: rgba(255,255,255,.12); color: white; }

    .eb-nav-actions {
        flex-direction: row; flex-wrap: wrap;
        width: 100%; margin-top: .75rem;
        gap: .6rem; padding-bottom: .5rem;
    }
    .eb-btn-login, .eb-btn-get-started { flex: 1; text-align: center; justify-content: center; min-width: 120px; }
    .eb-user-btn { width: 100%; text-align: center; justify-content: center; }
    .eb-user-menu .dropdown-menu { width: 100%; }
}

/* ── Mobile (≤ 575px) ── */
@media (max-width: 575px) {
    .eb-header-wrapper { padding: 0.5rem 12px; }
    .eb-header-wrapper.scrolled { padding: 0.35rem 12px; }

    .eb-navbar { border-radius: 16px; padding: .6rem 1rem; }
    .eb-logo-text { font-size: 1.25rem; }
    .eb-logo-icon { height: 38px; }

    .eb-nav-actions { flex-direction: column; }
    .eb-btn-login, .eb-btn-get-started { width: 100%; }
}


/* ============================================================
   13. LIVE SEARCH BAR
   ============================================================ */

.eb-search-results {
    position: absolute; top: calc(100% + .5rem); left: 0; right: 0;
    background: white; border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl); z-index: 1000;
    max-height: 400px; overflow-y: auto; display: none;
    border: 1px solid var(--border-color);
}
.eb-search-results.active { display: block; }
.eb-search-item {
    display: flex; align-items: center; gap: 1rem; padding: 1rem;
    border-bottom: 1px solid var(--gray-100); color: var(--gray-900);
    transition: all var(--transition-fast);
}
.eb-search-item:hover { background: var(--gray-50); }
.eb-search-item:last-child { border-bottom: none; }
.eb-search-item img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-md); }


/* ============================================================
   14. FOOTER
   ============================================================ */

/* ---- Main footer wrapper ---- */
.eb-footer {
    background: #0f1729;
    color: rgba(255, 255, 255, 0.65);
    padding: 64px 0 0;
    position: relative;
}

/* ---- Brand column ---- */
.eb-footer-brand { max-width: 340px; }

.eb-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}
.eb-footer-logo-icon {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.eb-footer-logo-earn   { color: #ffffff; }
.eb-footer-logo-bright { color: #fe8600; }

.eb-footer-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
}

/* Social icon buttons */
.eb-footer-socials { display: flex; gap: 10px; }

.eb-footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.eb-footer-social-btn:hover {
    background: #fe8600;
    color: #ffffff;
    border-color: #fe8600;
    transform: translateY(-2px);
}

/* ---- Column headings ---- */
.eb-footer-heading {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}
.eb-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: #fe8600;
    border-radius: 2px;
}

/* ---- Nav link lists ---- */
.eb-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.eb-footer-links li { margin-bottom: 10px; }
.eb-footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}
.eb-footer-links a:hover {
    color: #fe8600;
    padding-left: 4px;
}

/* ---- Contact list ---- */
.eb-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.eb-footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.eb-footer-contact-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: #fe8600;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eb-footer-contact-list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.eb-footer-contact-list a:hover { color: #ffffff; }

/* ---- Bottom bar ---- */
.eb-footer-bottom {
    margin-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}
.eb-footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .eb-footer { padding: 48px 0 0; }
    .eb-footer-brand { max-width: 100%; }
    .eb-footer-bottom { margin-top: 40px; padding: 16px 0; }
}
@media (max-width: 575px) {
    .eb-footer-logo { font-size: 1.5rem; }
}


/* ============================================================
   15. HOME — HERO SECTION  (clean, no parallax bugs)
   ============================================================ */

/* Hero wrapper — now uses .eb-hero instead of .eb-parallax-hero */
.eb-hero, .eb-parallax-hero {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    background: linear-gradient(145deg, #f0f4ff 0%, #e8eeff 40%, #fef3e8 75%, #fff8f0 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Animated background blobs (CSS only, no JS) */
.eb-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.eb-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbDrift 14s ease-in-out infinite alternate;
}
.eb-hero-orb-1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(37,99,235,.15), transparent 70%);
    top: -80px; left: -60px;
    animation-duration: 16s;
}
.eb-hero-orb-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(254,134,0,.13), transparent 70%);
    bottom: -60px; right: -40px;
    animation-duration: 12s;
    animation-delay: -4s;
}
.eb-hero-orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(99,102,241,.10), transparent 70%);
    top: 50%; left: 45%;
    animation-duration: 10s;
    animation-delay: -8s;
}
@keyframes orbDrift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(24px, -32px) scale(1.08); }
}

/* Subtle dot grid overlay */
.eb-hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(37,99,235,.07) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.eb-hero-row { position: relative; z-index: 2; padding: 5px 0; }

/* ---- Badge ---- */
.eb-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(249,115,22,.08));
    border: 1.5px solid rgba(37,99,235,.18);
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 20px;
}

/* ---- Hero text ---- */
.eb-hero-text { padding-top: 20px; }

.eb-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.03em;
    margin-bottom: 18px;
    color: #0f172a;
    opacity: 0;
    animation: fadeInUp .8s cubic-bezier(.16,1,.3,1) .2s forwards;
}
.eb-hero-subtitle {
    font-size: clamp(.9rem, 1.5vw, 1.05rem);
    color: #475569;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp .8s cubic-bezier(.16,1,.3,1) .35s forwards;
}

/* Journey steps — compact horizontal */
.eb-hero-journey {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeInUp .8s cubic-bezier(.16,1,.3,1) .5s forwards;
}
.eb-journey-step {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    padding: 7px 14px;
    border-radius: 50px;
    border: 1px solid rgba(99,102,241,.15);
    box-shadow: 0 2px 10px rgba(37,99,235,.07);
    transition: all .25s ease;
    white-space: nowrap;
}
.eb-journey-step:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,99,235,.13); border-color: #2563eb; }
.eb-journey-icon { font-size: 1rem; line-height: 1; }
.eb-journey-text { font-size: .78rem; font-weight: 600; color: #374151; }
.eb-journey-arrow { font-size: 1rem; color: #2563eb; font-weight: 700; flex-shrink: 0; }

.eb-hero-buttons { opacity: 0; animation: fadeInUp .8s cubic-bezier(.16,1,.3,1) .65s forwards; }

/* ── Hero visual — floating product cards container ── */
.eb-hero-visual {
    position: relative;
    height: 480px;
    overflow: clip; /* prevent cards from bleeding outside on small screens */
}

/* Glowing rings */
.eb-hero-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.eb-hero-ring-1 {
    width: 400px; height: 400px;
    border: 1.5px solid rgba(37,99,235,.12);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation: ringPulse 4s ease-in-out infinite;
}
.eb-hero-ring-2 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    animation: ringPulse 4s ease-in-out infinite .5s;
}
@keyframes ringPulse {
    0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .7; }
    50%      { transform: translate(-50%,-50%) scale(1.06); opacity: 1; }
}

/* Stats badges */
.eb-hero-stat-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(37,99,235,.12);
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: 0 8px 32px rgba(37,99,235,.1);
    z-index: 5;
    white-space: nowrap;
}
.eb-stat-badge-1 { top: 2%; left: 0; animation: floatBadge 5s ease-in-out infinite; }
.eb-stat-badge-2 { bottom: 6%; right: 0; animation: floatBadge 6s ease-in-out infinite .8s; }
@keyframes floatBadge {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.eb-stat-badge-icon { font-size: 1.4rem; line-height: 1; }
.eb-stat-badge-num { font-size: .92rem; font-weight: 800; color: #0f172a; line-height: 1.2; }
.eb-stat-badge-label { font-size: .68rem; color: #6b7280; font-weight: 500; }

/* Floating product cards */
.eb-floating-card {
    position: absolute;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,.1), 0 2px 8px rgba(37,99,235,.08);
    border: 1px solid rgba(37,99,235,.08);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-decoration: none;
    color: inherit;
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
    width: 260px;
    z-index: 4;
}
.eb-floating-card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 20px 56px rgba(37,99,235,.15);
    color: inherit;
}
.eb-card-1 { top: 20%; left: 4%;  animation: floatCard1 6s ease-in-out infinite; }
.eb-card-2 { top: 40%; right: 2%; animation: floatCard2 7s ease-in-out infinite 1s; }
.eb-card-3 { bottom: 16%; left: 8%; animation: floatCard1 5.5s ease-in-out infinite 2s; }

@keyframes floatCard1 { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-16px) rotate(1deg)} }
@keyframes floatCard2 { 0%,100%{transform:translateY(0) rotate(1deg)}  50%{transform:translateY(-20px) rotate(-1deg)} }

/* Card image */
.eb-fc-img {
    width: 52px; height: 52px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}
.eb-fc-img img { width: 100%; height: 100%; object-fit: cover; }
.eb-fc-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}

/* Card content */
.eb-fc-info { flex: 1; min-width: 0; }
.eb-fc-cat {
    display: block;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #2563eb;
    margin-bottom: 2px;
}
.eb-fc-title {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 5px;
}
.eb-fc-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.eb-fc-stars { font-size: .72rem; color: #f59e0b; font-weight: 600; }
.eb-fc-price { font-size: .85rem; font-weight: 800; color: #f97316; }

/* Scroll indicator */
.eb-scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .75rem; color: var(--gray-500); font-size: .875rem; font-weight: 500; animation: bounce 2s ease-in-out infinite; z-index: 10; }
.eb-scroll-arrow { width: 24px; height: 36px; border: 2px solid var(--gray-400); border-radius: 12px; position: relative; }
.eb-scroll-arrow::before { content: ''; position: absolute; width: 4px; height: 8px; background: var(--gray-400); border-radius: 2px; left: 50%; top: 6px; transform: translateX(-50%); animation: scrollDot 2s ease-in-out infinite; }

/* Scroll reveal */
[data-scroll-reveal] {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(.16,1,.3,1),
                transform 0.7s cubic-bezier(.16,1,.3,1);
}
[data-scroll-reveal="left"]  { transform: translateX(-30px); }
[data-scroll-reveal="right"] { transform: translateX(30px); }
[data-scroll-reveal="up"]    { transform: translateY(30px); }
[data-scroll-reveal].revealed { opacity: 1 !important; transform: translate(0,0) !important; }

/* On mobile, disable horizontal scroll-reveal to prevent overflow */
@media (max-width: 767px) {
    [data-scroll-reveal="left"],
    [data-scroll-reveal="right"] {
        transform: translateY(20px);
    }
}

/* 3D Tilt */
[data-tilt] { transform-style: preserve-3d; transition: transform .1s ease-out; }

@media (max-width: 768px) {
    .eb-journey-step {display: none;}
    .eb-journey-arrow {display: none; }
}
/* ============================================================
   16. HOME — HERO ANIMATIONS & KEYFRAMES
   ============================================================ */

@keyframes pulse    { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes fadeInUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes rotate   { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float    { 0%,100% { transform: translate(0,0) scale(1);    } 50% { transform: translate(20px,20px) scale(1.1); } }
@keyframes rotate   { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes bounce   { 0%,100% { transform: translateX(-50%) translateY(0);    } 50% { transform: translateX(-50%) translateY(-10px); } }
@keyframes scrollDot{ 0% { top:6px; opacity:1; } 50% { top:18px; opacity:.3; } 100% { top:6px; opacity:1; } }


/* ============================================================
   17. HOME — FEATURED / TRENDING COURSES SWIPER
   ============================================================ */

.coursesSwiper {
    position: relative; padding: 20px 0 60px;
    margin: 0 -15px; width: calc(100% + 30px);
}
.coursesSwiper .swiper-wrapper {
    padding-bottom: 20px;
    align-items: stretch;
}
.coursesSwiper .swiper-slide {
    height: auto;
    display: flex;
    padding: 0 15px;
    box-sizing: border-box;
}
.coursesSwiper .swiper-slide .eb-course-card {
    width: 100%;
    flex: 1;
}

/* ── Custom outer wrapper for arrows + swiper ── */
.eb-swiper-wrap {
    position: relative;
}

/* Navigation arrows — sit outside, vertically centered on the image area (~110px tall image / 2 = top ~55px from card top, plus card top padding ~20px) */
.eb-swiper-prev,
.eb-swiper-next {
    position: absolute;
    top: 90px; /* vertically centered on card image area */
    z-index: 10;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #2563eb;
    box-shadow: 0 4px 16px rgba(0,0,0,.13);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .2s;
    flex-shrink: 0;
}
.eb-swiper-prev { left: -22px; }
.eb-swiper-next { right: -22px; }
.eb-swiper-prev:hover,
.eb-swiper-next:hover {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 6px 24px rgba(37,99,235,.35);
    transform: scale(1.08);
}

/* Pagination dots */
.coursesSwiper .swiper-pagination { bottom: 0; }
.coursesSwiper .swiper-pagination-bullet { width: 10px; height: 10px; background: #d1d5db; opacity: 1; transition: all .3s ease; }
.coursesSwiper .swiper-pagination-bullet-active { background: #2563eb; width: 28px; border-radius: 5px; }
.coursesSwiper .swiper-pagination-bullet-active-main { background: linear-gradient(135deg,#2563eb 0%,#1e40af 100%); }

/* Slide fade-in */
.coursesSwiper .swiper-slide { animation: fadeInUp .6s ease-out backwards; }
.coursesSwiper .swiper-slide:nth-child(1) { animation-delay: .1s; }
.coursesSwiper .swiper-slide:nth-child(2) { animation-delay: .2s; }
.coursesSwiper .swiper-slide:nth-child(3) { animation-delay: .3s; }
.coursesSwiper .swiper-slide:nth-child(4) { animation-delay: .4s; }

/* ── Tablet ── */
@media (max-width: 1024px) {
    .eb-swiper-prev { left: -16px; }
    .eb-swiper-next { right: -16px; }
}

/* ── Mobile — hide arrows, swipe gesture is enough ── */
@media (max-width: 768px) {
    .coursesSwiper { padding: 10px 0 50px; margin: 0; width: 100%; }
    .coursesSwiper .swiper-slide { padding: 0; }

    .eb-swiper-prev,
    .eb-swiper-next { display: none; }
}


/* ============================================================
   18. HOME — SECTION TITLES & GENERAL SECTIONS
   ============================================================ */

.eb-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

/* ---- Section backgrounds with 3D decorative elements + parallax ---- */

/* ============================================================
   FEATURED / TRENDING COURSES
   White bg + floating 3D orbs that shift on scroll
   ============================================================ */
.eb-section-featured {
    background: #ffffff;
    overflow: hidden;
}
.eb-section-featured::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 40% 40%,
        rgba(37,99,235,.12) 0%,
        rgba(37,99,235,.04) 50%,
        transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
    transform: translateY(var(--parallax-offset, 0px));
    transition: transform 0.1s linear;
}
.eb-section-featured::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 60% 60%,
        rgba(254,134,0,.10) 0%,
        rgba(254,134,0,.03) 50%,
        transparent 70%);
    border-radius: 50%;
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
    /* counter-scroll for depth illusion */
    transform: translateY(calc(var(--parallax-offset, 0px) * -1.4));
    transition: transform 0.1s linear;
}
.eb-section-featured .container { position: relative; z-index: 1; }

/* ============================================================
   ABOUT SECTION
   Soft blue-gray + 3D floating geometric shapes
   ============================================================ */
.eb-section-about {
    background: linear-gradient(160deg, #f4f7ff 0%, #eef2fb 50%, #f4f7ff 100%);
    overflow: hidden;
}
.eb-section-about::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg,
        rgba(37,99,235,.08) 0%,
        rgba(59,130,246,.04) 100%);
    border-radius: 60px;
    transform: rotate(35deg) translateY(var(--parallax-offset, 0px));
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.1s linear;
}
.eb-section-about::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    border: 40px solid rgba(254,134,0,.07);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translateY(calc(var(--parallax-offset, 0px) * -1.2));
    transition: transform 0.1s linear;
    animation: slowSpin 25s linear infinite;
}
.eb-section-about .container { position: relative; z-index: 1; }

/* ============================================================
   TESTIMONIALS
   Light mesh + sphere clusters
   ============================================================ */
.eb-section-testimonials {
    background: #f8faff;
    overflow: hidden;
}
.eb-section-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(var(--parallax-offset, 0px));
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(37,99,235,.25) 30%,
        rgba(254,134,0,.25) 70%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.1s linear;
}
.eb-section-testimonials::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -120px;
    width: 340px;
    height: 340px;
    background:
        radial-gradient(circle at 30% 30%, rgba(37,99,235,.09) 0%, transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(254,134,0,.07) 0%, transparent 55%);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
    transform: translateY(calc(-50% + var(--parallax-offset, 0px)));
    transition: transform 0.1s linear;
}
.eb-section-testimonials .container { position: relative; z-index: 1; }

/* ============================================================
   NEWSLETTER — White background
   ============================================================ */
.eb-section-newsletter {
    background: #ffffff;
    overflow: hidden;
}
.eb-section-newsletter::before,
.eb-section-newsletter::after { display: none; }
.eb-section-newsletter .container { position: relative; z-index: 1; }

/* Shared slow rotation keyframe (used by about ring) */
@keyframes slowSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.eb-section-title {
    text-align: center; font-size: clamp(2rem,4vw,2.5rem);
    margin-bottom: 3.5rem; position: relative; padding-bottom: 1rem;
}
.eb-section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 9999px;
}

/* eb-section-badge — defined in the section heading system below */
.eb-section-subtitle { font-size: 1.125rem; color: #6b7280; max-width: 650px; margin: 0 auto; }

/* ── Section heading system ──────────────────────────────────
   Consistent across every section on the homepage.
   Structure: .eb-section-heading > badge → h2 → p → underline
   ──────────────────────────────────────────────────────────── */

/* Outer wrapper — centers everything and adds breathing room */
.eb-section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

/* Small pill badge above the title */
.eb-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(37,99,235,.08) 0%, rgba(249,115,22,.08) 100%);
    border: 1.5px solid rgba(37,99,235,.18);
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Main split title (plain word + gradient word) */
.eb-section-title-split {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.035em;
    line-height: 1.18;
    margin-bottom: 10px;
}

/* Blue → orange gradient keyword — used on all light-bg section headings */
.eb-title-gradient {
    background: linear-gradient(90deg, #2563eb 0%, #fe8600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    font-style: normal;
}

/* Light blue → peach gradient keyword — used on dark-bg headings (newsletter, stats) */
.eb-title-gradient-white {
    background: linear-gradient(90deg, #93c5fd 0%, #fdba74 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
    font-style: normal;
}

/* Subtitle line under the title */
.eb-section-subtitle-text {
    font-size: .975rem;
    color: #6b7280;
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto 0;
}

/* Gradient underline bar */
.eb-title-underline {
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #fe8600 100%);
    border-radius: 99px;
    margin: 14px auto 0;
}

/* ── Section-specific title variants ── */

/* Who Is It For */
.eb-who-title {
    font-size: clamp(1.9rem, 4vw, 2.75rem) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.035em;
    line-height: 1.18;
    margin-bottom: 10px;
}
.eb-who-earn   { color: #2563eb !important; background: none; -webkit-text-fill-color: #2563eb !important; }
.eb-who-bright { color: #fe8600 !important; background: none; -webkit-text-fill-color: #fe8600 !important; }
.eb-who-subtitle {
    font-size: .975rem !important;
    color: #6b7280 !important;
    margin: 0;
}
.eb-who-divider {
    width: 56px; height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #fe8600 100%);
    border-radius: 99px;
    margin: 14px auto 0;
}

/* About section */
.eb-about-title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin-bottom: 18px;
}
.eb-about-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(249,115,22,.08));
    border: 1.5px solid rgba(37,99,235,.15);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .72rem; font-weight: 700;
    color: #2563eb; letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ── Who Is For section — complete redesign ── */
.eb-who-for-section {
    padding: 100px 0 110px;
    background: linear-gradient(160deg, #f0f4ff 0%, #fafbff 50%, #fef3e8 100%);
    position: relative;
    overflow: hidden;
}
.eb-who-for-section::before,
.eb-who-for-section::after { display: none; }

/* Decorative background blobs */
.eb-who-bg-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.eb-who-blob-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(99,102,241,.08) 0%, transparent 70%); top: -150px; left: -150px; }
.eb-who-blob-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(251,146,60,.08) 0%, transparent 70%); bottom: -100px; right: -100px; }

/* Grid */
.eb-who-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 20px; }

/* Card */
.eb-who-card-new {
    background: #fff;
    border-radius: 20px;
    padding: 32px 20px 28px;
    text-align: center;
    border: 1.5px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    transition: all .35s cubic-bezier(.16,1,.3,1);
    position: relative;
    cursor: default;
}
.eb-who-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0,0,0,.13);
    border-color: transparent;
}

/* Tag */
.eb-who-tag { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; margin-bottom: 14px; }

/* Icon */
.eb-who-icon-circle { width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 2rem; line-height: 1; transition: transform .3s ease, box-shadow .3s ease; }
.eb-who-card-new:hover .eb-who-icon-circle { transform: scale(1.12); box-shadow: 0 12px 28px rgba(0,0,0,.15); }

/* Text */
.eb-who-card-name { font-size: .92rem; font-weight: 800; margin: 0 0 8px; transition: color .2s; }
.eb-who-card-desc { font-size: .75rem; color: #6b7280; line-height: 1.55; margin: 0 0 16px; }

/* Arrow */
.eb-who-card-arrow { opacity: 0; transform: translateX(-6px); transition: all .3s ease; display: flex; justify-content: center; }
.eb-who-card-new:hover .eb-who-card-arrow { opacity: 1; transform: translateX(0); }

/* Responsive */
@media (max-width: 1199px) { .eb-who-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (max-width: 767px) {
    .eb-who-for-section { padding: 70px 0; }
    .eb-who-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .eb-who-card-new { padding: 24px 16px 20px; }
    .eb-who-icon-circle { width: 60px; height: 60px; font-size: 1.6rem; border-radius: 16px; }
    .eb-who-card-name { font-size: .85rem; }
}
@media (max-width: 400px) { .eb-who-grid { grid-template-columns: 1fr; } }

/* Blog section */
.eb-home-blog-title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.035em;
    line-height: 1.18;
    margin: 12px 0 10px;
}
.eb-title-orange {
    background: linear-gradient(90deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.eb-home-blog-sub {
    font-size: .975rem;
    color: #6b7280;
    margin-bottom: 14px;
}
.eb-home-blog-line {
    width: 56px; height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #fe8600 100%);
    border-radius: 99px;
    margin: 0 auto;
}

/* Newsletter */
.eb-newsletter-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin-bottom: 12px;
}
.eb-newsletter-sub {
    font-size: .975rem;
    color: rgba(255,255,255,.65);
    margin-bottom: 32px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}
.eb-newsletter-badge {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: .72rem; font-weight: 700;
    color: rgba(255,255,255,.85); letter-spacing: .08em;
    text-transform: uppercase; margin-bottom: 16px;
}

/* Final CTA section heading */
.eb-final-cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.eb-final-cta-sub {
    font-size: .975rem;
    color: #6b7280;
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.75;
}

/* Category cards (grid) */
.eb-category-scroll { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1.5rem; padding: .5rem; }
.eb-category-card {
    background: white; border: 1.5px solid var(--border-color); border-radius: var(--radius-xl);
    padding: 2rem 1.5rem; text-align: center; transition: all var(--transition-base);
    position: relative; overflow: hidden;
}
.eb-category-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); opacity: 0; transition: opacity var(--transition-base); }
.eb-category-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: 0 12px 28px -5px rgba(99,102,241,.3); }
.eb-category-card:hover::before { opacity: .05; }
.eb-category-card h6 { margin: 0; font-size: 1rem; font-weight: 600; position: relative; z-index: 1; color: var(--gray-900); }
.eb-category-card small { position: relative; z-index: 1; color: var(--gray-600); }

/* Feature icon (general) */
.eb-feature-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, rgba(99,102,241,.1) 0%, rgba(245,158,11,.1) 100%);
    border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; color: var(--primary); box-shadow: 0 4px 14px 0 rgba(99,102,241,.15);
    transition: all var(--transition-base);
}
.eb-feature-icon:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 24px 0 rgba(99,102,241,.25); }

/* Testimonials */
.eb-testimonials-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.eb-testimonial-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    padding: 28px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    max-height: none;
}
.eb-testimonial-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 32px rgba(37,99,235,.1);
    transform: translateY(-4px);
}
.eb-testimonial-featured-badge {
    position: absolute;
    top: 14px; right: 14px;
    background: linear-gradient(135deg, #fef9c3, #fde68a);
    color: #92400e;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid #fcd34d;
}
.eb-testimonial-quote-icon { color: #dbeafe; flex-shrink: 0; }
.eb-testimonial-stars { display: flex; gap: 2px; }
.eb-testimonial-text {
    color: #374151;
    font-size: .92rem;
    line-height: 1.7;
    flex: 1;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 4; line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.eb-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f0f4ff;
    margin-top: auto;
}
.eb-testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .88rem;
    color: #fff;
    flex-shrink: 0;
}
.eb-testimonial-avatar-img {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.eb-testimonial-name { display: block; font-size: .9rem; color: #0f172a; font-weight: 700; }
.eb-testimonial-role { display: block; font-size: .75rem; color: #6b7280; margin-top: 1px; }

/* Testimonial slider — ensure equal card heights per row */
.testimonialsSwiper { overflow: hidden; }
.testimonialsSwiper .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
}
.testimonialsSwiper .eb-testimonial-card {
    width: 100%;
    flex: none;
}

/* Pagination dot color override */
.testimonialsSwiper .swiper-pagination-bullet { background: #2563eb; opacity: .35; }
.testimonialsSwiper .swiper-pagination-bullet-active { background: #2563eb; opacity: 1; }
.eb-newsletter {
    background: linear-gradient(135deg, rgba(99,102,241,.05) 0%, rgba(245,158,11,.05) 100%);
    border: 1.5px solid var(--border-color); border-radius: var(--radius-2xl);
    padding: 3.5rem 2.5rem; text-align: center; max-width: 650px; margin: 0 auto;
}
.eb-newsletter h3 { margin-bottom: .75rem; color: var(--gray-900); }
.eb-newsletter p  { color: var(--gray-600); margin-bottom: 2rem; }
.eb-newsletter input[type="email"] { border: 1.5px solid var(--border-color); border-radius: var(--radius-lg); padding: .875rem 1.25rem; font-size: 1rem; transition: all var(--transition-base); }
.eb-newsletter input[type="email"]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99,102,241,.1); }


/* ============================================================
   19. HOME — WHY CHOOSE EARNBRIGHT
   ============================================================ */

.eb-why-choose-section {
    position: relative; overflow: hidden; padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}
.eb-why-bg-decoration { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.eb-why-circle { position: absolute; border-radius: 50%; opacity: .4; }
.eb-why-circle-1 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(37,99,235,.1) 0%, transparent 70%); top: -100px; right: -100px; animation: float 8s ease-in-out infinite; }
.eb-why-circle-2 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(249,115,22,.1) 0%, transparent 70%); bottom: -50px; left: -50px; animation: float 10s ease-in-out infinite reverse; }
.eb-why-circle-3 { width: 150px; height: 150px; background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%); top: 50%; left: 50%; animation: float 12s ease-in-out infinite; }

/* Feature card */
.eb-feature-card { height: 100%; transition: transform .3s ease; }
.eb-feature-card:hover { transform: translateY(-8px); }
.eb-feature-card-inner {
    position: relative; background: white; border-radius: 24px; padding: 32px 28px;
    height: 100%; border: 2px solid #f3f4f6; transition: all .4s cubic-bezier(.16,1,.3,1); overflow: hidden;
    border-color: #0000ff2e;
}
.eb-feature-card-inner::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #f97316 100%);
    transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.eb-feature-card:hover .eb-feature-card-inner { border-color: #2563eb; box-shadow: 0 12px 40px rgba(37,99,235,.12); }
.eb-feature-card:hover .eb-feature-card-inner::before { transform: scaleX(1); }

.eb-feature-icon-wrapper { position: relative; width: 70px; height: 70px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.eb-feature-icon-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,99,235,.1) 0%, rgba(249,115,22,.1) 100%); border-radius: 20px; transition: all .4s cubic-bezier(.16,1,.3,1); }
.eb-feature-card:hover .eb-feature-icon-bg { background: linear-gradient(135deg, #2563eb 0%, #f97316 100%); transform: rotate(10deg) scale(1.1); }
.eb-feature-icon-wrapper svg { position: relative; z-index: 1; color: #2563eb; transition: all .4s cubic-bezier(.16,1,.3,1); }
.eb-feature-card:hover .eb-feature-icon-wrapper svg { color: white; transform: scale(1.1); }

.eb-feature-title { position: relative; font-size: 1.25rem; font-weight: 700; color: #1a202c; margin-bottom: 12px; transition: color .3s ease; z-index: 2; }
.eb-feature-card:hover .eb-feature-title { color: #2563eb; }
.eb-feature-desc { position: relative; font-size: .938rem; color: #6b7280; line-height: 1.6; z-index: 2; }
.eb-feature-number { position: absolute; bottom: 16px; right: 20px; font-size: 2rem; font-weight: 800; color: #c7daff; line-height: 1; z-index: 0; transition: all .4s cubic-bezier(.16,1,.3,1); }
.eb-feature-card:hover .eb-feature-number { color:#2b6ded; transform: scale(1.05); }


/* ============================================================
   20. HOME — WHO IS EARNBRIGHT FOR?
   Styles defined in section 47 (light mode override). Old dark
   background rules below are neutralised — do not re-enable.
   ============================================================ */

/* eb-who-for-section dark background — REMOVED: now uses white background (section 47) */

/* eb-who-card dark styles — REMOVED: now uses white card (section 47) */
.eb-who-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(242,116,5,.15), rgba(255,138,31,.15)); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.eb-who-card:hover::before { opacity: 1; }
.eb-who-card:hover { background: rgba(255,255,255,.15); border-color: #f27405; transform: translateY(-8px); box-shadow: 0 20px 40px rgba(242,116,5,.25); }

.eb-who-icon-wrapper { margin-bottom: 20px; position: relative; z-index: 2; width: 80px; height: 80px; margin-left: auto; margin-right: auto; display: flex; align-items: center; justify-content: center; }
.eb-who-icon-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #11538c, #1e40af); border-radius: 50%; transition: all .3s ease; box-shadow: 0 8px 20px rgba(17,83,140,.3); }
.eb-who-icon-bg::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%; height: 100%; background: inherit; border-radius: 50%; opacity: .3; filter: blur(15px); transition: all .3s ease; pointer-events: none; }
.eb-who-card:hover .eb-who-icon-bg { background: linear-gradient(135deg, #f27405, #ff8a1f); transform: scale(1.1); box-shadow: 0 12px 30px rgba(242,116,5,.5); }
.eb-who-card:hover .eb-who-icon-bg::before { opacity: .5; filter: blur(20px); }
.eb-who-icon-wrapper svg { position: relative; z-index: 1; color: white; transition: all .3s ease; }
.eb-who-card:hover .eb-who-icon-wrapper svg { transform: scale(1.1); }
.eb-who-card-title { font-size: 16px; font-weight: 700; color: white; margin: 0; position: relative; z-index: 2; transition: all .3s ease; }
.eb-who-card:hover .eb-who-card-title { color: #f27405; }


/* ============================================================
   21. HOME — ABOUT SECTION
   ============================================================ */

.eb-about-section { position: relative; overflow: hidden; }
.eb-about-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%); opacity: .3;
}
/* ── Old about image/wrapper styles — replaced by section 52 (eb-about-img-box).
   These rules are kept only because eb-about-label, eb-about-text, and
   eb-about-features are still used and work correctly. ── */

/* eb-about-image-wrapper: superseded by eb-about-img-frame (section 52) */
.eb-about-content { padding-left: 0; }
.eb-about-label { display: inline-block; padding: 5px 16px; background: linear-gradient(135deg, rgba(37,99,235,.08) 0%, rgba(249,115,22,.08) 100%); border: 1.5px solid rgba(37,99,235,.15); border-radius: 50px; font-size: .72rem; font-weight: 700; color: #2563eb; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.eb-about-title { font-size: clamp(1.75rem,3.5vw,2.4rem); font-weight: 800; color: #0f172a; margin-bottom: 18px; line-height: 1.2; letter-spacing: -.035em; }
.eb-about-text { font-size: 1rem; color: #4b5563; line-height: 1.8; margin-bottom: 1rem; }
.eb-about-text strong { color: #0f172a; font-weight: 600; }

/* Feature checklist grid in About section */
.eb-about-features { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 20px; }
.eb-about-feature-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #f8faff; border: 1.5px solid #e8edf5; border-radius: 14px; transition: all .25s ease; }
.eb-about-feature-item:hover { border-color: #bfdbfe; background: #eff6ff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,99,235,.08); }
.eb-about-feature-icon-wrap { font-size: 1.4rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.eb-about-feature-text strong { display: block; font-size: .85rem; font-weight: 700; color: #0f172a; margin-bottom: 3px; }
.eb-about-feature-text span { font-size: .75rem; color: #9ca3af; line-height: 1.4; }


/* ============================================================
   22. HOME — STATS STRIP
   ============================================================ */

.eb-stats-strip {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
    color: white; padding: 64px 0; position: relative; overflow: hidden; z-index: 1;
}
.eb-stats-strip::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,.03) 40px, rgba(255,255,255,.03) 80px);
}
.eb-stat-card {
    text-align: center;
    padding: 28px 20px;
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,.06);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    margin: 8px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.eb-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
    background: rgba(255,255,255,.1);
}
.eb-stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    animation: iconBounce 2s ease-in-out infinite;
}
@keyframes iconBounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.eb-stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    min-height: 1.2em;
}
.eb-stat-label {
    font-size: .88rem;
    color: rgba(255,255,255,.75);
    font-weight: 500;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
/* Progress bar under each stat */
.eb-stat-bar {
    height: 3px;
    background: rgba(255,255,255,.15);
    border-radius: 3px;
    overflow: hidden;
}
.eb-stat-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    transition: width 1.6s ease 0.3s;
}
/* Trigger bar animation when section is visible */


/* ============================================================
   25. COURSES PAGE — HERO
   ============================================================ */

.eb-courses-hero {
    background: linear-gradient(160deg, #f0f4ff 0%, #e8eeff 45%, #fef3e8 100%);
    padding: 90px 0 68px;
    color: #0f172a;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

/* Update decorative blobs to use brand colors on light bg */
.eb-courses-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.eb-hero-circle-deco { position: absolute; border-radius: 50%; background: rgba(37,99,235,.06); }
.eb-hero-deco-1 { width: 320px; height: 320px; top: -80px;  left: -80px;   }
.eb-hero-deco-2 { width: 220px; height: 220px; top:  20px;  right: 60px; background: rgba(249,115,22,.06); }
.eb-hero-deco-3 { width: 160px; height: 160px; bottom: -40px; right: 280px; }

.eb-courses-hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 40px auto; }
.eb-courses-hero-title { font-size: 2.75rem; font-weight: 800; letter-spacing: -.5px; margin-bottom: 14px; color: #0f172a; }
.eb-courses-hero-subtitle { font-size: 1.1rem; color: #475569; margin-bottom: 36px; }

/* Search bar */
.eb-courses-search-form { width: 100%; }
.eb-courses-search-wrap {
    display: flex; align-items: center; background: #fff;
    border-radius: 50px; padding: 8px 8px 8px 22px;
    box-shadow: 0 4px 20px rgba(37,99,235,.12); max-width: 600px; margin: 0 auto;
}
.eb-courses-search-icon { color: #94a3b8; flex-shrink: 0; margin-right: 10px; }
.eb-courses-search-input { flex: 1; border: none; outline: none; font-size: 1rem; color: #1e293b; background: transparent; min-width: 0; }
.eb-courses-search-input::placeholder { color: #94a3b8; }
.eb-courses-search-btn {
    background: #fe8600; color: #fff; border: none;
    padding: 12px 26px; border-radius: 50px; font-weight: 700; font-size: .95rem;
    cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    transition: background .2s, transform .2s, box-shadow .2s; white-space: nowrap;
}
.eb-courses-search-btn:hover { background: #ea580c; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(254,134,0,.45); }

/* Legacy classes — no longer rendered but kept for safety */

/* ============================================================
   26. COURSES PAGE — CATEGORY CHIPS
   ============================================================ */

.eb-category-chips { background: #fff; padding: 20px 0; border-bottom: 1px solid #e9ecef; }
.eb-chips-wrapper { display: flex; gap: 12px; overflow-x: auto; padding: 4px 0; scrollbar-width: thin; cursor: grab; }
.eb-chips-wrapper::-webkit-scrollbar { height: 6px; }
.eb-chips-wrapper::-webkit-scrollbar-thumb { background: #dee2e6; border-radius: 10px; }

.eb-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; background: #f8f9fa; color: #495057;
    border: 2px solid transparent; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: .9rem;
    white-space: nowrap; transition: all .3s ease;
}
.eb-chip:hover  { background: rgba(37,99,235,.1); color: #2563eb; border-color: rgba(37,99,235,.2); }
.eb-chip.active { background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); color: #fff; border-color: transparent; }


/* ============================================================
   27. COURSES PAGE — FILTER SIDEBAR
   ============================================================ */

.eb-courses-main { padding: 10px 0 80px; background: #f8f9fa; }

.eb-filter-sidebar { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 20px rgba(0,0,0,.06); position: sticky; top: 100px; }

.eb-filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid #e9ecef; }
.eb-filter-header h5 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; color: #2d3748; margin: 0; }
.eb-filter-clear { color: #2563eb; font-size: .875rem; font-weight: 600; text-decoration: none; transition: color .2s; }
.eb-filter-clear:hover { color: #1e40af; text-decoration: underline; }

.eb-filter-section { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid #e9ecef; }
.eb-filter-section:last-of-type { border-bottom: none; }
.eb-filter-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; color: #2d3748; margin-bottom: 16px; }

/* Price inputs */
.eb-price-inputs { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.eb-price-input { flex: 1; padding: 10px 12px; border: 2px solid #e9ecef; border-radius: 8px; font-size: .95rem; outline: none; transition: border-color .2s; }
.eb-price-input:focus { border-color: #2563eb; }
.eb-price-separator { color: #6c757d; font-weight: 600; }

/* Range slider */
.eb-range-slider { width: 100%; height: 6px; border-radius: 5px; background: #e9ecef; outline: none; margin-bottom: 12px; }
.eb-range-slider::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); cursor: pointer; box-shadow: 0 2px 10px rgba(37,99,235,.4); }
.eb-range-slider::-moz-range-thumb    { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); cursor: pointer; border: none; box-shadow: 0 2px 10px rgba(37,99,235,.4); }
.eb-range-labels { display: flex; justify-content: space-between; font-size: .85rem; color: #6c757d; font-weight: 600; }

/* Rating filter */
.eb-rating-option { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; cursor: pointer; transition: background .2s; margin-bottom: 8px; }
.eb-rating-option:hover { background: #f8f9fa; }
.eb-rating-option input[type="radio"] { margin: 0; cursor: pointer; }
.eb-rating-stars { display: flex; align-items: center; gap: 4px; color: #ffc107; }
.eb-rating-text { color: #6c757d; font-size: .9rem; margin-left: 4px; }

/* Apply button */
.eb-filter-apply-btn { width: 100%; background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); color: #fff; border: none; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all .3s ease; }
.eb-filter-apply-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.4); }


/* ============================================================
   MOBILE FILTER BAR + DRAWER
   ============================================================ */

/* Sticky top bar with Filters button + Sort (mobile only) */
.eb-mobile-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    position: sticky;
    top: 0px;   /* below fixed header */
    z-index: 100;
}

/* Filters button */
.eb-mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: opacity .2s;
}
.eb-mobile-filter-btn:hover { opacity: .9; }

/* Active filter count badge */
.eb-mobile-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    background: #f97316;
    color: #fff;
    border-radius: 50%;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
}

/* Dim overlay */
.eb-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1200;
    backdrop-filter: blur(2px);
}
.eb-filter-overlay.open { display: block; }

/* Off-canvas drawer */
.eb-filter-drawer {
    position: fixed;
    top: 0; left: 0;
    width: min(320px, 88vw);
    height: 100vh;
    background: #fff;
    z-index: 1300;
    transform: translateX(-100%);
    transition: transform .32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 32px rgba(0,0,0,.15);
}
.eb-filter-drawer.open { transform: translateX(0); }

/* Drawer header */
.eb-filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 2px solid #f0f4ff;
    flex-shrink: 0;
}
.eb-filter-drawer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}
.eb-filter-drawer-title svg { color: #2563eb; }
.eb-filter-drawer-close {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #64748b;
    transition: background .2s, color .2s;
}
.eb-filter-drawer-close:hover { background: #fee2e2; color: #dc2626; }

/* Drawer scrollable body */
.eb-filter-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Clear all link inside drawer */
.eb-filter-clear-all {
    display: inline-block;
    color: #dc2626;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color .2s;
}
.eb-filter-clear-all:hover { color: #991b1b; text-decoration: underline; }

/* On desktop: hide drawer-related elements */
@media (min-width: 992px) {
    .eb-mobile-filter-bar,
    .eb-filter-overlay,
    .eb-filter-drawer { display: none !important; }
    .eb-filter-sidebar { position: static; }
}


/* ============================================================
   28. COURSES PAGE — TOOLBAR (SORT & VIEW TOGGLE)
   ============================================================ */

.eb-toolbar { background: #fff; border-radius: 12px; padding: 20px 24px; margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.eb-results-count { margin: 0; color: #6c757d; font-size: 1rem; }
.eb-results-count strong { color: #2d3748; font-weight: 700; }
.eb-active-category { color: #2563eb; font-weight: 600; }
.eb-toolbar-right { display: flex; align-items: center; gap: 16px; }

/* View toggle */
.eb-view-toggle { display: flex; gap: 4px; background: #f8f9fa; padding: 4px; border-radius: 8px; }
.eb-view-btn { padding: 8px 12px; background: transparent; border: none; color: #6c757d; border-radius: 6px; cursor: pointer; transition: all .2s ease; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.eb-view-btn:hover { background: #fff; color: #2563eb; }
.eb-view-btn.active { background: #fff; color: #2563eb; box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* Sort select */
.eb-sort-form { margin: 0; }
.eb-sort-select { padding: 10px 16px; border: 2px solid #e9ecef; border-radius: 8px; font-size: .95rem; font-weight: 600; color: #495057; background: #fff; cursor: pointer; outline: none; transition: border-color .2s; }
.eb-sort-select:focus { border-color: #2563eb; }


/* ============================================================
   29. COURSES PAGE — GRID & LIST PRODUCT VIEWS
   ============================================================ */

/* Grid view — uses Bootstrap row classes, no extra CSS needed */


/* List view */
.eb-products-list { display: flex; flex-direction: column; gap: 20px; }

.eb-product-list-item { background: #fff; border-radius: 16px; padding: 20px; display: flex; gap: 24px; box-shadow: 0 2px 15px rgba(0,0,0,.06); transition: all .3s ease; }
.eb-product-list-item:hover { transform: translateY(-4px); box-shadow: 0 6px 30px rgba(0,0,0,.1); }

.eb-list-image { flex-shrink: 0; width: 200px; height: 150px; border-radius: 12px; overflow: hidden; position: relative; }
.eb-list-image img { width: 100%; height: 100%; object-fit: cover; }
.eb-list-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(37,99,235,.1) 0%, rgba(254,134,0,.1) 100%); display: flex; align-items: center; justify-content: center; color: #2563eb; }

.eb-list-content { flex: 1; display: flex; flex-direction: column; }
.eb-list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.eb-list-category { background: rgba(37,99,235,.1); color: #2563eb; padding: 6px 12px; border-radius: 6px; font-size: .85rem; font-weight: 600; }
.eb-list-rating { display: flex; align-items: center; gap: 6px; color: #ffc107; font-weight: 600; }
.eb-review-count { color: #6c757d; font-size: .9rem; }

.eb-list-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.eb-list-title a { color: #2d3748; text-decoration: none; transition: color .2s; }
.eb-list-title a:hover { color: #2563eb; }
.eb-list-description { color: #6c757d; line-height: 1.6; margin-bottom: auto; font-size: .95rem; }

.eb-list-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid #e9ecef; }
.eb-list-price { display: flex; align-items: center; gap: 12px; }
.eb-list-price-sale    { font-size: 1.75rem; font-weight: 800; color: #2563eb; }
.eb-list-price-original{ font-size: 1.1rem;  color: #adb5bd; text-decoration: line-through; }
.eb-list-price-regular { font-size: 1.75rem; font-weight: 800; color: #2d3748; }
.eb-list-price-free    { font-size: 1.5rem;  font-weight: 800; color: #28a745; }

.eb-list-view-btn { background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); color: #fff; padding: 12px 24px; border-radius: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all .3s ease; }
.eb-list-view-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.4); color: #fff; }


/* ============================================================
   31. COURSES PAGE — NO RESULTS & AJAX LOADING STATE
   ============================================================ */

/* No results */
.eb-no-results { text-align: center; padding: 80px 20px; background: #fff; border-radius: 16px; }
.eb-no-results svg  { color: #adb5bd; margin-bottom: 24px; }
.eb-no-results h3   { font-size: 1.75rem; font-weight: 700; color: #2d3748; margin-bottom: 12px; }
.eb-no-results p    { color: #6c757d; font-size: 1.1rem; margin-bottom: 24px; }

/* AJAX loading spinner */
#productsContainer { position: relative; min-height: 400px; transition: opacity .3s ease; }
#productsContainer.loading { opacity: .5; pointer-events: none; }
#productsContainer.loading::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 50px; height: 50px; margin: -25px 0 0 -25px;
    border: 4px solid #e9ecef; border-top-color: #2563eb;
    border-radius: 50%; animation: spinLoader .8s linear infinite; z-index: 10;
}
@keyframes spinLoader { to { transform: rotate(360deg); } }

/* Fade-in animation for newly loaded content */
.eb-products-grid,
.eb-products-list { animation: fadeInProducts .4s ease; }
@keyframes fadeInProducts { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Pagination wrapper */
.eb-pagination-wrapper { margin-top: 40px; }


/* ============================================================
   32. PRODUCT DETAILS PAGE — Full Redesign
   ============================================================ */

/* ── Hero section ── */
.eb-pd-hero {
    background: linear-gradient(160deg, #f0f4ff 0%, #e8f0fe 50%, #fef3c7 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.eb-pd-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 10% 20%, rgba(37,99,235,.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 80%, rgba(249,115,22,.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Breadcrumb */
.eb-pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: #6b7280;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.eb-pd-breadcrumb a { color: #2563eb; text-decoration: none; font-weight: 500; }
.eb-pd-breadcrumb a:hover { color: #f97316; }
.eb-pd-breadcrumb span { color: #1a2540; font-weight: 600; }

/* Hero grid — image | info | buy card */
.eb-pd-hero-grid {
    display: grid;
    grid-template-columns: 480px 1fr 340px;
    gap: 40px;
    align-items: start;
    min-width: 0;
}
/* All direct grid children must allow shrinking */
.eb-pd-hero-grid > * { min-width: 0; }

/* Standalone image column */
.eb-pd-hero-image-col {
    position: sticky;
    top: 110px;
}
.eb-pd-hero-img-main {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 8px 32px rgba(37,99,235,.14);
    transition: transform .35s ease;
    cursor: zoom-in;
}
.eb-pd-hero-img-main:hover { transform: scale(1.01); }
.eb-pd-hero-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f0f4ff;
}
.eb-pd-hero-discount-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: .04em;
    box-shadow: 0 4px 12px rgba(249,115,22,.4);
    z-index: 2;
}

/* Left info */
.eb-pd-category-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
    border: 1px solid #bfdbfe;
}
.eb-pd-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.eb-pd-short-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 520px;
}

/* Rating row */
.eb-pd-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.eb-pd-stars { display: flex; gap: 2px; }
.eb-pd-rating-num {
    font-size: .95rem;
    font-weight: 700;
    color: #1a2540;
}
.eb-pd-rating-count { font-size: .85rem; color: #6b7280; }
.eb-pd-sales-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #f0fdf4;
    color: #16a34a;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    border: 1px solid #bbf7d0;
}

/* Trust bar */
.eb-pd-trust-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.eb-pd-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: #374151;
}

/* ── Buy card — no image, price+CTA only ── */
.eb-pd-buy-card {
    background: #fff;
    border-radius: 24px;
    box-shadow:
        0 4px 16px rgba(37,99,235,.08),
        0 20px 60px rgba(37,99,235,.10),
        0 0 0 1px rgba(37,99,235,.06);
    overflow: hidden;
    position: sticky;
    top: 110px;
    transition: box-shadow .3s ease;
}
.eb-pd-buy-card:hover {
    box-shadow:
        0 6px 20px rgba(37,99,235,.12),
        0 24px 70px rgba(37,99,235,.14),
        0 0 0 1px rgba(37,99,235,.10);
}

/* Card top accent bar */
.eb-pd-buy-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #6366f1, #f97316);
    border-radius: 0;
}

/* Product image */
.eb-pd-buy-img-wrap {    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #f0f4ff;
}
.eb-pd-buy-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.eb-pd-buy-card:hover .eb-pd-buy-img-wrap img { transform: scale(1.03); }
.eb-pd-discount-badge {
    position: absolute;
    top: 14px; right: 14px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: .04em;
    box-shadow: 0 4px 12px rgba(249,115,22,.4);
}

/* Price block */
.eb-pd-price-block {
    padding: 20px 20px 14px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.eb-pd-price-current {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}
.eb-pd-price-old {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}
.eb-pd-price-save {
    font-size: .72rem;
    font-weight: 700;
    background: #fef9c3;
    color: #92400e;
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid #fde68a;
}

/* CTA buttons */
.eb-pd-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 32px);
    margin: 0 16px 10px;
    padding: 15px 20px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all .25s ease;
    font-family: inherit;
    letter-spacing: .01em;
}
.eb-pd-cta-primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    box-shadow: 0 4px 16px rgba(249,115,22,.35);
}
.eb-pd-cta-primary:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249,115,22,.45);
    color: #fff;
}
.eb-pd-cta-secondary {
    background: #f0f7ff;
    color: #2563eb;
    border: 2px solid #dbeafe;
    margin-bottom: 16px;
}
.eb-pd-cta-secondary:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1e40af;
    transform: translateY(-1px);
}

/* Thumbnails */
.eb-pd-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 0 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.eb-pd-thumb {
    width: 72px; height: 54px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2.5px solid transparent;
    opacity: .65;
    transition: all .2s;
    flex-shrink: 0;
}
.eb-pd-thumb:hover  { opacity: 1; border-color: #f97316; }
.eb-pd-thumb.active { opacity: 1; border-color: #2563eb; }

/* Purchased badge */
.eb-pd-purchased-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 16px 10px;
    padding: 12px;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 600;
    color: #16a34a;
}

/* Guarantees */
.eb-pd-guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 12px 16px 18px;
    border-top: 1px solid #f0f4ff;
    gap: 6px;
}
.eb-pd-guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: .68rem;
    color: #9ca3af;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}
.eb-pd-guarantee-item svg { color: #d1d5db; }

/* ── Content / Tabs section ── */
.eb-pd-content {
    background: #f8faff;
    padding: 48px 0 64px;
    overflow: hidden;
}

.eb-pd-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    border-bottom: 2px solid #e8edf5;
    overflow-x: auto;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
}
.eb-pd-tabs::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.eb-pd-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 22px;
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -2px;
    font-size: .875rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
    font-family: inherit;
}
.eb-pd-tab:hover  { color: #2563eb; }
.eb-pd-tab.active { color: #2563eb; border-bottom-color: #2563eb; }
.eb-pd-tab-badge {
    background: #2563eb;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
    line-height: 1.4;
}

/* Tab panels */
.eb-pd-panel { display: none; }
.eb-pd-panel.active {
    display: block;
    animation: panelFadeIn .25s ease;
    overflow: hidden;       /* prevent child overflow escaping the panel */
}
@keyframes panelFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Description */
.eb-pd-description {
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    line-height: 1.8;
    color: #374151;
    font-size: .95rem;
    /* Fix: break long unspaced words/strings instead of overflowing */
    word-break: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    min-width: 0;           /* let flexbox/grid children shrink below content size */
}
.eb-pd-description h1,
.eb-pd-description h2,
.eb-pd-description h3 {
    color: #0f172a;
    margin: 1.2em 0 .6em;
    font-weight: 700;
    word-break: break-word;
    overflow-wrap: break-word;
}
.eb-pd-description p  { margin-bottom: 1em; word-break: break-word; overflow-wrap: break-word; }
.eb-pd-description ul { padding-left: 1.5em; margin-bottom: 1em; }
.eb-pd-description li { margin-bottom: .4em; word-break: break-word; overflow-wrap: break-word; }
.eb-pd-description a  { word-break: break-all; overflow-wrap: anywhere; color: #2563eb; }
/* Prevent pre/code blocks from blowing out the width */
.eb-pd-description pre,
.eb-pd-description code {
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    max-width: 100%;
}

/* Tab panels wrapper */
.eb-pd-tab-panels {
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

/* Features grid */
.eb-pd-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.eb-pd-feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    font-size: .875rem;
    font-weight: 500;
    color: #374151;
    border: 1px solid #f0f4ff;
    transition: box-shadow .2s, transform .2s;
}
.eb-pd-feature-card:hover { box-shadow: 0 4px 16px rgba(37,99,235,.1); transform: translateY(-2px); }
.eb-pd-feature-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Reviews */
.eb-pd-rating-summary {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    border: 1px solid #bfdbfe;
}
.eb-pd-rating-big-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}
.eb-pd-rating-big-stars { display: flex; gap: 3px; margin: 6px 0; }

.eb-pd-reviews-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.eb-pd-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    border: 1px solid #f0f4ff;
}
.eb-pd-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.eb-pd-reviewer-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eb-pd-reviewer-info { flex: 1; }
.eb-pd-reviewer-info strong { display: block; font-size: .875rem; color: #0f172a; }
.eb-pd-reviewer-info span  { font-size: .75rem; color: #9ca3af; }
.eb-pd-review-stars { display: flex; gap: 2px; }
.eb-pd-review-title { font-weight: 700; font-size: .9rem; color: #1a2540; margin-bottom: 6px; }
.eb-pd-review-body  { font-size: .875rem; color: #475569; line-height: 1.6; margin: 0; }

.eb-pd-no-reviews {
    text-align: center;
    padding: 48px;
    background: #fff;
    border-radius: 16px;
    color: #9ca3af;
    font-size: .9rem;
    border: 1.5px dashed #e2e8f0;
}
.eb-pd-no-reviews svg { display: block; margin: 0 auto 12px; }

/* Review form */
.eb-pd-review-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid #e8edf5;
}
.eb-pd-review-form-title { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 20px; }
.eb-pd-review-error {
    background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px;
    padding: 10px 14px; color: #991b1b; font-size: .85rem; margin-bottom: 14px;
}

/* CSS-only star picker */
.eb-pd-star-picker {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    font-size: .85rem;
    color: #6b7280;
    font-weight: 500;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.eb-pd-star-picker input[type="radio"] { display: none; }
.eb-pd-star-picker label {
    font-size: 1.6rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color .15s;
    line-height: 1;
}
.eb-pd-star-picker label:hover,
.eb-pd-star-picker label:hover ~ label,
.eb-pd-star-picker input:checked ~ label { color: #fbbf24; }
.eb-pd-star-picker > span { order: 10; margin-right: 8px; flex-shrink: 0; }

.eb-pd-review-input, .eb-pd-review-textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .9rem;
    color: #0f172a;
    outline: none;
    margin-bottom: 12px;
    font-family: inherit;
    background: #fafbff;
    transition: border-color .2s, box-shadow .2s;
}
.eb-pd-review-input:focus, .eb-pd-review-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
    background: #fff;
}
.eb-pd-review-textarea { resize: vertical; }
.eb-pd-review-submit {
    padding: 12px 28px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.eb-pd-review-submit:hover { background: linear-gradient(135deg,#f97316,#ea580c); transform: translateY(-1px); }
.eb-pd-review-login-prompt {
    text-align: center;
    padding: 20px;
    font-size: .875rem;
    color: #6b7280;
}
.eb-pd-review-login-prompt a { color: #2563eb; font-weight: 600; }

/* ── Related products ── */
.eb-pd-related { padding: 60px 0; background: #fff; }
.eb-pd-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 10px;
}
.eb-pd-related-header h3 { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin: 0; }
.eb-pd-related-header a { font-size: .875rem; font-weight: 600; color: #2563eb; text-decoration: none; }
.eb-pd-related-header a:hover { color: #f97316; }
.eb-pd-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
@media (max-width: 600px) {
    .eb-pd-related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 360px) {
    .eb-pd-related-grid { grid-template-columns: 1fr; }
}

/* ── Sticky bottom bar — removed, replaced by eb-fab-stack ── */

/* ── Responsive ── */
@media (max-width: 1200px) {
    .eb-pd-hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .eb-pd-hero-grid > .eb-pd-hero-right { display: none; } /* buy card hidden at tablet — shown via FAB */
}
@media (max-width: 991px) {
    .eb-pd-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .eb-pd-hero-grid > .eb-pd-hero-right { display: block; } /* buy card back below image on mobile */
    .eb-pd-hero-image-col { position: static; }
    .eb-pd-buy-card  { position: static; }
    .eb-pd-hero-img-main { aspect-ratio: 16/9; }
    .eb-pd-hero      { padding: 100px 0 40px; }
}
@media (max-width: 767px) {
    .eb-pd-title { font-size: 1.5rem; }
    .eb-pd-description { padding: 24px; }
    .eb-pd-review-form-wrap { padding: 20px; }
    .eb-pd-features-grid { grid-template-columns: 1fr; }
    .eb-pd-related-grid  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .eb-pd-related-grid  { grid-template-columns: 1fr; }
    .eb-pd-buy-card { border-radius: 16px; }
    .eb-pd-cta-btn  { font-size: .88rem; padding: 13px 16px; }
}


/* ============================================================
   33. SHOP SIDEBAR
   ============================================================ */

.eb-shop-sidebar { background: white; border: 1.5px solid var(--border-color); border-radius: var(--radius-xl); padding: 2rem; position: sticky; top: 100px; }
.eb-filter-group { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-100); }
.eb-filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.eb-filter-group h6 { font-weight: 600; margin-bottom: 1rem; color: var(--gray-900); font-size: .938rem; }


/* ============================================================
   34. CART & CHECKOUT
   ============================================================ */

/* Page wrapper */
.eb-cart-page {
    background: #f4f7ff;
    min-height: 100vh;
    padding: 100px 0 80px;
}

/* Title row */
.eb-cart-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.eb-cart-heading {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #1a2540;
    margin: 0 0 4px;
}
.eb-cart-subheading {
    font-size: .9rem;
    color: #6b7280;
    margin: 0;
}
.eb-cart-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1.5px solid #dbeafe;
    background: #fff;
    transition: all .2s ease;
}
.eb-cart-continue-link:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1e40af;
}

/* Empty state */
.eb-cart-empty-wrap {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}
.eb-cart-empty {
    background: #fff;
    border-radius: 24px;
    padding: 60px 48px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.eb-cart-empty-icon-wrap {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(254,134,0,.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
}
.eb-cart-empty h3 { font-size: 1.4rem; font-weight: 700; color: #1a2540; margin: 0; }
.eb-cart-empty p  { color: #6b7280; font-size: .9rem; margin: 0; line-height: 1.6; }

/* Cart items card */
.eb-cart-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    overflow: hidden;
}

.eb-cart-card-header {
    display: grid;
    grid-template-columns: 1fr 120px 100px;
    padding: 14px 24px;
    background: #f8faff;
    border-bottom: 1px solid #eef2ff;
    font-size: .8rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.eb-cart-item {
    display: grid;
    grid-template-columns: 1fr 120px 100px;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f4ff;
    transition: background .15s ease;
}
.eb-cart-item:last-child { border-bottom: none; }
.eb-cart-item:hover { background: #fafbff; }

.eb-cart-item-product { display: flex; align-items: center; gap: 16px; min-width: 0; }

.eb-cart-item-img-wrap {
    width: 72px; height: 54px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f4ff;
    border: 1px solid #e8edf5;
}
.eb-cart-item-img { width: 100%; height: 100%; object-fit: cover; }

.eb-cart-item-info { min-width: 0; }
.eb-cart-item-title {
    font-weight: 700;
    font-size: .95rem;
    color: #1a2540;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    transition: color .2s;
}
.eb-cart-item-title:hover { color: #2563eb; }
.eb-cart-item-category {
    display: inline-block;
    font-size: .75rem;
    color: #6b7280;
    margin-bottom: 6px;
}
.eb-cart-item-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 50px;
}

.eb-cart-item-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a2540;
}

.eb-cart-remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: transparent;
    color: #ef4444;
    border: 1.5px solid #fecaca;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.eb-cart-remove-btn:hover {
    background: #fef2f2;
    border-color: #ef4444;
    transform: translateY(-1px);
}

/* Order summary card */
.eb-cart-summary {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    position: sticky;
    top: 110px;
}
.eb-cart-summary-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a2540;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f4ff;
}
.eb-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
    color: #6b7280;
    margin-bottom: 12px;
}
.eb-cart-summary-discount { color: #16a34a; }
.eb-coupon-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    background: #dcfce7;
    color: #166534;
    padding: 2px 8px;
    border-radius: 50px;
    margin-left: 6px;
}
.eb-cart-summary-divider {
    height: 1px;
    background: #f0f4ff;
    margin: 14px 0;
}
.eb-cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a2540;
    margin-bottom: 24px;
}

/* Coupon section */
.eb-cart-coupon { margin-bottom: 20px; }
.eb-cart-coupon-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}
.eb-cart-coupon-row {
    display: flex;
    gap: 8px;
}
.eb-cart-coupon-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s;
}
.eb-cart-coupon-input:focus { border-color: #2563eb; }
.eb-cart-coupon-btn {
    padding: 10px 20px;
    background: transparent;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s ease;
}
.eb-cart-coupon-btn:hover {
    background: #2563eb;
    color: #fff;
}
.eb-cart-coupon-msg {
    font-size: .8rem;
    margin-top: 6px;
    min-height: 18px;
}
.eb-cart-coupon-msg.text-success { color: #16a34a; }
.eb-cart-coupon-msg.text-danger  { color: #dc2626; }

/* Remove coupon button */
.eb-cart-remove-coupon-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: color .2s ease;
}
.eb-cart-remove-coupon-btn:hover { color: #b91c1c; text-decoration: underline; }

/* Checkout button */
.eb-cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: 0 4px 16px rgba(37,99,235,.3);
    margin-bottom: 12px;
}
.eb-cart-checkout-btn:hover {
    background: linear-gradient(135deg, #fe8600 0%, #ea580c 100%);
    box-shadow: 0 6px 20px rgba(254,134,0,.4);
    transform: translateY(-2px);
    color: #fff;
}
.eb-cart-checkout-btn svg:last-child { transition: transform .25s ease; }
.eb-cart-checkout-btn:hover svg:last-child { transform: translateX(4px); }

.eb-cart-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: .78rem;
    color: #9ca3af;
    margin: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .eb-cart-page { padding: 100px 0 60px; }
    .eb-cart-card-header { grid-template-columns: 1fr 80px 70px; padding: 12px 16px; }
    .eb-cart-item { grid-template-columns: 1fr 80px 70px; padding: 16px; }
    .eb-cart-item-img-wrap { width: 52px; height: 40px; }
    .eb-cart-summary { position: static; }
    .eb-cart-remove-btn span { display: none; }
}


/* ============================================================
   34b. CHECKOUT PAGE
   ============================================================ */

.eb-checkout-page {
    background: #f4f7ff;
    min-height: 100vh;
    padding: 110px 0 80px;
}

/* Heading row */
.eb-checkout-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.eb-checkout-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #1a2540;
    margin: 0 0 6px;
}
.eb-checkout-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .85rem;
    color: #6b7280;
    text-decoration: none;
    transition: color .2s;
}
.eb-checkout-back-link:hover { color: #2563eb; }

/* Steps breadcrumb */
.eb-checkout-steps {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
}
.eb-checkout-step.done    { color: #16a34a; }
.eb-checkout-step.active  { color: #2563eb; }
.eb-checkout-step-sep     { color: #d1d5db; }

/* Two-column grid */
.eb-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: start;
}

/* Cards */
.eb-checkout-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.eb-checkout-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2540;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f4ff;
}

/* Form fields */
.eb-checkout-field { margin-bottom: 18px; }
.eb-checkout-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.eb-checkout-optional { font-weight: 400; color: #9ca3af; font-size: .78rem; }
.eb-checkout-input {
    display: block;
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: .95rem;
    color: #1a2540;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #fafbff;
}
.eb-checkout-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
    background: #fff;
}

/* Pay button */
.eb-checkout-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 4px 16px rgba(37,99,235,.3);
    margin-top: 8px;
}
.eb-checkout-pay-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
    transform: translateY(-1px);
}
.eb-checkout-pay-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* Payment ready state */
.eb-checkout-payment-ready { text-align: center; padding: 8px 0; }
.eb-checkout-payment-check {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

/* Coupon section */
.eb-checkout-coupon-row { display: flex; gap: 8px; }
.eb-checkout-coupon-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s;
    background: #fafbff;
}
.eb-checkout-coupon-input:focus { border-color: #2563eb; }
.eb-checkout-coupon-btn {
    padding: 10px 20px;
    background: transparent;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s ease;
}
.eb-checkout-coupon-btn:hover  { background: #2563eb; color: #fff; }
.eb-checkout-coupon-btn:disabled { opacity: .6; cursor: not-allowed; }
.eb-checkout-coupon-msg {
    font-size: .82rem;
    margin-top: 8px;
    min-height: 18px;
}
.eb-checkout-coupon-msg.text-success { color: #16a34a; }
.eb-checkout-coupon-msg.text-danger  { color: #dc2626; }

/* Applied coupon state */
.eb-checkout-coupon-applied {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 16px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 10px;
}
.eb-checkout-coupon-tag {
    font-weight: 700;
    font-size: .9rem;
    color: #166534;
    background: #dcfce7;
    padding: 3px 10px;
    border-radius: 50px;
}
.eb-checkout-coupon-saving { font-size: .85rem; color: #166534; font-weight: 600; flex: 1; }
.eb-checkout-coupon-remove {
    background: none;
    border: none;
    color: #dc2626;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

/* Trust badges */
.eb-checkout-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 16px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.eb-checkout-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: #6b7280;
}

/* Order summary (right column) */
.eb-checkout-summary {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    overflow: hidden;
    position: sticky;
    top: 110px;
}
.eb-checkout-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 18px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2540;
    border-bottom: 1px solid #f0f4ff;
}
.eb-checkout-summary-count {
    font-size: .78rem;
    font-weight: 600;
    color: #6b7280;
    background: #f0f4ff;
    padding: 3px 10px;
    border-radius: 50px;
}
.eb-checkout-summary-items { padding: 8px 0; }
.eb-checkout-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-bottom: 1px solid #f9fafb;
}
.eb-checkout-summary-item:last-child { border-bottom: none; }
.eb-checkout-summary-item-img {
    width: 44px; height: 44px;
    border-radius: 8px;
    background: #f0f4ff;
    border: 1px solid #e8edf5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.eb-checkout-summary-item-img img { width: 100%; height: 100%; object-fit: cover; }
.eb-checkout-summary-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.eb-checkout-summary-item-name {
    font-size: .88rem;
    font-weight: 600;
    color: #1a2540;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eb-checkout-summary-item-type { font-size: .73rem; color: #9ca3af; }
.eb-checkout-summary-item-price { font-weight: 700; font-size: .95rem; color: #1a2540; white-space: nowrap; }

.eb-checkout-summary-divider { height: 1px; background: #f0f4ff; margin: 4px 0; }

.eb-checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    font-size: .88rem;
    color: #6b7280;
}
.eb-checkout-discount-row { color: #16a34a; }
.eb-checkout-coupon-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    background: #dcfce7;
    color: #166534;
    padding: 1px 7px;
    border-radius: 50px;
    margin-left: 6px;
    vertical-align: middle;
}
.eb-checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px 18px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a2540;
}
.eb-checkout-free-badge {
    text-align: center;
    padding: 10px 24px;
    font-size: .85rem;
    font-weight: 700;
    color: #166534;
    background: #f0fdf4;
    border-top: 1px solid #dcfce7;
}
.eb-checkout-powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 24px;
    font-size: .72rem;
    color: #9ca3af;
    background: #fafbff;
    border-top: 1px solid #f0f4ff;
}

/* Responsive */
@media (max-width: 991px) {
    .eb-checkout-grid { grid-template-columns: 1fr; }
    .eb-checkout-summary { position: static; }
    .eb-checkout-heading-row { flex-direction: column; }
}
@media (max-width: 575px) {
    .eb-checkout-page { padding: 90px 0 60px; }
    .eb-checkout-steps { display: none; }
    .eb-checkout-card { padding: 20px; }
}

/* ============================================================
   35. AUTH PAGES (LOGIN / REGISTER / FORGOT PASSWORD)
   ============================================================ */

/* eb-auth-card defined in auth.css — removed duplicate */

/* Auth page wrapper needs top offset for fixed header */
.eb-auth-wrapper { padding-top: 90px; }


/* ============================================================
   36a. ORDERS PAGE & ORDER SUCCESS
   ============================================================ */

/* Page shell */
.eb-orders-page {
    background: #f4f7ff;
    min-height: 100vh;
    padding: 110px 0 80px;
}

/* ---- List view heading ---- */
.eb-orders-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.eb-orders-list-title {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 800;
    color: #1a2540;
    margin: 0 0 4px;
}
.eb-orders-list-sub { color: #6b7280; font-size: .88rem; margin: 0; }

/* ---- Action buttons (shared) ---- */
.eb-orders-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
    border: none;
}
.eb-orders-action-primary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.eb-orders-action-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
    transform: translateY(-1px);
    color: #fff;
}
.eb-orders-action-outline {
    background: #fff;
    color: #2563eb;
    border: 1.5px solid #dbeafe;
}
.eb-orders-action-outline:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1e40af;
}

/* ---- Status badges ---- */
.eb-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}
.eb-status-paid     { background: #dcfce7; color: #166534; }
.eb-status-pending  { background: #fef9c3; color: #92400e; }
.eb-status-failed   { background: #fee2e2; color: #991b1b; }
.eb-status-refunded { background: #f3f4f6; color: #374151; }

/* ---- Empty state ---- */
.eb-orders-empty {
    text-align: center;
    padding: 80px 24px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.eb-orders-empty-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: #eff6ff;
    color: #93c5fd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.eb-orders-empty h3 { font-weight: 700; color: #1a2540; margin-bottom: 8px; }
.eb-orders-empty p  { color: #6b7280; margin-bottom: 24px; font-size: .9rem; }

/* ---- Orders table card ---- */
.eb-orders-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    overflow: hidden;
}
.eb-orders-card-table { margin-bottom: 0; }
.eb-orders-table-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 120px;
    padding: 14px 24px;
    background: #f8faff;
    border-bottom: 1px solid #eef2ff;
    font-size: .75rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.eb-orders-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 120px;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f4ff;
    transition: background .15s;
}
.eb-orders-table-row:last-child { border-bottom: none; }
.eb-orders-table-row:hover { background: #fafbff; }
.eb-orders-table-number { font-weight: 700; font-size: .85rem; color: #1a2540; }
.eb-orders-table-date   { font-size: .85rem; color: #6b7280; }
.eb-orders-table-amount { font-weight: 700; color: #1a2540; }
.eb-orders-table-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}
.eb-orders-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.eb-orders-view-btn:hover { background: #2563eb; color: #fff; }
.eb-orders-invoice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: #f0fdf4;
    color: #16a34a;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}
.eb-orders-invoice-btn:hover { background: #16a34a; color: #fff; }

/* ---- Pay Now / Retry button in orders table ---- */
.eb-orders-retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(245,158,11,.3);
}
.eb-orders-retry-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245,158,11,.4);
}

/* ============================================================
   36b. RETRY PAYMENT PAGE
   ============================================================ */

.eb-retry-page {
    background: #f4f7ff;
    min-height: 100vh;
    padding: 110px 0 80px;
}

.eb-retry-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

/* Status hero card */
.eb-retry-status-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.eb-retry-status-icon {
    flex-shrink: 0;
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eb-retry-icon-pending { background: #fef9c3; color: #d97706; }
.eb-retry-icon-failed  { background: #fee2e2; color: #dc2626; }
.eb-retry-status-text  { flex: 1; }
.eb-retry-status-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a2540;
    margin: 0 0 8px;
}
.eb-retry-status-sub {
    color: #6b7280;
    font-size: .9rem;
    margin: 0 0 14px;
    line-height: 1.6;
}
.eb-retry-order-chip {
    display: inline-block;
    padding: 5px 14px;
    background: #f0f4ff;
    color: #2563eb;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    font-family: monospace;
}

/* Action card */
.eb-retry-action-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    margin-bottom: 16px;
}
.eb-retry-amount {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f4ff;
}
.eb-retry-amount-label { font-size: .85rem; color: #6b7280; font-weight: 500; }
.eb-retry-amount-value { font-size: 1.6rem; font-weight: 800; color: #1a2540; }

.eb-retry-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 4px 16px rgba(37,99,235,.3);
    margin-bottom: 12px;
}
.eb-retry-pay-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
    transform: translateY(-1px);
}
.eb-retry-pay-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.eb-retry-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: .75rem;
    color: #9ca3af;
    margin: 0;
}

/* Cancel section */
.eb-retry-cancel-wrap {
    text-align: center;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.eb-retry-cancel-note { font-size: .82rem; color: #9ca3af; margin: 0 0 8px; }
.eb-retry-cancel-btn {
    display: inline-block;
    font-size: .82rem;
    font-weight: 600;
    color: #ef4444;
    text-decoration: none;
    border: 1.5px solid #fecaca;
    padding: 6px 18px;
    border-radius: 8px;
    transition: all .2s;
    background: #fff;
}
.eb-retry-cancel-btn:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
}

/* Error card */
.eb-retry-error-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
    color: #991b1b;
    font-size: .88rem;
}
.eb-retry-error-card p { margin: 4px 0 8px; color: #b91c1c; font-size: .84rem; }
.eb-retry-error-card strong { display: block; font-size: .92rem; }
.eb-retry-try-again-link {
    font-size: .82rem;
    font-weight: 700;
    color: #dc2626;
    text-decoration: none;
}
.eb-retry-try-again-link:hover { text-decoration: underline; }

/* Order summary card (right column) */
.eb-retry-summary-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    overflow: hidden;
    margin-bottom: 16px;
}
.eb-retry-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-weight: 700;
    font-size: .95rem;
    color: #1a2540;
    border-bottom: 1px solid #f0f4ff;
    background: #fafbff;
}
.eb-retry-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #f9fafb;
}
.eb-retry-summary-item:last-child { border-bottom: none; }
.eb-retry-summary-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Help card */
.eb-retry-help-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.eb-retry-help-card h6 {
    font-size: .9rem;
    font-weight: 700;
    color: #1a2540;
    margin: 0 0 8px;
}
.eb-retry-help-card p {
    font-size: .82rem;
    color: #6b7280;
    margin: 0 0 12px;
    line-height: 1.5;
}
.eb-retry-help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: color .2s;
}
.eb-retry-help-link:hover { color: #1e40af; text-decoration: underline; }

/* Responsive */
@media (max-width: 991px) {
    .eb-retry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .eb-retry-page { padding: 90px 0 60px; }
    .eb-retry-status-card {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
    }
    .eb-retry-status-icon { width: 48px; height: 48px; border-radius: 12px; }
    .eb-retry-status-title { font-size: 1.2rem; }
}

/* ---- Detail view breadcrumb ---- */
.eb-orders-breadcrumb { margin-bottom: 20px; }
.eb-orders-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}
.eb-orders-back-link:hover { color: #2563eb; }

/* ---- Detail heading ---- */
.eb-orders-detail-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}
.eb-orders-detail-title  { font-size: 1.8rem; font-weight: 800; color: #1a2540; margin: 0 0 4px; }
.eb-orders-detail-number { font-size: .85rem; color: #6b7280; margin: 0; font-family: monospace; }
.eb-orders-detail-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---- Detail grid ---- */
.eb-orders-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* ---- Card header ---- */
.eb-orders-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    font-weight: 700;
    font-size: .95rem;
    color: #1a2540;
    border-bottom: 1px solid #f0f4ff;
    background: #fafbff;
}
.eb-orders-item-count {
    font-size: .75rem;
    font-weight: 600;
    color: #6b7280;
    background: #f0f4ff;
    padding: 3px 10px;
    border-radius: 50px;
}

/* ---- Product rows ---- */
.eb-orders-product-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f4ff;
    transition: background .15s;
}
.eb-orders-product-row:last-child { border-bottom: none; }
.eb-orders-product-row:hover { background: #fafbff; }
.eb-orders-product-img {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: #f0f4ff;
    border: 1px solid #e8edf5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.eb-orders-product-img img { width: 100%; height: 100%; object-fit: cover; }
.eb-orders-product-info { flex: 1; min-width: 0; }
.eb-orders-product-title {
    display: block;
    font-weight: 700;
    font-size: .9rem;
    color: #1a2540;
    margin-bottom: 2px;
}
.eb-orders-product-type { font-size: .75rem; color: #9ca3af; }
.eb-orders-product-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.eb-orders-product-price { font-weight: 700; color: #1a2540; font-size: .95rem; }
.eb-orders-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
}
.eb-orders-download-btn:hover { background: linear-gradient(135deg,#1e40af,#1e3a8a); color:#fff; transform:translateY(-1px); }
.eb-orders-no-file     { font-size: .75rem; color: #9ca3af; }
.eb-orders-pending-note { font-size: .75rem; color: #d97706; }

.eb-orders-pending-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #fffbeb;
    border: 1.5px solid #fcd34d;
    border-radius: 12px;
    color: #92400e;
    font-size: .85rem;
    font-weight: 500;
    margin-top: 16px;
}

/* ---- Info rows (right panel) ---- */
.eb-orders-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid #f9fafb;
    font-size: .87rem;
}
.eb-orders-info-row:last-child { border-bottom: none; }
.eb-orders-info-label { color: #6b7280; }
.eb-orders-info-value { font-weight: 600; color: #1a2540; }
.eb-orders-info-mono  { font-family: monospace; font-size: .8rem; }

/* ---- Price summary rows ---- */
.eb-orders-price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 24px;
    font-size: .88rem;
    color: #6b7280;
}
.eb-orders-price-discount { color: #16a34a; font-size: .88rem; }
.eb-orders-price-divider { height: 1px; background: #f0f4ff; margin: 4px 0; }
.eb-orders-price-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 24px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a2540;
}
.mb-3 { margin-bottom: 1rem !important; }

/* ---- Order success page ---- */
.eb-success-page {
    background: #f4f7ff;
    min-height: 100vh;
    padding: 110px 0 80px;
}
.eb-success-hero { text-align: center; margin-bottom: 40px; }
.eb-success-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.eb-success-icon-paid    { background: #dcfce7; color: #16a34a; }
.eb-success-icon-pending { background: #fef9c3; color: #d97706; }
.eb-success-title { font-size: clamp(1.8rem,5vw,2.5rem); font-weight: 800; color: #1a2540; margin: 0 0 10px; }
.eb-success-subtitle { color: #6b7280; font-size: 1rem; margin: 0 0 16px; }
.eb-success-order-chip {
    display: inline-block;
    padding: 6px 18px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 700;
    font-family: monospace;
}

.eb-success-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

/* success card */
.eb-success-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    overflow: hidden;
}
.eb-success-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    font-weight: 700;
    color: #1a2540;
    border-bottom: 1px solid #f0f4ff;
    background: #fafbff;
}

/* download rows */
.eb-success-download-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f4ff;
}
.eb-success-download-row:last-child { border-bottom: none; }
.eb-success-download-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eb-success-download-info { flex: 1; min-width: 0; }
.eb-success-download-name { display: block; font-weight: 600; font-size: .9rem; color: #1a2540; }
.eb-success-download-meta { font-size: .75rem; color: #9ca3af; }
.eb-success-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
    flex-shrink: 0;
}
.eb-success-dl-btn:hover { background: linear-gradient(135deg,#1e40af,#1e3a8a); color:#fff; transform:translateY(-1px); }

.eb-success-pending-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    color: #92400e;
    font-size: .88rem;
    font-weight: 500;
}

/* summary rows */
.eb-success-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 24px;
    font-size: .88rem;
    color: #6b7280;
    border-bottom: 1px solid #f9fafb;
}
.eb-success-summary-row:last-of-type { border-bottom: none; }
.eb-success-summary-divider { height: 1px; background: #f0f4ff; }
.eb-success-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 24px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a2540;
}
.eb-success-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 24px;
    border-top: 1px solid #f0f4ff;
}
.eb-success-continue-link {
    text-align: center;
    font-size: .85rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}
.eb-success-continue-link:hover { color: #2563eb; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .eb-orders-detail-grid,
    .eb-success-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .eb-orders-page, .eb-success-page { padding: 90px 0 60px; }
    .eb-orders-table-head,
    .eb-orders-table-row {
        grid-template-columns: 1fr 1fr 80px;
    }
    .eb-orders-table-head span:nth-child(2),
    .eb-orders-table-row  span:nth-child(2),
    .eb-orders-table-head span:nth-child(4),
    .eb-orders-table-row  span:nth-child(4) { display: none; }
    .eb-orders-detail-heading { flex-direction: column; }
}

/* ============================================================
   36. MY ACCOUNT — Full Redesign
   ============================================================ */

/* Page wrapper */
.eb-account-page {
    background: #f4f7ff;
    min-height: 100vh;
    padding: 100px 0 80px;
}

/* ---- Profile header banner ---- */
.eb-account-header {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 28px;
    box-shadow: 0 8px 32px rgba(30,64,175,.25);
    position: relative;
    overflow: hidden;
}
.eb-account-header::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border: 40px solid rgba(255,255,255,.06);
    border-radius: 50%;
}
.eb-account-header::after {
    content: '';
    position: absolute;
    bottom: -40px; left: 30%;
    width: 140px; height: 140px;
    border: 30px solid rgba(254,134,0,.1);
    border-radius: 50%;
}

.eb-account-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}
.eb-account-avatar-img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.3);
}
.eb-account-avatar-initials {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fe8600, #ea580c);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,.3);
}
.eb-account-avatar-status {
    position: absolute;
    bottom: 4px; right: 4px;
    width: 14px; height: 14px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid white;
}

.eb-account-info { flex: 1; z-index: 1; }
.eb-account-name  { color: #fff; font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; }
.eb-account-email { color: rgba(255,255,255,.65); font-size: .9rem; margin: 0 0 12px; }
.eb-account-meta  { display: flex; flex-wrap: wrap; gap: 16px; }
.eb-account-meta-item {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,.75);
    font-size: .85rem; font-weight: 600;
    background: rgba(255,255,255,.1);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.1);
}

/* ---- Tab navigation ---- */
.eb-account-tabs-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 6px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.eb-account-tab-nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.eb-account-tab-nav::-webkit-scrollbar { display: none; }

.eb-account-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #6b7280;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s ease;
    position: relative;
}
.eb-account-tab-btn:hover {
    background: #f4f7ff;
    color: #2563eb;
}
.eb-account-tab-btn.active {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.eb-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #fe8600;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    border-radius: 50px;
}
.eb-account-tab-btn.active .eb-tab-badge {
    background: rgba(255,255,255,.25);
}

/* ---- Tab panels ---- */
.eb-account-panel {
    display: none;
    animation: panelFadeIn .3s ease;
}
.eb-account-panel.active { display: block; }

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0);   }
}

/* ---- Account card ---- */
.eb-account-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    overflow: hidden;
}
.eb-account-card-header {
    padding: 24px 28px 0;
    border-bottom: 1px solid #f0f4ff;
    margin-bottom: 28px;
    padding-bottom: 20px;
}
.eb-account-card-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2540;
    margin: 0 0 4px;
}
.eb-account-card-header p {
    font-size: .875rem;
    color: #6b7280;
    margin: 0;
}

/* ---- Account form ---- */
.eb-account-form { padding: 0 28px 28px; }

.eb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.eb-form-group { display: flex; flex-direction: column; gap: 6px; }
.eb-form-group-full { margin-bottom: 20px; }

.eb-form-label {
    font-size: .875rem;
    font-weight: 600;
    color: #374151;
}
.eb-form-input {
    padding: 11px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: .9rem;
    color: #1a2540;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    width: 100%;
}
.eb-form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.eb-form-disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}
.eb-form-hint { font-size: .78rem; color: #9ca3af; }

.eb-form-actions { margin-top: 24px; }

/* ---- Empty state ---- */
.eb-account-empty {
    padding: 60px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.eb-account-empty svg { color: #d1d5db; }
.eb-account-empty h5 { font-size: 1.1rem; font-weight: 700; color: #1a2540; margin: 0; }
.eb-account-empty p  { color: #6b7280; margin: 0; font-size: .9rem; }

/* ---- Orders list ---- */
.eb-orders-list { padding: 0 28px 28px; display: flex; flex-direction: column; gap: 12px; }

.eb-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #f0f4ff;
    transition: all .2s ease;
}
.eb-order-item:hover { background: #f0f4ff; border-color: #dbeafe; }

.eb-order-item-left  { flex: 1; }
.eb-order-number { font-weight: 700; font-size: .9rem; color: #1a2540; }
.eb-order-date   { font-size: .8rem; color: #9ca3af; margin-top: 2px; }

.eb-order-item-center { flex-shrink: 0; }
.eb-order-amount { font-size: 1.1rem; font-weight: 800; color: #2563eb; }

.eb-order-item-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.eb-order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.eb-order-status-paid     { background: #dcfce7; color: #166534; }
.eb-order-status-pending  { background: #fef9c3; color: #92400e; }
.eb-order-status-failed   { background: #fee2e2; color: #991b1b; }
.eb-order-status-refunded { background: #ede9fe; color: #5b21b6; }

.eb-order-actions { display: flex; gap: 8px; }
.eb-order-btn {
    padding: 5px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: all .2s ease;
    background: #fff;
}
.eb-order-btn:hover { border-color: #2563eb; color: #2563eb; background: #eff6ff; }

/* ---- Downloads list ---- */
.eb-downloads-list { padding: 0 28px 28px; display: flex; flex-direction: column; gap: 12px; }

.eb-download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #f0f4ff;
    transition: all .2s ease;
}
.eb-download-item:hover { background: #f0f4ff; border-color: #dbeafe; }

.eb-download-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(254,134,0,.1));
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.eb-download-info { flex: 1; min-width: 0; }
.eb-download-title {
    font-weight: 700;
    font-size: .9rem;
    color: #1a2540;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.eb-download-meta { font-size: .78rem; color: #9ca3af; margin-top: 2px; }

.eb-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s ease;
    flex-shrink: 0;
}
.eb-download-btn:hover {
    background: linear-gradient(135deg, #fe8600, #ea580c);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(254,134,0,.35);
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .eb-account-header { flex-direction: column; text-align: center; padding: 24px 20px; }
    .eb-account-meta   { justify-content: center; }
    .eb-form-row       { grid-template-columns: 1fr; }
    .eb-order-item     { flex-wrap: wrap; }
    .eb-order-item-right { flex-wrap: wrap; }
    .eb-account-form, .eb-orders-list, .eb-downloads-list { padding: 0 16px 20px; }
    .eb-account-card-header { padding: 20px 16px 16px; margin-bottom: 20px; }
}


/* ============================================================
   37. PRIVACY POLICY & LEGAL PAGES
   ============================================================ */

/* Hero */
.eb-legal-hero { background: linear-gradient(160deg, #f0f4ff 0%, #e8eeff 45%, #fef3e8 100%); padding: 80px 0 60px; color: #1e293b; position: relative; overflow: hidden; }
.eb-legal-hero::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(37,99,235,0.08)"/></svg>'); opacity: .5; }
/* Stack icon + badge vertically centered */
.eb-legal-hero-top { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 24px; }
.eb-legal-hero-icon { width: 80px; height: 80px; background: rgba(37,99,235,.1); backdrop-filter: blur(10px); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0; box-shadow: 0 8px 32px rgba(37,99,235,.12); flex-shrink: 0; color: #2563eb; }
.eb-legal-hero-title    { font-size: 3rem; font-weight: 800; margin: 0 0 16px; letter-spacing: -1px; color: #0f172a !important; }
.eb-legal-hero-subtitle { font-size: 1.2rem; font-weight: 400; margin-bottom: 28px; color: #475569 !important; max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.eb-legal-hero-meta     { display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap; font-size: .95rem; }
.eb-legal-meta-item     { display: flex; align-items: center; gap: 8px; background: rgba(37,99,235,.08); padding: 8px 16px; border-radius: 50px; color: #1e40af; }
.eb-legal-meta-divider  { opacity: .5; }

/* Body */
.eb-legal-body { padding: 60px 0 80px; background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%); }

/* Sidebar column: align-self:flex-start + position:sticky on the col itself
   is the most reliable way to make sticky work inside a Bootstrap flex row */
.eb-legal-body .col-lg-3 {
    align-self: flex-start;
    position: sticky;
    top: 100px;   /* clears the fixed navbar (~80px) + breathing room */
}

/* Legal hero needs top offset for fixed header */
.eb-legal-hero { padding-top: 110px; }

/* Sidebar nav */
.eb-legal-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.05);
    /* max-height so it doesn't overflow on short viewports */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}
.eb-legal-sidebar::-webkit-scrollbar { width: 4px; }
.eb-legal-sidebar::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }
.eb-legal-sidebar::-webkit-scrollbar-thumb:hover { background: #cbd5e1; }
.eb-sidebar-title { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #6c757d; margin-bottom: 16px; }
.eb-legal-nav { display: flex; flex-direction: column; gap: 4px; }
.eb-legal-nav-link { padding: 10px 12px; color: #495057; border-radius: 8px; font-size: .9rem; transition: all .2s ease; font-weight: 500; position: relative; }
.eb-legal-nav-link::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 0; background: linear-gradient(135deg, #2563eb 0%, #fe8600 100%); border-radius: 0 3px 3px 0; transition: height .2s ease; }
.eb-legal-nav-link:hover { background: rgba(37,99,235,.08); color: #2563eb; padding-left: 16px; }
.eb-legal-nav-link:hover::before { height: 20px; }
.eb-legal-nav-link.active { background: rgba(37,99,235,.1); color: #2563eb; padding-left: 16px; }
.eb-legal-nav-link.active::before { height: 20px; }

/* Content wrapper */
.eb-legal-content-wrapper { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 4px 30px rgba(0,0,0,.08); }

/* Intro card */
.eb-legal-intro-card { background: linear-gradient(135deg, rgba(37,99,235,.08) 0%, rgba(30,64,175,.08) 100%); border: 2px solid rgba(37,99,235,.15); border-radius: 16px; padding: 32px; margin-bottom: 40px; position: relative; overflow: hidden; }
.eb-legal-intro-card::before { content: ''; position: absolute; top: -50%; right: -10%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(37,99,235,.1) 0%, transparent 70%); border-radius: 50%; }
.eb-intro-icon { width: 64px; height: 64px; background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #fff; box-shadow: 0 10px 30px rgba(37,99,235,.3); }
.eb-legal-intro-card h3 { font-size: 1.75rem; font-weight: 700; color: #2d3748; margin-bottom: 16px; }
.eb-legal-intro-card p  { color: #4a5568; line-height: 1.7; font-size: 1.05rem; margin: 0; }

/* Legal sections */
.eb-legal-section    { margin-bottom: 48px; position: relative; padding-left: 70px; }
.eb-section-number   { position: absolute; left: 0; top: 0; width: 50px; height: 50px; background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; box-shadow: 0 6px 20px rgba(37,99,235,.3); }
.eb-legal-section h2 { font-size: 1.75rem; font-weight: 700; color: #2d3748; margin-bottom: 16px; line-height: 1.3; }
.eb-legal-section p  { color: #4a5568; line-height: 1.8; font-size: 1.05rem; margin-bottom: 16px; }
.eb-legal-section a  { color: #2563eb; font-weight: 600; }
.eb-legal-section a:hover { color: #1e40af; text-decoration: underline; }

/* Info grid */
.eb-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; margin-top: 24px; }
.eb-info-card { background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); border: 2px solid #e9ecef; border-radius: 14px; padding: 24px; transition: all .3s ease; }
.eb-info-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.1); border-color: rgba(37,99,235,.3); }
.eb-info-icon { width: 48px; height: 48px; background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 16px; box-shadow: 0 6px 20px rgba(37,99,235,.3); }
.eb-info-card h4 { font-size: 1.15rem; font-weight: 700; color: #2d3748; margin-bottom: 12px; }
.eb-info-card p  { color: #6c757d; font-size: .95rem; line-height: 1.6; margin: 0; }

/* Checklist */
.eb-check-list { list-style: none; padding: 0; margin: 20px 0; }
.eb-check-list li { position: relative; padding-left: 40px; margin-bottom: 14px; color: #4a5568; line-height: 1.7; font-size: 1.05rem; }
.eb-check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }

/* Rights grid */
.eb-rights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
@media (max-width: 991px) { .eb-rights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .eb-rights-grid { grid-template-columns: 1fr; } }
.eb-right-card { background: #f8f9fa; border: 1.5px solid #e9ecef; border-radius: 14px; padding: 18px 16px; display: flex; align-items: flex-start; gap: 14px; transition: all .25s ease; }
.eb-right-card:hover { background: #fff; border-color: rgba(37,99,235,.25); box-shadow: 0 4px 18px rgba(37,99,235,.08); transform: translateY(-2px); }
.eb-right-icon { flex-shrink: 0; width: 42px; height: 42px; background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.25); }
.eb-right-body { display: flex; flex-direction: column; gap: 4px; }
.eb-right-card strong { color: #1e293b; font-weight: 700; font-size: .975rem; }
.eb-right-card span { color: #64748b; font-size: .9rem; line-height: 1.5; }

/* Contact card */
.eb-contact-card { background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); border: 2px solid #e9ecef; border-radius: 16px; padding: 32px; margin-top: 24px; }

/* Legal notice / callout boxes (Important / Note) */
.eb-legal-notice-box { display: flex; align-items: flex-start; gap: 12px; border-radius: 12px; padding: 16px 20px; margin-top: 20px; font-size: .95rem; line-height: 1.65; }
.eb-legal-notice-box svg { flex-shrink: 0; margin-top: 2px; }
.eb-legal-notice-warning { background: #fffbeb; border: 1.5px solid #fde68a; color: #92400e; }
.eb-legal-notice-warning svg { color: #d97706; }
.eb-legal-notice-info { background: #eff6ff; border: 1.5px solid #bfdbfe; color: #1e40af; }
.eb-legal-notice-info svg { color: #2563eb; }

/* Refund process steps */
.eb-refund-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.eb-refund-step { display: flex; gap: 20px; align-items: flex-start; background: #f8faff; border: 1.5px solid #e8edf5; border-radius: 14px; padding: 20px 24px; }
.eb-refund-step-num { flex-shrink: 0; width: 40px; height: 40px; background: linear-gradient(135deg, #2563eb, #1e40af); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; box-shadow: 0 4px 12px rgba(37,99,235,.25); }
.eb-refund-step-body h4 { font-size: 1rem; font-weight: 700; color: #1e293b; margin: 0 0 6px; }
.eb-refund-step-body p { color: #475569; font-size: .95rem; line-height: 1.65; margin: 0; }

/* Numbered list */
.eb-numbered-list { list-style: none; padding: 0; margin: 16px 0 0; counter-reset: eb-counter; }
.eb-numbered-list li { counter-increment: eb-counter; display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f0f4ff; color: #374151; font-size: .97rem; line-height: 1.65; }
.eb-numbered-list li:last-child { border-bottom: none; }
.eb-numbered-list li::before { content: counter(eb-counter); flex-shrink: 0; width: 28px; height: 28px; background: linear-gradient(135deg, #2563eb, #1e40af); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; margin-top: 1px; }

/* Cross (non-returnable) checklist variant */
.eb-check-list--cross li::before { content: '✕'; background: linear-gradient(135deg, #ef4444, #dc2626); }
.eb-contact-box { background: var(--gray-50); border: 2px solid var(--border-color); border-radius: 12px; padding: 24px; margin-top: 20px; }
.eb-contact-box p { margin-bottom: 8px; }
.eb-contact-box strong { color: var(--gray-900); font-weight: 700; }
.eb-contact-box a  { color: var(--primary); font-weight: 600; }
.eb-contact-box a:hover { color: var(--primary-dark); text-decoration: underline; }
.eb-contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; }
.eb-contact-item:not(:last-child) { border-bottom: 1px solid #e9ecef; }
.eb-contact-item svg    { flex-shrink: 0; color: #2563eb; margin-top: 4px; }
.eb-contact-item strong { display: block; color: #2d3748; font-weight: 700; margin-bottom: 6px; }
.eb-contact-item a  { color: #2563eb; font-weight: 600; }
.eb-contact-item a:hover { color: #1e40af; }
.eb-contact-item p  { margin: 0; color: #6c757d; line-height: 1.6; }

/* Trust badges */
.eb-trust-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; padding-top: 40px; border-top: 2px solid #e9ecef; }
@media (max-width: 767px) { .eb-trust-badges { grid-template-columns: 1fr; } }
.eb-trust-item { display: flex; align-items: center; gap: 16px; padding: 22px 20px; background: #f8fafc; border-radius: 14px; border: 1.5px solid #e9ecef; transition: all .25s ease; }
.eb-trust-item:hover { background: #fff; border-color: rgba(37,99,235,.25); box-shadow: 0 4px 18px rgba(37,99,235,.08); transform: translateY(-2px); }
.eb-trust-item-icon { flex-shrink: 0; width: 44px; height: 44px; background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.25); }
.eb-trust-item-body { display: flex; flex-direction: column; gap: 3px; }
.eb-trust-item h5 { font-size: 1rem; font-weight: 700; color: #1e293b; margin: 0; }
.eb-trust-item p  { color: #64748b; font-size: .875rem; margin: 0; line-height: 1.4; }

/* Legal note */
.eb-legal-note { background: linear-gradient(135deg, rgba(37,99,235,.08) 0%, rgba(59,130,246,.08) 100%); border: 1.5px solid rgba(37,99,235,.2); border-radius: 12px; padding: 20px 24px; margin-top: 40px; display: flex; align-items: flex-start; gap: 12px; font-size: .938rem; color: var(--gray-700); line-height: 1.7; }
.eb-legal-note svg    { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.eb-legal-note strong { color: var(--primary); font-weight: 700; }
.eb-legal-intro { background: linear-gradient(135deg, rgba(37,99,235,.05) 0%, rgba(249,115,22,.05) 100%); border-left: 4px solid var(--primary); padding: 24px; border-radius: 12px; margin-bottom: 40px; }
.eb-legal-intro p { font-size: 1.063rem; color: var(--gray-700); line-height: 1.8; margin: 0; }

/* Reading progress bar */
.eb-read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, #60a5fa 0%, #2563eb 50%, #fe8600 100%); z-index: 9999; transition: width .1s linear; border-radius: 0 2px 2px 0; }

/* Hero badge */
.eb-legal-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(37,99,235,.1); border: 1px solid rgba(37,99,235,.2); color: #2563eb; font-size: .78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 20px; }

/* Sidebar progress counter */
.eb-sidebar-progress { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e9ecef; }
.eb-sidebar-progress-label { font-size: .78rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.eb-sidebar-progress-bar { height: 4px; background: #e9ecef; border-radius: 4px; overflow: hidden; }
.eb-sidebar-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #2563eb, #60a5fa); border-radius: 4px; transition: width .3s ease; }


/* ============================================================
   38. 404 PAGE
   ============================================================ */

.eb-404 { text-align: center; padding: 8rem 0 8rem; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 90px; }
.eb-404 h1 { font-size: clamp(4rem,10vw,8rem); background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; }


/* ============================================================
   37b. FLASH TOAST NOTIFICATIONS
   ============================================================ */

/* Base toast */
.eb-toast {
    position: fixed;
    top: 100px;              /* below fixed header */
    right: 24px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 420px;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    /* Slide in from right */
    animation: toastSlideIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hide state — triggered by close button or auto-dismiss */
.eb-toast.eb-toast-hide {
    opacity: 0;
    transform: translateX(120%);
    pointer-events: none;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(120%); }
    to   { opacity: 1; transform: translateX(0);    }
}

/* Type colours */
.eb-toast-success {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    color: #166534;
}
.eb-toast-error {
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    color: #991b1b;
}
.eb-toast-warning {
    background: #fffbeb;
    border: 1.5px solid #fcd34d;
    color: #92400e;
}
.eb-toast-info {
    background: #eff6ff;
    border: 1.5px solid #93c5fd;
    color: #1e40af;
}

/* Icon */
.eb-toast-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eb-toast-success .eb-toast-icon { background: #dcfce7; color: #16a34a; }
.eb-toast-error   .eb-toast-icon { background: #fee2e2; color: #dc2626; }
.eb-toast-warning .eb-toast-icon { background: #fef9c3; color: #d97706; }
.eb-toast-info    .eb-toast-icon { background: #dbeafe; color: #2563eb; }

/* Message */
.eb-toast-body { flex: 1; }

/* Close button */
.eb-toast-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    opacity: 0.5;
    transition: opacity 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}
.eb-toast-close:hover { opacity: 1; background: rgba(0,0,0,.06); }

/* Progress bar — auto-dismiss timer */
.eb-toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 14px 14px;
    background: currentColor;
    opacity: 0.25;
    animation: toastProgress 4.5s linear forwards;
}
@keyframes toastProgress {
    from { width: 100%; }
    to   { width: 0%;   }
}

@media (max-width: 480px) {
    .eb-toast {
        top: auto;
        bottom: 90px;    /* above back-to-top button */
        right: 16px;
        left: 16px;
        min-width: unset;
        max-width: 100%;
    }
}

/* ── Cart Added Toast ── */
.eb-toast-cart {
    background: #fff;
    border: 1.5px solid #d1fae5;
    color: #1a202c;
    padding: 0;
    overflow: hidden;
    min-width: 320px;
    max-width: 400px;
    gap: 0;
    align-items: stretch;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.eb-cart-toast-icon {
    flex-shrink: 0;
    width: 52px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.eb-cart-toast-body {
    flex: 1;
    padding: 14px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.eb-cart-toast-title {
    font-size: .82rem;
    font-weight: 700;
    color: #059669;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.eb-cart-toast-course {
    font-size: .9rem;
    font-weight: 600;
    color: #1a202c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.eb-cart-toast-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.eb-cart-toast-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.eb-cart-toast-btn-primary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
}
.eb-cart-toast-btn-primary:hover { background: linear-gradient(135deg,#1e40af,#1e3a8a); color: #fff; }
.eb-cart-toast-btn-secondary {
    background: #f0f7ff;
    color: #2563eb;
    border: 1.5px solid #dbeafe;
}
.eb-cart-toast-btn-secondary:hover { background: #dbeafe; color: #1e40af; }
.eb-toast-cart .eb-toast-close {
    align-self: flex-start;
    margin: 10px 10px 0 0;
}

/* Cart badge bump animation */
@keyframes cartBadgeBump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.5); }
    70%  { transform: scale(.85); }
    100% { transform: scale(1); }
}
.eb-cart-badge-bump { animation: cartBadgeBump .4s cubic-bezier(.34,1.56,.64,1); }

/* Button loading spin */
@keyframes cartSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .eb-toast-cart {
        bottom: 80px;
        left: 12px;
        right: 12px;
        min-width: unset;
        max-width: 100%;
    }
    .eb-cart-toast-course { max-width: 100%; }
}


/* ============================================================
   38. COOKIE CONSENT BANNER
   ============================================================ */

.eb-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 9999;
    width: calc(100% - 48px);
    max-width: 860px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
                opacity 0.35s ease,
                visibility 0.35s ease;
}
.eb-cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.eb-cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #0f1729;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    padding: 20px 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,.35);
    backdrop-filter: blur(12px);
}

.eb-cookie-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.eb-cookie-banner-text { flex: 1; }
.eb-cookie-banner-text strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.eb-cookie-banner-text p {
    color: rgba(255,255,255,.55);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}
.eb-cookie-banner-text p strong { display: inline; color: rgba(255,255,255,.8); }

.eb-cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.eb-cookie-reject,
.eb-cookie-accept {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.eb-cookie-reject {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.15);
}
.eb-cookie-reject:hover {
    background: rgba(255,255,255,.18);
    color: #ffffff;
}
.eb-cookie-accept {
    background: #fe8600;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(254,134,0,.4);
}
.eb-cookie-accept:hover {
    background: #ea580c;
    box-shadow: 0 6px 18px rgba(254,134,0,.5);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .eb-cookie-banner { bottom: 16px; width: calc(100% - 32px); }
    .eb-cookie-banner-inner { flex-direction: column; gap: 14px; text-align: center; padding: 18px 16px; }
    .eb-cookie-banner-icon { display: none; }
    .eb-cookie-banner-actions { width: 100%; justify-content: center; }
    .eb-cookie-reject,
    .eb-cookie-accept { flex: 1; }
}


/* ============================================================
   39. SCROLL-TO-TOP BUTTON  (global — all pages)
   ============================================================ */

/* ── Scroll-to-top & FAB — unified fixed column ─────────────
   Both buttons live in one right-anchored flex column.
   Back-to-top is always present; cart FAB only on product page.
   ──────────────────────────────────────────────────────────── */
.eb-float-actions {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none; /* children re-enable as needed */
}

/* ── Back-to-top button ── */
.eb-back-to-top {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37,99,235,.45);
    pointer-events: auto;
    flex-shrink: 0;

    /* Hidden until scrolled 400px */
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.85);
    transition: opacity .3s ease, visibility .3s ease,
                transform .3s cubic-bezier(.34,1.56,.64,1),
                background .2s ease, box-shadow .2s ease;
}
.eb-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.eb-back-to-top:hover {
    background: linear-gradient(135deg, #fe8600 0%, #ea580c 100%);
    box-shadow: 0 6px 24px rgba(254,134,0,.5);
    transform: translateY(-3px) scale(1.08);
}
.eb-back-to-top:active  { transform: translateY(0) scale(0.96); }
.eb-back-to-top svg     { flex-shrink: 0; transition: transform .25s ease; }
.eb-back-to-top:hover svg { transform: translateY(-2px); }
.eb-back-to-top:focus-visible { outline: 3px solid #fe8600; outline-offset: 3px; }

/* ── Cart / Downloads FAB ── */
.eb-fab-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;

    /* Hidden until buy card scrolls out of view */
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, visibility .3s ease,
                transform .35s cubic-bezier(.34,1.56,.64,1);
    pointer-events: none;
}
.eb-fab-stack.eb-fab-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Individual FAB — pill that expands on hover */
.eb-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: .88rem;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    flex-shrink: 0;
    pointer-events: auto;

    /* Collapsed — circle only */
    width: 48px;
    height: 48px;
    overflow: hidden;
    transition: width .3s cubic-bezier(.16,1,.3,1),
                box-shadow .2s ease, transform .2s ease,
                background .2s ease;
}
.eb-fab:hover {
    width: 160px;
    box-shadow: 0 6px 22px rgba(0,0,0,.28);
    transform: translateY(-2px);
}
.eb-fab svg { flex-shrink: 0; }

/* Label — fades in on hover */
.eb-fab-label {
    white-space: nowrap;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    transition: max-width .28s ease, opacity .22s ease;
}
.eb-fab:hover .eb-fab-label {
    max-width: 120px;
    opacity: 1;
}

/* Cart — orange */
.eb-fab-cart {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
}
.eb-fab-cart:hover { background: linear-gradient(135deg, #fb923c, #f97316); color: white; }

/* Downloads — green */
.eb-fab-downloads {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}
.eb-fab-downloads:hover { background: linear-gradient(135deg, #34d399, #10b981); color: white; }

/* ── Mobile ── */
@media (max-width: 575px) {
    .eb-float-actions { bottom: 20px; right: 16px; gap: 8px; }
    .eb-back-to-top   { width: 42px; height: 42px; }
    .eb-fab           { width: 42px; height: 42px; font-size: .78rem; }
    .eb-fab:hover     { width: 140px; }
}

/* Remove old stale rules that conflict */
body.has-fab .eb-back-to-top { bottom: auto; }



/* ============================================================
   40. RESPONSIVE — TABLET (≤991px)
   ============================================================ */

@media (max-width: 991px) {

    /* ── Hero ── */
    .eb-hero { padding-top: 80px; min-height: auto; }
    .eb-hero-row { padding: 40px 0 20px; }
    .eb-hero-title { font-size: clamp(1.8rem, 4vw, 2.4rem); }
    .eb-hero-subtitle { font-size: .95rem; max-width: 100%; }
    .eb-hero-visual { height: 380px; margin-top: 40px; overflow: hidden; }
    .eb-floating-card { width: 220px; }
    .eb-hero-journey { gap: 6px; }
    .eb-journey-step { padding: 6px 10px; }
    .eb-journey-text { font-size: .72rem; }

    /* Hero visual hidden on tablet — show only text */
    .col-lg-6 .eb-hero-visual { transform: scale(.85); transform-origin: top center; }
    .eb-stat-badge-1 { left: -10px; }
    .eb-stat-badge-2 { right: -10px; }

    /* Sections */
    .eb-section { padding: 4rem 0; }
    .eb-why-choose-section { padding: 60px 0; }
    .eb-feature-card-inner { padding: 24px 20px; }
    .eb-feature-icon-wrapper { width: 60px; height: 60px; margin-bottom: 20px; }
    .eb-feature-number { font-size: 1.5rem; }
    .eb-who-for-section { padding: 70px 0; }
    .eb-about-content { padding-left: 0; margin-top: 2rem; }
    .eb-about-badge { bottom: 20px; right: 20px; padding: 12px 20px; }
    .eb-product-list-item { flex-direction: column; }
    .eb-list-image { width: 100%; height: 200px; }
    .eb-newsletter { padding: 2.5rem 1.5rem; }
    /* Auth card on mobile — defined in section 53 below */

    /* Blog home — 2 cols */
    .eb-blog-home-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   41. RESPONSIVE — MOBILE (≤767px)
   ============================================================ */

@media (max-width: 767px) {

    /* ── Hero ── */
    .eb-hero { padding-top: 90px; }
    .eb-hero-row { padding: 20px 0 0; }
    .eb-hero-title { font-size: clamp(1.6rem, 6vw, 2rem); margin-bottom: 12px; }
    .eb-hero-subtitle { font-size: .88rem; margin-bottom: 16px; }
    .eb-hero-journey { flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
    .eb-journey-step { padding: 5px 10px; }
    .eb-journey-text { font-size: .7rem; }
    .eb-journey-arrow { font-size: .85rem; }
    .eb-hero-buttons .btn { width: 100%; justify-content: center; }
    .eb-hero-visual { height: 320px; margin-top: 32px; overflow: hidden; }
    .eb-floating-card { width: 200px; padding: 10px 14px; }
    .eb-fc-img { width: 42px; height: 42px; }
    .eb-fc-title { font-size: .75rem; }
    .eb-fc-price,.eb-fc-stars { font-size: .68rem; }
    .eb-stat-badge-num { font-size: .82rem; }
    .eb-stat-badge-label { font-size: .62rem; }
    .eb-hero-stat-badge { padding: 8px 12px; gap: 7px; }
    .eb-hero-ring-1 { width: 280px; height: 280px; }
    .eb-hero-ring-2 { width: 180px; height: 180px; }
    /* Reposition cards for mobile */
    .eb-card-1 { top: 15%; left: 2%; }
    .eb-card-2 { top: 38%; right: 0%; }
    .eb-card-3 { bottom: 10%; left: 4%; }
    .eb-stat-badge-1 { top: 1%; left: 0; }
    .eb-stat-badge-2 { bottom: 4%; right: 0; }

    /* ── Section titles ── */
    .eb-section-title { font-size: 1.75rem; margin-bottom: 2rem; }
    .eb-section { padding: 3rem 0; }
    .eb-section-title-split { font-size: 1.6rem; }
    .eb-section-subtitle-text { font-size: .88rem; }

    /* ── Why Choose ── */
    .eb-why-choose-section { padding: 50px 0; }
    .eb-feature-card-inner { padding: 20px 16px; }
    .eb-feature-title { font-size: 1rem; }

    /* ── Who section ── */
    .eb-who-for-section { padding: 50px 0; }
    .eb-who-card { padding: 24px 14px; }
    .eb-who-icon-wrapper { width: 60px; height: 60px; }

    /* ── About ── */
    .eb-about-image-wrapper { padding: 20px; }
    .eb-about-features { grid-template-columns: 1fr; }
    .eb-about-badge { position: static; margin-top: 20px; display: inline-flex; }
    .eb-about-title { font-size: 1.6rem; }

    /* ── Stats strip ── */
    .eb-stats-strip { padding: 40px 0; }
    .eb-stat-card { padding: 20px 12px; margin: 4px; }
    .eb-stat-number { font-size: 1.8rem; }

    /* ── Courses & cards ── */
    .eb-courses-hero { padding: 60px 0; }
    .eb-toolbar { display: none; } /* hidden on mobile — filter bar has its own sort */
    .eb-list-footer { flex-direction: column; gap: 16px; align-items: stretch; }
    .eb-list-view-btn { width: 100%; justify-content: center; }
    .eb-course-card-footer { flex-direction: column; align-items: stretch; }
    .eb-course-buy-btn { width: 100%; justify-content: center; }
    .eb-course-price { justify-content: center; }

    /* ── Blog home ── */
    .eb-blog-home-grid { grid-template-columns: 1fr; }
    .eb-testimonials-row { grid-template-columns: 1fr; gap: 16px; }

    /* ── Scroll indicator ── */
    .eb-scroll-indicator { display: none; }

    /* ── Category ── */
    .eb-category-scroll { grid-template-columns: repeat(2,1fr); gap: 1rem; }
    .eb-category-card { padding: 1.5rem 1rem; }

    /* ── Legal ── */
    .eb-legal-hero { padding: 100px 0 40px; }
    .eb-legal-hero-title { font-size: 2rem; }
    .eb-legal-hero-subtitle { font-size: 1rem; }
    .eb-legal-hero-top { gap: 10px; margin-bottom: 18px; }
    .eb-legal-hero-icon { width: 64px; height: 64px; border-radius: 16px; }
    .eb-info-grid { grid-template-columns: 1fr; }
    .eb-trust-badges { grid-template-columns: 1fr; }
    .eb-legal-intro { padding: 20px; }
    .eb-legal-content-wrapper { padding: 24px 16px; }
    .eb-legal-section { padding-left: 0; padding-top: 64px; }
    .eb-section-number { top: 0; left: 0; width: 44px; height: 44px; font-size: 1.1rem; border-radius: 10px; }
    .eb-legal-hero-meta { flex-direction: column; gap: 10px; align-items: center; }
    .eb-rights-grid { grid-template-columns: 1fr !important; }

    /* ── Shop sidebar ── */
    .eb-shop-sidebar { position: static; margin-bottom: 2rem; }
}


/* ============================================================
   42. RESPONSIVE — SMALL MOBILE (≤575px)
   ============================================================ */

@media (max-width: 575px) {

    /* ── Hero ── */
    .eb-hero { padding-top: 80px; }
    .eb-hero-title { font-size: 1.5rem; line-height: 1.25; }
    .eb-hero-subtitle { font-size: .84rem; }
    .eb-badge-new { font-size: .72rem; padding: 5px 12px; }
    .eb-hero-visual { height: 260px; overflow: hidden; }
    .eb-floating-card { width: 178px; padding: 8px 12px; gap: 10px; }
    .eb-fc-img { width: 36px; height: 36px; border-radius: 8px; }
    .eb-fc-title { font-size: .68rem; }
    .eb-fc-cat { font-size: .56rem; }
    .eb-fc-price,.eb-fc-stars { font-size: .62rem; }
    /* Stack card 3 off screen — too crowded at 375px */
    .eb-card-3 { display: none; }
    .eb-hero-stat-badge { padding: 7px 10px; gap: 6px; }
    .eb-stat-badge-icon { font-size: 1rem; }
    .eb-stat-badge-num { font-size: .76rem; }
    .eb-hero-ring-1 { width: 220px; height: 220px; }
    .eb-hero-ring-2 { width: 140px; height: 140px; }

    /* ── Section titles ── */
    .eb-section-title-split { font-size: 1.4rem; }
    .eb-courses-hero-title { font-size: 1.9rem; }
    .eb-courses-hero-subtitle { font-size: .95rem; }
    .eb-courses-search-btn { padding: 10px 18px; font-size: .88rem; }

    /* ── Stats ── */
    .eb-stat-card { padding: 16px 8px; }
    .eb-stat-number { font-size: 1.5rem; }
    .eb-stat-label { font-size: .7rem; }

    /* ── Journey steps ── */
    .eb-hero-journey { gap: 5px; }
    .eb-journey-step { padding: 4px 8px; }
    .eb-journey-text { font-size: .65rem; }
    .eb-journey-arrow { font-size: .75rem; }
}


/* ============================================================
   43. SCROLLBAR & SELECTION OVERRIDES
   ============================================================ */

::-webkit-scrollbar        { width: 10px; height: 10px; }
::-webkit-scrollbar-track  { background: var(--gray-100); }
::-webkit-scrollbar-thumb  { background: var(--gray-400); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

::selection { background: rgba(99,102,241,.2); color: var(--gray-900); }


/* ============================================================
   44. PRINT STYLES
   ============================================================ */

@media print {
    .eb-header-wrapper, .eb-footer, .eb-hero-buttons, .eb-newsletter { display: none; }
    .eb-card { box-shadow: none; border: 1px solid var(--gray-300); }
}

/* ============================================================
   PROMO BANNER SECTION — Card Grid
   ============================================================ */
.eb-promo-section { padding: 28px 0 12px; background: #f0f4ff; }

.eb-promo-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eb-promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 55%, #2563eb 100%);
    border-radius: 18px;
    padding: 20px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(37,99,235,.25);
    transition: transform .25s ease, box-shadow .25s ease;
}
.eb-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(37,99,235,.35);
}

/* Deco circles */
.eb-promo-deco-1,.eb-promo-deco-2 { position:absolute;border-radius:50%;pointer-events:none;opacity:.07; }
.eb-promo-deco-1 { width:140px;height:140px;background:#fff;top:-50px;right:120px; }
.eb-promo-deco-2 { width:80px;height:80px;background:#fbbf24;bottom:-30px;right:30px; }

/* Badge */
.eb-promo-card-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #7c2d12;
    font-size: .62rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Body text */
.eb-promo-card-body { flex: 1; min-width: 0; padding-top: 18px; }
.eb-promo-card-title {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 4px;
}
.eb-promo-card-sub { font-size: .78rem; color: rgba(255,255,255,.7); }
.eb-promo-card-expires {
    display: flex; align-items: center; gap: 4px;
    font-size: .7rem; color: rgba(255,255,255,.5); margin-top: 5px;
}

/* Code area */
.eb-promo-card-code-wrap { flex-shrink: 0; text-align: center; }
.eb-promo-card-code-label {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 6px;
}
.eb-promo-card-code-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1.5px dashed rgba(255,255,255,.45);
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all .2s;
    color: #fff;
    font-family: inherit;
}
.eb-promo-card-code-btn:hover {
    background: rgba(255,255,255,.18);
    border-color: #fbbf24;
    transform: scale(1.04);
}
.eb-promo-code-text {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: #fbbf24;
}
.eb-promo-copy-icon {
    display: flex; align-items: center; gap: 3px;
    font-size: .7rem; color: rgba(255,255,255,.65); font-weight: 600;
}
.eb-promo-copied { font-size: .72rem; font-weight: 700; color: #4ade80; }

/* CTA button */
.eb-promo-card-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s;
    box-shadow: 0 3px 10px rgba(249,115,22,.4);
}
.eb-promo-card-cta:hover {
    background: linear-gradient(135deg,#ea580c,#c2410c);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(249,115,22,.5);
    color: #fff;
}

@media (max-width: 575px) {
    .eb-promo-grid { gap: 12px; }
    .eb-promo-card { flex-direction: column; align-items: flex-start; padding: 20px; }
    .eb-promo-card-code-wrap { width: 100%; }
    .eb-promo-card-code-btn, .eb-promo-card-cta { width: 100%; justify-content: center; }
}

/* ============================================================

/* ============================================================
   BLOG — Cards, Listing Page, Single Post  (v2 — Premium)
   ============================================================ */

/* ── Shared blog card ─────────────────────────────────── */
.eb-blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.eb-blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(37,99,235,.13); }
.eb-blog-card-img-link { display: block; overflow: hidden; position: relative; }
.eb-blog-card-img {
    width: 100%; height: 220px;
    object-fit: cover; display: block;
    transition: transform .45s ease;
}
.eb-blog-card:hover .eb-blog-card-img { transform: scale(1.05); }
.eb-blog-card-img-placeholder {
    width: 100%; height: 220px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex; align-items: center; justify-content: center;
}
.eb-blog-card-img-link::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.3) 0%, transparent 60%);
    opacity: 0; transition: opacity .3s;
}
.eb-blog-card:hover .eb-blog-card-img-link::after { opacity: 1; }
.eb-blog-card-body { padding: 22px 24px 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.eb-blog-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eb-blog-cat-tag {
    display: inline-block; background: #eff6ff; color: #2563eb;
    font-size: .67rem; font-weight: 700; padding: 3px 11px;
    border-radius: 50px; letter-spacing: .05em; text-transform: uppercase;
    border: 1px solid #dbeafe;
}
.eb-blog-read-time { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: #9ca3af; }
.eb-blog-card-title {
    font-size: 1.05rem; font-weight: 700; color: #0f172a;
    line-height: 1.45; margin: 0; letter-spacing: -.01em;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.eb-blog-card-title a { color: inherit; text-decoration: none; transition: color .2s; }
.eb-blog-card-title a:hover { color: #2563eb; }
.eb-blog-card-excerpt {
    font-size: .85rem; color: #64748b; line-height: 1.65; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.eb-blog-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; border-top: 1px solid #f0f4ff; gap: 8px; flex-wrap: wrap; margin-top: auto;
}
.eb-blog-author { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: #374151; font-weight: 600; }
.eb-blog-author-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #6366f1);
    color: #fff; font-size: .72rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.eb-blog-date { font-size: .72rem; color: #9ca3af; }

/* ── Homepage blog grid + listing page ───────────────── */
.eb-section-blog { background: #f8faff; padding: 40px 0; }
.eb-blog-home-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.eb-blog-page { background: #f4f7ff; min-height: 100vh; padding: 110px 0 80px; }
.eb-blog-heading { text-align: center; margin-bottom: 44px; }
.eb-blog-title { font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.eb-blog-subtitle { font-size: 1rem; color: #64748b; }
.eb-blog-filter-bar {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    background: #fff; border-radius: 16px; padding: 14px 20px;
    box-shadow: 0 2px 14px rgba(0,0,0,.07); margin-bottom: 40px;
}
.eb-blog-search-wrap { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 200px; border-bottom: 1.5px solid #e2e8f0; padding-bottom: 4px; }
.eb-blog-search-input { flex: 1; border: none; outline: none; font-size: .9rem; color: #0f172a; background: transparent; font-family: inherit; }
.eb-blog-cat-select { padding: 8px 14px; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: .85rem; color: #374151; outline: none; background: #fafbff; cursor: pointer; }
.eb-blog-search-btn { padding: 10px 24px; background: linear-gradient(135deg,#2563eb,#1e40af); color: #fff; border: none; border-radius: 10px; font-size: .875rem; font-weight: 700; cursor: pointer; transition: background .2s; }
.eb-blog-search-btn:hover { background: linear-gradient(135deg,#f97316,#ea580c); }
.eb-blog-clear-btn { font-size: .82rem; color: #ef4444; text-decoration: none; font-weight: 600; padding: 6px 12px; border-radius: 8px; }
.eb-blog-clear-btn:hover { background: #fef2f2; }
.eb-blog-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 28px; margin-bottom: 48px; }
.eb-blog-pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding-top: 16px; }
.eb-blog-page-btn { padding: 9px 18px; border-radius: 10px; background: #fff; color: #374151; font-weight: 600; font-size: .85rem; text-decoration: none; border: 1.5px solid #e2e8f0; transition: all .2s; }
.eb-blog-page-btn:hover { background: #eff6ff; border-color: #2563eb; color: #2563eb; }
.eb-blog-page-btn.active { background: linear-gradient(135deg,#2563eb,#1e40af); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(37,99,235,.3); }

/* ── Single post page layout ─────────────────────────── */
.eb-post-page { background: #f4f7ff; min-height: 100vh; padding: 110px 0 80px; }

/* Key: minmax(0,1fr) prevents article from blowing past its column */
.eb-post-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
}
/* min-width:0 forces article to respect grid column */
.eb-post-article { min-width: 0; }

/* Sidebar: align-self:start + position:sticky = proper sticky TOC */
.eb-post-sidebar {
    min-width: 0;
    align-self: start;
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eb-post-top-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.eb-post-title { font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800; color: #0f172a; line-height: 1.2; letter-spacing: -.03em; margin-bottom: 24px; }
.eb-post-author-bar {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; background: #fff; border-radius: 14px;
    border: 1px solid #e8edf5; margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.eb-post-author-bar .eb-blog-author-avatar { width: 44px; height: 44px; font-size: .95rem; box-shadow: 0 2px 8px rgba(37,99,235,.2); }
.eb-post-author-name { font-weight: 700; font-size: .92rem; color: #0f172a; }
.eb-post-author-date { font-size: .75rem; color: #9ca3af; margin-top: 2px; }
.eb-post-cover-wrap {
    position: relative; border-radius: 24px; overflow: hidden;
    margin-bottom: 40px; box-shadow: 0 8px 40px rgba(0,0,0,.14);
    aspect-ratio: 16/7;
}
.eb-post-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Post body typography (H1–H6, lists, quotes, tables) */
.eb-post-body {
    background: #fff; border-radius: 20px; padding: 48px 52px;
    box-shadow: 0 2px 20px rgba(0,0,0,.06); margin-bottom: 32px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.05rem; line-height: 1.9; color: #374151;
    word-break: break-word; overflow-wrap: break-word;
    /* NO overflow:hidden here — it creates unwanted scrollbar on <pre> */
}
.eb-post-body h1 {
    font-size: 2rem; font-weight: 800; color: #0f172a;
    line-height: 1.2; letter-spacing: -.03em;
    margin: 2em 0 .7em; padding-bottom: .4em;
    border-bottom: 3px solid #2563eb;
}
.eb-post-body h2 {
    font-size: 1.55rem; font-weight: 800; color: #0f172a;
    line-height: 1.25; letter-spacing: -.02em;
    margin: 1.8em 0 .6em; position: relative; padding-left: 16px;
}
.eb-post-body h2::before {
    content: ''; position: absolute; left: 0; top: .15em; bottom: .15em;
    width: 4px; background: linear-gradient(180deg,#2563eb,#6366f1); border-radius: 4px;
}
.eb-post-body h3 { font-size: 1.2rem; font-weight: 700; color: #1e3a8a; line-height: 1.3; margin: 1.6em 0 .5em; }
.eb-post-body h4 { font-size: .88rem; font-weight: 700; color: #374151; margin: 1.4em 0 .4em; text-transform: uppercase; letter-spacing: .04em; }
.eb-post-body h5 { font-size: .92rem; font-weight: 700; color: #6366f1; margin: 1.2em 0 .4em; }
.eb-post-body h6 { font-size: .82rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .08em; margin: 1.1em 0 .3em; }
.eb-post-body p { margin-bottom: 1.3em; }
.eb-post-body p:last-child { margin-bottom: 0; }
.eb-post-body h2 + p { font-size: 1.08rem; color: #1e293b; }
.eb-post-body ul,.eb-post-body ol { padding-left: 1.8em; margin: 1em 0 1.3em; }
.eb-post-body li { margin-bottom: .5em; padding-left: .3em; }
.eb-post-body ul li::marker { color: #2563eb; font-size: 1.1em; }
.eb-post-body ol li::marker { color: #2563eb; font-weight: 700; }
.eb-post-body blockquote {
    position: relative; border-left: none;
    background: linear-gradient(135deg,#eff6ff,#e0e7ff);
    border-radius: 16px; padding: 24px 28px 24px 56px;
    margin: 1.8em 0; color: #1e3a8a; font-style: italic;
    font-size: 1.05rem; box-shadow: 0 2px 12px rgba(37,99,235,.08);
}
.eb-post-body blockquote::before {
    content: '\201C'; position: absolute; left: 18px; top: 10px;
    font-size: 3.5rem; line-height: 1; color: #93c5fd;
    font-family: Georgia, serif; font-style: normal;
}
.eb-post-body blockquote p { margin: 0; }
.eb-post-body code { background: #f1f5f9; color: #e11d48; padding: 2px 7px; border-radius: 5px; font-family: 'Courier New',monospace; font-size: .88em; }
.eb-post-body pre {
    background: #0f172a; color: #e2e8f0; padding: 24px 28px;
    border-radius: 14px; overflow-x: auto; font-size: .88rem;
    line-height: 1.65; margin: 1.5em 0; border: 1px solid #1e293b;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    white-space: pre-wrap;       /* wrap long lines */
    word-break: break-word;
    /* Hide scrollbar on Chrome/Edge/Safari */
    scrollbar-width: none;       /* Firefox */
}
.eb-post-body pre::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.eb-post-body pre code { background: none; color: inherit; padding: 0; }
.eb-post-body img { max-width: 100%; border-radius: 14px; margin: 1.5em auto; display: block; box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.eb-post-body figure { margin: 1.8em 0; text-align: center; }
.eb-post-body figure img { margin-bottom: 8px; }
.eb-post-body figcaption { font-size: .8rem; color: #9ca3af; font-style: italic; }
.eb-post-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .9rem; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.eb-post-body th { background: linear-gradient(135deg,#1e3a8a,#2563eb); color: #fff; padding: 12px 16px; text-align: left; font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.eb-post-body td { padding: 12px 16px; border-bottom: 1px solid #f0f4ff; color: #374151; }
.eb-post-body tr:nth-child(even) td { background: #f8faff; }
.eb-post-body tr:last-child td { border-bottom: none; }
.eb-post-body hr { border: none; height: 2px; background: linear-gradient(90deg,transparent,#dbeafe 20%,#dbeafe 80%,transparent); margin: 2.5em 0; }
.eb-post-body a { color: #2563eb; text-decoration: none; border-bottom: 1.5px solid #bfdbfe; transition: color .2s,border-color .2s; }
.eb-post-body a:hover { color: #f97316; border-color: #f97316; }
.eb-post-body strong { color: #0f172a; font-weight: 700; }

/* ── Tags ─────────────────────────────────────────────── */
.eb-post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.eb-post-tag {
    padding: 5px 14px; background: #f0f4ff; color: #2563eb;
    border-radius: 50px; font-size: .75rem; font-weight: 600;
    text-decoration: none; border: 1px solid #dbeafe; transition: all .2s;
}
.eb-post-tag:hover { background: #2563eb; color: #fff; border-color: transparent; }

/* Individual sidebar cards */
.eb-post-sidebar-card {
    background: #fff; border-radius: 20px; padding: 24px;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
}
.eb-post-sidebar-title {
    font-size: .88rem; font-weight: 700; color: #0f172a;
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #f0f4ff;
}
.eb-post-related-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid #f9fafb;
    text-decoration: none; color: #374151; font-size: .82rem;
    font-weight: 500; transition: color .2s;
}
.eb-post-related-item:last-of-type { border-bottom: none; }
.eb-post-related-item:hover { color: #2563eb; }
.eb-post-related-img { width: 60px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.eb-post-related-title {
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4;
}
.eb-post-all-link {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 16px; padding: 10px; background: #eff6ff; border-radius: 10px;
    font-size: .8rem; font-weight: 700; color: #2563eb; text-decoration: none; transition: all .2s;
}
.eb-post-all-link:hover { background: #2563eb; color: #fff; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1199px) {
    .eb-blog-home-grid { grid-template-columns: repeat(2,1fr); }
    .eb-post-body { padding: 36px 40px; }
}
@media (max-width: 991px) {
    .eb-post-grid { grid-template-columns: 1fr; }
    .eb-post-sidebar { position: static; display: block; }
    .eb-blog-home-grid { grid-template-columns: 1fr 1fr; }
    .eb-post-body { padding: 32px; }
}
@media (max-width: 767px) {
    .eb-blog-home-grid { grid-template-columns: 1fr; }
    .eb-blog-grid { grid-template-columns: 1fr; }
    .eb-post-body { padding: 24px 20px; font-size: .97rem; }
    .eb-post-body h1 { font-size: 1.5rem; }
    .eb-post-body h2 { font-size: 1.25rem; }
    .eb-post-body blockquote { padding: 18px 20px 18px 44px; }
    .eb-post-page,.eb-blog-page { padding: 90px 0 60px; }
    .eb-blog-filter-bar { flex-direction: column; align-items: stretch; }
    .eb-blog-search-wrap { width: 100%; }
    .eb-post-cover-wrap { border-radius: 16px; aspect-ratio: 16/9; }
}

/* ── Table of Contents — Sidebar sticky card ─────────── */
.eb-toc-sidebar {
    border: 1.5px solid #bfdbfe !important;
    background: linear-gradient(160deg, #f0f6ff 0%, #fff 100%) !important;
    padding: 0 !important;
    overflow: visible !important;   /* allow text to show fully */
}
.eb-toc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    font-weight: 700;
    font-size: .83rem;
    color: #1e3a8a;
    font-family: 'Inter', system-ui, sans-serif;
    border-bottom: 1px solid #dbeafe;
    background: rgba(37,99,235,.05);
    border-radius: 18px 18px 0 0;
    white-space: nowrap;
}
.eb-toc-header svg { flex-shrink: 0; color: #2563eb; }
.eb-toc-toggle {
    margin-left: auto;
    background: #fff;
    border: 1.5px solid #dbeafe;
    border-radius: 7px;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #2563eb;
    transition: transform .25s ease, background .2s;
    flex-shrink: 0;
}
.eb-toc-toggle:hover { background: #eff6ff; }

.eb-toc-nav {
    padding: 10px 12px 14px;
    max-height: 55vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #bfdbfe transparent;
}
.eb-toc-nav.eb-toc-collapsed { display: none; }
.eb-toc-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.eb-toc-item { margin: 0; width: 100%; }

.eb-toc-link {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 500;
    color: #374151;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all .18s;
    line-height: 1.45;
    width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.eb-toc-link:hover { background: #dbeafe; color: #1e3a8a; }
.eb-toc-link.eb-toc-active {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-weight: 700;
}
.eb-toc-link.eb-toc-active .eb-toc-num { background: #fff; color: #2563eb; }

/* Bullet dot instead of number */
.eb-toc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8px; width: 8px; height: 8px;
    border-radius: 50%;
    background: #93c5fd;
    flex-shrink: 0;
    margin-top: 7px;
    font-size: 0;          /* hide the number text */
    transition: background .18s, transform .18s;
}
.eb-toc-link:hover .eb-toc-num { background: #2563eb; transform: scale(1.3); }
.eb-toc-link.eb-toc-active .eb-toc-num {
    background: #fff;
    width: 10px; height: 10px;
    box-shadow: 0 0 0 3px rgba(255,255,255,.4);
}

/* ============================================================
   HOME — BLOG SECTION  (matches screenshot style)
   ============================================================ */
.eb-home-blog-section {
    background: #eef4fb;
    padding: 80px 0 72px;
}

/* Centered heading */
.eb-home-blog-heading {
    text-align: center;
    margin-bottom: 48px;
}
.eb-home-blog-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -.02em;
}
.eb-title-orange { color: #f97316; }
.eb-home-blog-sub {
    font-size: .95rem;
    color: #64748b;
    margin-bottom: 14px;
}
.eb-home-blog-line {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #f97316);
    border-radius: 3px;
    margin: 0 auto;
}

/* 3-column card grid */
.eb-home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

/* Card */
.eb-home-blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.eb-home-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(37,99,235,.13);
}

/* Image */
.eb-home-blog-img-link { display: block; overflow: hidden; }
.eb-home-blog-img {
    width: 100%; height: 200px;
    object-fit: cover; display: block;
    transition: transform .4s ease;
}
.eb-home-blog-card:hover .eb-home-blog-img { transform: scale(1.04); }
.eb-home-blog-img-placeholder {
    width: 100%; height: 200px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex; align-items: center; justify-content: center;
}

/* Body */
.eb-home-blog-body {
    padding: 22px 24px 24px;
    flex: 1; display: flex; flex-direction: column;
}
.eb-home-blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.eb-home-blog-card-title a { color: inherit; text-decoration: none; transition: color .2s; }
.eb-home-blog-card-title a:hover { color: #2563eb; }
.eb-home-blog-excerpt {
    font-size: .84rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3; line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.eb-home-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    font-weight: 700;
    color: #f97316;
    text-decoration: none;
    margin-top: auto;
    transition: gap .2s, color .2s;
}
.eb-home-blog-read-more:hover { gap: 8px; color: #ea580c; }

/* Centered CTA button */
.eb-home-blog-cta { text-align: center; }
.eb-home-blog-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: 0 4px 18px rgba(37,99,235,.3);
    letter-spacing: .01em;
}
.eb-home-blog-all-btn:hover {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 6px 24px rgba(249,115,22,.4);
    transform: translateY(-2px);
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) { .eb-home-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) {
    .eb-home-blog-grid { grid-template-columns: 1fr; gap: 20px; }
    .eb-home-blog-section { padding: 56px 0 52px; }
    .eb-home-blog-title { font-size: 1.5rem; }
}

/* ── Feature cards — icon & text centered ── */
.eb-feature-card-inner { text-align: center !important; }
.eb-feature-icon-wrapper { margin: 0 auto 24px !important; }
.eb-feature-title { text-align: center; }
.eb-feature-desc  { text-align: center; }


/* ============================================================
   BLOG POST — FAQ ACCORDION
   ============================================================ */
.eb-post-faq {
    background: #fff;
    border-radius: 20px;
    padding: 36px 52px 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
    margin-bottom: 32px;
    border: 1.5px solid #e0eaff;
}

.eb-faq-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.02em;
    margin: 0 0 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f0f4ff;
    /* reset any inherited heading styles */
    background: none;
    padding-left: 0;
    line-height: 1.3;
}
.eb-faq-heading::before { display: none !important; } /* kill .eb-post-body h2::before bar */
.eb-faq-heading svg { color: #2563eb; flex-shrink: 0; }

.eb-faq-list {
    display: flex;
    flex-direction: column;
}

.eb-faq-item {
    border-bottom: 1px solid #e8eeff;
}
.eb-faq-item:last-child { border-bottom: none; }

.eb-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    background: none;
    border: none;
    padding: 18px 0;
    cursor: pointer;
    text-align: left;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.45;
    transition: color .2s;
    -webkit-appearance: none;
    appearance: none;
}
.eb-faq-q:hover { color: #2563eb; }
.eb-faq-q[aria-expanded="true"] { color: #2563eb; }

.eb-faq-q-text { flex: 1; }

.eb-faq-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #f0f4ff;
    color: #2563eb;
    transition: transform .28s ease, background .2s;
}
.eb-faq-q:hover .eb-faq-chevron { background: #dbeafe; }
.eb-faq-q[aria-expanded="true"] .eb-faq-chevron {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #2563eb, #6366f1);
    color: #fff;
}

/* Answer panel — animated via max-height */
.eb-faq-a {
    overflow: hidden;
    max-height: 600px; /* large enough for any answer */
    transition: max-height .32s ease;
}
.eb-faq-a--closed {
    max-height: 0 !important;
}

.eb-faq-a-inner {
    padding: 4px 0 20px;
    font-size: .97rem;
    color: #374151;
    line-height: 1.75;
}

/* Responsive */
@media (max-width: 1199px) { .eb-post-faq { padding: 30px 40px 34px; } }
@media (max-width: 991px)  { .eb-post-faq { padding: 26px 32px 30px; } }
@media (max-width: 767px)  {
    .eb-post-faq { padding: 22px 20px 26px; }
    .eb-faq-heading { font-size: 1.05rem; }
    .eb-faq-q { font-size: .94rem; }
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────── */
.eb-about-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 55%, #2563eb 100%);
    padding: 120px 0 80px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.eb-about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(99,102,241,.25) 0%, transparent 65%);
    pointer-events: none;
}
.eb-about-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.eb-about-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 20px;
}
.eb-text-gradient {
    background: linear-gradient(90deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.eb-about-hero-sub {
    font-size: 1.1rem;
    opacity: .88;
    max-width: 560px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

/* Stats bar */
.eb-about-stats {
    display: inline-flex;
    gap: 0;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    overflow: hidden;
}
.eb-about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 36px;
    border-right: 1px solid rgba(255,255,255,.15);
}
.eb-about-stat:last-child { border-right: none; }
.eb-about-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 4px;
}
.eb-about-stat-label {
    font-size: .75rem;
    opacity: .75;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ── Shared section wrapper ──────────────────────────── */
.eb-about-section { padding: 80px 0; }
.eb-about-who  { background: #fff; }
.eb-about-offer { background: #f4f7ff; }
.eb-about-why  { background: #fff; }
.eb-about-vision { background: #f4f7ff; }

.eb-section-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: 10px;
}
.eb-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}
.eb-section-sub {
    font-size: 1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Who We Are — feature cards ─────────────────────── */
.eb-about-feature-card {
    background: #f8faff;
    border: 1.5px solid #e0eaff;
    border-radius: 18px;
    padding: 28px 24px;
    text-align: center;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.eb-about-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(37,99,235,.12);
    border-color: #bfdbfe;
}
.eb-about-feature-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: block;
}
.eb-about-feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.eb-about-feature-card p {
    font-size: .875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* ── What We Offer — cards ──────────────────────────── */
.eb-offer-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    border: 1.5px solid #e8f0fe;
    transition: transform .3s ease, box-shadow .3s ease;
}
.eb-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(37,99,235,.12);
}
.eb-offer-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.eb-offer-card h4 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.eb-offer-card p  { font-size: .875rem; color: #64748b; line-height: 1.65; margin: 0; }

/* Tags row */
.eb-offer-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 48px;
}
.eb-offer-tag {
    background: #fff;
    border: 1.5px solid #bfdbfe;
    color: #1e40af;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
}

/* Purpose banner */
.eb-purpose-banner {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border-radius: 24px;
    padding: 48px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.eb-purpose-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
    border-radius: 50%;
}
.eb-purpose-title {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .7;
    margin-bottom: 12px;
}
.eb-purpose-text {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}
.eb-purpose-desc {
    font-size: 1rem;
    opacity: .85;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Why Choose Us — numbered cards ────────────────── */
.eb-why-card {
    background: #f8faff;
    border: 1.5px solid #e0eaff;
    border-radius: 18px;
    padding: 28px 24px 28px 28px;
    height: 100%;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.eb-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(37,99,235,.12);
    border-color: #93c5fd;
    background: #fff;
}
.eb-why-number {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: #2563eb;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 8px;
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 16px;
}
.eb-why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.eb-why-card p {
    font-size: .875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* ── Vision & Mission ───────────────────────────────── */
.eb-vm-card {
    border-radius: 20px;
    padding: 40px 36px;
    height: 100%;
}
.eb-vm-vision {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(37,99,235,.25);
}
.eb-vm-mission {
    background: #fff;
    border: 2px solid #e0eaff;
    color: #0f172a;
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.eb-vm-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.eb-vm-vision h3  { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; color: #fff; }
.eb-vm-mission h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; color: #0f172a; }
.eb-vm-vision p   { font-size: .95rem; opacity: .9; line-height: 1.75; margin: 0; }
.eb-vm-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.eb-vm-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: #374151;
    line-height: 1.6;
}
.eb-vm-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── CTA section ────────────────────────────────────── */
.eb-about-cta { background: #0f172a; padding: 80px 0; }
.eb-about-cta-inner { max-width: 640px; margin: 0 auto; }
.eb-about-cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.eb-about-cta-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
    margin-bottom: 36px;
}
.eb-about-cta-text strong { color: #fbbf24; }
.eb-about-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
/* About CTA dark-bg outline variant — scoped so it doesn't override global .eb-btn-hero-outline */
.eb-about-cta .eb-btn-hero-outline {
    border-color: rgba(255,255,255,.35);
    color: #fff;
    background: transparent;
}
.eb-about-cta .eb-btn-hero-outline:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.65);
    color: #fff;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 767px) {
    .eb-about-hero { padding: 100px 0 60px; }
    .eb-about-stats {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
    .eb-about-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
    .eb-about-stat:last-child { border-bottom: none; }
    .eb-about-section { padding: 56px 0; }
    .eb-purpose-banner { padding: 36px 24px; }
    .eb-vm-card { padding: 28px 24px; }
    .eb-about-cta { padding: 56px 0; }
}

/* ============================================================

/* ============================================================
   45. ABOUT PAGE  (ab- prefix)
   ============================================================ */

/* ── Shared tokens ──────────────────────────────────────────── */
.ab-label {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: 8px;
}
.ab-label-light { color: rgba(255,255,255,.65); }

.ab-h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -.035em;
    line-height: 1.15;
    margin: 0 0 12px;
}

/* ── HERO ───────────────────────────────────────────────────── */
.ab-hero {
    position: relative;
    background: linear-gradient(160deg, #f0f5ff 0%, #fff7ed 100%);
    padding: 100px 0 80px;
    overflow: hidden;
    border-bottom: 1px solid #dbeafe;
}

/* Background shapes */
.ab-hero-shape { position: absolute; pointer-events: none; }
.ab-shape-circle {
    width: 560px; height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.1) 0%, transparent 70%);
    top: -160px; right: -140px;
}
.ab-shape-ring {
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(249,115,22,.07);
    bottom: -80px; left: -60px;
}
.ab-shape-dots {
    width: 180px; height: 180px;
    top: 60px; left: 40px;
    background-image: radial-gradient(circle, rgba(37,99,235,.22) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: .5;
}
/* Extra hero deco */
.ab-hero::before {
    content: '';
    position: absolute;
    width: 80px; height: 80px;
    border: 2.5px solid rgba(249,115,22,.18);
    border-radius: 14px;
    transform: rotate(18deg);
    top: 80px; left: 5%;
    animation: ab-bob 6s ease-in-out infinite;
}
.ab-hero::after {
    content: '';
    position: absolute;
    width: 40px; height: 40px;
    background: rgba(37,99,235,.09);
    border-radius: 8px;
    transform: rotate(-12deg);
    bottom: 60px; right: 8%;
    animation: ab-bob 8s ease-in-out infinite reverse;
}
@keyframes ab-bob {
    0%,100% { transform: rotate(var(--r,18deg)) translateY(0); }
    50%      { transform: rotate(var(--r,18deg)) translateY(-10px); }
}

/* Eyebrow pill */
.ab-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border: 1.5px solid #bfdbfe;
    border-radius: 50px;
    padding: 7px 20px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 28px;
}

/* Heading */
.ab-hero-h1 {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.05em;
    color: #0f172a;
    margin: 0 0 24px;
}
.ab-hero-em {
    font-style: normal;
    background: linear-gradient(90deg, #2563eb 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desc */
.ab-hero-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 0 36px;
}

/* CTA row */
.ab-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.ab-btn-fill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff !important;
    font-size: .92rem; font-weight: 700;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 6px 22px rgba(37,99,235,.35);
    transition: transform .2s, box-shadow .2s;
}
.ab-btn-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,99,235,.45);
    color: #fff !important;
}

.ab-btn-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 14px 28px;
    border: 2px solid #e2e8f0;
    color: #374151 !important;
    font-size: .92rem; font-weight: 700;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all .2s;
    background: transparent;
}
.ab-btn-ghost:hover {
    border-color: #2563eb;
    color: #2563eb !important;
    background: #eff6ff;
}
.ab-btn-ghost-dark {
    border-color: rgba(255,255,255,.3);
    color: #fff !important;
}
.ab-btn-ghost-dark:hover {
    border-color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.1);
    color: #fff !important;
}

/* Right: floating metric cards */
.ab-hero-cards {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px 10px 10px 20px;
}

.ab-metric-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 26px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    border: 1.5px solid #f0f4ff;
    transition: transform .3s ease;
}
.ab-metric-card:hover { transform: translateX(6px); }

.ab-mc-1 { margin-left: 0; }
.ab-mc-2 { margin-left: 32px; }
.ab-mc-3 { margin-left: 16px; }

.ab-mc-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: 4px;
}
.ab-mc-num sup { font-size: 1rem; font-weight: 800; color: #2563eb; }
.ab-mc-label { display: block; font-size: .78rem; color: #94a3b8; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }

.ab-mc-bar { height: 5px; background: #f1f5f9; border-radius: 99px; overflow: hidden; }
.ab-mc-fill { height: 100%; background: linear-gradient(90deg, #2563eb, #7c3aed); border-radius: 99px; }

.ab-mc-1 .ab-mc-fill { background: linear-gradient(90deg, #2563eb, #06b6d4); }
.ab-mc-2 .ab-mc-fill { background: linear-gradient(90deg, #f97316, #fbbf24); }
.ab-mc-3 .ab-mc-fill { background: linear-gradient(90deg, #10b981, #34d399); }

/* Trust pill */
.ab-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    color: rgba(255,255,255,.85);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 500;
    align-self: flex-start;
    margin-left: 0;
}
.ab-trust-pill strong { color: #fbbf24; }
.ab-trust-avatars { display: flex; }
.ab-trust-avatars i {
    display: inline-block;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid #0f172a;
    margin-right: -8px;
}
.ab-trust-avatars i:nth-child(1) { background: linear-gradient(135deg,#2563eb,#7c3aed); }
.ab-trust-avatars i:nth-child(2) { background: linear-gradient(135deg,#f97316,#fbbf24); }
.ab-trust-avatars i:nth-child(3) { background: linear-gradient(135deg,#10b981,#06b6d4); }
.ab-trust-avatars i:nth-child(4) { background: linear-gradient(135deg,#e11d48,#f97316); }

/* ── STORY / WHO WE ARE — Alternating feature rows ──────────── */
.ab-story {
    background: #f4f7ff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
/* dot grid top-right */
.ab-story::before {
    content: '';
    position: absolute;
    width: 160px; height: 160px;
    background-image: radial-gradient(circle, rgba(37,99,235,.18) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    top: 32px; right: 24px;
    opacity: .45;
    pointer-events: none;
}
/* orange ring bottom-left */
.ab-story::after {
    content: '';
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    border: 24px solid rgba(249,115,22,.07);
    bottom: -50px; left: -50px;
    pointer-events: none;
}
.ab-story-intro {
    max-width: 560px;
    margin: 0 auto 72px;
    text-align: center;
}
.ab-story-intro p { font-size: .98rem; color: #64748b; line-height: 1.75; margin: 0; }

/* Feature row */
.ab-feat-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    margin-bottom: 4px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1.5px solid #e8f0fe;
    transition: box-shadow .3s ease;
}
.ab-feat-row:hover {
    box-shadow: 0 12px 48px rgba(37,99,235,.1);
    border-color: #bfdbfe;
}
.ab-feat-row--flip {
    grid-template-columns: 1fr 280px;
}
.ab-feat-row--flip .ab-feat-visual { order: 2; }
.ab-feat-row--flip .ab-feat-text   { order: 1; }

/* Visual panel */
.ab-feat-visual {
    background: var(--ab-feat-bg, #eff6ff);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}
.ab-feat-bg-num {
    position: absolute;
    font-size: 8rem;
    font-weight: 900;
    color: var(--ab-feat-color, #2563eb);
    opacity: .08;
    line-height: 1;
    letter-spacing: -.05em;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
}
.ab-feat-icon-wrap {
    position: relative;
    z-index: 1;
    width: 72px; height: 72px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
    transition: transform .3s ease;
}
.ab-feat-row:hover .ab-feat-icon-wrap { transform: scale(1.1) rotate(-4deg); }
.ab-feat-emoji { font-size: 2rem; line-height: 1; }

/* Text panel */
.ab-feat-text {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.ab-feat-index {
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: .6;
}
.ab-feat-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -.02em;
}
.ab-feat-desc {
    font-size: .9rem;
    color: #64748b;
    line-height: 1.75;
    margin: 0 0 20px;
    max-width: 480px;
}
.ab-feat-accent {
    width: 36px;
    height: 3px;
    border-radius: 99px;
}

/* ── OFFER — Showcase cards ──────────────────────────────────── */
.ab-offer {
    background: #fff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.ab-offer::before {
    content: '';
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,.07) 0%, transparent 70%);
    top: -60px; left: -60px;
    pointer-events: none;
}
.ab-offer::after {
    content: '';
    position: absolute;
    width: 100px; height: 100px;
    border: 2.5px solid rgba(37,99,235,.1);
    border-radius: 16px;
    transform: rotate(20deg);
    bottom: 40px; right: 5%;
    pointer-events: none;
    animation: ab-bob 9s ease-in-out 1s infinite;
}
.ab-offer-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.ab-offer-head .ab-h2 { margin: 0; }
.ab-offer-sub {
    font-size: .95rem;
    color: #64748b;
    line-height: 1.75;
    max-width: 340px;
    text-align: right;
}

/* Showcase strip */
.ab-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1.5px solid #e0eaff;
    box-shadow: 0 4px 32px rgba(0,0,0,.06);
    margin-bottom: 28px;
}

.ab-showcase-card {
    background: #fff;
    padding: 36px 28px 32px;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: background .35s ease;
    border-right: 1.5px solid #e0eaff;
}
.ab-showcase-card:last-child { border-right: none; }
.ab-showcase-card:hover { background: var(--ab-sc-color, #2563eb); }

/* Big ghost number */
.ab-sc-num {
    position: absolute;
    top: 0px; right: 5px;
    font-size: 6rem;
    font-weight: 900;
    color: var(--ab-sc-color, #2563eb);
    opacity: .07;
    line-height: 1;
    letter-spacing: -.05em;
    transition: opacity .35s, color .35s;
    pointer-events: none;
    user-select: none;
}
.ab-showcase-card:hover .ab-sc-num { opacity: .15; color: #fff; }

.ab-sc-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: transform .35s ease;
}
.ab-showcase-card:hover .ab-sc-icon { transform: scale(1.15) rotate(-5deg); }

.ab-sc-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
    transition: color .35s;
}
.ab-showcase-card:hover .ab-sc-title { color: #fff; }

.ab-sc-desc {
    font-size: .82rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color .35s;
}
.ab-showcase-card:hover .ab-sc-desc { color: rgba(255,255,255,.8); }

.ab-sc-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--ab-sc-color, #2563eb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.ab-showcase-card:hover .ab-sc-line { transform: scaleX(1); }

/* Trust strip */
.ab-offer-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 28px;
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e0eaff;
}
.ab-strip-item { font-size: .82rem; font-weight: 700; color: #374151; }
.ab-strip-sep  { color: #cbd5e1; font-size: 1.2rem; }

/* ── PURPOSE ────────────────────────────────────────────────── */
.ab-purpose {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1e40af 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.ab-purpose::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,.1) 0%, transparent 65%);
    top: -200px; right: -200px;
}
/* orange accent squares */
.ab-purpose::after {
    content: '';
    position: absolute;
    width: 60px; height: 60px;
    border: 2.5px solid rgba(249,115,22,.2);
    border-radius: 12px;
    transform: rotate(20deg);
    bottom: 48px; left: 6%;
    animation: ab-bob 7s ease-in-out infinite;
    pointer-events: none;
}
.ab-purpose-deco-dots {
    position: absolute;
    width: 120px; height: 120px;
    background-image: radial-gradient(circle, rgba(251,191,36,.25) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    bottom: 40px; right: 8%;
    pointer-events: none;
    opacity: .5;
}
.ab-purpose-deco-ring {
    position: absolute;
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 22px solid rgba(255,255,255,.04);
    bottom: -40px; left: 10%;
    pointer-events: none;
}

.ab-purpose-label {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 28px;
    display: block;
}
.ab-purpose-quote {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    letter-spacing: -.025em;
    margin: 0 0 28px;
    border: none;
    padding: 0;
}
.ab-purpose-quote mark {
    background: linear-gradient(90deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-color: transparent;
}
.ab-purpose-body {
    font-size: 1rem;
    color: rgba(255,255,255,.6);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto;
}

/* ── WHY CHOOSE US ──────────────────────────────────────────── */
.ab-why {
    background: #f4f7ff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.ab-why::before {
    content: '';
    position: absolute;
    width: 130px; height: 130px;
    background-image: radial-gradient(circle, rgba(249,115,22,.2) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    bottom: 30px; left: 3%;
    opacity: .5;
    pointer-events: none;
}
.ab-why::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 28px solid rgba(37,99,235,.05);
    top: -60px; right: -60px;
    pointer-events: none;
}
.ab-why-head { margin-bottom: 52px; }
.ab-why-head .ab-h2 { margin-top: 8px; }

.ab-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ab-why-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--ab-why-bg, #f8faff);
    border: 1.5px solid rgba(0,0,0,.05);
    border-radius: 18px;
    padding: 24px 28px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ab-why-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,.08);
}

.ab-why-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.ab-why-num {
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .1em;
    color: #94a3b8;
    text-transform: uppercase;
}
.ab-why-emoji { font-size: 2rem; line-height: 1; }

.ab-why-right h3 { font-size: .97rem; font-weight: 800; color: #0f172a; margin: 0 0 6px; }
.ab-why-right p  { font-size: .84rem; color: #64748b; line-height: 1.65; margin: 0; }

/* ── VISION & MISSION ───────────────────────────────────────── */
.ab-vm {
    background: #fff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.ab-vm::before {
    content: '';
    position: absolute;
    width: 60px; height: 60px;
    background: rgba(249,115,22,.1);
    border-radius: 12px;
    transform: rotate(-15deg);
    top: 48px; right: 6%;
    animation: ab-bob 7s ease-in-out 0.5s infinite;
    pointer-events: none;
}
.ab-vm::after {
    content: '';
    position: absolute;
    width: 150px; height: 150px;
    background-image: radial-gradient(circle, rgba(37,99,235,.18) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    bottom: 30px; left: 2%;
    opacity: .45;
    pointer-events: none;
}

.ab-vm-grid {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 24px;
    align-items: center;
}

/* Vision */
.ab-vm-box {
    border-radius: 24px;
    padding: 44px 40px;
    height: 100%;
}
.ab-vm-vision {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 60%, #2563eb 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ab-vm-vision .ab-h2 { color: #fff; }
.ab-vm-vision h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin: 0 0 14px; }
.ab-vm-vision p  { font-size: .93rem; color: rgba(255,255,255,.75); line-height: 1.8; margin: 0; }

.ab-vm-deco {
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 40px solid rgba(255,255,255,.05);
    bottom: -70px; right: -70px;
}

/* Mission */
.ab-vm-mission { background: #fff; border: 2px solid #dbeafe; box-shadow: 0 6px 28px rgba(37,99,235,.07); }
.ab-vm-mission h3 { font-size: 1.2rem; font-weight: 800; color: #0f172a; margin: 0 0 14px; }

.ab-vm-icon-wrap { font-size: 2.4rem; display: block; margin-bottom: 14px; }

.ab-vm-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ab-vm-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: .92rem; color: #374151; line-height: 1.65;
}
.ab-vm-list li::before {
    content: '✓';
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff; font-size: .65rem; font-weight: 900;
    border-radius: 50%; flex-shrink: 0; margin-top: 2px;
}

/* Center orb */
.ab-vm-center { display: flex; align-items: center; justify-content: center; }
.ab-vm-orb {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 12px rgba(37,99,235,.08), 0 0 0 24px rgba(37,99,235,.04);
}
.ab-vm-orb span {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: .05em;
}

/* ── CTA — SPLIT ────────────────────────────────────────────── */
.ab-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
}
.ab-cta-left {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    display: flex; align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}
.ab-cta-left::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #fbbf24, #f97316);
}
.ab-cta-left::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 60px solid rgba(255,255,255,.05);
    bottom: -100px; right: -80px;
}
.ab-cta-left-inner h2 {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: rgba(255,255,255,.55);
    line-height: 1.1;
    letter-spacing: -.04em;
    margin: 0;
}
.ab-cta-left-inner h2 span {
    color: #fff;
    display: block;
}

.ab-cta-right {
    background: #0f172a;
    display: flex; align-items: center;
    padding: 60px;
}
.ab-cta-right-inner p {
    font-size: 1rem;
    color: rgba(255,255,255,.65);
    line-height: 1.8;
    margin: 0 0 32px;
}
.ab-cta-right-inner p strong { color: #fbbf24; }
.ab-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1199px) {
    .ab-vm-grid  { grid-template-columns: 1fr 80px 1fr; }
    .ab-vm-orb   { width: 60px; height: 60px; font-size: .9rem; }
}

@media (max-width: 991px) {
    .ab-hero     { padding: 80px 0 60px; }
    .ab-hero-cards { padding: 0; }
    .ab-mc-2, .ab-mc-3 { margin-left: 0; }
    .ab-feat-row,
    .ab-feat-row--flip { grid-template-columns: 1fr; }
    .ab-feat-row--flip .ab-feat-visual,
    .ab-feat-row--flip .ab-feat-text { order: unset; }
    .ab-feat-visual { min-height: 120px; }
    .ab-showcase { grid-template-columns: repeat(2, 1fr); }
    .ab-showcase-card:nth-child(2) { border-right: none; }
    .ab-showcase-card:nth-child(1),
    .ab-showcase-card:nth-child(2) { border-bottom: 1.5px solid #e0eaff; }
    .ab-why-grid { grid-template-columns: 1fr; }
    .ab-vm-grid  { grid-template-columns: 1fr; gap: 16px; }
    .ab-vm-center { display: none; }
    .ab-vm-box   { padding: 36px 28px; }
    .ab-cta      { grid-template-columns: 1fr; }
    .ab-cta-left, .ab-cta-right { padding: 48px 40px; }
    .ab-offer-head { flex-direction: column; align-items: flex-start; }
    .ab-offer-sub  { text-align: left; max-width: 100%; }
}

@media (max-width: 767px) {
    .ab-hero     { padding: 72px 0 52px; }
    .ab-hero-h1  { font-size: 2.6rem; }
    .ab-hero-actions { flex-direction: column; }
    .ab-btn-fill, .ab-btn-ghost { width: 100%; justify-content: center; }
    .ab-story    { padding: 64px 0; }
    .ab-feat-text { padding: 24px 20px; }
    .ab-offer    { padding: 64px 0; }
    .ab-showcase { grid-template-columns: 1fr; border-radius: 16px; }
    .ab-showcase-card { border-right: none; border-bottom: 1.5px solid #e0eaff; }
    .ab-showcase-card:last-child { border-bottom: none; }
    .ab-purpose  { padding: 72px 0; }
    .ab-why      { padding: 64px 0; }
    .ab-vm       { padding: 64px 0; }
    .ab-cta-left, .ab-cta-right { padding: 40px 24px; }
    .ab-cta-left-inner h2 { font-size: 2rem; }
}

/* ============================================================

/* ============================================================
   46. CONTACT PAGE  (ct- prefix)
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.ct-hero {
    position: relative;
    padding: 110px 0 80px;
    background: #fff;
    overflow: hidden;
    border-bottom: 1.5px solid #e8f0fe;
}
.ct-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 90% 10%, rgba(37,99,235,.07) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 5%  85%, rgba(249,115,22,.06) 0%, transparent 55%);
    pointer-events: none;
}
.ct-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #eff6ff, #fff7ed);
    border: 1.5px solid #bfdbfe;
    border-radius: 50px;
    padding: 7px 22px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #1e40af;
    margin-bottom: 22px;
}
.ct-hero-h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -.045em;
    margin: 0 0 20px;
}
.ct-hero-grad {
    background: linear-gradient(90deg, #2563eb 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ct-hero-p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

/* ── MAIN SECTION ───────────────────────────────────────────── */
.ct-main {
    background: #f4f7ff;
    padding: 72px 0 90px;
    position: relative;
    overflow: hidden;
}

/* Two-column layout: form | cards */
.ct-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

/* ── FORM CARD ──────────────────────────────────────────────── */
.ct-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 32px rgba(37,99,235,.07);
    border: 1.5px solid #dbeafe;
}
.ct-form-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -.025em;
    margin: 0 0 6px;
}
.ct-form-sub {
    font-size: .9rem;
    color: #64748b;
    margin: 0 0 28px;
    line-height: 1.6;
}

/* Error box */
.ct-errors {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fef2f2;
    border-left: 3px solid #ef4444;
    border-radius: 0 10px 10px 0;
    padding: 14px 16px;
    color: #dc2626;
    font-size: .86rem;
    margin-bottom: 22px;
}
.ct-errors ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; }

/* Form fields */
.ct-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.ct-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.ct-row-2 .ct-field { margin-bottom: 0; }

.ct-field label {
    font-size: .8rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: .02em;
}
.ct-req { color: #ef4444; margin-left: 2px; }

.ct-form input,
.ct-form select,
.ct-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: #f4f7ff;
    border: 1.5px solid #dbeafe;
    border-radius: 12px;
    font-size: .92rem;
    color: #0f172a;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    appearance: none;
    -webkit-appearance: none;
}
.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.ct-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232563eb' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
.ct-form textarea { resize: vertical; min-height: 140px; }

/* Submit button — orange */
.ct-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: .98rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 6px 22px rgba(249,115,22,.4);
    transition: transform .2s, box-shadow .2s, background .2s;
    margin-top: 6px;
}
.ct-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(249,115,22,.55);
    background: linear-gradient(135deg, #fb923c, #f97316);
}

/* Success box */
.ct-success-box {
    text-align: center;
    padding: 32px 0 16px;
}
.ct-success-check {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 28px rgba(37,99,235,.3);
}
.ct-success-box h3 { font-size: 1.4rem; font-weight: 900; color: #0f172a; margin: 0 0 10px; }
.ct-success-box p  { font-size: .92rem; color: #64748b; line-height: 1.75; margin: 0 0 28px; }
.ct-success-box .ct-submit-btn { width: auto; padding: 13px 32px; }

/* ── INFO CARDS (right column) ──────────────────────────────── */
.ct-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-icard {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1.5px solid #dbeafe;
    border-radius: 18px;
    padding: 22px 24px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.ct-icard:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(37,99,235,.1);
    border-color: #93c5fd;
}
.ct-icard-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: var(--ibg, #dbeafe);
    color: var(--ic, #2563eb);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ct-icard-body h4 {
    font-size: .92rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px;
}
.ct-icard-body p {
    font-size: .78rem;
    color: #94a3b8;
    margin: 0 0 6px;
    line-height: 1.4;
}
.ct-icard-body a {
    font-size: .9rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    transition: color .2s;
    /*display: block;*/
}
.ct-icard-body a:hover { color: #f97316; }
.ct-icard-highlight {
    display: block;
    font-size: .95rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -.01em;
}
.ct-icard-note {
    display: block;
    font-size: .75rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* Social buttons */
.ct-socials { display: flex; gap: 8px; margin-top: 6px; }
.ct-social-btn {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #f4f7ff;
    border: 1.5px solid #dbeafe;
    color: #2563eb;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: all .2s;
}
.ct-social-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

/* ── DECORATIVE SHAPES ──────────────────────────────────────── */
.ct-s {
    position: absolute;
    pointer-events: none;
    user-select: none;
    display: block;
}

/* Hero shapes */
.ct-s-sq-tl {
    width: 72px; height: 72px;
    border: 2.5px solid rgba(37,99,235,.16);
    border-radius: 14px;
    top: 55px; left: 5%;
    animation: ct-bob-a 6s ease-in-out infinite;
}
.ct-s-sq-tr {
    width: 38px; height: 38px;
    background: rgba(249,115,22,.12);
    border-radius: 8px;
    top: 80px; right: 8%;
    animation: ct-bob-b 8s ease-in-out infinite;
}
.ct-s-ring-br {
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 28px solid rgba(37,99,235,.06);
    bottom: -70px; right: -60px;
}
.ct-s-ring-bl {
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 16px solid rgba(249,115,22,.07);
    bottom: -30px; left: -20px;
}
.ct-s-dot-tr {
    width: 110px; height: 110px;
    background-image: radial-gradient(circle, rgba(37,99,235,.22) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 24px; right: 18%;
    opacity: .55;
}
.ct-s-dot-bl {
    width: 90px; height: 90px;
    background-image: radial-gradient(circle, rgba(249,115,22,.25) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    bottom: 16px; left: 22%;
    opacity: .5;
}
.ct-s-sq-sm-mid {
    width: 22px; height: 22px;
    background: rgba(37,99,235,.1);
    border-radius: 5px;
    top: 50%; left: 15%;
    animation: ct-bob-c 7s ease-in-out 1s infinite;
}

/* Body shapes */
.ct-s-body-ring-tl {
    width: 260px; height: 260px;
    border-radius: 50%;
    border: 36px solid rgba(37,99,235,.05);
    top: -80px; left: -80px;
}
.ct-s-body-sq-br {
    width: 140px; height: 140px;
    border: 2.5px solid rgba(249,115,22,.12);
    border-radius: 20px;
    bottom: 40px; right: -30px;
    animation: ct-spin-slow 28s linear infinite;
}
.ct-s-body-dot-tr {
    width: 130px; height: 130px;
    background-image: radial-gradient(circle, rgba(37,99,235,.18) 1.5px, transparent 1.5px);
    background-size: 17px 17px;
    top: 32px; right: 4%;
    opacity: .45;
}
.ct-s-body-sq-sm {
    width: 36px; height: 36px;
    background: rgba(37,99,235,.08);
    border-radius: 8px;
    bottom: 100px; left: 2%;
    animation: ct-bob-b 9s ease-in-out 0.5s infinite;
}

/* Animations */
@keyframes ct-bob-a {
    0%,100% { transform: rotate(14deg)  translateY(0);    }
    50%      { transform: rotate(14deg)  translateY(-10px); }
}
@keyframes ct-bob-b {
    0%,100% { transform: rotate(-10deg) translateY(0);    }
    50%      { transform: rotate(-10deg) translateY(9px);  }
}
@keyframes ct-bob-c {
    0%,100% { transform: rotate(28deg)  translateY(0);    }
    50%      { transform: rotate(28deg)  translateY(-8px); }
}
@keyframes ct-spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ct-layout { grid-template-columns: 1fr 320px; }
}
@media (max-width: 900px) {
    .ct-layout { grid-template-columns: 1fr; }
    .ct-info-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 640px) {
    .ct-hero   { padding: 88px 0 56px; }
    .ct-main   { padding: 52px 0 68px; }
    .ct-form-card { padding: 28px 22px; }
    .ct-row-2  { grid-template-columns: 1fr; }
    .ct-info-col { grid-template-columns: 1fr; }
    .ct-s-sq-tl, .ct-s-dot-tr, .ct-s-dot-bl,
    .ct-s-body-dot-tr, .ct-s-sq-sm-mid { display: none; }
}

.ab-purpose-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; }


/* ============================================================
   47. HOME PAGE — DECORATIVE ENHANCEMENTS
   ============================================================ */

/* ── Hero Particle Canvas ── */
.eb-hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── Decorative Wave Divider ── */
.eb-wave-divider {
    position: relative;
    height: 80px;
    overflow: hidden;
    margin-top: -2px;
}
.eb-wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* ── Floating Emoji Badges on Hero ── */
.eb-hero-emoji-float {
    position: absolute;
    font-size: 2rem;
    animation: emojiFloat 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.12));
}
.eb-hero-emoji-float:nth-child(1) { top: 12%; left: 8%;  animation-delay: 0s; }
.eb-hero-emoji-float:nth-child(2) { top: 65%; right: 6%; animation-delay: 2s; animation-duration: 9s; }
.eb-hero-emoji-float:nth-child(3) { bottom: 3%; left: 45%; animation-delay: 4s; animation-duration: 6s; }
@keyframes emojiFloat {
    0%,100% { transform: translateY(0) rotate(-5deg); }
    50%      { transform: translateY(-18px) rotate(5deg); }
}

/* ── Category Showcase Strip ── */
.eb-cat-showcase {
    padding: 48px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    overflow: hidden;
    position: relative;
}
.eb-cat-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}
.eb-cat-track {
    display: flex;
    gap: 16px;
    animation: scrollTrack 28s linear infinite;
    width: max-content;
}
.eb-cat-track:hover { animation-play-state: paused; }
.eb-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.10);
    border: 1.5px solid rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    border-radius: 50px;
    padding: 10px 22px;
    white-space: nowrap;
    color: white;
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s, transform .2s;
    cursor: pointer;
    text-decoration: none;
}
.eb-cat-chip:hover {
    background: rgba(255,255,255,.22);
    color: white;
    transform: scale(1.06);
}
.eb-cat-chip span { font-size: 1.2rem; }
@keyframes scrollTrack {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Learning Path / Steps Section ── */
.eb-steps-section {
    padding: 90px 0;
    background: linear-gradient(160deg, #f0f4ff 0%, #fff8f0 100%);
    position: relative;
    overflow: hidden;
}
.eb-steps-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,.09) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}
.eb-steps-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(249,115,22,.08) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
}
.eb-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
/* Connector line between steps */
.eb-steps-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: linear-gradient(90deg, #2563eb 0%, #fe8600 100%);
    z-index: 0;
    opacity: .25;
}
.eb-step-card {
    background: white;
    border-radius: 24px;
    padding: 36px 28px 32px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1.5px solid rgba(37,99,235,.08);
    transition: all .35s cubic-bezier(.16,1,.3,1);
    position: relative;
    z-index: 1;
}
.eb-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(37,99,235,.14);
    border-color: rgba(37,99,235,.2);
}
.eb-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    font-size: 1.375rem;
    font-weight: 900;
    color: white;
    margin: 0 auto 20px;
    position: relative;
}
.eb-step-num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: .2;
}
.eb-step-icon-wrap {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}
.eb-step-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -.02em;
}
.eb-step-desc {
    font-size: .88rem;
    color: #6b7280;
    line-height: 1.65;
}
@media (max-width: 991px) {
    .eb-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .eb-steps-grid::before { display: none; }
}
@media (max-width: 575px) {
    .eb-steps-grid { grid-template-columns: 1fr; }
}

/* ── Enhanced Stats Strip ── */
.eb-stats-strip {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1e40af 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.eb-stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.eb-stats-strip::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(249,115,22,.15) 0%, transparent 65%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}
.eb-stat-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    transition: all .3s ease;
    position: relative;
    z-index: 1;
}
.eb-stat-card:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.eb-stat-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}
.eb-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.eb-stat-label {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
}
.eb-stat-bar {
    height: 3px;
    background: rgba(255,255,255,.12);
    border-radius: 99px;
    overflow: hidden;
}
.eb-stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #fe8600 100%);
    border-radius: 99px;
    transition: width 1.5s cubic-bezier(.16,1,.3,1);
}

/* ── Trust Banner ── */
.eb-trust-banner {
    background: #fff;
    padding: 32px 0;
    border-top: 1.5px solid #f0f4ff;
    border-bottom: 1.5px solid #f0f4ff;
}
.eb-trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.eb-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    font-weight: 700;
    color: #374151;
}
.eb-trust-item-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.eb-trust-sep {
    width: 1px; height: 28px;
    background: #e5e7eb;
}
@media (max-width: 575px) {
    .eb-trust-sep { display: none; }
    .eb-trust-items { gap: 20px; }
}

/* ── Section heading decorative underline — defined in section 18, kept for reference ── */

/* ── Feature Cards enhanced ── */
.eb-feature-card {
    height: 100%;
}
.eb-feature-card-inner {
    background: white;
    border-radius: 24px;
    padding: 36px 28px;
    border: 1.5px solid rgba(37,99,235,.07);
    box-shadow: 0 4px 20px rgba(0,0,0,.04);
    transition: all .35s cubic-bezier(.16,1,.3,1);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.eb-feature-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,99,235,.04) 0%, rgba(249,115,22,.03) 100%);
    opacity: 0;
    transition: opacity .35s ease;
}
.eb-feature-card-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(37,99,235,.13);
    border-color: rgba(37,99,235,.18);
}
.eb-feature-card-inner:hover::before { opacity: 1; }
.eb-feature-icon-wrapper {
    position: relative;
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex; align-items: center; justify-content: center;
    color: #2563eb;
    margin-bottom: 20px;
    transition: all .35s ease;
}
.eb-feature-card-inner:hover .eb-feature-icon-wrapper {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(37,99,235,.3);
}
.eb-feature-icon-bg { display: none; }
.eb-feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -.015em;
}
.eb-feature-desc {
    font-size: .88rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}
.eb-feature-number {
    position: absolute;
    bottom: 18px; right: 22px;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(37,99,235,.05);
    line-height: 1;
    letter-spacing: -.05em;
    pointer-events: none;
    user-select: none;
    transition: color .35s;
}
.eb-feature-card-inner:hover .eb-feature-number { color: rgba(37,99,235,.1); }

/* ── Why Choose Section Background ── */
.eb-why-choose-section {
    background: linear-gradient(160deg, #f8faff 0%, #fff8f0 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.eb-why-bg-decoration { position: absolute; inset: 0; pointer-events: none; }
.eb-why-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
}
.eb-why-circle-1 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(37,99,235,.09) 0%, transparent 70%);
    top: -100px; left: -80px;
}
.eb-why-circle-2 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(249,115,22,.08) 0%, transparent 70%);
    bottom: -80px; right: -60px;
}
.eb-why-circle-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(99,102,241,.07) 0%, transparent 70%);
    top: 40%; left: 45%;
}
.eb-who-card-title {
    font-size: .88rem;
    font-weight: 700;
    color: #374151;
    margin: 0;
}
/* eb-who-title section 47 duplicate — neutralised, see section 18 for live definitions */

/* ── About Section ── */
.eb-about-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.eb-about-image-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%);
    border-radius: 32px;
    border: 2px solid rgba(37,99,235,.08);
}
.eb-about-image {
    position: relative;
    z-index: 1;
    max-width: 280px;
    width: 100%;
    filter: drop-shadow(0 12px 40px rgba(37,99,235,.18));
}
.eb-about-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(249,115,22,.08));
    border: 1.5px solid rgba(37,99,235,.15);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .75rem; font-weight: 700;
    color: #2563eb; letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.eb-about-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800; color: #0f172a;
    letter-spacing: -.03em; line-height: 1.25;
    margin-bottom: 16px;
}
.eb-about-text { color: #4b5563; line-height: 1.75; margin-bottom: 12px; }
.eb-about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.eb-about-feature-item {
    display: flex; align-items: center; gap: 8px;
    font-size: .875rem; font-weight: 600; color: #374151;
}
.eb-about-feature-item svg {
    color: #2563eb; flex-shrink: 0;
    background: rgba(37,99,235,.1); border-radius: 50%;
    width: 22px; height: 22px; padding: 3px;
}

/* ── Testimonial Cards ── */
.eb-testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 32px 28px;
    border: 1.5px solid rgba(37,99,235,.08);
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .3s ease;
}
.eb-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37,99,235,.1);
    border-color: rgba(37,99,235,.16);
}
.eb-testimonial-featured-badge {
    position: absolute; top: -12px; right: 24px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: white; font-size: .7rem; font-weight: 800;
    padding: 4px 12px; border-radius: 50px;
    box-shadow: 0 3px 10px rgba(249,115,22,.35);
}
.eb-testimonial-quote-icon {
    color: #2563eb; opacity: .15;
    margin-bottom: 16px;
}
.eb-testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.eb-testimonial-text {
    font-size: .95rem; color: #374151; line-height: 1.75;
    flex: 1; margin-bottom: 20px; font-style: italic;
}
.eb-testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.eb-testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.eb-testimonial-avatar-img {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.eb-testimonial-name { display: block; font-weight: 700; font-size: .9rem; color: #0f172a; }
.eb-testimonial-role { display: block; font-size: .78rem; color: #9ca3af; }

.testimonialsSwiper .swiper-pagination-bullet { background: #d1d5db; opacity: 1; }
.testimonialsSwiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #2563eb, #fe8600);
    width: 24px; border-radius: 5px;
}

/* ── Newsletter Section ── */
.eb-newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}
.eb-newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.eb-newsletter-section::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(249,115,22,.18) 0%, transparent 65%);
    border-radius: 50%; filter: blur(50px); pointer-events: none;
}
.eb-newsletter-inner {
    position: relative; z-index: 1; text-align: center;
    max-width: 600px; margin: 0 auto;
}
.eb-newsletter-badge {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: .75rem; font-weight: 700;
    color: rgba(255,255,255,.85); letter-spacing: .08em;
    text-transform: uppercase; margin-bottom: 20px;
}
.eb-newsletter-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800; color: white;
    letter-spacing: -.03em; margin-bottom: 12px;
}
.eb-newsletter-sub { font-size: .95rem; color: rgba(255,255,255,.65); margin-bottom: 32px; }
.eb-newsletter-form {
    display: flex; gap: 12px; max-width: 480px; margin: 0 auto;
}
.eb-newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 50px;
    border: none;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    color: white;
    font-size: .95rem;
    outline: none;
    border: 1.5px solid rgba(255,255,255,.2);
    transition: background .2s, border-color .2s;
}
.eb-newsletter-input::placeholder { color: rgba(255,255,255,.5); }
.eb-newsletter-input:focus {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.4);
}
.eb-newsletter-btn {
    background: linear-gradient(135deg, #fe8600 0%, #ea580c 100%);
    color: white; border: none; border-radius: 50px;
    padding: 14px 28px; font-weight: 700; font-size: .95rem;
    cursor: pointer; white-space: nowrap;
    box-shadow: 0 6px 20px rgba(249,115,22,.4);
    transition: all .25s ease;
}
.eb-newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(249,115,22,.55);
}
#newsletter-msg { margin-top: 14px; font-size: .88rem; color: rgba(255,255,255,.8); }
@media (max-width: 575px) {
    .eb-newsletter-form { flex-direction: column; }
    .eb-newsletter-btn { width: 100%; justify-content: center; }
}


/* ── Promo Section ── */
.eb-promo-section {
    padding: 64px 0;
    background: linear-gradient(160deg, #fff8f0 0%, #fff 100%);
}
.eb-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.eb-promo-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 24px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    color: white;
}
.eb-promo-deco-1 {
    position: absolute; bottom: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 32px solid rgba(255,255,255,.07);
    pointer-events: none;
}
.eb-promo-deco-2 {
    position: absolute; top: -20px; right: 30%;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(249,115,22,.15);
    filter: blur(16px);
    pointer-events: none;
}
.eb-promo-card-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: .7rem; font-weight: 800;
    color: white; letter-spacing: .06em;
    text-transform: uppercase; margin-bottom: 12px;
}
.eb-promo-card-body { margin-bottom: 18px; position: relative; z-index: 1; }
.eb-promo-card-title { font-size: 1.25rem; font-weight: 800; color: white; margin-bottom: 6px; }
.eb-promo-card-sub { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.55; }
.eb-promo-card-expires { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.eb-promo-card-code-wrap { position: relative; z-index: 1; margin-bottom: 18px; }
.eb-promo-card-code-label { font-size: .65rem; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.5); text-transform: uppercase; margin-bottom: 6px; }
.eb-promo-card-code-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12); border: 1.5px dashed rgba(255,255,255,.35);
    border-radius: 10px; padding: 10px 16px;
    color: white; font-size: .95rem; font-weight: 700;
    cursor: pointer; transition: background .2s; width: 100%;
}
.eb-promo-card-code-btn:hover { background: rgba(255,255,255,.2); }
.eb-promo-code-text { flex: 1; letter-spacing: .1em; }
.eb-promo-copy-icon { display: flex; align-items: center; gap: 5px; font-size: .78rem; opacity: .7; }
.eb-promo-copied { font-size: .78rem; color: #4ade80; }
.eb-promo-card-cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #fe8600 0%, #ea580c 100%);
    color: white; padding: 10px 20px; border-radius: 50px;
    font-size: .85rem; font-weight: 700; text-decoration: none;
    position: relative; z-index: 1;
    box-shadow: 0 4px 14px rgba(249,115,22,.35);
    transition: all .25s ease;
}
.eb-promo-card-cta:hover { transform: translateY(-2px); color: white; box-shadow: 0 8px 20px rgba(249,115,22,.5); }


/* ============================================================
   48. FINAL CTA SECTION & STATS TITLE
   ============================================================ */

/* Stats section title */
.eb-stats-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    margin: 8px 0 0;
    line-height: 1.2;
}

/* Final CTA section */
.eb-final-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #fff8f0 100%);
    position: relative;
    overflow: hidden;
}
.eb-final-cta-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(37,99,235,.05) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}
.eb-final-cta-inner {
    position: relative;
    z-index: 1;
}
.eb-final-cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.eb-final-cta-sub {
    font-size: .975rem;
    color: #6b7280;
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.75;
}

/* ── Responsive title fixes ── */
@media (max-width: 991px) {
    .eb-section-title-split  { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
    .eb-who-title            { font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important; }
    .eb-about-title          { font-size: clamp(1.5rem, 3vw, 2rem); }
    .eb-home-blog-title      { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
    .eb-newsletter-title     { font-size: clamp(1.5rem, 3vw, 2.2rem); }
    .eb-final-cta-title      { font-size: clamp(1.5rem, 3vw, 2.2rem); }
    .eb-about-features       { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .eb-section-title-split  { font-size: 1.5rem; }
    .eb-who-title            { font-size: 1.5rem !important; }
    .eb-about-title          { font-size: 1.4rem; }
    .eb-home-blog-title      { font-size: 1.5rem; }
    .eb-newsletter-title     { font-size: 1.4rem; }
    .eb-final-cta-title      { font-size: 1.4rem; }
    .eb-section-badge        { font-size: .7rem; padding: 5px 14px; }
    .eb-section-subtitle-text { font-size: .88rem; }
    .eb-stats-section-title  { font-size: 1.3rem; }
}


/* ============================================================
   49. PRODUCT DETAILS — TAB CONTENT REDESIGN
   ============================================================ */

/* ── Tab bar ── */
.eb-pd-tabs {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 16px 16px 0 0;
    border: 1.5px solid #e8edf5;
    border-bottom: none;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-top: 32px;
}
.eb-pd-tabs::-webkit-scrollbar { display: none; }

.eb-pd-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 16px 24px;
    font-size: .9rem;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
    font-family: inherit;
}
.eb-pd-tab:hover  { color: #2563eb; }
.eb-pd-tab.active { color: #2563eb; border-bottom-color: #2563eb; background: #f8faff; }
.eb-pd-tab-badge {
    background: #2563eb;
    color: white;
    font-size: .68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 50px;
    min-width: 20px;
    text-align: center;
}

/* ── Panel wrapper ── */
.eb-pd-tab-panels {
    background: white;
    border: 1.5px solid #e8edf5;
    border-top: none;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    min-width: 0;
}
.eb-pd-panel { display: none; padding: 36px; }
.eb-pd-panel.active { display: block; animation: panelFadeIn .25s ease; }
@keyframes panelFadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

/* ── Shared panel header (icon + heading) ── */
.eb-pd-desc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid #f0f4ff;
}
.eb-pd-desc-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.eb-pd-desc-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -.02em;
}

/* ── Description tab: 2-col layout ── */
.eb-pd-desc-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}
.eb-pd-desc-main { min-width: 0; }

/* Description body prose styles */
.eb-pd-description {
    font-size: .95rem;
    color: #374151;
    line-height: 1.8;
}
.eb-pd-description h1,
.eb-pd-description h2,
.eb-pd-description h3 {
    font-weight: 700; color: #0f172a;
    margin: 1.4em 0 .6em; line-height: 1.3;
    letter-spacing: -.02em;
}
.eb-pd-description h2 { font-size: 1.15rem; }
.eb-pd-description h3 { font-size: 1rem; }
.eb-pd-description p  { margin-bottom: 1em; }
.eb-pd-description ul,
.eb-pd-description ol { padding-left: 1.5em; margin-bottom: 1em; }
.eb-pd-description li { margin-bottom: .5em; }
.eb-pd-description a  { color: #2563eb; word-break: break-all; }
.eb-pd-description strong { color: #0f172a; font-weight: 700; }
.eb-pd-description pre,
.eb-pd-description code { overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.eb-pd-desc-empty { color: #9ca3af; font-style: italic; }

/* ── Sidebar cards ── */
.eb-pd-desc-sidebar { display: flex; flex-direction: column; gap: 16px; }

.eb-pd-info-card {
    background: #f8faff;
    border: 1.5px solid #e8edf5;
    border-radius: 16px;
    padding: 20px;
}
.eb-pd-info-card-title {
    font-size: .82rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.eb-pd-info-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.eb-pd-info-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .85rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f4ff;
}
.eb-pd-info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.eb-pd-info-label { color: #9ca3af; font-weight: 500; }
.eb-pd-info-val   { color: #0f172a; font-weight: 600; text-align: right; }
.eb-pd-info-val a { color: #2563eb; }
.eb-pd-info-val small { color: #9ca3af; font-weight: 400; }

.eb-pd-trust-card {
    background: white;
    border: 1.5px solid #e8edf5;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex; flex-direction: column; gap: 14px;
}
.eb-pd-trust-badge-item {
    display: flex; align-items: center; gap: 12px;
}
.eb-pd-trust-badge-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.eb-pd-trust-badge-item strong { display: block; font-size: .82rem; font-weight: 700; color: #0f172a; }
.eb-pd-trust-badge-item span   { display: block; font-size: .72rem; color: #9ca3af; margin-top: 1px; }

/* ── What's Included tab ── */
.eb-pd-features-wrap { min-width: 0; }
.eb-pd-features-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1.5px solid #f0f4ff; }

.eb-pd-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}
.eb-pd-feature-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8faff;
    border: 1.5px solid #e8edf5;
    border-radius: 12px;
    transition: all .25s ease;
    font-size: .88rem;
    font-weight: 500;
    color: #374151;
}
.eb-pd-feature-card:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,99,235,.08);
}
.eb-pd-feature-num {
    font-size: .65rem;
    font-weight: 800;
    color: #9ca3af;
    letter-spacing: .04em;
    flex-shrink: 0;
}
.eb-pd-feature-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Files section */
.eb-pd-files-section { margin-top: 8px; }
.eb-pd-files-title {
    font-size: .85rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 14px;
    display: flex; align-items: center; gap: 6px;
}
.eb-pd-files-grid { display: flex; flex-direction: column; gap: 10px; }
.eb-pd-file-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: white;
    border: 1.5px solid #e8edf5;
    border-radius: 12px;
    transition: all .2s ease;
}
.eb-pd-file-card:hover { border-color: #bfdbfe; box-shadow: 0 3px 10px rgba(37,99,235,.08); }
.eb-pd-file-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.eb-pd-file-info { flex: 1; min-width: 0; }
.eb-pd-file-name { font-size: .88rem; font-weight: 600; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-pd-file-meta { font-size: .75rem; color: #9ca3af; margin-top: 2px; }
.eb-pd-file-badge {
    font-size: .65rem;
    font-weight: 800;
    color: #2563eb;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 6px;
    padding: 3px 8px;
    flex-shrink: 0;
}

/* Empty state */
.eb-pd-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #9ca3af;
}
.eb-pd-empty-state p { margin: 12px 0 0; font-size: .9rem; }

/* ── Reviews tab ── */
.eb-pd-reviews-wrap { min-width: 0; }

/* Rating summary */
.eb-pd-rating-summary {
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, #f8faff, #fff8f0);
    border: 1.5px solid #e8edf5;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.eb-pd-rating-big { text-align: center; flex-shrink: 0; }
.eb-pd-rating-big-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -.04em;
}
.eb-pd-rating-big-stars { display: flex; gap: 3px; justify-content: center; margin: 6px 0 4px; }
.eb-pd-rating-big-label { font-size: .78rem; color: #9ca3af; font-weight: 500; }

.eb-pd-rating-bars { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 180px; }
.eb-pd-rating-bar-row { display: flex; align-items: center; gap: 10px; }
.eb-pd-rating-bar-label { font-size: .75rem; font-weight: 600; color: #6b7280; width: 28px; flex-shrink: 0; }
.eb-pd-rating-bar-track {
    flex: 1; height: 8px;
    background: #e8edf5; border-radius: 99px; overflow: hidden;
}
.eb-pd-rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    border-radius: 99px;
    transition: width .6s ease;
}
.eb-pd-rating-bar-count { font-size: .72rem; color: #9ca3af; font-weight: 500; width: 16px; text-align: right; flex-shrink: 0; }

/* Review list */
.eb-pd-reviews-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }

.eb-pd-review-card {
    background: #f8faff;
    border: 1.5px solid #e8edf5;
    border-radius: 16px;
    padding: 20px 22px;
    transition: box-shadow .2s;
}
.eb-pd-review-card:hover { box-shadow: 0 4px 16px rgba(37,99,235,.07); }
.eb-pd-review-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.eb-pd-reviewer-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.eb-pd-reviewer-info { flex: 1; }
.eb-pd-reviewer-info strong { display: block; font-size: .875rem; color: #0f172a; font-weight: 700; }
.eb-pd-reviewer-info span  { font-size: .75rem; color: #9ca3af; }
.eb-pd-review-stars { display: flex; gap: 2px; }
.eb-pd-review-title { font-weight: 700; font-size: .9rem; color: #0f172a; margin-bottom: 6px; }
.eb-pd-review-body  { font-size: .875rem; color: #475569; line-height: 1.65; margin: 0; }

/* No reviews */
.eb-pd-no-reviews {
    text-align: center; padding: 48px 24px;
    background: #f8faff; border: 1.5px dashed #e8edf5; border-radius: 16px;
}
.eb-pd-no-reviews-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.eb-pd-no-reviews h4 { font-size: 1rem; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.eb-pd-no-reviews p  { font-size: .875rem; color: #9ca3af; margin: 0; }

/* Review form */
.eb-pd-review-form-wrap {
    background: white;
    border: 1.5px solid #e8edf5;
    border-radius: 16px;
    padding: 28px;
    margin-top: 8px;
}
.eb-pd-star-picker-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.eb-pd-star-picker-label { font-size: .85rem; font-weight: 600; color: #374151; flex-shrink: 0; }
.eb-pd-star-picker { display: flex; flex-direction: row-reverse; gap: 4px; }
.eb-pd-star-picker input { display: none; }
.eb-pd-star-picker label {
    font-size: 1.75rem; color: #e5e7eb; cursor: pointer;
    transition: color .15s, transform .15s;
}
.eb-pd-star-picker input:checked ~ label,
.eb-pd-star-picker label:hover,
.eb-pd-star-picker label:hover ~ label { color: #fbbf24; transform: scale(1.15); }

.eb-pd-review-error {
    background: #fef2f2; border: 1px solid #fca5a5;
    border-radius: 10px; padding: 10px 14px;
    color: #991b1b; font-size: .85rem; margin-bottom: 14px;
}
.eb-pd-review-input,
.eb-pd-review-textarea {
    width: 100%; padding: 12px 16px; margin-bottom: 14px;
    background: #f8faff; border: 1.5px solid #e8edf5;
    border-radius: 12px; font-size: .9rem; color: #0f172a;
    font-family: inherit; outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    display: block;
}
.eb-pd-review-input:focus,
.eb-pd-review-textarea:focus {
    border-color: #2563eb; background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.eb-pd-review-textarea { resize: vertical; min-height: 120px; }
.eb-pd-review-submit {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white; border: none; border-radius: 50px;
    font-size: .9rem; font-weight: 700; cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(37,99,235,.3);
    transition: all .25s ease;
}
.eb-pd-review-submit:hover { background: linear-gradient(135deg,#f97316,#ea580c); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.4); }

/* Login prompt */
.eb-pd-review-login-prompt {
    text-align: center; padding: 32px 20px;
    background: #f8faff; border: 1.5px dashed #e8edf5; border-radius: 16px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: #6b7280; font-size: .9rem;
}
.eb-pd-review-login-prompt a { color: #2563eb; font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .eb-pd-desc-layout { grid-template-columns: 1fr; }
    .eb-pd-desc-sidebar { flex-direction: row; flex-wrap: wrap; }
    .eb-pd-info-card, .eb-pd-trust-card { flex: 1 1 280px; }
}
@media (max-width: 575px) {
    .eb-pd-panel { padding: 20px 16px; }
    .eb-pd-tab { padding: 13px 14px; font-size: .82rem; }
    .eb-pd-features-grid { grid-template-columns: 1fr; }
    .eb-pd-rating-summary { flex-direction: column; gap: 20px; }
    .eb-pd-rating-bars { width: 100%; }
    .eb-pd-desc-sidebar { flex-direction: column; }
}


/* ============================================================
   50. FLOATING ACTION BUTTON STACK (product details page)
   ============================================================ */

/* Stack container — see section 39 for the unified .eb-float-actions column */
.eb-fab-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, visibility .3s ease,
                transform .35s cubic-bezier(.34,1.56,.64,1);
    pointer-events: none;
}
.eb-fab-stack.eb-fab-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


/* ============================================================
   51. TESTIMONIAL SUBMISSION — SHARED COMPONENTS
   ============================================================ */

/* ── Order Success page share card ── */
.eb-success-share-wrap {
    padding: 0 0 48px;
    background: linear-gradient(160deg, #f0f4ff 0%, #fff8f0 100%);
}
.eb-success-share-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1.5px solid #e8edf5;
    border-radius: 18px;
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(37,99,235,.06);
    flex-wrap: wrap;
}
.eb-success-share-icon { font-size: 2rem; flex-shrink: 0; }
.eb-success-share-text {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.eb-success-share-text strong { font-size: .95rem; font-weight: 700; color: #0f172a; }
.eb-success-share-text span   { font-size: .82rem; color: #6b7280; }
.eb-success-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(37,99,235,.25);
    transition: all .25s ease;
    flex-shrink: 0;
}
.eb-success-share-btn:hover {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    box-shadow: 0 6px 20px rgba(249,115,22,.4);
    transform: translateY(-2px);
}
@media (max-width: 575px) {
    .eb-success-share-card { flex-direction: column; align-items: flex-start; }
    .eb-success-share-btn  { width: 100%; justify-content: center; }
}

/* ── My Account downloads tab share prompt ── */
.eb-account-share-prompt {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(37,99,235,.04) 0%, rgba(249,115,22,.04) 100%);
    border: 1.5px solid rgba(37,99,235,.12);
    border-radius: 14px;
    flex-wrap: wrap;
}
.eb-account-share-prompt > span { font-size: 1.5rem; flex-shrink: 0; }
.eb-account-share-prompt > div  { flex: 1; min-width: 150px; }
.eb-account-share-prompt strong { display: block; font-size: .88rem; font-weight: 700; color: #0f172a; }
.eb-account-share-prompt span   { font-size: .78rem; color: #6b7280; }
.eb-account-share-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: #2563eb;
    color: white;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .2s ease;
    box-shadow: 0 3px 10px rgba(37,99,235,.25);
}
.eb-account-share-link:hover {
    background: #f97316;
    color: white;
    box-shadow: 0 4px 14px rgba(249,115,22,.35);
    transform: translateY(-1px);
}
@media (max-width: 575px) {
    .eb-account-share-prompt { flex-direction: column; align-items: flex-start; }
    .eb-account-share-link { width: 100%; justify-content: center; }
}


/* ── Testimonial gate card (not eligible) ── */
.st-gate-card {
    background: white;
    border-radius: 24px;
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 4px 32px rgba(37,99,235,.07);
    border: 1.5px solid #e8edf5;
}
.st-gate-icon  { font-size: 3rem; display: block; margin-bottom: 16px; }
.st-gate-title { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin-bottom: 12px; letter-spacing: -.025em; }
.st-gate-text  {
    font-size: .95rem; color: #6b7280; line-height: 1.75;
    max-width: 420px; margin: 0 auto 28px;
}


/* ============================================================
   52. HOME — ABOUT SECTION REDESIGN
   ============================================================ */

/* ── Visual panel (left column) ── */
.eb-about-visual-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Image box (left column) ── */
.eb-about-img-box {
    height: 100%;
}

/* Image frame — full height to match the content column */
.eb-about-img-frame {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 50%, #fff7ed 100%);
    border-radius: 28px;
    border: 1.5px solid #e8edf5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    box-shadow: 0 8px 40px rgba(37,99,235,.08);
    overflow: hidden;
    position: relative;
    height: 100%;
    min-height: 420px;
}
/* Subtle inner decoration */
.eb-about-img-frame::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(37,99,235,.07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.eb-about-img-frame::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -30px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(249,115,22,.06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.eb-about-img {
    max-width: 80%;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 12px 32px rgba(37,99,235,.18));
    transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.eb-about-img-frame:hover .eb-about-img {
    transform: scale(1.04) translateY(-4px);
}

/* ── Right content column ── */
.eb-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 22px 0 0;
}
.eb-about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8faff;
    border: 1.5px solid #e8edf5;
    border-radius: 14px;
    padding: 14px 16px;
    transition: all .25s ease;
}
.eb-about-feature-item:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37,99,235,.08);
}
.eb-about-feature-icon-wrap {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.eb-about-feature-text strong {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}
.eb-about-feature-text span {
    font-size: .75rem;
    color: #9ca3af;
    line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .eb-about-img-frame { min-height: 300px; padding: 36px 28px; }
}
@media (max-width: 575px) {
    .eb-about-features { grid-template-columns: 1fr; }
    .eb-about-img-frame { min-height: 240px; padding: 28px 20px; }
    .eb-about-img { max-width: 60%; }
}


/* ============================================================
   53. RESPONSIVE FIXES — MOBILE & TABLET
   ============================================================ */

/* ── Hero: prevent emoji floats from causing horizontal scroll ── */
.eb-hero-emoji-float { pointer-events: none; }

/* ── Hero stat badges: hide at very small screens to avoid clipping ── */
@media (max-width: 375px) {
    .eb-hero-stat-badge { display: none; }
}

/* ── Mobile nav: allow menu to grow beyond 600px if content needs it ── */
@media (max-width: 991px) {
    .eb-navbar-content.active {
        max-height: 100svh; /* grows with content on any screen size */
        max-height: 100vh;  /* fallback for older browsers */
    }
    /* Ensure nav links meet 44px minimum touch target */
    .eb-nav-link { min-height: 44px; display: flex; align-items: center; }
}

/* ── FAB hover-expand: touch devices should not get stuck in expanded state ── */
@media (hover: none) {
    /* On touch devices, keep FAB as circle — no label expansion */
    .eb-fab:hover { width: 48px; }
    .eb-fab:hover .eb-fab-label { max-width: 0; opacity: 0; }
}
@media (hover: none) and (max-width: 575px) {
    .eb-fab:hover { width: 42px; }
}

/* ── Fix body.has-fab back-to-top position ── */
body.has-fab .eb-back-to-top {
    bottom: auto; /* reset — position is handled by eb-float-actions column */
}

/* ── Cart: coupon row wraps on very small screens ── */
.eb-cart-coupon-row { flex-wrap: wrap; }
@media (max-width: 400px) {
    .eb-cart-coupon-input { width: 100%; flex-basis: 100%; }
    .eb-cart-coupon-btn   { width: 100%; }
}

/* ── Cart remove button: ensure 44px touch target ── */
.eb-cart-remove-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── Checkout: summary card shows ABOVE billing on mobile ── */
@media (max-width: 991px) {
    .eb-checkout-grid { display: flex; flex-direction: column; }
    .eb-checkout-right { order: -1; } /* summary first, billing below */
}

/* ── Auth pages: password toggle meets 44px touch target ── */
.eb-auth-eye,
.btn-password-toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── Auth card: proper padding on very small phones ── */
@media (max-width: 400px) {
    .eb-auth-card { padding: 24px 16px 20px; border-radius: 16px; }
    .eb-auth-form-title { font-size: 1.3rem; }
}

/* ── Back-to-top + FAB: ensure 44px minimum on mobile ── */
@media (max-width: 575px) {
    .eb-float-actions { bottom: 16px; right: 12px; gap: 8px; }
    .eb-back-to-top   { width: 44px; height: 44px; } /* was 42, now meets min */
    .eb-fab           { width: 44px; height: 44px; }
}

/* ── Steps grid: tablet shows 2×2, mobile shows 1-col ── */
@media (max-width: 767px) {
    .eb-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .eb-steps-grid { grid-template-columns: 1fr; }
    .eb-steps-grid::before { display: none; } /* hide connector line */
}

/* ── About section: image col stacks on top on mobile ── */
@media (max-width: 991px) {
    .eb-about-img-box { height: auto; }
    .eb-about-img-frame { min-height: 260px; }
}

/* ── Who-for section responsive (handled in redesign block above) ── */

/* ── Product details tabs: horizontal scroll on small screens ── */
@media (max-width: 575px) {
    .eb-pd-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .eb-pd-tab  { font-size: .78rem; padding: 12px 12px; flex-shrink: 0; }
    .eb-pd-desc-layout { grid-template-columns: 1fr; }
    .eb-pd-rating-summary { flex-direction: column; gap: 16px; }
}

/* ── Product details hero: stack on mobile ── */
@media (max-width: 991px) {
    .eb-pd-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .eb-pd-hero-grid > .eb-pd-hero-right { display: block; }
    .eb-pd-buy-card { position: static; }
    .eb-pd-hero-img-main { aspect-ratio: 16/9; }
}
@media (max-width: 575px) {
    .eb-pd-hero-grid { grid-template-columns: 1fr; }
    .eb-pd-hero-image-col { order: -1; }
}

/* ── Order success: share card stacks on mobile ── */
@media (max-width: 575px) {
    .eb-success-share-card { flex-direction: column; align-items: flex-start; }
    .eb-success-share-btn { width: 100%; justify-content: center; }
    .eb-success-grid { grid-template-columns: 1fr; }
}

/* ── Category marquee: no overflow bleed ── */
.eb-cat-showcase { overflow: hidden; }

/* ============================================================
   GLOBAL HORIZONTAL SCROLL FIX
   Prevents any element from causing horizontal overflow
   on mobile browsers (iOS Safari, Android Chrome, etc.)
   ============================================================ */

/* Ensure all images and media are constrained */
img, video, svg, iframe, embed, object {
    max-width: 100%;
}

/* Clip all sections and major layout containers */
section,
.eb-section-featured,
.eb-section-about,
.eb-section-testimonials,
.eb-section-newsletter,
.eb-why-choose-section,
.eb-about-section,
.eb-stats-strip,
.eb-courses-hero,
.eb-legal-hero,
.eb-legal-body,
.eb-blog-hero,
.ab-hero,
.eb-about-cta,
.eb-cart-page,
.eb-checkout-page,
.eb-orders-page,
.eb-success-page,
.eb-account-page,
.eb-pd-hero,
footer {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Prevent decorative pseudo-elements from causing scroll */
section::before,
section::after {
    max-width: 100%;
}

/* On mobile, disable all horizontal scroll-reveal animations
   and rely on fade-up only — translateX bleed is a common cause */
@media (max-width: 767px) {
    [data-scroll-reveal="left"],
    [data-scroll-reveal="right"] {
        transform: translateY(16px) !important;
    }
    [data-scroll-reveal].revealed {
        transform: translate(0, 0) !important;
    }

    /* Clip decorative circles in why-choose and similar sections */
    .eb-why-circle-1,
    .eb-why-circle-2,
    .eb-why-circle-3 {
        display: none;
    }

    /* Stat badges that are absolute-positioned off-screen */
    .eb-stat-badge-1,
    .eb-stat-badge-2 {
        display: none;
    }

    /* Hero orbs — keep them but clip at section level */
    .eb-hero-orb-1,
    .eb-hero-orb-2,
    .eb-hero-orb-3 {
        filter: blur(40px);
        transform: scale(0.6) !important;
    }

    /* Prevent table from expanding beyond viewport */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    /* Prevent wide code blocks */
    pre, code {
        overflow-x: auto;
        max-width: 100%;
        white-space: pre-wrap;
        word-break: break-word;
    }
}

/* ═══════════════════════════════════════════════════════════
   SEO / PAGE SPEED ADDITIONS — Core Web Vitals & Mobile UX
   ═══════════════════════════════════════════════════════════ */

/* ── iOS Auto-Zoom Prevention ────────────────────────────────
   iOS Safari zooms in on inputs with font-size < 16px.
   Force 16px on mobile so the page doesn't shift on focus.
   ─────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ── CLS Prevention — reserve image space before load ────────
   Prevents layout shift on product/blog/course card images.
   ─────────────────────────────────────────────────────────── */
img {
    height: auto; /* Maintain aspect ratio when width is constrained */
}

/* Product card images */
.eb-course-img img,
.eb-course-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

/* Blog card images */
.eb-blog-card-img img,
.eb-blog-card-img-wrap img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

/* Product detail hero image */
.eb-pd-hero-img-main {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

/* Blog post cover */
.eb-post-cover {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

/* Footer logo */
.eb-footer-logo-icon {
    width: 36px;
    height: 36px;
}

/* ── Improve tap target sizes on mobile ──────────────────────
   WCAG 2.5.5 recommends at least 44×44px tap targets.
   ─────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .eb-nav-link,
    .eb-btn-login,
    .eb-btn-get-started,
    .eb-footer-links a,
    .eb-footer-contact-list a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .eb-back-to-top {
        width: 48px;
        height: 48px;
    }
}

/* ── Reading progress bar — prevent CLS flash ────────────────
   Start with 0 width and no transition on first paint.
   ─────────────────────────────────────────────────────────── */
.eb-read-progress {
    contain: strict;
}

/* ── Font display swap — reduce FOUT impact ──────────────────
   Applied via font-face if you self-host fonts in future.
   ─────────────────────────────────────────────────────────── */

/* ── Reduced motion — respect user OS preference ────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .eb-hero-orb,
    .eb-cat-track,
    .eb-floating-card {
        animation: none !important;
        transform: none !important;
    }
}

/* ── Print styles — hide non-essential elements ──────────────── */
@media print {
    .eb-header-wrapper,
    .eb-footer,
    .eb-newsletter,
    .eb-back-to-top,
    .eb-float-actions,
    .eb-read-progress,
    .eb-hero-buttons,
    .eb-promo-banner {
        display: none !important;
    }
}
