:root {
    --backColor1: rgb(73, 72, 117);
    --backColor2: rgb(54, 54, 88);
    /* --projectCards1: rgb(40, 40, 60); */
    --projectCards1: rgb(50, 50, 75);
    --projectCards2: rgb(91, 89, 140);
    --overlayColor: rgba(33, 33, 61, 0.9);
    --overlayColor2: rgba(54, 54, 88, .7);
    --headingColor: white;
    --textColor: rgb(243, 243, 243);
    --bg-dark: #0a0a12;
    --text-light: #f0f0f0;
    --primary-card: #32d74b;
    --secondary-card: #ffd60a;
    --accent: #3a86ff;
}

body {
    margin: 0;
    /* font-family: Arial, sans-serif; */
    /* font-family: "Open Sans", sans-serif; */
    /* font-family: "Roboto Slab", serif; */
    font-family: "Montserrat", sans-serif;

  
}


a {
    color: inherit; 
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
}




#homePage h1,
#homePage h2,
#homePage h3,
#experience h3,
#contact h5 {
    border-bottom: 4px solid ; 
    border-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)) 1;
    color: white;
}

#header {
    display: flex;
    /* overflow: visible;  */
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--backColor1);
    color: white;
    position: sticky;
    z-index: 2000;
    top: 0;
    
    
}

#header .logo {
    font-size: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    text-decoration: none;
    color: white;
}

#header a strong{
    background:white;
    color: var(--backColor2);
    padding: 5px;
}

#header .menu {
    font-size: 24px;

    cursor: pointer;
    user-select: none; 
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    color:white;
}



/* popup menu when menu at the header is clicked */
#popup-menu {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background-color: white; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    padding: 20px;
    border-radius: 5px;
    z-index: 1001;
 
    
    
}

#popup-menu .links a {
    display: block;
    color: white;
    text-decoration: none;
    /* padding: 10px 20px; */
    text-align: center;
    font-size: 24px;
    border-bottom: 2px solid rgba(255, 255, 255, .2);
    padding: 20px 150px 20px 150px;
    /* margin: 0px 160px 0px 160px; */
    
   
}

#popup-menu .links a:hover {
    background-color: rgba(241, 241, 241, 0.2);
 
}

#popup-menu .iconContainer img{
    padding-top: 30px;
    width: clamp(60px, 10%, 10%);
  }
  
  #popup-menu  .icons {
    display: flex;
    text-align: center;
    justify-content: center;
    /* padding-top: 30px; */
    margin: 0px;
    
  }
  
  #popup-menu  .iconContainer:hover img{
    animation: scaleUp 0.3s ease forwards;
  }
  
  @keyframes scaleUp {
    from {
      transform: scale(1); /* Initial size */
    }
    to {
      transform: scale(1.3); /* Scale up to 1.1 times */
    }
  }

/* blurs out the background */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.8); */
    
    /* filter: blur(5px); */
}

#overlay{
    background-color: var(--overlayColor);
    z-index: 1000; 
}

#overlayPic{
    background-color: var(--overlayColor2);
    z-index: -1; 
    
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -100;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(3px);
}

.video-container img {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -100;
    /* filter: sepia(1) saturate(5) hue-rotate(270deg); */
}

/* .content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    margin-top: 20%;
} */

#nameTitle {
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
    font-family: Arial, sans-serif;
}

#nameTitle h1{
    /* font-size: 100px; */
    border-bottom: 4px solid; 
    border-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)) 1;
    /* padding-bottom: 20px;  */
    /* padding: 0px 7% 20px 7%; */
    /* margin: 0 10px; */
    display: inline-block; 
    margin-bottom: 50px;
    -webkit-text-stroke: 3px black;

}

#nameTitle p {
    padding-top: 0px;
    padding-bottom: 30px;
    margin-top: 0px;
    /* font-size: 50px; */
    font-weight: bold;
    color: white;
    -webkit-text-stroke: 2px black;
    margin: 5px 0;
}

#nameTitle .nameLinks{
    padding-bottom: 100px;
}


#nameTitle .nameLinks a:hover{
    background-color: rgba(255, 255, 255, 0.7);
    color:black;
}
#nameTitle .nameLinks a {
    border: 2px solid white;
    margin: 0px 50px 0px 50px;
    padding: 20px 15px 20px 15px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
    background-color: rgba(0,0,0, 0.5);
}
#nameTitle .nameLinks img {
    width: 1.5em; 
    height: 1.5em; 
    transform: translate(0, 25%);
    margin-right: 7px; 
}

@media screen and (min-width: 760px) {
    h1 {
        font-size: 100px;
    }

    #nameTitle p {
        font-size: 50px;
    }

}

@media screen and (max-width: 760px) {


    h1 {
        font-size: 15vw;
    }
    #nameTitle p {
        font-size: 9vw;
    }

    #nameTitle .nameLinks {
        display: none;
    }
}

.TextWrap {
    background-color: var(--backColor1);
}


/* About Me section */
#about {
    
    background-color: var(--backColor2);
    padding-bottom: 100px;

    /* display: flex; */
   
    justify-content: space-between; 
    align-items: center; 
    /* max-width: 800px;  */
    margin: 0 auto;
    padding: 20px; 
    /* margin-bottom: 0; */
}

#about .aboutContainer {
    display:grid;
}

#about .text{
    /* flex: 1; */
    grid-column: 1 / 2;
    /* padding-right: 20px; */
    
}

#about .image{
    flex: 1; 
    text-align: center;
    padding-top: 10px;
}

#about .image img {
    max-width: 85%; 
    height: auto; 
    border-radius: 50%; 
    
}

#about h2{
    font-size: 75px;
    padding-top: 50px;
    margin: 0px;
    padding: 50px 0px 0px 0px;
    text-align: center;
    color: var(--headingColor);
    text-decoration: none;
    /* border-bottom: 4px solid ;  */
    /* border-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)) 1; */
    /* margin: 0px 50px 0px 50px; */
}

#about p{
    font-size: 25px;
    /* padding: 50px 0px 0px 50px; */
    color: var(--textColor);
}

@media screen and (min-width: 760px) {


    #about .aboutContainer {
        
        grid-template-columns: 1fr 1fr;
        /* align-items: center; */
    }

    #about .text{
        grid-column: 1 / 2; 
    }
    
    #about .image{
        
        grid-column: 2 / 3;
        
    }
    #about p{
        padding: 20px 0px 0px 50px; 
    }
    #about .h2Outside{
        display: none;
    }
}

@media screen and (max-width: 760px) {
    h2{
        text-align: center;
        margin: 0;
        padding-bottom: 50px;
    }

    

    #about .h2Inside{
        display: none;
    }

    #about .aboutContainer {
        grid-template-rows: 1fr 1fr;
        padding-top: 50px;
    }

    #about .text{
        grid-row: 2 / 3; 
    }
    
    #about .image{
        grid-row: 1 / 2;
    }

    #about p{
        padding: 50px 5% 0px 5%; 
        text-align:center;
    }

}

/* Projects Section  */
#projects {
    background-color: var(--backColor2);
    margin: 0 auto;
    
    padding-bottom: 50px;
}

#projects h3,
#experience h3 {
    text-align: center;
    font-size: 75px;
    color: white;
    /* margin: 30px 10px; */
   
    
}

#projects .projectContainer {
    /* background: var(--backColor1); */
    background: var(--projectCards2);
    display: grid;
    align-items: center;
    margin-bottom: 20px;
    border: 5px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0 auto;
    margin: 0px 5% 100px 5%;
}

#projects .projectContainer .text {
    color: var(--textColor);
    text-align: center;
    margin: 0px 40px 0px 40px;
}

#projects .projectContainer p {
    font-size: 1.3em;
    padding-top: 40px;
    line-height: 1.3;
}

#projects .projectContainer .image {
    text-align: center;
    margin: 0 auto;
    padding: 0px;
}

#projects .projectContainer .image img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0px;
}

#projects h4 {
    text-align: center;
    color: var(--textColor);
    margin: 0;
    font-size: 2.5em;
    padding-top: 20px;
}

#projects .project-buttons {
    padding-top: 40px;
    gap: 30px;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

#projects .moreButton {
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 1.2em;
    background-color: #000000;
    transition: background-color 0.3s ease;
}

#projects .moreButton:hover {
    background-color: #ddd;
    color: black;
}

@media screen and (min-width: 760px) {

    #projects {
        padding-top: 50px;
    }

    #projects h3,
    #CodingProjects h3 {
        margin: 50px 20% 100px 20%;
    }

    #projects .projectContainer {
        grid-template-columns: auto 1fr;
        gap: 10px;
    }

    #projects .image {
        grid-column: 1 / 2;
        margin: 0 auto;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #projects .text {
        grid-column: 2 / 3;
    }

    
}

@media screen and (max-width: 760px) {

    #projects {
        padding-top: 20px;
    }

    #projects h3 {
        margin: 100px 10px;
    }
    #projects .projectContainer {
        grid-template-rows: 1fr 1fr;
    }

    #projects .image {
        grid-row: 1 / 2;
    }

    #projects .text {
        grid-row: 2 / 3;
    }
}

/* Contact Section  */
#contact {
    background-color: var(--backColor2);
    padding-bottom: 300px;
    /* padding-top: 100px; */
    margin-top: 100px;
    padding-top: 20px;

   
    /* display: flex; */
    /* justify-content: center; */
}

#contact h5{
    text-align: center;
    font-size: 75px;
    color: white;
    /* margin-bottom: 0 auto; */
    /* padding-bottom: 0 auto; */
    
    /* padding-top: 50px; */
    /* margin-bottom: 50px; */
    
}

#contact .iconContainer img{
    width: clamp(80px, 10%, 10%);
  }
  
#contact  .icons {
    display: flex;
    text-align: center;
    justify-content: center;
    padding-top: 0 auto;
    margin: 0px;
    
    
  }
  
#contact  .iconContainer:hover img{
    animation: scaleUp 0.3s ease forwards;
}

@media screen and (min-width: 760px) {

   #contact h5 {
        margin: 100px 20% 100px 20%;
   }
}

@media screen and (max-width: 760px) {
    #contact h5{
        text-align: center;
        /* margin: 0 auto; */
        /* margin: 100px 0 100px 0; */
        padding-top: 20px;
    }
}
  
  @keyframes scaleUp {
    from {
      transform: scale(1); /* Initial size */
    }
    to {
      transform: scale(1.5); /* Scale up to 1.1 times */
    }
  }

.blur {
    filter: blur(15px);
}

h1{
    /* font-size: 100px; */
    border-bottom: 4px solid; 
    border-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)) 1;
    color: white;
    /* padding-bottom: 20px;  */
    padding: 0px 7% 20px 7%;
    display: inline-block; 
    margin-bottom: 50px;
    -webkit-text-stroke: 3px black;

}

#ProjectVideo {
    /* transform: translate(17%, 0%);
     */
     position: relative;
            padding-bottom: 56.25%; 
     text-align: center;
     /* height: 0; */
            /* overflow: hidden; */
            max-width: 100%;
            /* background: #000; */
     
}

#ProjectVideo iframe{
    margin: 5% 0 5% 0;
    width: 100%;
    /* height: auto; */
    position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;

    
 
}

#ProjectStory,
#ProjectCode {
    background: var(--backColor2);
}

#ProjectOverview h2,
#ProjectStory h3,
#ProjectGameplay h4,
#ProjectCode h6 {
    
    margin: 0 auto;
    /* border-bottom: none; */
    /* text-align: center; */
    border-bottom: 3px solid white;
    
    font-size: 70px;
    /* padding-top: 50px; */
    color: var(--textColor);
}



#ProjectOverview p,
#ProjectOverview ul,
#ProjectStory p,
#ProjectGameplay p,
#ProjectCode p{
    color: var(--textColor);
    font-size: 24px;
    line-height: 1.5;
}



.collapsible {
    background-color: var(--backColor1);
    color: var(--textColor);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 20px;
    /* border-radius: 5px; */
    transition: background-color 0.3s ease;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 3px solid #ffffff; 
}

.collapsible:hover {
    background-color: #ddd;
    color: black;
}

.content {
    padding: 0 18px;
    /* margin: 0; */
    display: none;
    overflow: hidden;
    /* background-color: #f5f5f5; */
    border-radius: 5px;
    /* border: 1px solid #ddd; */
    margin-top: 10px;
}

.collapsible .icon {
    font-size: 40px;
}

pre {
    margin:0 auto;
 
    border-radius: 5px;

    overflow-x: auto;



}

@media screen and (min-width: 760px) {
    #ProjectOverview,
    #ProjectStory,
    #ProjectGameplay,
    #ProjectCode{
        padding: 100px 17% 100px 17%;
    }

 }
 
 @media screen and (max-width: 760px) {
    #ProjectOverview,
    #ProjectStory,
    #ProjectGameplay,
    #ProjectCode{
        padding: 100px 5% 100px 5%;
    }
 }

#CodingProjects .projects-section {
    margin-top: 40px;
    /* align-items: center; */
    justify-content: center;
    /* padding: 40px 40px 40px 40px; */
}


#CodingProjects .section-title {
    text-align: center;
    font-size: 75px;
    color: white;
    margin-bottom: 30px;
    /* color: var(--secondary-card); */
}

/* #CodingProjects .projects-grid {
    display: grid;
    /* align-items: center; 
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    /* margin-bottom: 40px; 
    padding: 40px 100px 40px 100px;
} */

#CodingProjects .projects-grid {
    margin-top: 40px;
    padding-top: 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 cards per row */
    gap: 20px;
    /* column-gap: 40px; */
    margin-bottom: 40px;
    row-gap: 70px;
    /* padding-bottom: 100px; */
    /* max-width: 1140px; Slightly less than container to account for padding */
    /* margin-left: auto; */
    /* margin-right: auto; */
    margin: 0 auto; /* Centers the grid itself */
    justify-items: center; /* Centers the grid items horizontally */
    align-items: start; /* Aligns items to the top of the grid */
    max-width: 1900px; 
}

#CodingProjects .project-card {
    /* background-color: var(--primary-card); */
    background-color: var(--projectCards1);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: transform 0.2s;
    flex-direction: column;
    height: 450px;
    /* height: 80%; */
    overflow: hidden;
    width: 80%; /* Allow the card to take full width of grid column */
    max-width: 500px;
    /* display: flex; */
    /* justify-content: center; */
    transition: transform 0.3s ease-in-out, background-color 0.3s, color 0.3s;
}

#CodingProjects .project-card:hover {
    /* transform: translateY(-5px); */
    transform: scale(1.1);
}

#CodingProjects .project-card.secondary {
    background-color: var(--secondary-card);
    color: #333;
}

#CodingProjects .project-title {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    color: var(--textColor);
}

#CodingProjects .project-date {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 10px;
    color: var(--textColor);
}

#CodingProjects .project-description {
    font-size: 20px;
    flex-grow: 1;
    overflow-y: auto;
    /* Stylish scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    padding-right: 5px; /* Add padding for scrollbar */
    margin-bottom: 10px; /* Space for tech tags */
    /* max-height: 300px; */
    height: 325px;
    color: var(--textColor);
    /* padding-bottom: 35px; */
}

/* Webkit scrollbar styling */
#CodingProjects .project-description::-webkit-scrollbar {
    width: 6px;
}

#CodingProjects .project-description::-webkit-scrollbar-track {
    background: transparent;
}

#CodingProjects .project-description::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

#CodingProjects .secondary .project-description::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
}

#CodingProjects .project-description ul {
    padding-left: 20px;
    margin: 5px 0;
}

#CodingProjects .project-description li {
    margin-bottom: 5px;
}

#CodingProjects .tech-tags {
    /* position: absolute; */
    /* bottom: 15px; */
    /* left: 20px; */
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px; 
    width: 100%;
}

#CodingProjects .tech-tag {
    /* background-color: rgba(255, 255, 255, 0.3); */
    background-color: rgba(230, 230, 250, 0.8);
    color: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 17px;
    font-weight: bold;
    transition: transform 0.3s ease-in-out, background-color 0.3s, color 0.3s;
}

#CodingProjects .secondary .tech-tag {
    background-color: rgba(0, 0, 0, 0.2);
}

#CodingProjects .repo-link {
    color: inherit;
    transition: transform 0.2s;
}

#CodingProjects .repo-link:hover {
    transform: scale(1.1);
}

/* Icons */
#CodingProjects .icon {
    width: 36px;
    height: 36px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#CPLinks .tech-tag:hover {
    background-color: rgba(0, 0, 0, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.2);
}

#CodingProjects .github-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z'/%3E%3C/svg%3E");
}

@media (max-width: 1300px) {
    #CodingProjects .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    #CodingProjects .projects-grid {
        grid-template-columns: 1fr;
    }
}


/* Experience Section Styles */
/* #experience {
    padding-top: 30px;
    padding-bottom: 90px;
} */
.experience-section {
    max-width: 1000px;
    margin: 60px auto;
    
    /* padding: 0 20px; */
}

.experience-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    position: relative;
}

/* .experience-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
} */

.experience-timeline {
    position: relative;
    padding: 0 20px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #4A90E2, #7B68EE, #9370DB);
    transform: translateX(-50%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.experience-timeline-item {
    position: relative;
    margin-bottom: 30px;
    width: 60%;
    transition: all 0.3s ease;
}

.experience-timeline-item:nth-child(odd) {
    left: -15%;
    padding-right: 50px;
}

.experience-timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
}

.experience-timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    background: #4A90E2;
    border-radius: 50%;
    border: 4px solid #1a1a2e;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.3);
    z-index: 2;
}

.experience-timeline-item:nth-child(odd)::before {
    right: -10px;
}

.experience-timeline-item:nth-child(even)::before {
    left: -12px;
}

.experience-card {
    /* background: rgba(255, 255, 255, 0.95); */
    background: rgba(255, 247, 239, 0.95);
    /* background: rgba(20, 25, 45, 0.8); */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.experience-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-header {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.experience-title-group {
    flex: 1;
}

.experience-job-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.experience-company {
    font-size: 1rem;
    color: #4A90E2;
    font-weight: 500;
    margin: 0;
}

.experience-date {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    background: rgba(74, 144, 226, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.experience-expand-icon {
    margin-left: 10px;
    flex-shrink: 0;
}

.experience-arrow {
    font-size: 1.2rem;
    color: #4A90E2;
    transition: transform 0.3s ease;
    display: inline-block;
}

.experience-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0 0 15px 15px;
    margin-top: -15px;
    padding: 0 30px;
    border-left: 4px solid #4A90E2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.experience-description {
    padding: 20px 0;
}

.experience-description ul {
    margin: 0 0 20px 0;
    padding-left: 20px;
    color: #2c3e50;
    line-height: 1.6;
}

.experience-description li {
    margin-bottom: 10px;
    position: relative;
}

.experience-description li::marker {
    color: #4A90E2;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.experience-skill-tag {
    background: #4A90E2;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.experience-skill-tag:hover {
    background: #357ABD;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 1350px) {
    #experience.experience-section {
        padding: 0 15px;
    }

    .experience-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .experience-timeline {
        padding: 0 10px;
    }

    .experience-timeline::before {
        left: 30px;
        transform: none;
    }

    .experience-timeline-item {
        width: calc(100% - 60px);
        left: 67.5px !important;
        padding: 0 !important;
        margin-bottom: 25px;
    }

    .experience-timeline-item::before {
        left: -58px !important;
        top: 25px;
    }

    .experience-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .experience-header {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 15px;
    }

    .experience-job-title {
        font-size: 1.1rem;
    }

    .experience-company {
        font-size: 0.9rem;
    }

    .experience-date {
        align-self: flex-start;
        font-size: 0.8rem;
        padding: 5px 12px;
        flex-shrink: 0;
    }

    .experience-dropdown {
        padding: 0 20px;
    }

    .experience-description {
        padding: 15px 0;
    }

    .experience-skills {
        gap: 6px;
    }

    .experience-skill-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .experience-timeline-item {
        width: calc(100% - 40px);
        left: 40px !important;
    }

    .experience-timeline-item::before {
        left: -38px !important;
        width: 12px;
        height: 12px;
        border: 3px solid #1a1a2e;
    }

    .experience-timeline::before {
        left: 20px;
        width: 3px;
    }
}