html {
    scroll-behavior: smooth;
    height: 100%;
    margin: auto;

}

body {
    font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}


section {
    background: #fff;
    text-align: center;
    transition: background 0.3s;
    padding: 30px;

    opacity: 0;
    transform: translate(0, 1vh);
    transition: all 1s;
}

#main_section {
    background-image: url("code.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 40px;
}

section.visible {
    opacity: 1;
    transform: translate(0, 0);
}

section:first-child {
    min-height: 10vh;
    opacity: 0.8;
    margin-top: -35px;
}

section:nth-child(2) {
    min-height: 10vh;
    opacity: 1;
}

section:nth-child(even) {
    background: #f9f9f9;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
aside {
    flex-basis: 250px;
    padding: 20px;
    background: linear-gradient(to bottom, #404040, #343a40);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    height: 100%;
    width: 16%;
}


aside.sticky-top {
    position: fixed;
    top: 0;
}

.side_bar_line {
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.aside-title {
    font-size: 2em;
    color: #fff;
}

aside h2 {
    color: #fff;
}

aside ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

aside li {
    margin-bottom: 10px;
}

aside a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

aside a:hover {
    color: #ff074d;
    text-decoration: none;
}

.subnav {
    padding-left: 20px;
}

.nav_icon_img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    aside {
        display: none;
        padding: 0%;
        flex-basis: 100%;
        margin-bottom: 20px;
    }

}

/*--------------------------------------------------------------
# Main Content
--------------------------------------------------------------*/
.main_content {
    margin-left: 16%;
}

h1,
h2 {
    color: #343a40;
}

p {
    line-height: 1.6;
    color: #555;
}

.about-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-description {
    text-align: left;
    margin: 50px 0;
}


.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    margin-right: 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ff074d;
}

.honors-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 30px;
}

.honor-card {
    width: 300px;
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.honor-card:hover {
    transform: scale(1.05);
}

.honor-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.honor-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.honor-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.honor-description {
    font-size: 14px;
    color: #555;
}

/* Stylish and Modern Timeline Component */

.timeline-item-top {
    padding: 20px;
    margin: 20px 0 60px;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

.timeline-item {
    padding: 20px;
    margin: -20px 0;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}


.timeline-item-blank {
    padding: 20px;
    margin: 50px 0;
    width: 100%;
}

.timeline-date {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2.5px;
}

.timeline-logo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    margin: 0 auto;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.timeline-company {
    font-size: 14px;
    font-weight: bold;
    color: #504f4f;
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 16px;
    color: #555;
}

.timeline-description ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    font-size: 14px;
}

.timeline-description ul li {
    padding-left: 20px;
    position: relative;
}

.timeline-description ul li::before {
    content: "\2022";
    position: relative;
    left: -10px;
    color: #ff074d;
    /* Bullet color */
    color: #ff074d;
    /* Bullet color */
    font-size: 18px;
}

.timeline-line {
    width: 5px;
    height: 100%;
    background-color: #343a40;
    margin: 0 auto;
}

.timeline-line::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #343a40;
    background-color: #ff074d;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timeline-end-line {
    width: 5px;
    height: 40px;
    background-color: #343a40;
    margin: 0 auto;
}

.timeline-end-line-dot {
    margin: 0 auto;
    margin-top: -3px;
    width: 20px;
    height: 20px;
    background-color: #343a40;
    background-color: #ff074d;
    border-radius: 50%;
}

.recommendations-section {
    margin-top: 30px;
}

.recommendation-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.recommendation-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.position,
.date {
    color: #666;
    margin-bottom: 8px;
}

.recommendation-text,
.additional-details {
    color: #444;
    line-height: 1.6;
}

.publication-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.wide_photo {
    width: 100%;
    height: auto;
    margin: 20px 0;
}

.white_text {
    color: #fff;
}

@media (max-width: 768px) {
    .main_content {
        margin-left: 0;
    }

    .timeline-line {
        display: none;
    }
}

/*--------------------------------------------------------------
# Blog Posts
--------------------------------------------------------------*/

.blog_post {
    border: 1px solid #ddd;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/*--------------------------------------------------------------
# Login Form
--------------------------------------------------------------*/


.login-container {
    width: 40%;

    margin: 20vh 38%;
    padding: 40px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #404040;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #343a40;
}

.error-message {
    color: #ff074d;
    font-size: 20px;
    margin-top: 10px;
}