/* Achievements Section */
        .achievements-section {
            padding: 100px 0;
            background: linear-gradient(180deg, var(--pure-white) 0%, var(--cream) 100%);
            position: relative;
            overflow: hidden;
        }

        /* Section Header */
        .achievements-header {
            text-align: center;
            max-width: 900px;
            margin: 0 auto 60px;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }

        .achievements-title {
            font-size: clamp(42px, 6vw, 64px);
            font-weight: 200;
            letter-spacing: -2px;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .achievements-title strong {
            font-weight: 700;
            background: var(--gradient-2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .achievements-subtitle {
            font-size: clamp(16px, 2.5vw, 20px);
            color: var(--grey);
            font-weight: 300;
        }

        /* Carousel Section */
        .carousel-section {
            margin-bottom: 60px;
            position: relative;
        }

        .carousel-header {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 60px 25px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .carousel-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--pure-white);
            font-size: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .carousel-icon.academic {
            background: var(--gradient-academic);
        }

        .carousel-icon.cocurricular {
            background: var(--gradient-sports);
        }

        .carousel-title {
            font-size: 28px;
            font-weight: 300;
            color: var(--primary);
        }

        .carousel-title strong {
            font-weight: 600;
        }



        .carousel-title-achievements {
            font-size: 28px;
            font-weight: 300;
            color: var(--primary);
        }

        .carousel-title-achievements strong {
            font-weight: 600;
        }

        /* Infinite Scroll Wrapper */
        .infinite-scroll-wrapper {
            overflow: hidden;
            position: relative;
            width: 100%;
            mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        }

        .carousel-track {
            display: flex;
            gap: 25px;
            animation: scroll 40s linear infinite;
            width: fit-content;
        }

        .carousel-track.reverse {
            animation: scrollReverse 45s linear infinite;
        }

        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        @keyframes scrollReverse {
            0% { transform: translateX(-50%); }
            100% { transform: translateX(0); }
        }

        .carousel-track:hover {
            animation-play-state: paused;
        }

        /* Achievement Card - Compact v7 */
        .achievement-card {
            min-width: 280px;
            max-width: 280px;
            background: var(--pure-white);
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            cursor: pointer;
            height: 350px;
            display: flex;
            flex-direction: column;
        }

        .achievement-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--gradient-2);
            z-index: 10;
        }

        .achievement-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
            z-index: 100;
        }

        /* Student Photo Container */
        .student-photo-container {
            position: relative;
            height: 200px;
            overflow: hidden;
            background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
        }

        .student-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.6s ease;
        }

        .achievement-card:hover .student-photo {
            transform: scale(1.1);
            filter: brightness(0.4);
        }

        /* Percentage Ribbon (Academic) */
        .percentage-ribbon {
            position: absolute;
            top: 12px;
            right: -26px;
            background: var(--gradient-gold);
            color: var(--primary);
            padding: 6px 35px;
            font-size: 14px;
            font-weight: 800;
            transform: rotate(45deg);
            box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
            z-index: 15;
        }

        .percentage-ribbon span {
            font-size: 9px;
            display: block;
            margin-top: 2px;
            font-weight: 600;
        }

        /* Achievement Badge (Co-curricular) */
        .achievement-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            width: 55px;
            height: 55px;
            background: var(--gradient-sports);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--pure-white);
            font-size: 22px;
            box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
            z-index: 15;
        }

        /* Hover Description Overlay */
        .achievement-description-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 200px;
            background: rgba(10, 40, 69, 0.95);
            backdrop-filter: blur(10px);
            color: var(--pure-white);
            padding: 25px 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            opacity: 0;
            transform: scale(0.95);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 20;
        }

        .achievement-card:hover .achievement-description-overlay {
            opacity: 1;
            transform: scale(1);
        }

        .overlay-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--orange);
        }

        .overlay-description {
            font-size: 13px;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.95);
        }

        /* Card Content - Minimal v7 */
        .achievement-content {
            padding: 18px;
            background: var(--pure-white);
            position: relative;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .achievement-main {
            flex-grow: 1;
        }

        .student-name {
            font-size: 17px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }

        .year-badge {
            background: var(--gradient-2);
            color: var(--pure-white);
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: 600;
            flex-shrink: 0;
        }

        .achievement-title {
            font-size: 13px;
            font-weight: 600;
            color: var(--accent);
            display: flex;
            align-items: center;
            gap: 6px;
            line-height: 1.4;
        }

        .achievement-icon {
            font-size: 14px;
            flex-shrink: 0;
        }

        /* Loading Footer Animation */
        .achievement-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0 0;
            margin-top: 10px;
            border-top: 1px solid #f0f0f0;
            position: relative;
            overflow: hidden;
        }

        .achievement-footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
            animation: loadingBar 3s ease-in-out infinite;
        }

        @keyframes loadingBar {
            0% { left: -50%; }
            100% { left: 100%; }
        }

        .achievement-category {
            display: inline-block;
            padding: 3px 8px;
            background: rgba(10, 40, 69, 0.08);
            color: var(--primary);
            border-radius: 10px;
            font-size: 9px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .achievement-date {
            color: var(--grey);
            font-size: 9px;
            display: flex;
            align-items: center;
            gap: 3px;
            font-weight: 500;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .achievements-section {
                padding: 60px 0;
            }

            .carousel-header {
                padding: 0 20px 20px;
            }

            .carousel-icon {
                width: 45px;
                height: 45px;
                font-size: 18px;
            }

            .carousel-title {
                font-size: 24px;
            }

            .carousel-title-achievements     {
                font-size: 24px;
            }

            .achievement-card {
                min-width: 260px;
                max-width: 260px;
                height: 330px;
            }

            .student-photo-container {
                height: 180px;
            }

            .carousel-track {
                animation-duration: 35s;
            }

            .carousel-track.reverse {
                animation-duration: 40s;
            }
        }

        @media (max-width: 480px) {
            .achievement-card {
                min-width: 240px;
                max-width: 240px;
                height: 310px;
            }

            .student-photo-container {
                height: 160px;
            }

            .student-name {
                font-size: 15px;
            }

            .achievement-title {
                font-size: 12px;
            }
        }