/* =========================================
   Activities Page Specific Styles 
   ========================================= */

/* Hero Section Enhancement */
.activities-hero {
    position: relative;
    overflow: hidden;
}

.activities-hero .overlay {
    background: linear-gradient(135deg, rgb(37 49 80 / 60%), rgba(37, 49, 80, 0.95));
}

/* Trust Banner */
.trust-banner {
    background: linear-gradient(90deg, var(--theme-color-3), #1a233a);
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(37, 49, 80, 0.2);
}

.trust-banner::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    background: var(--theme-color-2);
    border-radius: 50%;
    opacity: 0.1;
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--theme-color-2);
}

/* Value of Adult Literacy */
.value-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--theme-color-2);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(254, 189, 17, 0.15);
    color: var(--theme-color-2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

/* Criteria List (Who Qualifies) */
.criteria-list {
    list-style: none;
    padding: 0;
}

.criteria-list li {
    background: #f8f9fa;
    margin-bottom: 15px;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--theme-color-3);
    transition: all 0.3s ease;
}

.criteria-list li:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateX(10px);
}

.criteria-list li i {
    color: var(--theme-color-2);
    font-size: 24px;
}

/* Implementation Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background: #eee;
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 20px;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--theme-color-2);
    color: var(--theme-color-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 0 8px #fff, 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--theme-color-2);
}

/* Three Verticals Diagram */
.verticals-wrapper {
    position: relative;
    padding: 20px 0;
}

.vertical-item {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    height: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    text-align: center;
}

.vertical-item:hover {
    border-color: var(--theme-color-2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.vertical-item .icon-box {
    width: 80px;
    height: 80px;
    background: rgba(254, 189, 17, 0.15);
    color: var(--theme-color-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.vertical-item:hover .icon-box {
    background: var(--theme-color-2);
    color: var(--theme-color-3);
    transform: scale(1.1);
}

.vertical-item .step-num {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 60px;
    font-weight: 800;
    color: #f5f5f5;
    line-height: 1;
    z-index: -1;
    font-family: var(--outfit-font);
}

/* Kit Grid Premium */
.kit-item-premium {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}

.kit-item-premium:hover {
    background: var(--theme-color-3);
    color: #fff;
    transform: translateY(-5px);
}

.kit-item-premium .kit-icon {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--theme-color-3);
    transition: all 0.3s ease;
}

.kit-item-premium:hover .kit-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--theme-color-2);
}

.kit-item-premium h5 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 700;
    transition: color 0.3s ease;
}

.kit-item-premium:hover h5 {
    color: #fff;
}

/* Upcoming Plans */
.plan-card {
    background: linear-gradient(135deg, var(--theme-color-3), #1a233a);
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    box-shadow: 0 15px 40px rgba(37, 49, 80, 0.15);
}

.plan-list {
    list-style: none;
    padding: 0;
}

.plan-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.plan-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--theme-color-2);
}

/* Small adjustments */
.section-title {
    color: var(--theme-color-3);
    font-weight: 700;
    font-family: var(--outfit-font);
}

@media (max-width: 767px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-icon {
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .remove-border-lg-end {
        border: none !important;
    }
}

/* Premium Responsive Image-Based Study Kit Cards */
.study-kit-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(37, 49, 80, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.study-kit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.study-kit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 49, 80, 0.85), rgba(37, 49, 80, 0.55));
    z-index: -1;
    transition: background 0.4s ease;
}

/* Diagonal gloss effect */
.study-kit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: left 0.8s ease;
    z-index: 2;
}

.study-kit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(37, 49, 80, 0.2);
    border-color: rgba(254, 189, 17, 0.4);
}

.study-kit-card:hover .study-kit-bg {
    transform: scale(1.08);
}

.study-kit-card:hover .study-kit-overlay {
    background: linear-gradient(135deg, rgba(37, 49, 80, 0.9), rgba(37, 49, 80, 0.6));
}

.study-kit-card:hover::before {
    left: 150%;
}

.study-kit-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.study-kit-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.study-kit-card:hover .study-kit-badge {
    background: var(--theme-color-2, #febd11);
    border-color: var(--theme-color-2, #febd11);
    color: var(--theme-color-3, #253150);
    box-shadow: 0 4px 10px rgba(254, 189, 17, 0.3);
}

.study-kit-title {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    font-family: var(--outfit-font, sans-serif);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

@media (max-width: 991px) {
    .study-kit-card {
        min-height: 200px;
        padding: 25px 20px;
    }
    
    .study-kit-title {
        font-size: 18px;
    }
}