* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: #000;
            color: #fff;
            line-height: 1.6;
            overflow-x: hidden;
        }

        .back {
            position: fixed;
            background: #000000;
            top: 8px;
            left: 8px;
            z-index: 1000;
            padding: 14px 28px;
            font-family: 'Arial', sans-serif;
            font-size: 20px;
            font-weight: 600;
            border-radius: 5px;
            text-decoration: none;
            color: #E5FF4F;
            transition: all 0.3s ease;
        }

        .back:hover {
            background: #121212;
        }

        .programs-section {
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23111" width="1200" height="800"/><circle fill="%23333" cx="200" cy="200" r="100" opacity="0.3"/><circle fill="%23333" cx="800" cy="400" r="150" opacity="0.2"/><circle fill="%23333" cx="1000" cy="150" r="80" opacity="0.4"/></svg>');
            position: absolute;
	        top: 0;
	        left: 0;
	    background:url(../img/11.webp)50% 50%;
	    width: 100%;
	    height: 100%;
	    z-index: 1;
            min-height: 100vh;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 10px 0;
        }

        .programs-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255, 255, 0, 0.03) 0%, transparent 50%);
            pointer-events: none;
        }

        .container {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-header {
            text-align: center;
            margin-bottom: 15px;
            margin-bottom: 5px;
            position: relative;
            z-index: 10;
        }

        .section-header img {
            width: 58px;
            height: 58px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        

        .section-subtitle {
            width: 100px;              
            height: 100px;
            margin: 0 auto 25px auto; 
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .section-subtitle img {
            width: 100px;                  
            height: 100px;
            object-fit: contain;
            display: block;
            
        }

        .section-title {
            font-size: 3rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 20px;
            background: linear-gradient(45deg, #FFFF00, #fff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-description {
            font-size: 1.15rem;
            font-weight: 300;
            color: #ccc;
            max-width: 800px;
            align-items: center;
            margin: 0 auto;
            line-height: 1.7;
        }

        .programs-container {
            position: relative;
            margin-top: 50px;
            overflow: hidden;
        }

        .programs-grid {
            display: flex;
            gap: 20px;
            padding: 15px 15px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding-left: 20px;
             padding-right: 20px;
    /* Add scroll snap for all screens */
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
        }

        .programs-grid::-webkit-scrollbar {
            display: none;
        }

.program-card {
    display: flex;
    flex-direction: row;   
    background: rgba(0, 0, 0, 0.641);
    backdrop-filter: blur(5px);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    min-width: 480px;
    max-width: 700px;
    height: 320px;
}

.card-left {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.card-right {
    flex: 1.8;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 12px 18px;
    height: 100%;
}

/*.card-details-scroll {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
    padding-right: 8px;
}*/

.card-details-scroll {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
    padding-right: 8px;
    scrollbar-width: thin;           /* For Firefox */
    scrollbar-color: #ffffffae #22222273;   /* Thumb and track colors */
}

/* For Webkit browsers (Chrome, Edge, Safari) */
.card-details-scroll::-webkit-scrollbar {
    width: 3px;                      /* Thin vertical scrollbar */
    border-radius: 4px;
    background: #1c1c1c5c;                /* Track color */
}

.card-details-scroll::-webkit-scrollbar-thumb {
    background: #ffffffae;             /* Thumb color */
    border-radius: 4px;
}

.card-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.program-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.program-dates {
    font-size: 0.95rem;
    color: #222;
    margin-bottom: 4px;
}

.register-btn {
    background: #FFFF00;
    color: #000;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
} 

.program-description {
            backdrop-filter: blur(10px);
            font-size: 0.9rem;
            color: #ccc;
            line-height: 1.5;
            margin-bottom: 15px;
            flex-grow: 1;
        }



        .program-card:hover {
            transform: translateY(-15px) scale(1.05);
            box-shadow: 0 20px 20px rgba(0, 0, 0, 0.94);
            background: rgba(0, 0, 0, 0.774);
        }

        .program-header {
            height: 200px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(255, 255, 0, 0.15) 0%, rgba(255, 255, 0, 0.05) 100%);
            overflow: hidden;
        }

        .program-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;   
        }
        .program-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 15px 15px 0 0;
            position: relative;
            z-index: 2;
        }

        .program-content {
            padding: 12px 10px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .program-details {
            flex-grow: 1;
            margin-bottom: 20px;
        }
        
        .program-title {
            font-size: 1.3rem;
            font-weight: bold;
            color: #fff;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .program-dates {
            font-size: 0.85rem;
            color: #FFFF00;
            margin-bottom: 15px;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .register-btn {
            background: #FFFF00;
            color: #000;
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            text-align: center;        /* Add this */
            display: flex;             /* Add this */
            align-items: center;       /* Add this */
            justify-content: center;   /* Add this */
            letter-spacing: 1px;
            width: 100%;
            position: relative;
            overflow: hidden;

        }

        .register-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .register-btn:hover::before {
            left: 100%;
        }

        .register-btn:hover {
            background: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 255, 0, 0.4);
        }

        .register-btn:active {
            transform: translateY(0);
        }

        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .floating-dot {
            position: absolute;
            width: 6px;
            height: 6px;
            background: #FFFF00;
            border-radius: 50%;
            opacity: 0.4;
            animation: float 12s ease-in-out infinite;
        }

        .floating-dot:nth-child(1) {
            top: 15%;
            left: 8%;
            animation-delay: 0s;
        }

        .floating-dot:nth-child(2) {
            top: 50%;
            right: 12%;
            animation-delay: 4s;
        }

        .floating-dot:nth-child(3) {
            bottom: 25%;
            left: 15%;
            animation-delay: 8s;
        }

        .floating-dot:nth-child(4) {
            top: 30%;
            left: 60%;
            animation-delay: 2s;
        }

        .floating-dot:nth-child(5) {
            bottom: 40%;
            right: 25%;
            animation-delay: 6s;
        }

        .scroll-indicator {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            animation: bounce 2s infinite;
            z-index: 10;
        }

        @keyframes float {
            0%, 100% { 
                transform: translateY(0px) translateX(0px); 
                opacity: 0.4; 
            }
            25% { 
                transform: translateY(-30px) translateX(15px); 
                opacity: 0.8; 
            }
            50% { 
                transform: translateY(-15px) translateX(-10px); 
                opacity: 0.6; 
            }
            75% { 
                transform: translateY(-40px) translateX(20px); 
                opacity: 0.9; 
            }
        }

        @keyframes pulse {
            0%, 100% { 
                transform: scale(1) rotate(0deg); 
                opacity: 0.3; 
            }
            50% { 
                transform: scale(1.1) rotate(180deg); 
                opacity: 0.6; 
            }
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(-50%) translateX(0);
            }
            40% {
                transform: translateY(-50%) translateX(-10px);
            }
            60% {
                transform: translateY(-50%) translateX(-5px);
            }
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .section-title {
                font-size: 3rem;
            }
            
            .program-card {
                min-width: 280px;
                max-width: 280px;
            }
        }

        @media (max-width: 768px) {
            .programs-section {
                padding: 60px 0;
            }

            .section-title {
                font-size: 2.5rem;
            }

            .section-description {
                font-size: 1rem;
                padding: 0 20px;
            }

            .program-card {
                min-width: 260px;
                max-width: 260px;
                height: 380px;
            }

            .program-content {
                padding: 20px 18px;
            }

            .scroll-indicator {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 2rem;
            }
            
            .container {
                padding: 0 10px;
            }

            .program-card {
                min-width: 240px;
                max-width: 240px;
                height: 360px;
            }

            .section-header {
                margin-bottom: 40px;
            }
        }

        /* Touch scrolling improvements */
        @media (hover: none) and (pointer: coarse) {
            .programs-grid {
                -webkit-overflow-scrolling: touch;
                scroll-snap-type: x mandatory;
            }

            .program-card {
                scroll-snap-align: center;
            }
        }