* {
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    line-height: 1.6;
    color: #333;
    background-image: url(../images/thumbnail_raw.jpg);
    min-height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    
}

.main-container {
    line-height: 1.6;
    color: #333;
    background-image: url(../images/thumbnail_raw.jpg);
    min-height: 100vh;
    background-attachment: fixed;
    background-size: cover; /* Changed from 'contain' to 'cover' */
    background-repeat: no-repeat;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-image: linear-gradient(89deg, transparent 7%, #00000021 47%, transparent);
    padding-bottom: 45%;
}

.header {
    text-align: center;
    margin-bottom: 60px;
}

.header h1 {
    font-family: 'AkiraExpanded';
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 2%;
    text-shadow: -5px 2px 13px #00000040;
    /* background: linear-gradient(0deg, transparent, #6d6d6d24, transparent); */
    width: 100%;
    border-radius: 40px;
    padding: 55px 7px 27px 7px;
    backdrop-filter: blur(3px);
}

.header p {
    font-size: 1.25rem;
    color: #ffffff;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

/* Timeline central line */
.timeline::after {
    content: '';
    position: absolute;
    width: 5px;
    background: #cb6a35;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 100%;
    margin: 40px 0;
}

/* Timeline dots */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #031052;
    border: 4px solid #fff;
    border-radius: 50%;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
}

.timeline-content.left {
    float: left;
}

.timeline-content.right {
    float: right;
}

.achievement-card {
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(70, 69, 69, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    margin-bottom: 20px;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.icon {
    font-size: 2rem;
    margin-bottom: 16px;
    text-align: center;
}

.achievement-card h3 {
    font-size: 1.55rem;
    color: #cfcfcf;
    margin-bottom: 2px;
    font-family: 'AkiraExpanded';
}

.achievement-card time {
    display: block;
    font-size: 0.90rem;
    color: #a8a9ab;
    font-weight: 500;
    margin-bottom: 9px;
}

.achievement-card p {
    color: #f4fcea;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Clear floats */
.timeline-item::before {
    content: '';
    display: table;
    clear: both;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        padding-left: 80px;
        padding-right: 0;
    }

    .timeline-item::after {
        left: 31px;
    }

    .timeline-content {
        width: 100%;
        float: right;
    }

    .timeline-content.left,
    .timeline-content.right {
        float: right;
    }

    .achievement-card {
        text-align: left;
    }
    .container {
        padding-bottom: 85%;
    }
}

@media screen and (max-width: 480px) {
    .timeline::after {
        left: 10px;
        /* Move the central line further to the left */
    }

    .timeline-item {
        padding-left: 40px;
        /* Adjust padding for very small screens */
        padding-right: 10px;
    }

    .timeline-item::after {
        left: 10px;
        /* Move the dots further to the left */
    }

    .header h1 {
        font-size: 1.5rem;
        /* Smaller font size for very small screens */
        padding: 20px 7px 10px 7px;
    }

    .header p {
        font-size: 0.9rem;
        /* Smaller font size for very small screens */
    }

    .achievement-card h3 {
        font-size: 1.1rem;
        /* Smaller font size for very small screens */
    }

    .achievement-card p {
        font-size: 0.9rem;
        /* Smaller font size for very small screens */
    }
    .container {
        padding-bottom: 85%;
    }
}

.achievements-container {
    max-width: 800px;
    margin: 200px auto;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #b6afaf;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
}
.year-section {
    margin-bottom: 30px;
}
.year-section h2 {
    color: #e67e22;
    margin-bottom: 10px;
}
.year-section ul {
    list-style-type: disc;
    padding-left: 20px;
}
.year-section ul li {
    margin-bottom: 10px;
}