:root {
    --dark-blue: #000B1E;  /* Darker shade of blue */
    --light-blue: #1E90FF;
    --text-color: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-blue);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100vh;
    right: 0;
    top: 0;
    z-index: 1;
    opacity: 0.6;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0;
}

/* Heading Styles */
.heading {
    color: var(--text-color);
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
}

/* Link Box Styles */
.box-link {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.box-link:hover .link-box {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.box-link:hover .box-title {
    color: var(--light-blue);
    transition: color 0.3s ease;
}

.link-box {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    padding-top: 3rem;  /* Extra space for date */
    margin: 1rem;
    transition: all 0.3s ease;
    aspect-ratio: 1;  /* Make it square */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 300px;
}

.logo-wrapper {
    width: 80%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.box-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box-title {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: auto;  /* Push to bottom */
    margin-bottom: 1rem;
    height: 2.5rem;  /* Fixed height for alignment */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;  /* Add transition for smooth color change */
}

.badge.box-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(30, 144, 255, 0.2) !important;
    backdrop-filter: blur(5px);
    font-weight: 300;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    #particles-js {
        width: 100%;
        opacity: 0.4;
    }
    
    .heading {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .link-box {
        margin: 1rem 0;
        padding: 2rem;
        padding-top: 3rem;
    }
    
    .box-title {
        font-size: 1.5rem;
    }
    
    .badge.box-date {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}