@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

:root {
  --text: #3c3c3c;
  --primary: #f3f8ff;
  --secondary: #0d92f4;
  --tertiary: #303133;
  --tag-color: rgba(192, 192, 192, 0.366);
  --bg-alt: #ffffff;
  --border-light: rgb(181, 180, 180);
  --shadow-light: #ffffff;
  --shadow-dark: #dcdee2;
  --gray-text: rgb(74, 74, 74);
  --gray-light: gray;
  --dp-border: gray;
  --highlight: #0d92f4;
}

.dark-theme {
  --text: #d4dce6;
  --primary: #1a1a1a;
  --secondary: #21252ecf;
  --tertiary: #d0d9f0d9;
  --highlight: #0d92f4;
  --tag-color: rgba(128, 128, 128, 0.366);
  --bg-alt: #1e1e1e;
  --border-light: #3d4042;
  --shadow-light: #2a2a2a00;
  --shadow-dark: #000000;
  --gray-text: rgb(180, 180, 180);
  --gray-light: rgb(160, 160, 160);
  --dp-border: rgb(120, 120, 120);
  --bg-hover: #25313dc9;
}

body {
  width: 100vw;
  background-color: var(--primary);
  overflow-x: hidden;
  overflow-y: scroll;
  color: var(--tertiary);
  transition: background-color 0.3s, color 0.3s;
}

/* ulitility clsses started */

.container {
  max-width: 1250px;
  padding: 5rem 0;
  margin: auto;
  border-bottom: var(--border-light) 1px solid;
}

.background-drop {
  height: 100vh;
  width: 100vw;
  background-clip: text;
  font-size: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: transparent;
  font-weight: 700;
  letter-spacing: 1rem;
  background-color: var(--primary);
  z-index: -50;
  position: fixed;
  inset: 0;
}

@media (max-width: 1024px) {
  .background-drop {
    font-size: 200px;
  }
}

@media (max-width: 600px) {
  .background-drop {
    font-size: 150px;
  }
  .dark-theme .cursor {
    top: 50% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-50%);
  }
}

@media (max-width: 450px) {
  .background-drop {
    font-size: 100px;
  }
}
@media (max-width: 320px) {
  .background-drop {
    font-size: 80px;
  }
}

.dark-theme .cursor {
  position: fixed;
  height: 300px;
  width: 300px;
  background-color: var(--highlight);
  opacity: 0.9;
  border-radius: 100%;
  opacity: 0.4;
  filter: brightness(0.6) blur(50px);
  z-index: -100;
  transition: all 100ms ease-out;
}

.dark-theme svg {
  fill: var(--highlight);
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.small-heading {
  color: var(--highlight);
  font-size: 14px;
  text-align: center;
}

.big-heading {
  color: var(--text);
  font-size: 60px;
  padding-top: 10px;
  text-align: center;
}

.dark-theme .backdrop {
  background: rgba(28, 37, 44, 0.396) !important;
  box-shadow: 0 8px 32px 0 var(--shadow-light) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--border-light);
}

.icon-box {
  background: linear-gradient(
    145deg,
    var(--shadow-light),
    var(--bg-alt),
    var(--primary)
  );
  border-radius: 15px;
  box-shadow: 9px 9px 15px var(--shadow-dark),
    -9px -9px 15px var(--shadow-light);
}

.dark-theme .button-container {
  box-shadow: none !important;
  background: var(--secondary) !important;
  border: 1px solid var(--border-light);
}

.dark-theme .button-container:hover {
  background: var(--bg-hover) !important;
  color: white !important;
  cursor: pointer;
}

.dark-theme .button-container:hover a{
  color: var(--text) !important;
}

.transition-smooth {
  transition: all 150ms ease-in-out;
}

.button-secondary {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--tertiary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  border: 1px solid transparent;
}

.button-secondary:hover {
  background: var(--bg-hover);
  border: 1px solid var(--border-light);
}

.button-container {
  background: linear-gradient(145deg, #d0d1d59f, #ffffff60, white);
  border-radius: 5px;
  position: relative;
  top: 0;
  text-align: center;
  transition: all 300ms ease-in-out;
  padding: 15px 1.5rem !important;
  box-shadow: 9.31px 9.31px 15px #dcdee2, -9.31px -9.31px 15px #ffffff;
}

.button-container:hover {
  background: linear-gradient(145deg, #106ced, #0d92f4);
  fill: var(--text);
  top: -5px;
  color: var(--bg-alt);
  transition: all 300ms ease-in-out;
}

.button-container:hover a {
  color: var(--primary);
}

@media (max-width: 1250px) {
  .container {
    width: 1024px;
  }
}

@media (max-width: 1024px) {
  .container {
    width: 750px;
    padding: 1rem 2rem;
  }
}

.ball {
  width: 50px;
  height: 50px;
  background: var(--primary);
  box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.321);
  background-position: center;
  z-index: 9999;
  border-radius: 50%;
  position: fixed;
  background-image: url("./images/N_logo.svg");
  transition: all cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  top: 0;
  overflow: hidden;
  will-change: transform;
  transform-origin: center;
}

@media (max-width: 750px) {
  .container {
    width: 500px;
    padding: 2rem 1rem;
  }
}
@media (max-width: 500px) {
  .container {
    width: 100%;
    padding: 4rem 1rem;
  }

  .big-heading {
    font-size: 50px;
  }
}
/* utility classes ended */

/* Navbar Styling start */

.dark-theme .header {
  padding-top: 10px;
  padding-bottom: 10px;
  border-width: 0 0 1px 0 !important;
  box-shadow: none !important;
}

.header {
  display: flex;
  z-index: 10;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: var(--primary);
  transition: all 500ms ease-in;
}

.dark-theme .fix-header {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  box-shadow: none !important;
}

.fix-header {
  position: fixed;
  opacity: 1;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0px 2px 20px rgba(37, 37, 37, 0.445);
  padding: 1rem 3rem !important;
  transition: all 500ms ease-in;
}

.dark-theme .dp-container {
  border-width: 1px;
}

.dp-container {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  overflow: hidden;
  border: 3px var(--border-light) solid;
}

.nav-items {
  display: block;
}

.logo-details {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dp {
  width: 100%;
  height: 100%;
  object-fit: contain;
  scale: 1.3;
  transform: translateY(10px);
}

.logo {
  height: 50px;
  transform: translateY(2px);
  width: 50px;
  overflow: hidden;
  display: flex;
  margin-left: 10px;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.name {
  font-size: 40px;
  color: var(--text);
  letter-spacing: 3px;
  font-weight: 500;
}

.responsive-nav-items {
  display: none;
  transform: translateX(-100%);
}

.nav-items ul,
.responsive-nav-items ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.nav-items ul li,
.responsive-nav-items ul li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-items ul li a,
.responsive-nav-items ul li a {
  color: var(--gray-text);
  justify-content: center;
  text-decoration: none;
  position: relative;
  font-size: 13px;
  padding: 0.5rem 0;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
}

.responsive-nav-items ul li {
  padding: 10px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--tertiary);
  font-weight: 900;
  width: 50px;
  border-radius: 10px;
  background: white;
  transition: all 300ms ease-in-out;
}

.contact-info {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  display: none;
  align-items: center;
}

.nav-items .social-media-icon {
  margin-top: 0;
}

.nav-link::before {
  position: absolute;
  content: "";
  top: 1px;
  left: 0;
  width: 100%;
  transform: scaleX(0);
  height: 100%;
  border-bottom: 3px rgb(118, 118, 118) solid;
  transition: all 200ms;
}

#contact-button {
  padding: 0;
}

.responsive-nav {
  display: none;
}

.nav-link:hover::before {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Responsive */

@media (max-width: 800px) {
  .header {
    padding: 0.5rem 1.5rem;
    background-color: var(--primary);
  }

  .fix-header {
    padding: 0.5rem 1.5rem !important;
  }

  .dp-container {
    width: 40px;
    height: 40px;
  }

  .nav-items {
    display: none;
  }

  .logo {
    height: 30px;
    width: 30px;
  }

  .name {
    font-size: 25px;
  }

  .responsive-nav-items {
    position: fixed;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 60px !important;
    height: calc(100vh - 60px) !important;
    left: 0;
    padding: 3rem 4rem;
    border-width: 1px 1px 0 0 !important;
    transition: all 500ms ease-in-out 300ms;
    transform: translateX(0%);
    background-color: var(--primary);
    box-shadow: -4px 4px 10px rgba(37, 37, 37, 0.445);
  }

  .responsive-nav-items ul li {
    background-color: transparent;
    width: fit-content;
  }

  .backdrop-show {
    transform: scaleX(1);
  }

  .hide-nav {
    transform: translateX(-100%);
    transform-origin: right;
    opacity: 0;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .responsive-nav-items ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .responsive-nav-items .nav-close {
    display: none;
  }

  .responsive-nav {
    display: block;
    width: 30px;
    overflow-x: hidden;
    position: relative;
  }

  .hamburger,
  .cross {
    transform: translateX(0);
    opacity: 1;
    cursor: pointer;
    transition: all 300ms ease-in-out 300ms;
    color: var(--text);
    fill: var(--text) !important;
  }

  .change-sign {
    transform: translateX(100%);
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
  }
}

@media (max-width: 500px) {
  .responsive-nav-items {
    top: 0;
    height: 100vh;
    width: 300px;
  }

  .nav-close {
    display: none;
    position: absolute;
    top: 10px;
    right: 20px;
  }

  .logo img {
    transform: translateY(-2px);
  }
}

@media (max-width: 350px) {
  .responsive-nav-items .nav-close {
    display: block;
  }

  .responsive-nav-items {
    width: 100%;
  }
}

/* Navbar Styling Ends */

/* Hero Section Style start */

.hero-section {
  display: grid;
  padding-top: 1rem !important;
  grid-template-columns: 1fr 1fr;
}

.hero-discription {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 6px;
  flex-direction: column;
  color: var(--text);
}

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

.hero-discription p {
  font-weight: 500;
  padding: 1rem 0;
  font-size: 14px;
  line-height: 30px;
  color: var(--tertiary);
  letter-spacing: 2px;
}

.hero-discription h1 {
  font-size: 60px;
}

.hero-discription .hero-name {
  color: var(--highlight) !important;
}

a{
  text-decoration: none;
}

#type-writer {
  color: var(--secondry);
  animation: caret 800ms linear infinite;
  border-right: 3px var(--secondry) solid;
  font-size: 50px;
}

@keyframes caret {
  from,
  to {
    border-right: 3px var(--secondry) solid;
  }
  50% {
    border-right: none;
  }
}

.hero-text {
  line-height: 20px;
  font-weight: 400 !important;
  letter-spacing: 1px !important;
}

.hero-discription button {
  padding: 8px 12px;
  border-radius: 10px;
  background-color: rgb(16, 73, 147);
  color: var(--text);
  font-size: 16px;
  border: none;
  outline: none;
  margin-top: 20px;
}

.social-media-icon {
  display: flex;
  margin: 1rem 0;
  gap: 2rem;
  justify-content: flex-start;
  align-items: center;
}

.social-media-icon a {
  padding: 10px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
  font-weight: 900;
  width: 50px;
  border-radius: 10px;
  fill: var(--text);
  background: var(--secondary);
  transition: all 300ms ease-in-out;
}

.social-media-icon a:hover {
  background: linear-gradient(145deg, #106ced, #0d92f4);
  fill: var(--bg-alt);
  transform: translateY(-5px);
}

.hero-img-container {
  width: 100%;
  height: 100%;
}

.hero-img {
  position: relative;
  float: right;
  width: 500px;
  height: 800px;
}

.image-frame {
  position: absolute;
  height: 80%;
  width: 100%;
  bottom: 0;
  z-index: -10;
}

.hero-img img {
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1250px) {
  .hero-img {
    width: 400px;
    height: 600px;
  }

  .hero-discription h1 {
    font-size: 50px;
  }

  .hero-text {
    font-size: 14px !important;
  }
}

@media (max-width: 1024px) {
  #hero-section {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .hero-img-container {
    display: flex;
    justify-content: center;
  }

  .hero-img {
    height: 800px;
    width: 100%;
    object-fit: contain;
  }
}

@media (max-width: 750px) {
  .hero-img {
    width: 100%;
    height: 700px;
  }
}

@media (max-width: 500px) {
  .hero-img {
    width: 100%;
    height: 500px;
  }

  .hero-discription p {
    font-size: 12px;
    padding: 0.5rem 0;
  }

  .hero-discription h1 {
    font-size: 30px !important;
  }
  
  #type-writer{
    font-size: 30px !important;
  }

  .hero-text {
    font-size: 12px !important;
  }
}

/* hero section ends here */

/* Features sectionn starts here */

.features-container {
  padding-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  padding: 2rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.feature-icon {
  fill: var(--highlight);
}

.feature-heading {
  margin: 1.5rem 0;
  font-size: 25px;
  font-weight: 500;
  color: var(--text);
}

.feature-para {
  line-height: 20px;
  font-size: 13px;
  color: var(--tertiary);
  letter-spacing: 1px;
}

.feature:hover {
  transform: translateY(-10px);
}

@media (max-width: 1024px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 750px) {
  .features-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 500px) {
  .feature {
    padding: 1rem;
  }

  .feature-heading {
    margin: 1rem 0;
  }
}
/* Features section ends here */

/* Portfolio section starts here */

.portfolio-container {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  margin: 3rem 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.image-cover {
  position: absolute;
  inset: 0;
  direction: ltr;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  background-color: rgba(0, 0, 0, 0.396);
  color: white;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  transition: all 200ms linear;
}

.image-cover:hover {
  opacity: 1;
}

.portfolio-card {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 6rem;
  border-collapse: collapse;
  position: relative;
}

.project-details {
  display: flex;
  direction: ltr;
  justify-content: center;
  flex-direction: column;
  width: 400px;
}

.project-details h2 {
  color: var(--text);
  font-size: 35px;
  margin: 1rem 0;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
}

.tags li {
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 13px;
  background-color: var(--tag-color);
}

.portfolio-container .project-image {
  width: 500px;
  height: 300px;
}

.project-image {
  position: relative;
  overflow: hidden;
  margin: auto  0;
}

.project-image img {
  width: 100%;
  object-fit: contain;
}


.numbering {
  height: 80px;
  width: 80px;
  border-radius: 100%;
  border: 6px solid var(--highlight);
  font-size: 50px;
  font-weight: 800;
  color: var(--text);
  background-color: var(--primary);
  position: absolute;
  top: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-card:nth-child(odd) .numbering {
  left: 0;
  transform: translateX(-50%) translateY(-50%);
}

.portfolio-card:nth-child(even) .numbering {
  right: 0;
  transform: translateX(50%) translateY(-50%);
}

.project-details p {
  margin: 1rem 0;
  font-size: 14px;
  line-height: 25px;
  letter-spacing: 1px;
}

.highlight {
  font-style: italic;
  font-weight: 600;
}

.project-link {
  margin-top: 2rem;
}

.project-link:hover {
  fill: var(--highlight);
}

.github:hover {
  fill: var(--highlight);
}

.portfolio-container .arrow svg {
  rotate: -30deg;
  transition: all 300ms ease-in-out;
}

.project-link:hover .arrow svg {
  width: 40px;
  height: 40px;
}

.portfolio-card:nth-child(odd) {
  direction: ltr;
  border: 6px solid var(--highlight);
  border-right: 6px solid transparent;
  border-radius: 40px;
  padding-right: 0 !important;
}

.portfolio-card:nth-child(1) {
  border-top: 6px solid transparent;
  border-top-left-radius: 0;
}

.portfolio-card:nth-child(even) {
  direction: rtl;
  border: 6px solid var(--highlight);
  border-left: 6px solid transparent;
  border-radius: 40px;
  margin: -6px 0 -6px 0;
  padding-left: 0 !important;
}

.portfolio-card:last-child {
  border-bottom: 6px solid transparent;
  border-bottom-right-radius: 0;
}

@media (max-width: 1240px) {
  .portfolio-card {
    padding: 3rem;
  }

  .portfolio-container .project-image {
    height: 300px;
    width: 500px;
  }
}

@media (max-width: 1024px) {
  .portfolio-card {
    flex-direction: column-reverse;
    gap: 2rem;
    padding: 3rem;
    direction: ltr !important;
  }

  .portfolio-container .project-image {
    height: 300px;
    width: 600px;
  }

  .project-image img {
    width: 100%;
  }

  .project-details {
    width: 100%;
  }
}

@media (max-width: 725px) {
  .portfolio-container .project-image {
    height: 300px;
    width: 100%;
  }

}

@media (max-width: 500px) {
  .portfolio-container .project-image {
    height: 200px;
    width: 100%;
  }


  .portfolio-section {
    padding: 3rem 1.5rem;
  }

  .project-details h2 {
    font-size: 25px;
  }

  .portfolio-card{
    padding-left: 35px ;
    padding-right: 35px ;
  }

  .tags li {
    font-size: 13px;
    padding: 4px 10px;
  }

  .project-details p {
    font-size: 13px;
    line-height: 20px;
  }

  .numbering {
    font-size: 30px;
    width: 50px;
    height: 50px;
  }

  .project-details {
    width: 100%;
  }

  .project-link {
    margin-top: 1rem;
  }
}

/* Portfolio section ends here */

/* Contact section starts here */

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--tertiary);
  padding: 2rem 0;
}

.contact-details {
  padding: 2rem;
}

.contact-image-cover {
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.project-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 250ms ease-in-out;
}

.right-arrow {
  height: 40px;
  width: 35px;
  transform: scale(0);
  transition: all 300ms ease-in-out;
  transform-origin: left;
}

.contact-address {
  padding-top: 1rem;
  width: 400px;
  font-size: 18px;
  color: var(--tertiary);
}

.contact-name {
  font-size: 30px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 2px;
}

.contact-work {
  padding: 1rem 0;
}

#contact-number,
#contact-email {
  text-decoration: none;
}

.contact-number {
  padding-top: 1rem;
  padding-bottom: 10px;
}
.contact-email {
  padding-bottom: 1rem;
}

.contact-form {
  width: 100%;
  display: flex;
  padding: 2rem;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
}

.name-contact {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text);
  width: 100%;
  margin: 1rem 0;
}

.input-field label {
  font-size: 12px;
  color: var(--tertiary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.input-field input {
  padding: 1rem;
  color: var(--text);
  border: var(--border-light) 1px solid;
  background-color: transparent;
  border-radius: 5px;
  width: 100%;
  outline: none;
}

.input-field input:focus,
.input-field textarea:focus {
  border: var(--highlight) 2px solid;
}

.input-field textarea {
  padding: 1rem;
  border: var(--border-light) 1px solid;
  color: var(--text);
  background: transparent;
  border-radius: 5px;
  width: 100%;
  height: 180px;
  overflow: hidden;
  outline: none;
  resize: none;
}

.contact-form .button-container {
  margin-top: 2rem;
  cursor: pointer;
  outline: none;
  border: none;
  width: 100%;
}

.social-handle-heading {
  padding: 0;
  font-size: 14px;
}

.required {
  color: red;
}

@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
  }
}
@media (max-width: 750px) {
  .name-contact {
    flex-direction: column;
    gap: 0;
  }

  .contact-address {
    width: 100%;
  }

  .contact-address p {
    font-size: 13px;
  }

  .social-handle-heading {
    font-size: 12px !important;
  }

  .contact-details,
  .contact-form {
    padding: 1rem;
  }

  .input-field {
    gap: 0.5rem;
  }

  .input-field input {
    padding: 0.5rem;
  }
}

/* Contact section ends here */

/* Resume section starts here */

.resume-container {
  padding: 4rem 0;
}

.resume-header {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resume-header li {
  text-align: center;
  list-style: none;
  padding: 2rem 0;
  transition: all 200ms ease-in-out;
  font-size: 17px;
  font-weight: 500;
  color: var(--tertiary);
  border-radius: 15px;
  cursor: pointer;
  margin: 0 2px;
}

.dark-theme .resume-header li:hover {
  color: var(--highlight);
  box-shadow: none;
  background: var(--secondary) !important;
}

.resume-header li:hover {
  color: var(--secondry);
  background: linear-gradient(145deg, #d0d1d59f, #ffffff60, white);
  box-shadow: 9.31px 9.31px 15px #dcdee2, -9.31px -9.31px 15px #ffffff;
}

.dark-theme .active-list {
  box-shadow: none;
  background: var(--bg-hover);
}

.active-list {
  color: var(--highlight) !important;
  background: linear-gradient(145deg, #d0d1d59f, #ffffff60, white);
  border-radius: 15px;
  box-shadow: 9.31px 9.31px 15px #dcdee2, -9.31px -9.31px 15px #ffffff;
}

@media (max-width: 1024px) {
  .resume-header {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .resume-header li {
    padding: 1rem 0;
  }
}

/* education container strats here */

.education-container,
.framework-container,
.experience-container {
  padding: 3rem 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.education-tile {
  padding: 2rem 0;
  padding-left: 2rem;
  border-left: var(--border-light) 4px solid;
  position: relative;
  transition: all 500ms ease-in-out;
}

.education-tile:hover::before {
  background: linear-gradient(145deg, #106ced, #0d92f4);
}

.education-tile:hover .education-details {
  background: var(--highlight);
  box-shadow: none;
  color: var(--text);
}

.education-tile:hover .education-college {
  color: white;
}
.education-tile:hover .education-field {
  color: white;
}
.education-tile:hover .stream-details {
  color: white;
  border-bottom: var(--border-light) 1px solid;
}
.education-tile:hover .about-education {
  color: white;
}

.education-tile::before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: -2px;
  background: var(--primary);
  top: 25%;
  z-index: 1;
  transform: translateX(-50%);
  border-radius: 100%;
  border: var(--border-light) 4px solid;
}

.education-tile::after {
  position: absolute;
  content: "";
  height: 0;
  width: 2rem;
  left: 0;
  background-color: var(--primary);
  top: calc(25% + 9px);
  z-index: 0;
  border-bottom: var(--border-light) 4px solid;
}

@media (max-width: 600px) {
  .education-tile {
    padding: 2rem 0;
    padding-left: 1rem;
    border-left: var(--border-light) 4px solid;
    position: relative;
    transition: all 500ms ease-in-out;
  }
  .education-tile::after {
    position: absolute;
    content: "";
    height: 0;
    width: 1rem;
    left: 0;
    background-color: var(--primary);
    top: calc(25% + 9px);
    z-index: 0;
    border-bottom: var(--border-light) 4px solid;
  }

  .stream-details p{
    font-size: 10px !important;
  }

  .education-field{
    font-size: 20px !important;
  }
}

.education-details {
  padding: 2rem;
  transition: all 500ms ease-in-out;
}

.education-field {
  font-weight: 500;
  transition: all 500ms ease-in-out;
  color: var(--text);
  font-size: 30px;
  padding-bottom: 1rem;
}

.education-college {
  font-weight: 500;
  transition: all 300ms ease-in-out;
  color: var(--tertiary);
  font-size: 16px;
  font: italic;
}

.stream-details {
  display: flex;
  justify-content: space-between;
  line-height: 25px;
  font: italic;
  transition: all 300ms ease-in-out;
  color: var(--tertiary);
  border-bottom: var(--border-light) 1px solid;
  padding-bottom: 1rem;
}

.about-education {
  padding-top: 1rem;
  line-height: 25px;
  transition: all 300ms ease-in-out;
  font: italic;
  color: var(--tertiary);
}

@media (max-width: 1024px) {
  .education-details {
    padding: 1rem;
  }

  .stream-details p {
    font-size: 13px;
    line-height: 20px;
  }

  .about-education {
    font-size: 13px;
    line-height: 22px;
  }
  .education-container,
  .framework-container,
  .experience-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}


/* education container ends here */

/* skill container starts here */

.skill-container {
  padding: 3rem 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skill-heading {
  font-size: 30px;
  font-weight: 500;
}

.skill-tile {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-name {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
}

.progress-bar {
  width: 100%;
  position: relative;
  height: 12px;
  border-radius: 30px;
  background-color: lightgray;
  padding: 2px;
}

.bar-percent {
  position: absolute;
  font-size: 14px;
  transform: translateX(-100%);
  top: -20px;
  color: rgb(120, 120, 120);
}

.bar {
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, white, var(--highlight));
  border-radius: 30px;
}

@media (max-width: 750px) {
  .skill-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .skill-tile {
    margin: 1rem 0;
    gap: 0.5rem;
  }
}

/* skill container ends here */

/* Resume section ends here */

/* Footer section starts here */

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  border-bottom: 0px solid transparent;
}

.rights {
  font-size: 16px;
  color: gray;
}

/* Footer section ends here */
