/* 
    Promo Agustus Hero Redesign 
    Isolated CSS styles exclusively for the new Promo Agustus slider.
    Do NOT use generic selectors like body, h1, img etc.
*/

.promo-agustus-hero {
    position: relative;
    width: 100%;
    /* Use the existing background asset exactly as the visual foundation */
    background: url('/assets/img/promo/agustus/background-agustus1.webp') no-repeat center center;
    background-size: cover;
    padding: 160px 0 100px;
    z-index: 0;
    overflow: hidden;
}

/* Ensure the hero doesn't overlap the navbar and behaves properly */
.promo-agustus-hero .container {
    position: relative;
    z-index: 2;
}

/* Left Content Card */
.promo-agustus-content-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05), inset 0 0 20px rgba(255,255,255,0.6);
    text-align: left;
}

/* Typography Overrides */
.promo-agustus-content-card .promo-label {
    color: #5b21b6; 
    font-size: 1rem; 
    letter-spacing: 1px;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.promo-agustus-content-card .promo-title {
    color: #3b0764; 
    line-height: 1.2; 
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.promo-agustus-content-card .promo-subtitle {
    font-weight: 700; 
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.promo-period-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.promo-agustus-content-card .promo-period-badge {
    background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
}

.promo-agustus-content-card .promo-price {
    color: #ff5500; 
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1;
}

.promo-agustus-content-card .promo-price-suffix {
    font-size: 1.1rem; 
    color: #333; 
    font-weight: 700;
}

.promo-agustus-content-card .promo-price-strikethrough {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Countdown */
.promo-agustus-countdown {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: flex-start;
}

.promo-agustus-countdown-card {
    background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
    color: #fff;
    border-radius: 12px;
    padding: 12px 15px;
    text-align: center;
    min-width: 75px;
    box-shadow: 0 6px 15px rgba(76, 29, 149, 0.3);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.promo-agustus-countdown-card span {
    display: block;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

/* CTA Button */
.promo-agustus-cta {
    background: linear-gradient(135deg, #ff7a00 0%, #ff5500 100%);
    color: #fff !important;
    border-radius: 8px;
    padding: 14px 40px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(255, 85, 0, 0.4);
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.promo-agustus-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.55);
    color: #fff;
}

/* Center Banner Image */
.promo-agustus-banner-img {
    max-width: 100%;
    height: auto;
    /* Soft shadow to integrate naturally over background */
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

/* Features Area */
.promo-agustus-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.promo-agustus-feature-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.promo-agustus-feature-item:hover {
    transform: translateX(-5px);
}

.promo-agustus-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fef0f0;
    color: #D71920;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 14px;
    flex-shrink: 0;
}

.promo-agustus-feature-text {
    font-weight: 700;
    color: #333;
    font-size: 15px;
    margin: 0;
    line-height: 1.2;
    text-align: left;
}

.promo-agustus-feature-text small {
    display: block;
    font-weight: 500;
    color: #777;
    font-size: 12px;
    margin-top: 3px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .promo-agustus-hero {
        padding: 120px 0 60px;
    }
    .promo-agustus-content-card {
        text-align: center;
        padding: 25px 20px;
    }
    .promo-agustus-countdown {
        justify-content: center;
    }
    .promo-agustus-feature-item:hover {
        transform: translateY(-3px) translateX(0);
    }
    .promo-agustus-feature-item {
        justify-content: center;
    }
}

/* Header override when Promo Agustus slide is active */
header.promo-agustus-active .header-top-right-list ul li,
header.promo-agustus-active .header-top-right-list ul li a,
header.promo-agustus-active .header-top-right-list ul li i {
    color: #ffffff !important;
}

/* Promo HUT PANDI 100K & 50K Hero Styles */
#slide-promo-100k .promo-agustus-content-card,
#slide-promo-50k .promo-agustus-content-card {
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
    padding: 32px 30px !important;
    text-align: left !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

#slide-promo-100k .promo-agustus-countdown-card,
#slide-promo-50k .promo-agustus-countdown-card {
    background-color: #4c1d95 !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    padding: 10px 6px !important;
    min-width: 58px !important;
    flex: 1 !important;
}

#slide-promo-100k .promo-agustus-countdown-card span.count-hari,
#slide-promo-100k .promo-agustus-countdown-card span.count-jam,
#slide-promo-100k .promo-agustus-countdown-card span.count-menit,
#slide-promo-100k .promo-agustus-countdown-card span.count-detik,
#slide-promo-50k .promo-agustus-countdown-card span.count-hari,
#slide-promo-50k .promo-agustus-countdown-card span.count-jam,
#slide-promo-50k .promo-agustus-countdown-card span.count-menit,
#slide-promo-50k .promo-agustus-countdown-card span.count-detik {
    color: #fff !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-bottom: 3px !important;
}

#slide-promo-100k .promo-agustus-cta,
#slide-promo-50k .promo-agustus-cta {
    background: linear-gradient(135deg, #ff7a00 0%, #ff5500 100%) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 13px 20px !important;
    box-shadow: 0 6px 18px rgba(255, 85, 0, 0.4) !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

#slide-promo-100k .promo-agustus-cta:hover,
#slide-promo-50k .promo-agustus-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.55) !important;
    color: #fff !important;
}

#slide-promo-100k .promo-agustus-cta.is-disabled {
    background: #9ca3af !important;
    background-color: #9ca3af !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.promo-100k-terms-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 14px 18px;
    border: 1px solid rgba(109, 40, 217, 0.12);
    box-shadow: 0 10px 25px rgba(59, 7, 100, 0.06);
    text-align: left;
}

.promo-100k-terms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.promo-100k-term-item {
    background: rgba(109, 40, 217, 0.03);
    border-radius: 8px;
    border-left: 3px solid #6d28d9;
    padding: 8px 10px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.promo-100k-term-item i {
    color: #6d28d9;
    font-size: 0.82rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.promo-100k-term-item span {
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
}

.promo-100k-terms-note {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed rgba(109, 40, 217, 0.15);
    font-size: 0.72rem;
    color: #4b5563;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.35;
}

.promo-100k-terms-note .note-star {
    color: #ff5500;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.1;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .promo-100k-terms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .promo-100k-terms-grid {
        grid-template-columns: 1fr;
    }
}

/* Align right column bottom flush with left card bottom on desktop */
@media (min-width: 992px) {
    .promo-hero-right-col {
        transform: translateY(-22px);
    }
}

/* Background & Slider Transition Smoothness */
/* slideshow-container background is set dynamically by JS to match the active slide */

.whmcs-area.whmcs-bg {
    background-color: #0c5adb;
}

.promo-agustus-hero {
    background-color: #2b0b57;
}

.slideshow-container {
    min-height: 100vh;
}

.slideshow-container .mySlides.active {
    position: relative !important;
}

.mySlides.only-slide,
.mySlides.active.only-slide {
    position: relative !important;
    transform: none !important;
    transition: none !important;
}


