:root {
    --primary: #ff073a;
    --secondary: #e22bb1;
    --dark: #0D0D0D;
    --darker: #1a1a1a;
    --text: #E2E8F0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}


main.education {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 60px;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.education_cotener {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.timeline-item {
    position: relative;
    margin: 40px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 1;
}

.timeline-content {
    background: var(--darker);
    color: var(--text);
    padding: 25px;
    border-radius: 12px;
    width: 42%;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 7, 58, 0.2);
}

.timeline-content.left {
    left: 0;
    text-align: left;
}

.timeline-content.right {
    left: 56%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    border: 4px solid var(--dark);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--primary);
}

.timeline-content h2 {
    font-size: 1.3rem;
    margin: 0 0 10px;
    color: var(--primary);
}

.timeline-content h3 {
    font-size: 1rem;
    margin: 0 0 5px;
    color: var(--text);
    opacity: 0.8;
    font-weight: 500;
}

.timeline-content p {
    margin: 10px 0 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: var(--darker);
    color: var(--text);
    font-size: 0.9rem;
}

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

    .timeline-content {
        width: calc(100% - 80px);
        left: 60px !important;
    }

    .timeline-content.left,
    .timeline-content.right {
        text-align: left;
    }

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

/* Animation for timeline entries */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
header {
    background-color: #0D0D0D; /* Dark background */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* Center logo */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid #444;
}

.logo img {
    max-width: 150px; /* Adjust logo size */
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.logo img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}



footer {
    background-color: #111; /* Dark background */
    color: #fff; /* White text */
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    border-top: 2px solid #444; /* Optional border for separation */
    position: relative;
    bottom: 0;
    width: 100%;
}

