/* General Body Styles */
body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar */
.navbar.scrolled {
    background-color: rgba(33, 37, 41, 0.95) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://picsum.photos/1920/1080') no-repeat center center;
    background-size: cover;
}

/* Experience Timeline */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #e9ecef;
    margin-left: -1.5px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:after, .timeline-item:before {
    content: ' ';
    display: table;
}

.timeline-item:after {
    clear: both;
}

.timeline-item .timeline-img {
    position: absolute;
    left: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0d6efd;
    margin-left: -25px;
    border: 4px solid #e9ecef;
}

.timeline-item .timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.timeline-item:nth-child(odd) .timeline-content {
    float: left;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
    text-align: left;
}

.timeline-item .timeline-content .date {
    font-weight: bold;
    color: #0d6efd;
    margin-bottom: 10px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #0d6efd;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
    display: none; /* Initially hidden */
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #2b84ff;
    color: #fff;
}
