/* ==========================================================
   Beyond Development - We Deliver Transformation Section
   File: bdt-section.css
   Prefix: lzg-bdt- (avoids class name conflicts)
   Compatible with: corePHP, HTML5, GSAP 3, Lottie, Three.js
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

/* ---- Keyframes ---- */
@keyframes lzgFloat {
    0%   { transform: translateY(0px); }
    100% { transform: translateY(-18px); }
}
@keyframes lzgPulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.35); }
    50%       { box-shadow: 0 0 0 14px rgba(201,168,76,0); }
}
@keyframes lzgMarqueeSlide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes lzgShimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

/* ---- Section Wrapper ---- */
.lzg-bdt-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px;
    background-color: #0d0a05;
    background-image: url('images/bdt-bg.jpg'); /* place your bg image here */
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    font-family: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Overlay ---- */
.lzg-bdt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,10,5,0.88) 0%,
        rgba(13,10,5,0.70) 50%,
        rgba(13,10,5,0.92) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* ---- Particles Container ---- */
.lzg-bdt-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.lzg-bdt-particle {
    position: absolute;
    border-radius: 50%;
    background: #c9a84c;
}

/* ---- Container ---- */
.lzg-bdt-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ---- Header Area ---- */
.lzg-bdt-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ---- Badge ---- */
.lzg-bdt-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(201,168,76,0.10);
    border: 1px solid rgba(201,168,76,0.28);
    border-radius: 100px;
    padding: 8px 22px;
    color: #c9a84c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0; /* GSAP animates this */
}
.lzg-bdt-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c9a84c;
    animation: lzgPulseGold 2.2s ease infinite;
    flex-shrink: 0;
}

/* ---- Main Heading ---- */
.lzg-bdt-heading {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    color: #ffffff;
    margin: 0 0 26px;
    letter-spacing: -1.5px;
    opacity: 0; /* GSAP animates */
}
.lzg-bdt-heading .lzg-bdt-accent {
    color: #c9a84c;
}

/* ---- Sub Text ---- */
.lzg-bdt-sub {
    font-size: clamp(15px, 1.7vw, 18px);
    color: rgba(255,255,255,0.58);
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto;
    opacity: 0; /* GSAP animates */
}

/* ---- Cards Grid ---- */
.lzg-bdt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 80px;
}

/* ---- Single Card ---- */
.lzg-bdt-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(201,168,76,0.14);
    border-radius: 16px;
    padding: 36px 28px 68px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s ease, background 0.35s ease;
    cursor: default;
    opacity: 0; /* GSAP animates */
}
.lzg-bdt-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.lzg-bdt-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(201,168,76,0.04), transparent);
    pointer-events: none;
}
.lzg-bdt-card:hover {
    border-color: rgba(201,168,76,0.42);
    background: rgba(201,168,76,0.04);
    transform: translateY(-7px);
}
.lzg-bdt-card:hover::before { opacity: 1; }

/* ---- Card Icon ---- */
.lzg-bdt-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(201,168,76,0.09);
    border: 1px solid rgba(201,168,76,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.lzg-bdt-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: #c9a84c;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- Card Number ---- */
.lzg-bdt-card-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a84c;
    opacity: 0.65;
    margin-bottom: 12px;
}

/* ---- Card Title ---- */
.lzg-bdt-card-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
}

/* ---- Card Description ---- */
.lzg-bdt-card-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.48);
    line-height: 1.72;
}

/* ---- Card Arrow ---- */
.lzg-bdt-card-arrow {
    position: absolute;
    bottom: 26px;
    right: 26px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a84c;
    font-size: 16px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.lzg-bdt-card:hover .lzg-bdt-card-arrow {
    background: #c9a84c;
    border-color: #c9a84c;
    color: #0d0a05;
}

/* ---- Divider ---- */
.lzg-bdt-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 56px;
}
.lzg-bdt-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.28), transparent);
    transform: scaleX(0);
    transform-origin: left;
}
.lzg-bdt-divider-line.lzg-bdt-line-right {
    transform-origin: right;
}
.lzg-bdt-divider-text {
    font-size: 11px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(201,168,76,0.48);
    white-space: nowrap;
    font-weight: 600;
}

/* ---- Stats Row ---- */
.lzg-bdt-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 72px;
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 16px;
    overflow: hidden;
}
.lzg-bdt-stat-item {
    text-align: center;
    padding: 38px 20px;
    border-right: 1px solid rgba(201,168,76,0.08);
    opacity: 0; /* GSAP animates */
    position: relative;
}
.lzg-bdt-stat-item:last-child {
    border-right: none;
}
.lzg-bdt-stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(201,168,76,0.02);
    opacity: 0;
    transition: opacity 0.3s;
}
.lzg-bdt-stat-item:hover::before { opacity: 1; }

/* ---- Counter Number ---- */
.lzg-bdt-count {
    font-size: clamp(38px, 4.5vw, 56px);
    font-weight: 800;
    color: #c9a84c;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

/* ---- Stat Label ---- */
.lzg-bdt-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.48);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ---- Tags ---- */
.lzg-bdt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 0;
}
.lzg-bdt-tag {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    transition: all 0.3s ease;
    cursor: default;
    opacity: 0; /* GSAP animates */
}
.lzg-bdt-tag:hover {
    border-color: rgba(201,168,76,0.38);
    color: #c9a84c;
    background: rgba(201,168,76,0.07);
}

/* ---- Marquee ---- */
.lzg-bdt-marquee-wrap {
    overflow: hidden;
    margin-top: 64px;
    padding: 26px 0;
    border-top: 1px solid rgba(201,168,76,0.07);
    border-bottom: 1px solid rgba(201,168,76,0.07);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.lzg-bdt-marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: lzgMarqueeSlide 32s linear infinite;
}
.lzg-bdt-marquee-item {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    font-size: 15px;
    color: rgba(255,255,255,0.32);
    font-weight: 500;
    letter-spacing: 0.3px;
}
.lzg-bdt-marquee-item .lzg-bdt-marquee-dot {
    color: #c9a84c;
    font-size: 10px;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .lzg-bdt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .lzg-bdt-section { padding: 80px 0 60px; }
    .lzg-bdt-grid { grid-template-columns: 1fr; }
    .lzg-bdt-stats {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 12px;
    }
    .lzg-bdt-stat-item:nth-child(2n) { border-right: none; }
    .lzg-bdt-stat-item { border-bottom: 1px solid rgba(201,168,76,0.08); }
    .lzg-bdt-stat-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
    .lzg-bdt-stats { grid-template-columns: 1fr; }
    .lzg-bdt-stat-item { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.08); }
    .lzg-bdt-stat-item:last-child { border-bottom: none; }
    .lzg-bdt-tags { justify-content: flex-start; }
}
