/* =========================================
   CBT ENGINE & ASSESSMENTS SPECIFIC STYLES
========================================= */

/* --- INNER PAGE HERO --- */
.inner-page-hero {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    padding: 100px 0 80px 0;
    position: relative;
    border-bottom: 1px solid rgba(126, 34, 206, 0.1);
    overflow: hidden; 
}

/* --- HERO MOCKUP IMAGE (Sizing Fix) --- */
.hero-mockup-img {
    width: 100%;
    max-width: 400px; /* Reduced desktop size */
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* --- FLOATING 3D-STYLE ICONS --- */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(126, 34, 206, 0.15), inset 0 2px 5px rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.floating-element i {
    font-size: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.float-1 { top: 15%; left: 8%; width: 70px; height: 70px; animation: floatY 6s ease-in-out infinite; transform: rotate(-10deg); }
.float-2 { bottom: 15%; left: 45%; width: 85px; height: 85px; border-radius: 50%; animation: floatY 8s ease-in-out infinite reverse; }
.float-3 { top: 25%; right: 6%; width: 90px; height: 90px; animation: floatX 7s ease-in-out infinite; transform: rotate(15deg); }
.float-4 { bottom: 25%; right: 40%; width: 60px; height: 60px; animation: floatX 9s ease-in-out infinite reverse; opacity: 0.8; }

@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}
@keyframes floatX {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-20px) rotate(-5deg); }
}

.hero-content-wrapper { position: relative; z-index: 5; }

/* --- STANDARD FEATURE CARDS --- */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(88, 28, 135, 0.04);
    border: 1px solid #f3e8ff;
    height: 100%;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(126, 34, 206, 0.1);
}

/* FIX: FORCES ALL CARD IMAGES TO BE EXACTLY THE SAME SIZE WITHOUT SHRINKING */
.feature-card-img {
    width: 100%;
    height: 220px;
    min-height: 220px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.icon-box {
    width: 65px; height: 65px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 1.5rem;
}

/* --- DECAS "HOW IT WORKS" CARDS --- */
.decas-step-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(88, 28, 135, 0.05);
    border: 1px solid #f3e8ff;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}
.decas-step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(126, 34, 206, 0.12);
}
.decas-step-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 5px solid #f8fafc;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.decas-step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(126, 34, 206, 0.08);
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
}
.decas-content {
    position: relative;
    z-index: 1;
}

/* --- ALTERNATING SECTIONS --- */
.showcase-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(126, 34, 206, 0.15);
    border: 6px solid white;
    object-fit: cover;
}

/* --- DATA LISTS --- */
.data-list-item {
    background: #ffffff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    transition: 0.2s;
}
.data-list-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(126, 34, 206, 0.08);
    transform: translateX(5px);
}
.data-list-item i {
    font-size: 26px;
    margin-right: 20px;
    margin-top: 5px;
}

/* --- HIGH VISIBILITY BADGES --- */
.badge-high-vis {
    background-color: var(--primary);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(126, 34, 206, 0.3);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991px) {
    .floating-element { display: none; }
}
@media (max-width: 768px) {
    .hero-mockup-img {
        max-width: 300px; /* Reduces hero image size further on mobile devices */
    }
}