/* ============ GLOBAL STYLES ============ */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a4294;
    --primary-light: #4fc3f7;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0a4294 100%);
    --gradient-blue: linear-gradient(135deg, #4fc3f7, #0288d1, #0a4294);
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-extra: 0 15px 40px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-top: 76px;
}

.min-vh-80 {
    min-height: 80vh;
}

/* ============ NEW HERO SECTION ============ */
.hero-section-new {
    background: linear-gradient(135deg, #0d6efd 0%, #0a4294 50%, #083a82 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: -76px;
    padding-top: 176px;
}

.hero-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,202.7C672,203,768,181,864,165.3C960,149,1056,139,1152,149.3C1248,160,1344,192,1392,208L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 1;
}

.hero-section-new .container {
    position: relative;
    z-index: 2;
}

.hero-content-new {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.gradient-text {
    background: linear-gradient(45deg, #4fc3f7, #29b6f6, #0288d1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    background-size: 200% auto;
    animation: gradient 3s ease-in-out infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 35px;
    max-width: 90%;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 35px 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4fc3f7;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-cta .btn {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    border: 2px solid transparent;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(79, 195, 247, 0.4);
}

.hero-cta .btn-outline-light {
    border: 2px solid white;
    background: transparent;
}

.hero-cta .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* ============ VIDEO CONTAINER ============ */
.hero-video-container {
    position: relative;
    animation: fadeIn 0.8s ease-out 0.7s both;
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-extra);
    background: #000;
}

.video-wrapper .video-js {
    width: 100%;
    height: 400px;
    border-radius: 20px;
}

.video-wrapper .vjs-big-play-button {
    background: rgba(13, 110, 253, 0.8);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    line-height: 70px;
    margin-top: -35px;
    margin-left: -35px;
    transition: all 0.3s ease;
}

.video-wrapper .vjs-big-play-button:hover {
    background: rgba(13, 110, 253, 1);
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px;
    z-index: 2;
}

.video-overlay h5 {
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.video-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* ============ ENHANCED HOW IT WORKS SECTION ============ */
.step-card {
    background: white;
    border-radius: 20px;
    padding: 40px 25px;
    box-shadow: var(--shadow-medium);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid #f0f7ff;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-extra);
    border-color: var(--primary-light);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover::before {
    opacity: 1;
}

.step-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e3f2fd, #f0f7ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    border: 3px solid #e3f2fd;
    position: relative;
}

.step-card:hover .step-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-light);
}

.step-icon-wrapper i {
    color: var(--primary-color);
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon-wrapper i {
    color: white;
    transform: scale(1.1);
}

.step-card h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.step-card:hover h4 {
    color: var(--primary-color);
}

.step-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============ NOTICE SECTION ============ */
.notice-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.notice-board-enhanced {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-heavy);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.notice-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 700;
}

.notice-header p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.notice-list-enhanced {
    margin-top: 20px;
}

.notice-item-enhanced {
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid #e0e0e0;
    cursor: pointer;
    background: white;
    box-shadow: var(--shadow-light);
}

.notice-item-enhanced:hover {
    transform: translateX(10px) scale(1.02);
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    border-left-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.notice-item-enhanced.featured {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-left-color: var(--primary-color);
    border: 2px solid rgba(13, 110, 253, 0.1);
}

.notice-icon-enhanced {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: var(--shadow-light);
}

.notice-title-enhanced {
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.notice-meta-enhanced {
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.notice-type-badge {
    font-size: 0.8rem;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ STATS CARD ============ */
.stats-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-heavy);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.stats-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--light-color);
    font-size: 2rem;
    font-weight: 700;
    position: relative;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-card-enhanced {
    text-align: center;
    padding: 25px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card-enhanced:hover {
    transform: translateY(-8px) scale(1.03);
    background: white;
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.stat-icon-enhanced {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.stat-card-enhanced:hover .stat-icon-enhanced {
    transform: scale(1.1) rotate(10deg);
}

.stat-info-enhanced h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 2rem;
    font-weight: 700;
}

.stat-info-enhanced p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* ============ UPCOMING EVENTS ============ */
.upcoming-events {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 3px solid var(--light-color);
}

.upcoming-events h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-list li {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.event-list li:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.event-day {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.event-month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 2px;
}

.event-details h6 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.event-details .text-muted {
    color: var(--secondary-color) !important;
    font-size: 0.9rem;
}

/* ============ COURSE CARDS ============ */
.course-card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.course-card .card-body {
    padding: 25px;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .video-wrapper .video-js {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .hero-section-new {
        padding: 80px 0 60px;
        padding-top: 156px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-cta {
        text-align: center;
    }
    
    .hero-cta .btn {
        margin: 0 10px 20px;
    }
    
    .hero-video-container {
        margin-top: 50px;
    }
    
    .step-card {
        margin-bottom: 20px;
    }
    
    .step-icon-wrapper {
        width: 90px;
        height: 90px;
    }
    
    .step-icon-wrapper i {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section-new {
        padding: 60px 0 40px;
        padding-top: 136px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
        margin: 25px 0;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 20px);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 0 0 15px !important;
    }
    
    .video-wrapper .video-js {
        height: 300px;
    }
    
    .notice-board-enhanced,
    .stats-card {
        padding: 25px;
    }
    
    .notice-item-enhanced {
        padding: 20px;
    }
    
    .stat-card-enhanced {
        padding: 20px;
    }
    
    .step-card {
        padding: 30px 20px;
    }
    
    .step-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .step-icon-wrapper i {
        font-size: 2rem;
    }
    
    .step-card h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero-section-new {
        padding: 50px 0 30px;
        padding-top: 126px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .video-wrapper .video-js {
        height: 250px;
    }
    
    .notice-board-enhanced,
    .stats-card {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card-enhanced {
        padding: 15px;
    }
    
    .stat-icon-enhanced {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-info-enhanced h4 {
        font-size: 1.5rem;
    }
    
    .event-list li {
        padding: 15px;
    }
    
    .event-date {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }
    
    .event-day {
        font-size: 1.5rem;
    }
}

/* ============ PRINT STYLES ============ */
@media print {
    .hero-section-new {
        background: none !important;
        color: #000 !important;
        padding: 20px 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .hero-title .gradient-text {
        background: none !important;
        color: #000 !important;
    }
    
    .step-card,
    .notice-board-enhanced,
    .stats-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .video-wrapper {
        display: none !important;
    }
}