:root {
  --accent: #72a1de;
  --accent-alt: #727fde;
  --transition: 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: whitesmoke;
}

html {
  scroll-behavior: smooth;
}

/* supp gng if ur reading this i hope ur having a good day (unlike me while i was coding this 😭😭😭😭😭) */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-color: #0a0a1a;
}


.card {
  background: rgba(15, 15, 30, 0.6);
  border-radius: 30px;
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 40px #00000080;
}


a{
  text-decoration: none;
}

.back-vid {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

.vibrant-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #001f7c38;
  z-index: -1;
  pointer-events: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(114, 161, 222, 0.55);
  z-index: 1000;
}

.nav-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: auto;
}

.logo h1 {
  font-size: 22px;
}

.logo h1 span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(114, 127, 222, 0.4);
  transition: 0.3s;
}

.nav-links:hover{
  padding: 18px 30px;
  transform: translateY(6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(114, 161, 222, 0.5);
}

.nav-links li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 0 10px;
  color: white;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  transform: translateY(5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(114, 161, 222, 0.5);
}

.socials {
  position: absolute;
  right: 0;
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: lightgray;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.socials a:hover {
  background: var(--accent-alt);
  color: black;
  box-shadow: 0 0 15px rgba(114, 127, 222, 0.4);
  transform: translateY(-2.5px);
}

.experience-container {
  max-width: fit-content;
  margin: 0 auto;
  padding: 120px 20px 60px;
  position: relative;
  z-index: 1;
}

.exp-top {
  text-align: center;
  margin-bottom: 80px;
  padding: 60px 40px;
  background: rgba(15, 15, 30, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 2px solid rgba(114, 161, 222, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.header-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.exp-top h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.header-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  letter-spacing: 1px;
}


/* here comes the coooll part (i copied this idead from yt and wht u gonna do judge me atleast i dont paste codes from some ai model out there) */
.timeline {
  position: relative;
  padding-left: 50px;
  width: 100%;
  max-width: 1100px;
  margin-right: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  /* the left: 18.6px is not a typo i spent 20 mins getting that right */
  left: 18.6px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(114, 161, 222, 0.5);
  border-radius: 2px;
}

.timeline-item {
  width: 1100px;
  position: relative;
  margin-bottom: 95px;
}

.timeline-marker {
  position: absolute;
  left: -39px;
  top: 30px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(114, 161, 222, 0.5);
}

.experience-card {
  background: rgba(15, 15, 30, 0.7);
  width: 100%;
  /* yes i hardcoded width: 1100px and no i will not fix it wht u gonna do abt it huh 😼😏??*/
  max-width: 1100px;
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 35px;
  border: 2px solid rgba(114, 161, 222, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.experience-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(114, 161, 222, 0.5);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.event-type {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-type.hackathon {
  font-size: 16px;
  font-weight: 600;
  background: rgba(240, 147, 251, 0.2);
  border: 1px solid rgba(240, 147, 251, 0.4);
  color: #f093fb;
}

.event-type.event {
  font-size: 16px;
  font-weight: 600;
  background: rgba(79, 172, 254, 0.2);
  border: 1px solid rgba(79, 172, 254, 0.4);
  color: #4facfe;
}

.event-type.project {
  font-size: 18px;
  font-weight: 600;
  background: rgba(67, 233, 123, 0.2);
  border: 1px solid rgba(67, 233, 123, 0.4);
  color: #43e97b;
}

.event-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  padding: 6px 14px;
  background: rgba(114, 161, 222, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(114, 161, 222, 0.3);
  margin-top: 20px;
  margin-left: 38px;
  margin-right: 100px;
}


.event-content{
  padding-left: 95px;
  padding-right: 95px;
  margin: 30px 45px;
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.event-content:hover{
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(114, 161, 222, 0.5);
}

.event-title{
    font-size: 26px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 30px;
    color: white;
}

.event-location{
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.event-location i {
  color: var(--accent);
}

.event-description{
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.event-description p {
  margin-bottom: 12px;
  margin-left: 45px;
}

.achievement {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
  border-radius: 15px;
  font-weight: 600;
  font-size: 13px;
  transition: 0.3s;
}

.tag {
  width: fit-content;
  padding: 6px 14px;
  background: rgba(114, 161, 222, 0.15);
  border: 1px solid rgba(114, 161, 222, 0.3);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.9);
  transition: 0.2s;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.tag:hover {
  background: rgba(114, 161, 222, 0.25);
  border-color: rgba(114, 161, 222, 0.5);
}




.languages{
  padding: 30px 60px;
  margin: 30px 60px;
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.languages:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(114, 161, 222, 0.5);
}

.event-achievements{
  padding-right: 60px;
  margin: 20px 0;
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.languages p{
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}



.proj-split{
  padding-left: 30px;
  padding-right: 30px;
  margin: 50px 45px 30px;
  width: fit-content;
  height: fit-content;
  border: 2px solid rgba(114, 161, 222, 0.25);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.proj-split:hover{
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(114, 161, 222, 0.5);
}

.project-type{
  font-size: 26px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 15px;
  color: white;
}



.software-projs{
  padding: 30px 40px;
  margin-top: 30px;
  /* margin-left: 120px cuz 100 was too less and 150 was too much idk if i have OCD or what (but i do have attachement issues😛😭😭)*/
  margin-left: 120px;
  margin-bottom: 30px;
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}

.software-projs:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(114, 161, 222, 0.5);
}



.software-project-title{
  padding: 8px 30px;
  margin-top: 35px;
  margin-right: 45px;
  margin-bottom: 30px;
  border: 2px solid rgba(114, 161, 222, 0.25);
  border-radius: 25px;
  width: fit-content;
  height: fit-content;
  transition: 0.3s;
}

.software-project-title:hover{
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(114, 161, 222, 0.5);
}


.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
  position: absolute;
  right: 0;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 260px;
  height: 100vh;
  background: rgba(10, 10, 26, 0.97);
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(114, 161, 222, 0.2);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 30px 25px;
  transition: right 0.3s ease;
}

.sidebar.open {
  right: 0;
}

.close-icon {
  font-size: 28px;
  cursor: pointer;
  color: white;
  align-self: flex-end;
}

.sidebar .nav-links {
  flex-direction: column;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  gap: 5px;
}

.sidebar .nav-links:hover {
  transform: none;
  padding: 0;
  box-shadow: none;
  border-color: transparent;
}

.sidebar .nav-links li a {
  font-size: 17px;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar .socials {
  position: static;
  justify-content: flex-start;
}


/* there u go laides and thier mens here comes the headache, making the website responsive (GOD! i hate this so muchh but it freaking needs to be done AAGGGHHHHH!!!!!) */
@media (max-width: 1200px) {
  .timeline-item,
  .experience-card {
    width: 90vw;
  }

  .experience-container {
    padding: 100px 20px 60px;
  }

  .event-content {
    padding-left: 40px;
    padding-right: 40px;
    margin: 20px 15px;
  }

  .languages {
    padding: 25px 35px;
    margin: 20px 25px;
  }

  .software-projs {
    margin-left: 40px;
  }

  .event-description p {
    margin-left: 15px;
  }
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 30px;
    margin-right: 0;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-marker {
    left: -28px;
  }

  .timeline-item,
  .experience-card {
    width: calc(100vw - 60px);
  }

  .exp-top {
    padding: 35px 20px;
    margin-bottom: 50px;
  }

  .exp-top h1 {
    font-size: 30px;
  }

  .event-content {
    padding-left: 20px;
    padding-right: 20px;
    margin: 15px 0;
  }

  .event-description p {
    margin-left: 0;
  }

  .languages {
    padding: 20px 25px;
    margin: 15px 0;
  }

  .event-achievements {
    padding-right: 0;
  }

  .proj-split {
    margin: 25px 0 15px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .software-projs {
    margin-left: 0;
    padding: 20px;
  }

  .software-project-title {
    margin-right: 0;
  }

  .event-date {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 700px) {
  header {
    height: 50px;
  }

  header .nav-links,
  header .socials {
    display: none;
  }

  .exp-top h1 {
    font-size: 24px;
  }

  .event-title,
  .project-type {
    font-size: 20px;
  }

  .experience-card {
    padding: 20px;
  }

  .menu-icon {
        display: block;
    }

    header .nav-links,
    header .socials {
        display: none;
    }

    header {
        height: 50px;
    }

    .logo h1 {
        font-size: 25px;
    }
}