body {
    font: 16px / 1.6 Roboto, Helvetica, sans-serif;
    height: 100%;

}
.jumbotron {
    position: relative;
    background-color: white;
    /* background-image: url('../assets/img/bg3.jpeg'); Add the path to your background image */
    background-size: cover;
    /* background-position: center; */
    color: black; /* Ensure text is readable against the background */
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: top;
    justify-content: center;
    text-align: justify;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.215); Dark overlay */
    /* backdrop-filter: blur(5px); Blur effect */
}

.container-fluid {
    position: relative;
    z-index: 1; /* Ensure content is above the overlay */
}

.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: calc(100vh);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.nav-link {
    color: #fff;
    font-size: 1.4em;
}

.main-container{
    padding: 0px;
}

.nav-link:hover, .nav-link.active {
    color: #000000;
}

.section {
    display: none;
    /* padding: 60px 0; */
}

.section.active {
    display: block;
}

.social-icons a {
    font-size: 1.5em;
}

.text-white {
    color: #fff;
}
.modern-button {
    padding: 12px 24px;
    font-size: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #aa0200, #FF4500);
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-bottom: 10px;
    display: inline-block;
    text-align: center;
}

.modern-button:hover {
    background: linear-gradient(135deg, #FF4500, #aa0200);
    transform: translateY(-2px);
    color: #111
}


.experience-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.experience-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-weight: bold;
    font-size: 1.2em;
}

.card-subtitle {
    font-size: 0.9em;
}

.card-text {
    font-size: 0.85em;
    color: #555;
}
.styled-hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2rem 0;
}

.skill-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 30px;
    padding: 2%;
    width: 100%;
    align-items: stretch;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

hr {
    border-top: 1px solid #ddd;
    margin-bottom: 30px;
}

.card-body {
    padding: 20px;
}

.card-body .row {
    margin-bottom: 20px;
}
.card-body .row:last-child {
    margin-bottom: 0;
}

.skill-img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}



.projects-section {
    width: 100%;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
    color: #333;
    height: 100%;
}

.timeline-year {
    text-align: center;
    font-size: 24px;
    padding: 10px 20px;
    background: #eee;
    margin: 10px auto;
    border-radius: 5px;
    width: fit-content;
    z-index: 1;
    position: relative;
}

.timeline-item {
    padding: 20px;
    position: relative;
    background: #fff;
    border-radius: 6px;
    width: 60%;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    z-index: 1;
}
.timeline-item .project-dates {
    margin: 10px 0;
    font-size: 14px;
    color: #777;
    text-align: center;
}
.timeline-item .content h2 {
    margin-top: 0;
    font-size: 2em;
    color: #444;
    text-align: center;
}

.timeline-item .content p {
    text-align: center;
    font-size: 1.2em;
}

.timeline-item.left {
    right: 5%;
}

.timeline-item.right {
    left: 55%;
}

.timeline-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.timeline-item .content {
    padding: 20px;
}


.timeline-item {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}


.timeline-item.in-view {
    opacity: 1;
    transform: translateY(0);
}
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #333;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 6px;
    z-index: 0;
}

@media screen and (max-width: 768px) {
    .timeline-item.left, .timeline-item.right {
        left: 0;
        width: 100%;
        margin-left: 0;
    }

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

.hobby-item {
    margin-bottom: 20px;
    transition: transform 0.3s;
   
}

.hobby-item:hover {
    transform: scale(1.1);
}

.hobby-img {
    width: 350px;
    height: 350px;
    transition: transform 0.4s;
}

.hobby-item:hover .hobby-img {
    transform: scale(1.1);
}

.text-font {
    font-family: Roboto, Helvetica, sans-serif;
}
.bg-splash-gray {
    background-color: #f5f8fa;
}

.about-font{
    font-size: 3.5rem;
    color: #3A4145;
        font-family: "Open Sans", sans-serif;
        -webkit-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
        -moz-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
        -o-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
}

.intro-font{
    font-size: 1.5rem;
    text-align: left;
}

.left-home-section{
    border-right: solid 1px black;
}


.social-links {
    display: flex;
    flex-direction: column;
    align-items:center;
}

.social-link {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
    color: #333;
    font-size: 28px;
    transition: color 0.3s ease;
}

.social-link i {
    font-size: 38px;
    margin-right: 10px;
}

.social-link:hover {
    color: #aa0200;
}

/* === COLOR PALETTE UPDATE === */
.sidebar, 
.navbar.navbar-dark {
    background: linear-gradient(90deg, rgba(5,73,143,1) 30%, rgba(2,55,110,1) 65%, rgba(0,38,78,1) 92%);
  }


.nav-link {
    color: #ffffff;
}

.nav-link:hover, .nav-link.active {
    color: #00BFFF;
}

.bg-splash-gray {
    background-color: #F5F5F5;
}

.about-font {
    color: #003366;
}

/* Buttons */
.modern-button {
    background: linear-gradient(135deg, #003366, #00BFFF);
    color: #ffffff;
}

.modern-button:hover {
    background: linear-gradient(135deg, #00BFFF, #003366);
    color: #111111;
}

/* Cards and Text */
.card-title {
    color: #003366;
}

.card-text,
.card-subtitle,
.text-black,
.social-link {
    color: #333333;
}

.social-link:hover {
    color: #00BFFF;
}

.timeline-year {
    background-color: #003366;
    color: #ffffff;
}

.timeline::after {
    background-color: #003366;
}