/* Extra Curricular Page - Modern & Colorful Design */
/* Theme Color: #26c976 */

.spk-extracurricular-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.spk-extracurricular-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Overview Section */
.spk-overview-section {
    background: linear-gradient(135deg, #26c976, #FF8C5A);
    color: white;
    padding: 50px;
    border-radius: 25px;
    margin-bottom: 60px;
    box-shadow: 0 15px 50px rgba(241, 97, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.spk-overview-section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.spk-overview-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.spk-overview-section p {
    font-size: 18px;
    line-height: 1.9;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* Extra-Curricular & Cultural Activities Highlight Section */
.spk-activities-highlight {
    background: linear-gradient(135deg, #26c976, #1fb566);
    color: white;
    padding: 60px 50px;
    border-radius: 25px;
    margin-bottom: 60px;
    box-shadow: 0 15px 50px rgba(38, 201, 118, 0.3);
    position: relative;
    overflow: hidden;
}

.spk-activities-highlight::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.spk-activities-highlight::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -80px;
    left: -80px;
}

.activities-main-heading {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.activities-intro {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.activity-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #26c976, #1fb566, #26c976);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.activity-card:hover::before {
    transform: scaleX(1);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(38, 201, 118, 0.25);
    background: white;
}

.activity-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #26c976;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(38, 201, 118, 0.3);
}

.activity-card:hover .activity-icon {
    transform: rotateY(360deg) scale(1.1);
    background: white;
    color: #26c976;
    box-shadow: 0 8px 25px rgba(38, 201, 118, 0.4);
}

.activity-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.activity-card p {
    font-size: 15px;
    color: #666666;
    line-height: 1.7;
    margin: 0;
}

/* Activity Item - Alternating Layout */
.spk-extra-item {
    background: white;
    border-radius: 25px;
    padding: 0;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.spk-extra-item:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}

/* Content Grid - Alternating */
.spk-extra-content {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    min-height: 400px;
}

/* Reverse layout for odd items */
.spk-extra-item:nth-child(even) .spk-extra-content {
    grid-template-columns: 55% 45%;
}

.spk-extra-item:nth-child(even) .spk-extra-image {
    order: 2;
}

.spk-extra-item:nth-child(even) .spk-extra-text {
    order: 1;
}

/* Image Section */
.spk-extra-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spk-extra-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.spk-extra-item:hover .spk-extra-image img {
    transform: scale(1.1);
}

/* Icon Badge on Image */
.spk-extra-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: all 0.4s ease;
}

.spk-extra-item:hover .spk-extra-badge {
    transform: rotate(360deg) scale(1.15);
}

/* Text Section */
.spk-extra-text {
    padding: 50px;
}

.spk-extra-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.spk-extra-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #26c976, #FF8C5A);
    border-radius: 2px;
}

.spk-extra-text p {
    font-size: 16px;
    color: #666666;
    line-height: 1.9;
    margin: 0;
}

/* Color Variations for Different Items */
.spk-extra-item:nth-child(1) .spk-extra-badge {
    color: #2196F3;
}

.spk-extra-item:nth-child(2) .spk-extra-badge {
    color: #4CAF50;
}

.spk-extra-item:nth-child(3) .spk-extra-badge {
    color: #9C27B0;
}

.spk-extra-item:nth-child(4) .spk-extra-badge {
    color: #FF9800;
}

.spk-extra-item:nth-child(5) .spk-extra-badge {
    color: #E91E63;
}

.spk-extra-item:nth-child(6) .spk-extra-badge {
    color: #00BCD4;
}

.spk-extra-item:nth-child(7) .spk-extra-badge {
    color: #FF5722;
}

.spk-extra-item:nth-child(8) .spk-extra-badge {
    color: #3F51B5;
}

.spk-extra-item:nth-child(9) .spk-extra-badge {
    color: #009688;
}

.spk-extra-item:nth-child(10) .spk-extra-badge {
    color: #FFC107;
}

.spk-extra-item:nth-child(11) .spk-extra-badge {
    color: #673AB7;
}

.spk-extra-item:nth-child(12) .spk-extra-badge {
    color: #26c976;
}

.spk-extra-item:nth-child(13) .spk-extra-badge {
    color: #8BC34A;
}

/* Decorative Background Elements */
.spk-extracurricular-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(241, 97, 38, 0.03), rgba(255, 140, 90, 0.03));
    border-radius: 50%;
    top: 5%;
    right: -150px;
    z-index: 0;
}

.spk-extracurricular-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.03), rgba(66, 165, 245, 0.03));
    border-radius: 50%;
    bottom: 10%;
    left: -100px;
    z-index: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .spk-extra-content,
    .spk-extra-item:nth-child(even) .spk-extra-content {
        grid-template-columns: 1fr;
    }

    .spk-extra-item:nth-child(even) .spk-extra-image,
    .spk-extra-item:nth-child(even) .spk-extra-text {
        order: initial;
    }

    .spk-extra-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .spk-extracurricular-section {
        padding: 60px 0;
    }

    .spk-overview-section {
        padding: 35px 30px;
        margin-bottom: 40px;
    }

    .spk-overview-section h2 {
        font-size: 2rem;
    }

    .spk-overview-section p {
        font-size: 16px;
    }

    /* Activities Highlight Responsive */
    .spk-activities-highlight {
        padding: 40px 25px;
        margin-bottom: 40px;
    }

    .activities-main-heading {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .activities-intro {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .activity-card {
        padding: 30px 25px;
    }

    .activity-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
        margin-bottom: 15px;
    }

    .activity-card h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .activity-card p {
        font-size: 14px;
    }

    .spk-extra-item {
        margin-bottom: 35px;
    }

    .spk-extra-image {
        min-height: 250px;
    }

    .spk-extra-text {
        padding: 35px 30px;
    }

    .spk-extra-text h3 {
        font-size: 1.6rem;
    }

    .spk-extra-badge {
        width: 60px;
        height: 60px;
        font-size: 28px;
        top: 20px;
        left: 20px;
    }
}

/* Animation Classes */
.spk-fade-in {
    opacity: 0;
    transform: translateY(40px);
}

.spk-slide-left {
    opacity: 0;
    transform: translateX(-60px);
}

.spk-slide-right {
    opacity: 0;
    transform: translateX(60px);
}

.spk-scale-in {
    opacity: 0;
    transform: scale(0.9);
}