body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f9fb;
    color: #222;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a237e;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}
.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links li a:hover, .apply-btn {
    color: #ffca28;
}
.apply-btn {
    background: #ffca28;
    color: #1a237e !important;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: bold;
    transition: background 0.2s;
}
.apply-btn:hover {
    background: #ffd54f;
}
.hero {
    background: linear-gradient(120deg, #1a237e 60%, #ffca28 100%);
    color: #fff;
    text-align: center;
    padding: 0;
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
}
.hero.bg-gradient {
    background: linear-gradient(120deg, rgba(26, 35, 126, 0.85) 50%, rgba(255, 202, 40, 0.85) 100%), url('https://images.unsplash.com/photo-1621570071349-aa0912596335?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1974&q=80');
    background-position: center;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
}
.hero-detail {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255,255,255,0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

/* Countdown Timer Styles */
.countdown-container {
    background: linear-gradient(135deg, #a11c2c 0%, #5059a0  50%);
    padding: 1rem 0.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    border: 1px solid rgba(255,255,255,0.2);
    margin: 0 auto 2.5rem auto;
    max-width: 100%;
    width: 450px;
    animation: glow 2s infinite alternate;
}

.countdown-container h4 {
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.2);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.countdown-container h4::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 25%;
    right: 25%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffca28, transparent);
}

.countdown-timer {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.countdown-box {
    background: linear-gradient(145deg, rgba(26,35,126,0.7), rgba(63,81,181,0.4));
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.countdown-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
}

.countdown-value {
    font-size: 2rem;
    font-weight: bold;
    color: #ffca28;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    margin-bottom: 0.2rem;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(255,202,40,0.2);
    }
    to {
        box-shadow: 0 0 20px rgba(255,202,40,0.5);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        color: #ffffff;
        text-shadow: 0 0 15px rgba(255,255,255,0.7);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.pulse-animation {
    animation: pulse 0.5s ease-in-out;
}

.seconds-tick {
    animation: secondsTick 0.5s ease-out;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes secondsTick {
    0% {
        color: #ffca28;
    }
    50% {
        color: #ffd54f;
        text-shadow: 0 0 8px rgba(255,202,40,0.8);
    }
    100% {
        color: #ffca28;
    }
}

@media (max-width: 576px) {
    .countdown-box {
        width: 80px;
        height: 80px;
    }
    .countdown-value {
        font-size: 2rem;
    }
    .countdown-label {
        font-size: 0.75rem;
    }
}
.hero-img {
    max-height: 300px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
}
.about-img {
    max-height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.about-img:hover {
    transform: scale(1.03);
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}
.cta-btn {
    background: #ffca28;
    color: #1a237e;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(26,35,126,0.1);
}
.cta-btn:hover {
    background: #ffd54f;
}
.section {
    max-width: 900px;
    margin: 3rem auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(26,35,126,0.07);
    padding: 3rem 1.5rem;
    margin-bottom: 2rem;
}
.detail-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(26,35,126,0.08);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s;
}
.detail-card:hover {
    transform: translateY(-5px);
}
.detail-card i {
    font-size: 1.8rem;
}
.section h2 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 2rem;
}
.section ul {
    padding-left: 1.2rem;
}
.faq {
    margin-bottom: 1.5rem;
}
.faq h3 {
    margin-bottom: 0.3rem;
    color: #3949ab;
}
.apply-section {
    text-align: center;
}
.timeline {
    border-left: 4px solid #ffca28;
    margin-left: 1rem;
    padding-left: 2rem;
    position: relative;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    padding-left: 1.5rem;
    display: flex;
    align-items: flex-start;
}
.timeline-item:before {
    content: '';
    position: absolute;
    left: -2.1rem;
    top: 0.3rem;
    width: 1.2rem;
    height: 1.2rem;
    background: #ffca28;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #ffca28;
}
.timeline-time {
    font-weight: bold;
    color: #1a237e;
    background-color: rgba(255, 202, 40, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    min-width: 90px;
    display: inline-block;
    text-align: center;
    margin-right: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.timeline-content {
    display: inline-block;
    vertical-align: middle;
}
.accordion-button:not(.collapsed) {
    color: #1a237e;
    background-color: #fffbe7;
}
.accordion-button {
    font-weight: 500;
    font-size: 1.1rem;
}
.accordion-body {
    font-size: 1rem;
}
.list-group-item {
    border: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    transition: transform 0.2s;
}
.list-group-item:hover {
    transform: translateX(5px);
}

/* Enhanced Key Dates */
.date-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    text-align: center;
}
.date-card:hover {
    transform: translateY(-5px);
}
.date-header {
    background: #1a237e;
    color: white;
    padding: 1rem 0;
    font-size: 1.8rem;
}
.date-body {
    padding: 1.5rem;
}
.date-title {
    color: #1a237e;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.date-text {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
}
.date-badge {
    margin-top: 0.5rem;
}
.date-info {
    margin-top: 0.5rem;
    color: #666;
}

/* Enhanced Agenda Section */
.agenda-overview, .agenda-highlights {
    height: 100%;
    background-color: #fff;
    border-left: 4px solid #1a237e;
}
.enhanced-timeline {
    margin-top: 2rem;
}
.enhanced-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}
.timeline-icon {
    background: #ffca28;
    color: #1a237e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}
.timeline-details {
    flex-grow: 1;
}
.timeline-extra {
    margin-top: 0.5rem;
}
.bg-primary {
    background-color: #1a237e !important;
}
.btn-warning {
    background-color: #ffca28;
    color: #1a237e;
    border: none;
}
.btn-warning:hover {
    background-color: #ffd54f;
    color: #1a237e;
}
footer {
    background: #1a237e;
    color: #fff;
    text-align: center;
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
    box-shadow: 0 -2px 16px rgba(26,35,126,0.07);
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.footer-apply-btn {
    background: #ffca28;
    color: #1a237e;
    padding: 0.7rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: background 0.2s;
}
.footer-apply-btn:hover {
    background: #ffd54f;
}
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
    }
    .section {
        padding: 2rem 1rem;
    }
    .hero.bg-gradient {
        padding: 4rem 1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .timeline {
        padding-left: 1rem;
        margin-left: 0.5rem;
    }
    .hero-detail {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .lead {
        font-size: 1rem;
    }
    .timeline-item {
        font-size: 1rem;
    }
    .section {
        padding: 1.5rem 0.8rem;
    }
}

/* Mobile adjustments for countdown timer */
@media (max-width: 400px) {
    .countdown-container h4 {
        font-size: 1.2rem;
    }
    
    .countdown-box {
        width: 70px;
        height: 70px;
    }
    
    .countdown-value {
        font-size: 1.7rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
    
    .countdown-timer {
        gap: 0.3rem;
    }
}

/* Scroll Down Button */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 5;
}

.scroll-down:hover {
    color: #ffca28;
}

.scroll-down i {
    font-size: 2rem;
}

.scroll-down span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    font-weight: 500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* Skill Icons for Eligibility Section */
.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
    margin-top: 15px;
}

.skill-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    text-align: center;
    margin: 0 auto;
}

.skill-icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #3f51b5, #762311);
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.skill-icon-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.skill-icon-circle i {
    font-size: 50px;
    color: white;
}

.skill-title {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    color: #3f51b5;
    margin-bottom: 5px;
}

.skill-subtitle {
    font-size: 0.9rem;
    color: #555;
    max-width: 180px;
}

/* Additional timeline improvements */
.enhanced-timeline {
    margin-left: 20px;
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
}

.timeline-time {
    display: inline-block;
    font-weight: 600;
    background-color: rgba(255, 202, 40, 0.2);
    color: #1a237e;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}


/* Scroll Animation Styles */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0);
    will-change: opacity, transform;
}

.timeline-item.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the reveal timing for timeline items */
.timeline-item.scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.timeline-item.scroll-reveal:nth-child(2) { transition-delay: 0.3s; }
.timeline-item.scroll-reveal:nth-child(3) { transition-delay: 0.5s; }
.timeline-item.scroll-reveal:nth-child(4) { transition-delay: 0.7s; }
.timeline-item.scroll-reveal:nth-child(5) { transition-delay: 0.9s; }
.timeline-item.scroll-reveal:nth-child(6) { transition-delay: 1.1s; }

/* Make it responsive */
@media (max-width: 576px) {
    .enhanced-timeline {
        padding-left: 45px;
    }
    
    .enhanced-timeline::before {
        left: 12px;
    }
    
    .timeline-icon {
        left: -35px;
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .timeline-details {
        padding: 12px;
    }
    
    .timeline-time {
        font-size: 0.85rem;
        padding: 4px 12px;
    }

    /* Mobile adjustments for skill icons */
    .skills-container {
        gap: 15px;
    }
    
    .skill-icon {
        width: 120px;
        margin-bottom: 20px;
    }
    
    .skill-icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .skill-icon-circle i {
        font-size: 35px;
    }
    
    .skill-title {
        font-size: 0.9rem;
    }
    
    .skill-subtitle {
        font-size: 0.8rem;
    }
}

/* Add fallback for no JavaScript environments */
html:not(.js-enabled) .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Media query for devices that might not support animations well */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .scroll-down {
        animation: none !important;
    }
}
