/* Subjects Page - Redesigned with Vibrant Colors & Modern UX */
/* Theme Color: #26c976 */

.spk-subjects-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
.spk-subjects-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(241, 97, 38, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.spk-subjects-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.spk-subjects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Main Grid - Vertical Stacked Layout */
.spk-subjects-main-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* School Section Container */
.spk-school-section {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.spk-school-section:hover {
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Colorful Side Accent */
.spk-school-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(180deg, #26c976 0%, #FFB74D 50%, #87CEEB 100%);
}

/* School Header with Icon */
.spk-school-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #26c976 0%, #FFB74D 50%, #87CEEB 100%) 1;
}

.spk-school-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #26c976 0%, #ff8a5c 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(241, 97, 38, 0.3);
    flex-shrink: 0;
}

.spk-school-icon i {
    font-size: 2.5rem;
    color: white;
}

.spk-school-header-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 5px 0;
}

.spk-school-header-text p {
    font-size: 1.1rem;
    color: #26c976;
    font-weight: 600;
    margin: 0;
}

/* Content Grid - Side by Side for Languages and Subjects */
.spk-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Language Card */
.spk-language-card {
    background: linear-gradient(135deg, rgba(241, 97, 38, 0.05) 0%, rgba(255, 183, 77, 0.05) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(241, 97, 38, 0.2);
    position: relative;
    overflow: hidden;
}

.spk-language-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(241, 97, 38, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.spk-language-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #26c976;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spk-language-card h3::before {
    content: '🗣️';
    font-size: 1.8rem;
}

.spk-language-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spk-language-list li {
    font-size: 16px;
    color: #666666;
    line-height: 2;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #26c976;
    transition: all 0.3s ease;
}

.spk-language-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(241, 97, 38, 0.15);
}

.spk-language-list li strong {
    color: #333333;
    font-weight: 600;
}

/* Subjects Grid - Colorful Cards */
.spk-subjects-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
}

.spk-subjects-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spk-subjects-card h3::before {
    content: '📚';
    font-size: 1.8rem;
}

.spk-subjects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spk-subject-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 18px 20px;
    border-radius: 12px;
    border-left: 4px solid;
    font-size: 16px;
    color: #666666;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spk-subject-item::before {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: currentColor;
    opacity: 0;
    transition: all 0.3s ease;
}

.spk-subject-item:hover::before {
    opacity: 1;
    right: 10px;
}

/* Different colors for each subject */
.spk-subject-item:nth-child(1) {
    border-left-color: #26c976;
    color: #26c976;
}

.spk-subject-item:nth-child(2) {
    border-left-color: #FFB74D;
    color: #FFB74D;
}

.spk-subject-item:nth-child(3) {
    border-left-color: #87CEEB;
    color: #87CEEB;
}

.spk-subject-item:nth-child(4) {
    border-left-color: #9C27B0;
    color: #9C27B0;
}

.spk-subject-item:nth-child(5) {
    border-left-color: #4CAF50;
    color: #4CAF50;
}

.spk-subject-item:nth-child(6) {
    border-left-color: #FF5722;
    color: #FF5722;
}

.spk-subject-item:nth-child(7) {
    border-left-color: #00BCD4;
    color: #00BCD4;
}

.spk-subject-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Streams Section - Horizontal Cards */
.spk-streams-section {
    margin-top: 40px;
}

.spk-streams-header {
    text-align: center;
    margin-bottom: 35px;
}

.spk-streams-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
}

.spk-streams-header p {
    font-size: 1.1rem;
    color: #666666;
}

.spk-streams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.spk-stream-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.spk-stream-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--stream-color) 0%, var(--stream-color-light) 100%);
}

.spk-stream-card:nth-child(1) {
    --stream-color: #26c976;
    --stream-color-light: #ff8a5c;
}

.spk-stream-card:nth-child(2) {
    --stream-color: #FFB74D;
    --stream-color-light: #FFD54F;
}

.spk-stream-card:nth-child(3) {
    --stream-color: #87CEEB;
    --stream-color-light: #B0E0E6;
}

.spk-stream-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.spk-stream-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--stream-color) 0%, var(--stream-color-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.spk-stream-icon i {
    font-size: 1.8rem;
    color: white;
}

.spk-stream-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--stream-color);
    margin-bottom: 20px;
}

.spk-stream-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spk-stream-list li {
    font-size: 15px;
    color: #666666;
    line-height: 1.8;
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.spk-stream-list li:last-child {
    border-bottom: none;
}

.spk-stream-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--stream-color);
    font-size: 1.2rem;
}

/* Laboratory Section - Masonry Grid */
.spk-lab-section {
    margin-top: 50px;
}

.spk-lab-header {
    text-align: center;
    margin-bottom: 40px;
}

.spk-lab-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

.spk-lab-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #26c976 0%, #FFB74D 100%);
    border-radius: 2px;
}

.spk-lab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.spk-lab-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.spk-lab-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(241, 97, 38, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.spk-lab-card:hover::before {
    top: -30%;
    right: -30%;
}

/* Different colors for each lab */
.spk-lab-card:nth-child(1) {
    border-left-color: #26c976;
}

.spk-lab-card:nth-child(2) {
    border-left-color: #FFB74D;
}

.spk-lab-card:nth-child(3) {
    border-left-color: #87CEEB;
}

.spk-lab-card:nth-child(4) {
    border-left-color: #9C27B0;
}

.spk-lab-card:nth-child(5) {
    border-left-color: #4CAF50;
}

.spk-lab-card:nth-child(6) {
    border-left-color: #FF5722;
}

.spk-lab-card:nth-child(7) {
    border-left-color: #00BCD4;
}

.spk-lab-card:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.spk-lab-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spk-lab-title::before {
    content: '🔬';
    font-size: 1.5rem;
}

.spk-lab-card:nth-child(1) .spk-lab-title::before {
    content: '💻';
}

.spk-lab-card:nth-child(2) .spk-lab-title::before {
    content: '🔢';
}

.spk-lab-card:nth-child(3) .spk-lab-title::before {
    content: '⚡';
}

.spk-lab-card:nth-child(4) .spk-lab-title::before {
    content: '🧪';
}

.spk-lab-card:nth-child(5) .spk-lab-title::before {
    content: '🗣️';
}

.spk-lab-card:nth-child(6) .spk-lab-title::before {
    content: '🔬';
}

.spk-lab-card:nth-child(7) .spk-lab-title::before {
    content: '🎨';
}

.spk-lab-description {
    font-size: 15px;
    color: #666666;
    line-height: 1.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .spk-streams-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .spk-lab-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .spk-subjects-section {
        padding: 60px 0;
    }

    .spk-school-section {
        padding: 35px 25px;
    }

    .spk-school-header {
        flex-direction: column;
        text-align: center;
    }

    .spk-school-header-text h2 {
        font-size: 1.8rem;
    }

    .spk-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .spk-subjects-grid {
        grid-template-columns: 1fr;
    }

    .spk-streams-grid {
        grid-template-columns: 1fr;
    }

    .spk-lab-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.spk-fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.spk-scale-in {
    opacity: 0;
    transform: scale(0.95);
}

.spk-slide-left {
    opacity: 0;
    transform: translateX(-40px);
}

.spk-slide-right {
    opacity: 0;
    transform: translateX(40px);
}