/* Main Portfolio Stylesheet */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #1A1E29;
    color: #E0E0E0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background-color: #1A1E29;
    color: #fff;
    padding: 40px 0 20px 0;
    text-align: center;
}

.header .logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 2px solid #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.header h1 {
    margin: 0;
    font-size: 3.5em;
    color: #E0E0E0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.header .subtitle {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 10px;
    font-weight: 700;
}

.header .description {
    font-size: 1.1em;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.contact-info {
    text-align: center;
    padding: 20px 0;
    background-color: #1A1E29;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 1em;
    color: #B0B0B0;
}

.contact-info p {
    margin: 0;
    display: flex;
    align-items: center;
}

.contact-info a {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.contact-info a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.contact-info svg {
    margin-right: 8px;
}

.button-group {
    text-align: center;
    padding: 30px 0;
    background-color: #1A1E29;
    display: flex;
    justify-content: center;
    gap: 25px;
    border-bottom: 2px solid #3a3a3a;
}

.button {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button.primary {
    background-color: #FFD700;
    color: #1A1E29;
}

.button.primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.button.secondary {
    background-color: #3A3A3A;
    color: #E0E0E0;
    border: 1px solid #555;
}

.button.secondary:hover {
    background-color: #4A4A4A;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
    background-color: #2b2b2b;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex-grow: 1;
}

.section {
    padding: 30px 0;
    border-bottom: 1px solid #3a3a3a;
}

.section:last-child {
    border-bottom: none;
}

h2 {
    color: #FFD700;
    font-size: 2.2em;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    text-align: center;
}

h3 {
    color: #E0E0E0;
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #3a3a3a;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item-content {
    width: 45%;
    padding: 20px;
    background-color: #3A3A3A;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-item-content {
    margin-right: 5%;
}

.timeline-item:nth-child(even) .timeline-item-content {
    margin-left: 5%;
}

.timeline-item-content h3 {
    margin-top: 0;
    color: #FFD700;
    font-size: 1.6em;
}

.timeline-item-content .dates {
    font-size: 0.9em;
    color: #B0B0B0;
    margin-bottom: 10px;
    display: block;
}

.timeline-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #FFD700;
    border: 2px solid #1A1E29;
    border-radius: 50%;
    z-index: 2;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item-content {
        width: calc(100% - 40px);
        margin-left: 40px;
        margin-right: 0;
    }

    .timeline-item:nth-child(even) .timeline-item-content {
        margin-left: 40px;
    }

    .timeline-marker {
        left: 20px;
        transform: translate(-50%, -50%);
    }
}

.footer {
    text-align: center;
    padding: 20px 0;
    color: #B0B0B0;
    background-color: #1A1E29;
    margin-top: 20px;
    border-top: 1px solid #3a3a3a;
}