/* Education Section */
.education {
    padding: 100px 0;
    background: #f0f4f8; /* Light gray background */
}

/* Title Styling */
.education h2 {
    text-align: center;
    font-size: 4rem;
    font-weight: 800;
    color: #1a1a1a; /* Darker contrast */
    margin-bottom: 60px;
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 900px; /* Keep it centered */
    margin: auto;
    padding-left: 70px; /* Adjust padding for balance */
}

/* Timeline Vertical Line */
.timeline::before {
    content: "";
    position: absolute;
    left: 65px;
    top: 5px;
    width: 5px;
    height: 100%;
    background: #0056b3; /* Deep blue */
    border-radius: 3px;
}

/* Timeline Items */
.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px; /* Consistent spacing */
    position: relative;
    padding-left: 70px; /* Align properly */
}

/* University Logos */
.timeline-icon {
    width: 85px;
    height: 85px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -42px;
    top: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid #0056b3; /* Deep blue border */
}

.timeline-icon img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 50%;
}

/* Timeline Content Box */
.timeline-content {
    background: white;
    padding: 40px; /* More spacing for readability */
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    font-size: 1.8rem;
    border-left: 6px solid #0056b3; /* Blue highlight */
}

/* Typography */
.timeline h4 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #002147; /* Dark Navy */
}

.timeline h6 {
    font-size: 2rem;
    color: #555; /* Softer gray */
    font-weight: 600;
}

.timeline p {
    font-size: 1.6rem;
    color: #333; /* More contrast */
    margin-bottom: 0;
    line-height: 1.8;
}

/* Responsive Fix */
@media screen and (max-width: 768px) {
    .timeline {
        max-width: 100%;
        padding-left: 0;
    }

    /*.timeline::before {*/
    /*    left: 20px;*/
    /*}*/

    .timeline-icon {
        left: 10px;
    }

    .timeline-content {
        margin-left: 50px;
        padding: 30px; /* Adjusted for smaller screens */
    }
}

.degree-info {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}


.course-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.course-list ul {
    width: 48%; /* Adjust width for better spacing */
    /*list-style-type: none;*/
    padding: 0;
}

.course-list ul li {
    padding: 5px 0;
}

