/*------------------------------------------------------------------------------------- 
Theme Name:		 Digtek Child Theme
Theme URI:		 http://gramentheme.com/wp/digtek/
Description:	 Digtek - Digital Marketing Agency and SEO WordPress Theme
Author:			 gramentheme
Author URI:		 https://themeforest.net/user/gramentheme
Template:		 digtek
Version:		 1.0.0
Text Domain:	 digtek-child-theme
-------------------------------------------------------------------------------------*/
/*
    Please Add your custom styles here
*/

/* =====================================================
   FIX SECTION KET QUA THUC TE
   ===================================================== */
.section-title h2.text-white {
    font-size: 36px !important;
    line-height: 1.25 !important;
}
.counter-box .content h4 {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}
.counter-box .content p {
    color: rgba(255,255,255,0.82) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}
.counter-box-area .counter-box {
    border-color: rgba(255,255,255,0.4) !important;
}

/* FIX KET QUA THUC TE */
.section-title h2.text-white {
    font-size: 36px !important;
    line-height: 1.25 !important;
}
.counter-box .content h4 {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}
.counter-box .content p {
    color: rgba(255,255,255,0.82) !important;
    font-size: 13px !important;
}
.counter-box-area .counter-box {
    border-color: rgba(255,255,255,0.4) !important;
}

/* =====================================================
   STATS BOX — đổi màu + floating icons
   ===================================================== */

/* Đổi màu ô stats (counter-box-area) */
.audience-right {
    background: linear-gradient(145deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 100%) !important;
    border: 1.5px solid rgba(255,255,255,0.45) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
    padding: 28px 20px !important;
}

/* Numbers 100+ white */
.counter-box-area span.count {
    color: #fff !important;
    font-weight: 800 !important;
}

/* ---- FLOATING ICONS (bên trái section) ---- */
.cta-counter-section {
    position: relative;
    overflow: hidden;
}

/* Icon 1 — rocket nhỏ */
.cta-counter-section::before {
    content: '🚀';
    position: absolute;
    font-size: 22px;
    top: 15%;
    left: 2%;
    animation: pgm-float1 4s ease-in-out infinite;
    opacity: 0.7;
    pointer-events: none;
    z-index: 2;
}

/* Icon 2 — star */
.cta-counter-section::after {
    content: '⭐';
    position: absolute;
    font-size: 18px;
    bottom: 18%;
    left: 5%;
    animation: pgm-float2 5s ease-in-out infinite;
    opacity: 0.65;
    pointer-events: none;
    z-index: 2;
}

/* Icon 3 — chart (thêm qua pseudo của section-title) */
.elementor-element-f99ad30 .section-title::before {
    content: '📊';
    position: absolute;
    font-size: 20px;
    top: -10px;
    right: -30px;
    animation: pgm-float3 6s ease-in-out infinite;
    opacity: 0.6;
    pointer-events: none;
}
.elementor-element-f99ad30 .section-title {
    position: relative;
}

@keyframes pgm-float1 {
    0%,100% { transform: translateY(0px) rotate(-5deg); }
    50%      { transform: translateY(-14px) rotate(5deg); }
}
@keyframes pgm-float2 {
    0%,100% { transform: translateY(0px) scale(1); }
    50%      { transform: translateY(-10px) scale(1.15); }
}
@keyframes pgm-float3 {
    0%,100% { transform: translateY(0px) rotate(0deg); }
    50%      { transform: translateY(-8px) rotate(8deg); }
}


/* =====================================================
   COUNTER-BOX-AREA — đổi từ trắng sang tím gradient
   ===================================================== */
.audience-wrapper .audience-right .counter-box-area {
    background: linear-gradient(145deg, rgba(80,30,160,0.92) 0%, rgba(50,15,110,0.95) 100%) !important;
    border-radius: 16px !important;
    border: 1.5px solid rgba(255,255,255,0.25) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.15) !important;
    padding: 24px 20px !important;
}

/* Số 100+, 100% — white đậm */
.audience-wrapper .audience-right .counter-box-area span.count {
    color: #fff !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

/* Nhãn h4 — trắng */
.audience-wrapper .audience-right .counter-box .content h4 {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* Mô tả p — trắng mờ */
.audience-wrapper .audience-right .counter-box .content p {
    color: rgba(255,255,255,0.82) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

/* Divider giữa 2 counter box */
.audience-wrapper .audience-right .counter-box:first-child {
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    padding-right: 20px !important;
    margin-right: 20px !important;
}

/* Count numbers white — override CSS variable */
.audience-wrapper .audience-right .counter-box-area .counter-box span.count,
.audience-wrapper .audience-right .counter-box-area .counter-box .count {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25) !important;
}
/* suffix % sign cũng trắng */
.audience-wrapper .audience-right .counter-box-area .counter-box .count-suffix,
.audience-wrapper .audience-right .counter-box-area .counter-box span[class*="suffix"] {
    color: #ffffff !important;
}
