body,html{
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}
html{
    scroll-behavior: smooth;
}
body{
background-color: black;
color: #f5f5f5;
}

#navbar{
    width: 100%;
    height:10vh;
    background: #1A1A1A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    position: fixed;
    top: 0;
    z-index: 1000;
    max-height: 10vh;
}

#navbar p{
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size:25px;
}

#nav_sections{
    display: flex;
    justify-content: space-evenly;
    gap:10px;
}

#nav_sections a{
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

#cm {
    margin-right: 70px;
}

#nav_sections a:hover {
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
}


#nav_sections a.active {
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
    font-weight: 600;
}

section {
    scroll-margin-top:10vh;
  min-height: 50vh;
}


#footer {
  background: #1A1A1A;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem 0;
}

#footer .footer-content h3 {
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#footer .footer-content p {
  font-size: 1.2rem;
  color: whitesmoke;
}

#footer .socials {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-top:40px;
}

#footer .socials li {
  display: inline-block;
}

#footer .socials a {
  color: #FFD700;
  font-size: 1.2rem;
  transition: 0.3s;
}

#footer .socials a:hover {
  color: #B8860B;
}

#footer .footer-bottom {
  margin-top: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid #777;
  font-size: 1rem;
  color: #777;
}

.cf-icon .cf-rect {
  fill: #FFD700;
  transition: fill 0.3s ease;
}

.cf-icon {
  width: 1.4rem;
  height: 1.4rem;
  transition: transform 0.3s ease;
}

.socials a:hover .cf-rect {
  fill: #B8860B;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
    border-radius: 10px;
    transition: background 0.3s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
}

#About_Me {
    margin-top: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 4rem 5%;
    border-radius: 15px;
    animation: fadeIn 1s ease-in-out;
    position: relative;
  overflow: hidden;
}
#About_Me .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* keep video behind content */
}

#About_Me .video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#About_Me_Text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#About_Me h2 {
    font-size: 2.5rem;
    color: #f5f5f5;
    font-weight: 700;
    position: relative;
}

#About_Me h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 240px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
    border-radius: 5px;
}

#about_me_content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #f5f5f5;
    max-width: 600px;
}

#about_me_buttons {
    display: flex;
    gap: 1rem;
}

#about_me_buttons a {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
    color: #1A1A1A;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 0px 15px #FFD700;
    transition: background 0.3s ease, transform 0.3s ease;
}

#about_me_buttons a:hover {
    background: linear-gradient(#B8860B,#B8860B);
    transform: translateY(-2px);
}

#About_Me_Images {
    position: relative;
    width: 32vw;
    height: 40vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

#Background_image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border: 5px solid transparent;
    border-image: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c) 1;

}


#My_image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#Experience {
  position: relative;
  padding: 3rem 0;
}

#Experience h2 {
  font-size: 2.5rem;
  color: #f5f5f5;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}
#Experience_Text {
    position: relative;
    text-align: center;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
  padding: 0 2rem;

}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 1rem 2rem;
  position: relative;
  width: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  /*right: -9px;*/
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

.timeline-item.left {
  left: 50%;
  transform: translateX(-100%);
  z-index: 2;
}

.timeline-item.left::before {
  right: -10px;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.right::before {
  left: -10px;
}

.timeline-item .content {
  background: #1A1A1A;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-top:5vh;
  border: 5px solid transparent;
border-image: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c) 1;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline-item .content:hover {
    box-shadow: 0 0px 25px #FFD700;
    transform: scale(1.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline-item .content h3 {
  color: #B8860B;
  margin-bottom: 0.5rem;
}

.timeline-item .content p {
  color: whitesmoke;
}

.timeline-item strong {
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
color: transparent;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

}

.timeline-year {
  position: absolute;
  top: 12px;
  font-weight: bold;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
  color: #1A1A1A;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 1rem;
}

.timeline-item.left .timeline-year {
  left: 85%;
}

.timeline img{
    width: 100%;
    height: 300px;
}

#Experience h2:after{
  content: '';
  position: absolute;
  width: 40%;
  height: 4px;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-divider {
  width: 80%;
  margin: 4rem auto;
  border: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    transparent,
    #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c,
    transparent
  );
  border-radius: 4px;
  position: relative;
}

#Skills {
  padding: 4rem 2rem;
  color: #f5f5f5;
  text-align: center;
}

#Skills h2 {
  font-size: 2.5rem;
  color: #f5f5f5;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

#Skills h2::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 4px;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: #1A1A1A;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  text-align: left;
  border: 5px solid transparent;
border-image: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c) 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.skill-card:hover {
  box-shadow: 0 0 25px #FFD700;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    transform: scale(1.03);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
color: transparent;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

}

.skill-card ul {
  list-style: none;
  padding: 0;
}

.skill-card ul li:last-child {
  border-bottom: none;
}

.skill-card ul li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  font-size: 0.9vw;
}

.skill-card i {
  margin-right: 0;
  flex-shrink: 0;
  width: 1.5em;
  text-align: center;
}

.skill-card h3 {
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2vw;
}
.skill-card h3 i {
  width: 1.5em;
  text-align: center;
  flex-shrink: 0;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-card {
  background: #1A1A1A;
  border-radius: 15px;
  padding: 2rem;
  border: 5px solid transparent;
  border-image: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c) 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  box-shadow: 0 0 25px #FFD700;
  transform: scale(1.03);
}

.skill-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-card ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.8rem 0;
  font-size: 1rem;
}

.progress {
  flex: 0 0 45%;
  height: 8px;
  background: rgba(255, 215, 0, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(270deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
  background-size: 400% 400%;
  border-radius: 10px;

  animation:
    fill-bar 2.5s ease forwards,
    alive-colors 6s ease infinite alternate;
}

@keyframes fill-bar {
  from { width: 0; }
  to { width: var(--progress); }
}

@keyframes alive-colors {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#Projects {
  padding: 4rem 2rem;
  position: relative;
  color: #f5f5f5;
  text-align: center;
}

#Projects h2 {
  font-size: 2.5rem;
  color: #f5f5f5;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

#Projects h2:after {
  content: '';
  position: absolute;
  width: 40%;
  height: 4px;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.map-container {
  max-width: 800px;
  margin: auto;
  position: relative;
}

#map-path {
  width: 100%;
  height: auto;
}

.map-point {
  fill: url(#goldGradient);
  stroke: #f9e79f;
  stroke-width: 3;
  cursor: pointer;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.map-point:hover {
  fill: #B8860B;
  transform: scale(1.2);
}

.point-label {
  fill: #f5f5f5;
  font-size: 0.85rem;
  font-weight: bold;
}

#project-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #1A1A1A;
  padding: 1.5rem;
  border-radius: 15px;
  width: 80%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  border: 5px solid transparent;
border-image: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c) 1;
  color: white;
  position: relative;
  box-sizing: border-box;
}


.modal-content img {
  display: block;
  width: 100%;
  height: 60vh;
  object-fit: fill;
  object-position: center;
  border-radius: 8px;
  margin-top: 2.5rem;
}


.modal-content h3 {
  margin-bottom: 2.5rem;
}

.modal-content h4 {
  margin-top: 3rem;
  color: #e0c168;
  text-align: left;
}

.modal-content ul {
  text-align: left;
  margin: 0 auto;
  padding-left: 1.2rem;

}

.modal-content h5{
    text-align: left;
    margin-top: 2rem;
}

.modal-content li {
    text-align: left;
  margin: 0 auto;
  padding-left: 1.2rem;
}

.modal-content ol{
    text-align: left;
  margin: 0 auto;
  padding-left: 1.2rem;
}

.modal-content p {
    text-align: left;
}


.view-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
  color: black;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
}

.view-btn:hover {
  background: darkgoldenrod;
}


.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}


#Certificates {
  padding: 4rem 2rem;
  text-align: center;
}

#Certificates h2 {
  font-size: 2.5rem;
  color: #f5f5f5;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

#Certificates h2:after {
  content: '';
  position: absolute;
  width: 40%;
  height: 4px;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.shelf-category h3 {
  text-align: left;
  margin-bottom: 0.5rem;
}

.bookshelf {
  position: relative;
  border: 25px solid transparent;
  border-image-source: url("Images/wooden-texture.jpg");
  border-image-slice: 30;
  border-image-repeat: stretch;
  border-image-width: 25px;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.bookshelf .shelf-category:last-child::after {
  display: none;
  content: none;
}
.bookshelf .shelf-category:last-child {
  padding-bottom: 0;
}
#first-shelf {
    background: transparent;
}

.shelf-category {
  background: transparent;
  padding: 1rem;
  position: relative;
  padding-bottom: 1.2rem;
  background:url("Images/wooden-back.jpg");
  background-size: cover;
}

.shelf {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1rem;
  align-items: end;
    justify-content: center;
    margin-top: 3rem;

}

.shelf-category::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25px;
  background: url("Images/wooden-texture.jpg") repeat-x center;
  background-size: cover;
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}


.book:hover {
  transform: rotate(-5deg) translateY(-5px);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox-content {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  max-width: 80%;
  text-align: center;
  height:40vh;
}

.lightbox img {
  max-width: 100%;
  border-radius: 5px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

.cert-title {
  margin-top: 0.5rem;
  font-weight: bold;
}

.shelf-category h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
color: transparent;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;

}

.book {
  height: 10vw;
  width:5vw;
  background: #ccc url('Images/book-cover.jpg') center/cover no-repeat;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  margin-top: 3.5vw;
  margin-left:1.3vw;
}

.book span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1vw;
  font-weight: bold;
  color: beige;
}

.book:hover {
  transform: rotate(-5deg) translateY(-5px);
}

.cert-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #1A1A1A;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  width: 60%;
  height: 80vh;
  border: 5px solid transparent;
border-image: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c) 1;

}

.popup-content img {
  width: 100%;
  height: 70vh;
  border-radius: 8px;
}

.cert-title {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: whitesmoke;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

#downloadBtn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
  color: black;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

#downloadBtn:hover {
  background: darkgoldenrod;
}

#contact {
  padding: 4rem 1rem;
  text-align: center;
  color: white;
}

.contact-title span {
  font-size: 2.5rem;
  text-align: center;
  background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
color: transparent;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.contact-title{
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
  color: #f5f5f5;
    text-align: center;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: auto;
}

.contact-card {
  background: #1f1f1f;
  border: 5px solid transparent;
border-image: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c) 1;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card i, .contact-card .cf-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #b68d2c, #e0c168, #f9e79f, #e0c168, #b68d2c);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 0.3s ease;
}

.cf-icon{
  width: 2rem;
  height: 2rem;
}

.contact-card span {
  font-size: 1rem;
  font-weight: 600;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.contact-card:hover .cf-icon rect{
  fill: white;
}
.contact-card:hover i{
    background: linear-gradient(#f5f5f5,#f5f5f5);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-device-width: 768px) {
        #project-title{
            font-size: 35px;
        }
        #project-image{
            height: 20vh;
        }
        #certImage{
            height: 40vh;
        }
        .popup-content{
            height: 50vh;
        }
}
@media (max-device-width: 480px) {
    #certImage{
        height: 20vh;
    }
    .popup-content{
        height: 30vh;
    }
}

@media (max-device-width: 1200px) {
    .book{
        width:50px;
    }
}

@media(max-device-width: 1000px) {
    .book {
        margin-left:6px;
    }
}

@media(min-device-width: 1485px) {
    .book {
        margin-left:36px;
    }
}

.contact-card {
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.1) 100%);
  transform: skewX(-25deg);
}

.contact-card:hover::after {
  animation: shine 1.5s forwards;
}

@keyframes shine {
  100% { left: 125%; }
}

.particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* stay behind text */
}
#Experience, #Projects, #Contact, #Skills, #Certificates {
  position: relative; /* keeps particles behind */
  overflow: hidden;
}
#Experience_Text,
.timeline {
  position: relative;
  z-index: 1; /* keep text above particles */
}

