/* reset */

*/ *::before, *::after{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    background-color: #0a0a0a;
}

/*background video */

#bg-video{
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/*Welcome Screen */

#WelcomeScreen{
    background-color: transparent;
    width: 100%;
    min-height:100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: Garamond, serif;
    font-size: 2rem;
    
    
}
#WelcomeScreen h1{
    color: #007bff;
    text-align: center;
    position: relative;
    z-index: 1;
}
#WelcomeScreen h3{
    font-size: 1.2rem;
}

#particles-js{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

#WelcomeScreen h1,#WelcomeScreen .button-container,#WelcomeScreen .Credits{
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.StartButton{
    transform: translateY(10%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 15px 30px;
    background-color: #007bff;
    color: white;
    border:none;
    border-radius: 500px;
    cursor: pointer;
    font-weight: bold;
    display: block;
    margin: 0 auto;
    width: auto;

    transition: all 0.3s ease-in-out;
    
}

.StartButton:hover{
    transform: translateY(10%) scale(1.1);
    background-color: #007bff;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
}

.button-container{
    text-align: center;
}

.Credits{
    color: blue;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 10;
    text-align: right;
}

/*Nav */

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 100;
    background-color: black;
    display: flex;
    justify-content: center;
    
    align-items: center;
    pointer-events: auto;
}
header.nav-visible{
    display: flex;
}

.top-nav{
    width: 100%;
    display: flex;
    justify-content: center;
    padding-right: 40px;
    gap: 20px;
    pointer-events: auto;

}

.top-nav a{
    color:#007bff;
    font-weight: bold;
}
.top-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background-color: #007bff;
    transition: width 0.5s;
}

.top-nav a:hover::before {
    width: 100%;
}

/*Main Content */
#MainContent{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background-color: white;
    z-index: 10;


    clip-path: circle(0% at 50% 50%);
    transition: clip-path 1.2s cubic-bezier(0.65,0,0.35,1);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}



#MainContent.splash-reveal{
    display: flex;
    clip-path: circle(150% at 50% 50%);
}

body.allow-scroll #MainContent {
    position: relative;
    height: auto;
    overflow: visible;
    
}

/* Page Sections*/

.page-section{
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.page-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 10px;
    align-self: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/*About me Section*/

#AboutMe{
    min-height: 70vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 20px;
}

#AboutMe h2{
    font-size: 2.5rem;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    align-self: center;
}

#AboutMe p{
    max-width: 700px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
    text-align: left;
    padding-left: 20px;
}
.about-container{
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap:40px;
    max-width: 1000px;
    margin:0 auto;
    padding:20px;

}

.about-text{
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}
.profile-photo{
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border:3px solid #333;
    margin-bottom: 30px;

   
}

/*Projects*/

.projects-timeline {
    position: relative;
    width: 90%;
    max-width: 800px;
    padding-left: 32px;
    padding-bottom: 40px;
}

.projects-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: #999;
}

.project-card {
    position: relative;
    background: none;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0 0 40px 0;
    color: #1a1a1a;

    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.project-card:nth-child(2).animate-in {
    transition-delay: 0.15s;
}

.project-card:hover .timeline-dot {
    background: #1a6cc4;
}

.project-card:hover .project-title {
    color: #1a6cc4;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.project-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.project-icon {
    font-size: 1.1rem;
}

.project-date {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}

.project-bullets {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.7;
    padding-left: 18px;
    margin: 0 0 12px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tag {
    background: #e8e6e0;
    color: #555;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 2px;
    border: none;
}

/*Skills*/

#skills {
    background: transparent;
    padding-top: 60px;
    padding-bottom: 20px;
    min-height: auto;
}

.skills-grid {
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 40px;
}

.skill-group {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.skill-group:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.skill-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 3px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: #e8e6e0;
    color: #333;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 2px;
}

/*Experience Two-Column*/

.exp-wrap {
    width: 90%;
    max-width: 800px;
}

.exp-timeline {
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

.exp-timeline::before {
    display: none;
}

.exp-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    background: none;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;

    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.exp-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.exp-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.exp-item:nth-child(2).animate-in {
    transition-delay: 0.15s;
}

.exp-left {
    padding-top: 2px;
}

.exp-company {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.exp-role {
    font-size: 0.85rem;
    color: #4a90d9;
    margin-bottom: 6px;
}

.exp-meta {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.5;
}

.exp-right {
    /* content side */
}

.exp-bullets {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.7;
    padding-left: 18px;
    margin: 0 0 12px;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.exp-tag {
    background: #e2e8f4;
    color: #4a6da8;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 2px;
    border: none;
}

.allow-scroll #MainContent{
    position: relative;
    height: auto;
    min-height: 100vh;
    justify-content: flex-start;
    
}

h1{
    color: blue;
    text-align: center;
}






.allow-scroll{
    overflow-y:auto !important;
    height: auto !important;
}




/*Experience Timeline*/



/*Connect*/
#connect{
    min-height: 20vh;
    padding-bottom: 200px;
}
.social-container{
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-card{
    display: flex;
    align-items: center;
    text-decoration: none;
    background:#f0f0f0;
    color: #333;
    padding: 10px;
    border-radius: 50px;
    max-width: 25px;
    overflow: hidden;
    transition: max-width 0.5s ease,background 0.3s;
    white-space: nowrap;

}

.social-card i{
    font-size: 24px;
    min-width: 25px;
    text-align: center;
}
.social-card span{
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/*hover states */
.social-card:hover{
    
    max-width: 250px;
    background: #333;
    color: white;

}   

.social-card:hover span{
    opacity: 1;
}

.instagram:hover{background: #E1306c;}
.linkedin:hover{background: #0077B5}
.gmail:hover{background: #D44638}
.gitlab:hover{background: #FC6D26;}
.resume:hover{background: #1a1a1a;}

html{
    scroll-behavior: smooth;
}

/*Experience Timeline*/

a{
    display: inline-block;
    position: relative;
    cursor: pointer;
    color: blue;
    padding: 8px 10px;
    z-index: 120;
   
    text-decoration: none;

}

/* Shared timeline dot */
.timeline-dot {
    position: absolute;
    left: -36px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4a90d9;
    border: 2px solid transparent;
    transition: background 0.2s ease;
    z-index: 1;
}

/* Section backgrounds */
#projects {
    background: transparent;
    padding-top: 60px;
    padding-bottom: 20px;
}

#experience {
    background: transparent;
    padding-top: 60px;
    padding-bottom: 20px;
}

#projects, #experience{
    min-height: 80vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    scroll-margin-top: 0;
}