/* Categories */

/* ─── Reset & Base ─────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0d0e1a;
    --surface: #13152a;
    --surface2: #1b1e35;
    --accent: #f4a829;
    --accent2: #e05c2e;
    --text: #e8eaf6;
    --muted: #7b80a8;
    --border: rgba(255, 255, 255, 0.07);
    --glow: rgba(244, 168, 41, 0.35);
}



/* ─── Section ──────────────────────────────────────── */
.categories-section {
    padding: 0px 0 120px;
    position: relative;
    overflow: hidden;
}

/* Background grid lines */
.categories-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Radial glow blob */
.categories-section::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 168, 41, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: blobPulse 6s ease-in-out infinite;
}

@keyframes blobPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: .8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

.container_categories {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ─── Heading ──────────────────────────────────────── */
.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-head .eyebrow::before,
.section-head .eyebrow::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.section-head h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-head p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 16px;
}

/* ─── Search ───────────────────────────────────────── */
.search-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 52px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.search-box input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border-radius: 50px;
    border: 1.5px solid #3f488269;
    background: #f0f2ff;
    color: var(--text);
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border-color .3s, box-shadow .3s;
}

.search-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--glow);
}

.search-box input::placeholder {
    color: var(--muted);
}

.search-box .search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 18px;
    pointer-events: none;
    transition: color .3s;
}

.search-box input:focus+.search-icon {
    color: var(--accent);
}

/* ─── Filter Pills ─────────────────────────────────── */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pill {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s;
    font-family: 'DM Sans', sans-serif;
}

.pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pill.active {
    background: #6876ce;
    border-color: #d04c5d;
    color: #ffffff;
    font-weight: 700;
}

/* ─── Cards Grid ───────────────────────────────────── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Card ─────────────────────────────────────────── */
.cat-card {
    background: #d6d9ff38;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 25px 20px 20px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), border-color .3s, box-shadow .4s;

    box-shadow: 2px 2px 6px rgb(100 114 200 / 71%);

    /* Entry animation */
    opacity: 0;
    transform: translateY(40px);
    animation: cardEntry .6s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

/* Staggered delays */
.cat-card:nth-child(1) {
    animation-delay: 0.05s;
}

.cat-card:nth-child(2) {
    animation-delay: 0.10s;
}

.cat-card:nth-child(3) {
    animation-delay: 0.15s;
}

.cat-card:nth-child(4) {
    animation-delay: 0.20s;
}

.cat-card:nth-child(5) {
    animation-delay: 0.25s;
}

.cat-card:nth-child(6) {
    animation-delay: 0.30s;
}

.cat-card:nth-child(7) {
    animation-delay: 0.35s;
}

.cat-card:nth-child(8) {
    animation-delay: 0.40s;
}

.cat-card:nth-child(9) {
    animation-delay: 0.45s;
}

.cat-card:nth-child(10) {
    animation-delay: 0.50s;
}

.cat-card:nth-child(11) {
    animation-delay: 0.55s;
}

.cat-card:nth-child(12) {
    animation-delay: 0.60s;
}

@keyframes cardEntry {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Corner accent line */
.cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 3px 3px 0 0;
    transition: width .4s ease;
}

/* Glow overlay on hover */
.cat-card::after {
    content: '';
    position: absolute;
    background: radial-gradient(circle at 50% 60%, rgba(244, 168, 41, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .4s;
}

.cat-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(244, 168, 41, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(244, 168, 41, 0.2), 0 4px 20px var(--glow);
}

.cat-card:hover::before {
    width: 100%;
}

.cat-card:hover::after {
    opacity: 1;
}

/* ─── Icon area ────────────────────────────────────── */
.card-icon-wrap {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    border-radius: 50%;
    /* background: var(--surface2); */
    border: 2px solid #ce4456;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background .3s, border-color .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
    overflow: hidden;
}

/* spinning ring on hover */
.card-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 0deg, transparent 120deg, transparent 360deg);
    opacity: 0;
    transition: opacity .4s;
    animation: spinRing 2s linear infinite;
}

.cat-card:hover .card-icon-wrap::before {
    opacity: 1;
}

@keyframes spinRing {
    to {
        transform: rotate(360deg);
    }
}

.card-icon-wrap .inner {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: linear-gradient(220deg, #3f4882 30%, #7484e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: background .3s;
}

.cat-card:hover .card-icon-wrap {
    transform: rotate(-8deg) scale(1.12);
    border-color: var(--accent);
}

.cat-card:hover .inner {
    background: #ffffff;
}

.card-icon-wrap img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    filter: drop-shadow(0 0 0px transparent);
    transition: filter .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.cat-card:hover .card-icon-wrap img {
    filter: drop-shadow(0 0 10px var(--accent));
    transform: scale(1.1);
}

/* ─── Text ─────────────────────────────────────────── */
.card-title {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #000;
    margin-bottom: 8px;
    transition: color .3s;
}

.cat-card:hover .card-title {
    color: #ce4456;
}

.card-badge {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    background: #ce4456bf;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 3px 12px;
    transition: all .3s;
}

.cat-card:hover .card-badge {
    background: rgba(244, 168, 41, 0.12);
    border-color: rgba(244, 168, 41, 0.3);
    color: #000;
}

/* ─── Arrow CTA ────────────────────────────────────── */
.card-arrow {
    position: absolute;
    bottom: 16px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--muted);
    opacity: 0;
    transform: translateX(-6px);
    transition: all .3s;
}

.cat-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--accent);
    border-color: var(--accent);
    color: #0d0e1a;
}

/* ─── Hidden cards ─────────────────────────────────── */
.cat-card.hidden {
    display: none;
}

/* ─── No-results ───────────────────────────────────── */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 16px;
    display: none;
}

.no-results.visible {
    display: block;
}

/* ─── Count bar ────────────────────────────────────── */
.count-bar {
    text-align: center;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--muted);
}

.count-bar span {
    color: var(--accent);
    font-weight: 600;
}

















/* Banner */

/* ── Video Banner ────────────────────────────────────── */
/* .video-banner {
  position: relative;
  width: 90%;
  max-width: 1400px;
  height: 80vh;
  min-height: 460px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 0px 30px rgb(65 65 65 / 76%);
} */

/* Real video, fills frame */
/* .banner-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  filter: brightness(0.7) saturate(0.85);
} */

/* Left-heavy gradient — text area dark, right side shows video */
/* .banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg,
      rgba(14,18,60,0.92) 0%,
      rgba(14,18,60,0.70) 38%,
      rgba(14,18,60,0.20) 65%,
      transparent 100%
    ),
    linear-gradient(to top,
      rgba(14,18,60,0.60) 0%,
      transparent 45%
    );
} */

/*
  ── TRANSPARENT ANIMATION OVERLAY ────────────────────
  This <img> / <picture> sits ABOVE the video overlay.
  Background is 100% transparent — video shows through.
  Bird flies from bottom-left → settles at top-right as logo.
  object-fit:cover = fills any banner size automatically.
  Responsive: shifts object-position on mobile so bird+logo
  stay visible on the right side of smaller screens.
*/
.banner-anim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 3;
    pointer-events: none;
}

/* Text content — left side, above animation */
.banner-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px 60px;
    max-width: 620px;
}

.b-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #6ee060;
    margin-bottom: 18px;
    opacity: 0;
    animation: bSlideIn 0.65s ease 3.0s forwards;
}

.b-tag::before {
    content: '';
    width: 28px;
    height: 2px;
    background: #6ee060;
    border-radius: 2px;
    display: block;
}

.b-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 3.8vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 10px;
    opacity: 0;
    animation: bSlideIn 0.7s ease 3.16s forwards;
}

.b-title .accent {
    color: #6ee060;
    display: block;
}

.b-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(13px, 1.5vw, 17px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.80);
    margin-bottom: 18px;
    opacity: 0;
    animation: bSlideIn 0.7s ease 3.3s forwards;
}

.b-line {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #414a80, #7484e6, transparent);
    border-radius: 3px;
    margin-bottom: 18px;
    animation: bLine 0.6s ease 3.42s forwards;
}

@keyframes bLine {
    to {
        width: 58px;
    }
}

.b-desc {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 1.2vw, 14px);
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.85;
    max-width: 440px;
    margin-bottom: 30px;
    opacity: 0;
    animation: bSlideIn 0.7s ease 3.52s forwards;
}

.b-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 34px;
    opacity: 0;
    animation: bSlideIn 0.7s ease 3.65s forwards;
}

.b-stat .num {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 2.5vw, 36px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.b-stat .num em {
    color: #6ee060;
    font-style: normal;
}

.b-stat .lbl {
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-top: 4px;
}

.b-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    opacity: 0;
    animation: bSlideIn 0.7s ease 3.78s forwards;
}

.b-btn-primary {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(220deg, #3f4882 30%, #7484e6 100%);
    color: #fff;
    padding: 13px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 26px rgba(65, 74, 128, 0.55);
    transition: transform 0.28s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.28s;
}

.b-btn-primary:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 36px rgba(65, 74, 128, 0.65);
}

.b-btn-ghost {
    font-family: 'Poppins', sans-serif;
    background: transparent;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.38);
    transition: border-color 0.25s, background 0.25s;
}

.b-btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

/* Slide-in animation (used for all text elements) */
@keyframes bSlideIn {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bottom accent stripe */
.b-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    z-index: 11;
    background: linear-gradient(90deg, #414a80, #7484e6, #6ee060, transparent);
    animation: bStripe 0.9s ease 4.0s forwards;
}

@keyframes bStripe {
    to {
        width: 55%;
    }
}

/* Scroll hint */
.b-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: bFadeUp 0.6s ease 4.3s forwards;
}

.b-scroll span {
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
}

.b-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    position: relative;
}

.b-mouse::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    animation: bMouseDot 1.6s ease-in-out 4.5s infinite;
}

@keyframes bMouseDot {

    0%,
    100% {
        top: 5px;
        opacity: 1;
    }

    50% {
        top: 16px;
        opacity: 0.25;
    }
}

@keyframes bFadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1200px) {
    .video-banner {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .video-banner {
        width: 96%;
        height: 68vh;
    }

    .banner-content {
        padding: 0 40px 50px;
    }
}

@media (max-width: 768px) {
    .video-banner {
        width: 98%;
        height: 490px;
        min-height: 360px;
        border-radius: 22px;
        margin: 100px auto;
    }

    .banner-content {
        padding: 60px 24px 40px;
        max-width: 100%;
    }

    .banner-video {
        object-position: 62% top;
    }

    /* Shift animation focus right on mobile so bird/logo stay visible */
    .banner-anim {
        object-position: right center;
    }

    .b-stats {
        gap: 18px;
    }

    /* Deepen left overlay so text is readable over video face */
    /* .banner-overlay {
        background:
            linear-gradient(100deg, rgba(14, 18, 60, 0.95) 0%, rgba(14, 18, 60, 0.85) 50%, rgba(14, 18, 60, 0.40) 100%),
            linear-gradient(to top, rgba(14, 18, 60, 0.70) 0%, transparent 45%);
    } */
}

@media (max-width: 576px) {
    /* .video-banner {
        height: 55vh;
        min-height: 320px;
    } */

    .banner-content {
        padding: 52px 18px 36px;
    }

    .b-cta {
        flex-direction: column;
    }

    .b-scroll,
    .b-stripe {
        display: none;
    }
}

@media (max-width: 400px) {
    .b-title {
        font-size: 24px;
    }
}