/* =========================================================
   DIGITAL LITERACY PROGRAM
========================================================= */

.digital-section {
    background: #f4f7fb;
}


/* =========================================================
   BADGE
========================================================= */

.digital-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.digital-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
    animation: digitalPulse 1.8s infinite;
}

@keyframes digitalPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(.75);
    }
}


/* =========================================================
   HERO
========================================================= */

.digital-hero {
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.digital-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(15, 70, 100, .10);
}


/* =========================================================
   DIGITAL ICON
========================================================= */

.digital-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 23px;
}


/* =========================================================
   TAGS
========================================================= */

.digital-tag {
    display: inline-flex;
    align-items: center;

    padding: 6px 11px;

    border-radius: 999px;

    background: #f1f5f9;
    border: 1px solid #e2e8f0;

    color: #475569;

    font-size: 11px;
    font-weight: 700;

    transition: all .25s ease;
}

.digital-tag:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}


/* =========================================================
   DIGITAL VISUAL
========================================================= */

.digital-visual {
    position: relative;
    background:
        radial-gradient(
            circle at center,
            rgba(59, 130, 246, .18),
            rgba(6, 182, 212, .08),
            transparent 70%
        );
}


/* =========================================================
   ORBIT
========================================================= */

.digital-orbit {
    position: relative;

    width: 260px;
    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.orbit-ring {
    position: absolute;

    border: 1px dashed rgba(37, 99, 235, .25);

    border-radius: 50%;

    animation: orbitRotate 18s linear infinite;
}


.ring-one {
    width: 210px;
    height: 210px;
}


.ring-two {
    width: 155px;
    height: 155px;

    animation-duration: 12s;
    animation-direction: reverse;
}


@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   MAIN ICON
========================================================= */

.digital-main-icon {
    width: 92px;
    height: 92px;

    border-radius: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 43px;

    background: white;

    border: 1px solid #dbeafe;

    box-shadow:
        0 20px 45px rgba(37, 99, 235, .18);

    position: relative;
    z-index: 5;

    animation: mainFloat 4s ease-in-out infinite;
}


@keyframes mainFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* =========================================================
   FLOATING ICONS
========================================================= */

.floating-icon {
    position: absolute;

    width: 46px;
    height: 46px;

    border-radius: 14px;

    background: white;

    border: 1px solid #e2e8f0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, .10);

    z-index: 10;
}


.float-one {
    top: 15px;
    right: 25px;

    animation: floatOne 4s ease-in-out infinite;
}


.float-two {
    right: 0;
    bottom: 45px;

    animation: floatTwo 4.5s ease-in-out infinite;
}


.float-three {
    left: 10px;
    bottom: 35px;

    animation: floatThree 4.2s ease-in-out infinite;
}


.float-four {
    left: 20px;
    top: 40px;

    animation: floatFour 4.8s ease-in-out infinite;
}


@keyframes floatOne {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


@keyframes floatTwo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}


@keyframes floatThree {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


@keyframes floatFour {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(9px);
    }
}


/* =========================================================
   INFORMATION CARDS
========================================================= */

.digital-info-card {
    display: flex;
    align-items: center;
    gap: 12px;

    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    padding: 15px;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.digital-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, .07);
}


.info-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
}


.info-label {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 700;
}


.info-value {
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.35;
}


/* =========================================================
   MODULE
========================================================= */

.digital-module {
    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    padding: 22px;

    box-shadow: 0 5px 20px rgba(15, 23, 42, .035);
}


.module-header {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;
}


.module-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;

    border-radius: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;
}


.module-title {
    color: #104d3d;

    font-size: 18px;

    font-weight: 800;
}


.module-subtitle {
    margin-top: 2px;

    color: #94a3b8;

    font-size: 11px;

    font-weight: 600;
}


/* =========================================================
   OBJECTIVES
========================================================= */

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    padding: 11px;

    border-radius: 11px;

    transition: background .25s ease;
}


.objective-item:hover {
    background: #f8fafc;
}


.objective-item p {
    color: #475569;

    font-size: 13px;

    line-height: 1.65;
}


.check-icon {
    width: 22px;
    height: 22px;

    min-width: 22px;

    margin-top: 2px;

    border-radius: 50%;

    background: #dbeafe;

    color: #2563eb;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;

    font-weight: 900;
}


/* =========================================================
   ACTIVITY CARDS
========================================================= */

.activity-card {
    padding: 14px;

    border-radius: 12px;

    background: #f8fafc;

    border: 1px solid #eef2f7;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}


.activity-card:hover {
    transform: translateY(-3px);

    background: #eff6ff;

    border-color: #dbeafe;
}


.activity-icon {
    display: block;

    font-size: 22px;

    margin-bottom: 6px;
}


.activity-card h3 {
    color: #334155;

    font-size: 13px;

    font-weight: 800;
}


.activity-card p {
    color: #64748b;

    font-size: 11px;

    line-height: 1.55;

    margin-top: 4px;
}


/* =========================================================
   IMPACT CARDS
========================================================= */

.impact-card {
    padding: 17px;

    border-radius: 13px;

    border: 1px solid;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.impact-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 25px rgba(15, 23, 42, .07);
}


.impact-card > span {
    display: block;

    font-size: 25px;

    margin-bottom: 7px;
}


.impact-card h3 {
    font-size: 13px;

    font-weight: 800;
}


.impact-card p {
    margin-top: 4px;

    color: #64748b;

    font-size: 11px;

    line-height: 1.6;
}


.impact-blue {
    background: #eff6ff;
    border-color: #dbeafe;
}

.impact-blue h3 {
    color: #1d4ed8;
}


.impact-cyan {
    background: #ecfeff;
    border-color: #cffafe;
}

.impact-cyan h3 {
    color: #0e7490;
}


.impact-green {
    background: #f0fdf4;
    border-color: #dcfce7;
}

.impact-green h3 {
    color: #15803d;
}


.impact-purple {
    background: #faf5ff;
    border-color: #f3e8ff;
}

.impact-purple h3 {
    color: #7e22ce;
}


/* =========================================================
   CTA
========================================================= */

.digital-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 24px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #104d3d,
            #0d6650
        );

    box-shadow:
        0 15px 35px rgba(16, 77, 61, .15);
}


.digital-cta-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 17px;

    border-radius: 10px;

    background: #bef264;

    color: #104d3d;

    font-size: 12px;

    font-weight: 800;

    white-space: nowrap;

    transition: all .25s ease;
}


.digital-cta-btn:hover {
    background: #d9f99d;

    transform: translateY(-2px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .digital-section {
        padding-top: 5px;
    }

    .digital-orbit {
        width: 220px;
        height: 220px;
    }

    .ring-one {
        width: 175px;
        height: 175px;
    }

    .ring-two {
        width: 130px;
        height: 130px;
    }

    .digital-main-icon {
        width: 78px;
        height: 78px;
        font-size: 34px;
    }

    .floating-icon {
        width: 39px;
        height: 39px;
        font-size: 17px;
    }

    .digital-module {
        padding: 18px;
    }

    .digital-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .digital-cta-btn {
        width: 100%;
        justify-content: center;
    }
}


@media (max-width: 420px) {

    .digital-info-card {
        padding: 12px 10px;
        gap: 8px;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .info-value {
        font-size: 11px;
    }

    .digital-tag {
        font-size: 10px;
    }

}
/* =========================================================
   JS REVEAL
========================================================= */

.digital-reveal {
    opacity: 0;
    transform: translateY(22px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}


.digital-reveal-show {
    opacity: 1;
    transform: translateY(0);
}


/* Selected Activity */

.activity-selected {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    transform: translateY(-3px);
}