* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif; } 
body{
    min-height: 100vh;
    background: linear-gradient(45deg, #fdfdfd, #868886, #585650, #0a0a09);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }

}

nav {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem !important; /* Increased vertical padding from 0.3rem to 0.8rem */
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0 !important; /* Override Bootstrap margin */
    padding: 0 !important; /* Override Bootstrap padding */
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0 !important; /* Override Bootstrap padding */
    display: flex;
    align-items: center;
}

/* Add this to reset Bootstrap's li styles */
nav ul li {
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav a:hover {
    color: #6b6657;
}
.main-nav > ul > li.active > a{  /* this is new, what this does is access the first List and Color the text */
    color: #000000;
    cursor: default;
}
 
@media (max-width: 425px) {
    .main-nav ul{
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
     }
     
 }
 

 @media (max-width: 3840px) {
    nav a img{
        display: none;
    }
    
}

@media (max-width: 700px) {
    nav a img{
        display: block;
    }
    
}

@media (max-width: 700px) {

    nav a .index{
        display: none;
    }
    nav a .tech-stack{
        display: none;
    }
    nav a .cert{ 
        display: none;
    }
    nav a .exp{
        display: none;
    }
    nav a .blog{
        display: none;
    }
    nav a .info{
        display: none;
    }
    nav a .phone{
        display: none;
    }
    nav a .docu{
        display: none;
}
}
 .section-title {
    text-align: center;
    color: white;
    font-size: 2.5rem;
}
 .timeline-section {
    padding: 4rem 2rem;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0.1), 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0.1));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -53px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #727c74;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    z-index: 1;
}

.glass-card {
    -webkit-backdrop-filter: blur(12px); /* For Safari support */
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.timeline-date {
    color: #f7f6f6;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: white;
    margin-bottom: 0.5rem;
}

.timeline-school {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-description {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

.timeline-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #727c74;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

 

@media (max-width: 768px) {
    .timeline-container {
        padding-left: 30px;
    }

    nav ul{
        display: flex;
        gap: 1rem;
    }

    
    .timeline-dot {
        left: -43px;
    }
    
    .glass-card {
        padding: 1rem;
    }
}