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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background: #f7f7f7;
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: #2b3dda;
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}
html::-webkit-scrollbar-thumb {
  background: #420177;
}

/* pre loader start */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: #e6eff1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.loader-container.fade-out {
  top: -120%;
}
/* pre loader end */

/* navbar starts */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 10%;
  height: 6.5rem;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
}
section {
  min-height: 100vh;
  padding: 2rem 9%;
}
.heading {
  font-size: 3.5rem;
  color: rgb(32, 32, 32);
  font-weight: 800;
  text-align: center;
}
.heading span {
  color: rgb(115, 3, 167);
}
header .logo {
  font-size: 1.9rem;
  font-weight: 800;
  text-decoration: none;
  color: #0e2431;
}
header .logo i {
  font-size: 2.2rem;
}
header .logo:hover {
  color: #fc8c05;
}
header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .navbar li {
  margin-left: 2.5rem;
}
header .navbar ul li a {
  font-size: 1.57rem;
  color: #0e2431;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04rem;
  transition: 0.2s;
}
header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: #011aff;
  border-bottom: 0.2rem solid #011aff;
  padding: 0.5rem 0;
}
/* navbar ends */

/* hamburger icon starts*/
#menu {
  font-size: 3rem;
  cursor: pointer;
  color: rgb(24, 2, 63);
  display: none;
}
@media (max-width: 768px) {
  #menu {
    display: block;
  }
  header .navbar {
    position: fixed;
    top: 6.5rem;
    right: -120%;
    width: 75%;
    height: 100%;
    text-align: left;
    align-items: flex-start;
    background-color: #0e0f31;
  }
  header .navbar ul {
    flex-flow: column;
    padding: 1rem;
  }
  header .navbar ul li {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    width: 26rem;
  }
  header .navbar ul li a {
    display: block;
    padding: 1rem;
    text-align: left;
    color: #fff;
    font-size: 2rem;
  }
  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 1rem;
    color: #fff;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid #011aff;
  }
  .fa-times {
    transform: rotate(180deg);
  }
  header .navbar.nav-toggle {
    right: 0;
  }
}
/* hamburger icon ends */

/* hero section starts*/
.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  min-height: 100vh;
  align-items: center;
}
.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.home .content {
  flex: 1 1 40rem;
  padding-top: 1rem;
  z-index: 1;
}
.home .image {
  flex: 1 1 40rem;
  z-index: 1;
}
.home .image img {
  width: 70%;
  margin-left: 6rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.home .image img:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.home .content h2 {
  font-size: 5rem;
  font-weight: 800;
  color: #002057;
}
.home .content h2 span {
  font-size: 5rem;
  font-weight: 800;
  color: #ff7b00;
}
.home .content p {
  font-size: 2.5rem;
  color: #000;
  font-weight: 600;
  padding: 1rem 0;
}
.home .content p span {
  font-size: 2.5rem;
  color: rgb(148, 8, 8);
  font-weight: 600;
  padding: 1rem 0;
}
.home .btn {
  margin-top: 1rem;
  position: absolute;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 4em;
  transition: 0.5s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 18px rgba(48, 68, 247, 0.6);
  font-family: "Nunito", sans-serif;
}
.home .btn span {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
}
.home .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.home .btn:hover {
  background: #1a047e;
}
.home .btn:hover i {
  transform: translateX(5px);
}
/* social icons start */
.socials {
  position: relative;
  margin-top: 0rem;
}
.socials .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.socials .social-icons li {
  display: inline-block;
  margin-bottom: 14px;
}
.social-icons a {
  font-size: 2rem;
  display: inline-block;
  line-height: 44px;
  color: #00d9ff;
  background-color: #09011b;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: #0685da;
}
.social-icons a.github:hover {
  background-color: #0e0e0e;
}
.social-icons a.twitter:hover {
  background-color: #00aced;
}
.social-icons a.linkedin:hover {
  background-color: #007bb6;
}
.social-icons a.dev:hover {
  background-color: #070707;
}
.social-icons a.instagram:hover {
  background-color: #ee00da;
}
/* social icons end */

/* hero media queries starts*/
@media (max-width: 450px) {
  .home .btn {
    margin: 4rem 0;
  }
  .socials {
    margin-top: 12rem;
  }
  .home .image img {
    margin-top: -12rem;
  }
  .home .content p {
    font-size: 2.2rem;
  }
  .home .content p span {
    font-size: 2.2rem;
  }
}
/* hero media queries ends*/
/* hero section end */

/* about section starts */
.about {
  background: rgb(255, 255, 255);
}
.about .row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 4rem;
}
.about .row .image {
  text-align: center;
  flex: 1 1 35rem;
}
.about .row .image img {
  margin: 4rem;
  width: 30rem;
  height: auto;
  border-radius: 5%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  mix-blend-mode: luminosity;
  transition: 0.3s;
  cursor: pointer;
}
.about .row .image img:hover {
  mix-blend-mode: normal;
}
.about .row .content {
  flex: 1 1 45rem;
  padding: 3rem;
}
.about .row .content h3 {
  color: rgb(27, 27, 27);
  font-size: 2.5rem;
}
.about .row .content .tag {
  font-size: 1.4rem;
  color: #020133;
  font-weight: 600;
  margin-top: 1rem;
}
.about .row .content p {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  font-family: "Nunito";
  font-weight: 600;
  text-transform: none;
}
.about .row .content .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: "Nunito";
  font-weight: 600;
}
.about .row .content .box-container .box p {
  text-transform: none;
}
.about .row .content .box-container .box p span {
  color: #011aff;
}
.resumebtn {
  margin-top: 6rem;
}
.resumebtn .btn {
  padding: 1.7rem 3rem;
  border-radius: 0.5em;
  transition: 0.3s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  font-family: "Nunito", sans-serif;
}
.resumebtn .btn span {
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
}
.resumebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.2rem;
  transition: 0.3s;
}
.resumebtn .btn:hover {
  background: #1a047e;
}
.resumebtn .btn:hover i {
  transform: translateX(5px);
}
/* about media queries starts*/
@media screen and (max-width: 600px) {
  .about .row .image {
    margin-top: 2rem;
  }
  .about .row .image img {
    margin: 0 auto;
    width: 80%;
    mix-blend-mode: normal;
  }
  .about .row {
    padding: 0.5rem;
    margin-bottom: 7rem;
  }
  .about .row .content {
    padding: 1rem;
  }
  .about .row .content .box-container {
    gap: 0;
  }
}
/* about media queries ends*/
/* about section ends */

/* skills section starts */
.skills {
  min-height: 90vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 4rem 0;
}

.skills h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
}

.skills .heading span {
  color: #4ecca3;
}

.skills .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.category:hover {
  transform: translateY(-5px);
}

.category h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category h3 i {
  font-size: 2rem;
  color: #4ecca3;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.skill-card:hover::before {
  transform: translateX(100%);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.skill-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.skill-info i {
  font-size: 2.5rem;
  color: #4ecca3;
  transition: transform 0.3s ease;
}

.skill-card:hover .skill-info i {
  transform: scale(1.1) rotate(5deg);
}

.skill-name {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

.skill-level {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  margin: 1rem 0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.skill-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #4ecca3, #45b7af);
  border-radius: 5px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 0;
}

.skill-progress::after {
  content: attr(data-projects) ' Projects';
  position: absolute;
  right: 0;
  top: -25px;
  background: #4ecca3;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.skill-card:hover .skill-progress::after {
  opacity: 1;
  transform: translateY(0);
}

.skill-progress::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0.1) 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Add percentage label */
.skill-progress::before {
  content: attr(data-width);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .skill-level {
    height: 8px;
    margin: 0.8rem 0;
  }
  
  .skill-progress::after {
    font-size: 0.7rem;
    padding: 2px 6px;
  }
}

/* Brand Colors for Skill Icons */
.skill-info i.fa-react { color: #61DAFB; }
.skill-info i.fa-node-js, .skill-info i.fa-node { color: #68A063; }
.skill-info i.fa-js-square, .skill-info i.fa-js { color: #F7DF1E; }
.skill-info i.fa-html5 { color: #E34F26; }
.skill-info i.fa-css3-alt { color: #1572B6; }
.skill-info i.fa-python { color: #306998; }
.skill-info i.fa-database { color: #4DB33D; }
.skill-info i.fa-bootstrap { color: #7952B3; }
.skill-info i.fa-git-alt { color: #F05032; }
.skill-info i.fa-github { color: #333333; }
.skill-info i.fa-wordpress { color: #21759B; }
.skill-info i.fa-server { color: #607D8B; }
.skill-info i.fa-palette { color: #0081CB; }
.skill-info i.fa-wind { color: #38B2AC; }
.skill-info i.fa-code { color: #6C5CE7; }

@media screen and (max-width: 768px) {
  .skills .container {
    padding: 1rem;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .category {
    padding: 1.5rem;
  }
  
  .skill-card {
    padding: 1rem;
  }
  
  .skill-info i {
    font-size: 2rem;
  }
  
  .skill-name {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}
/* skills section ends */

/* education section starts */
.education {
  background: #e5ecfb;
  min-height: 80vh;
}
.education .qoute {
  font-size: 1.5rem;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin-top: 0.5rem;
}
.education .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.education .box-container .box {
  display: flex;
  flex-direction: row;
  width: 80%;
  border-radius: 0.5rem;
  box-shadow: 0.2rem 0.5rem 1rem rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  transition: 0.3s;
  background: rgb(252, 252, 252);
}
.education .box-container .box:hover {
  transform: scale(1.03);
  box-shadow: 1rem 0.5rem 1.2rem rgba(0, 0, 0, 0.3);
}
.education .box-container .box .image {
  flex: 1 1 20rem;
  width: 100%;
}
.education .box-container .box img {
  object-fit: cover;
  position: relative;
  width: 100%;
  height: 100%;
}
.education .box-container .box .content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex-wrap: wrap;
  flex: 1 1 70rem;
}
.education .box-container .box .content h3 {
  font-size: 2.5rem;
  color: #012970;
  padding: 0.5rem 0;
  font-weight: 600;
  text-align: left;
  margin-left: 1rem;
}
.education .box-container .box .content p {
  font-size: 1.5rem;
  margin-left: 1rem;
  text-align: left;
}
.education h4 {
  font-size: 2rem;
  color: rgb(34, 109, 0);
  text-align: left;
  margin: 1rem;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

/* education media queries starts*/
@media screen and (max-width: 600px) {
  .education .box-container .box {
    flex-direction: column;
    width: 100%;
  }
  .education .box-container .box .image {
    width: 100%;
    height: 25rem;
  }
  .education .box-container .box img {
    width: 100%;
  }
  .education .box-container .box .content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex-wrap: wrap;
    flex: 0;
  }
  .education .btns {
    margin-top: 2rem;
    margin-left: 1rem;
    margin-right: 1rem;
    flex-wrap: wrap;
  }
}
/* education media queries ends*/
/* education section ends */

/* work section starts */
.work {
  min-height: auto;
  padding: 6rem 1rem;
  background: var(--bg-color);
  position: relative;
}

.work .projects-lottie {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  min-height: 150px;
}

.work .projects-lottie .lottie-container {
  width: 200px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.work .project-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.work .filter-btn {
  padding: 0.6rem 1.5rem;
  background: var(--bg-color-2);
  border-radius: 30px;
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.work .filter-btn.active,
.work .filter-btn:hover {
  background: var(--primary-color);
  color: #d80000;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.work .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.work .project-card {
  background: var(--bg-color-2);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work .project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.work .project-card .project-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.work .project-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s ease;
}

.work .project-card:hover .project-image img {
  transform: scale(1.08);
}

.work .project-card .project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.work .project-card:hover .project-overlay {
  opacity: 1;
}

.work .project-card .overlay-btns {
  display: flex;
  gap: 1rem;
}

.work .project-card .overlay-btn {
  padding: 0.6rem 1.2rem;
  background: var(--primary-color);
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.work .project-card:hover .overlay-btn {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.1s;
}

.work .project-card:hover .overlay-btn:nth-child(2) {
  transition-delay: 0.2s;
}

.work .project-card .project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work .project-card .project-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

.work .project-card .project-description {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.work .project-card .tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.work .project-card .tech-badge {
  padding: 0.3rem 0.8rem;
  background: var(--bg-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
}

.work .project-card .tech-badge.more {
  background: var(--primary-color);
  color: #fff;
}

.work .project-card .project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.work .project-card .project-category {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
}

.work .project-card .project-links {
  display: flex;
  gap: 1rem;
}

.work .project-card .project-links a {
  color: var(--text-color);
  transition: all 0.3s ease;
}

.work .project-card .project-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.work .viewall {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.work .viewall .btn {
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
}

/* Media Queries for Projects Section */
@media (max-width: 991px) {
  .work .box-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .work .box-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .work .project-filters {
    gap: 0.5rem;
  }
  
  .work .filter-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 450px) {
  .work .box-container {
    grid-template-columns: 1fr;
  }
  
  .work .project-filters {
    flex-direction: column;
    gap: 0.7rem;
  }
}

/* experience section starts */
.experience .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.experience .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: #020133;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -2;
}
.experience .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
/*circles on timeline*/
.experience .container::after {
  content: "\f0b1";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: rgb(255, 255, 255);
  border: 4px solid #ff9f55;
  top: 15px;
  border-radius: 50%;
  z-index: 100;
  font-size: 1.89rem;
  text-align: center;
  font-weight: 600;
  color: #02094b;
  font-family: "Font Awesome\ 5 Free";
}
.experience .left {
  left: 0;
}
.experience .right {
  left: 50%;
}
/* arrows pointing right */
.experience .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #f68c09;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #f68c09;
}
/* arrows pointing left  */
.experience .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #f68c09;
  border-width: 10px 10px 10px 0;
  border-color: transparent #f68c09 transparent transparent;
}
.experience .right::after {
  left: -16px;
}
.experience .content {
  background-color: #f68c09;
  position: relative;
  border-radius: 6px;
}
.experience .content .tag {
  font-size: 1.3rem;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}
.experience .content .desc {
  margin-left: 1.5rem;
  padding-bottom: 1rem;
}
.experience .content .desc h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
.experience .content .desc p {
  font-size: 1.2rem;
}
/* view all button */
.morebtn {
  display: flex;
  justify-content: center;
}
.morebtn .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  text-align: center;
}
.morebtn .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.morebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.morebtn .btn:hover {
  background: #1a047e;
}
.morebtn .btn:hover i {
  transform: translateX(5px);
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  .experience {
    min-height: 80vh;
  }
  .experience .timeline {
    margin-top: 2rem;
  }
  .experience .timeline::after {
    left: 31px;
  }
  .experience .container {
    width: 100%;
    padding-left: 8rem;
    padding-right: 2rem;
  }
  .experience .container::after {
    font-size: 2.2rem;
  }
  .experience .container::before {
    left: 61px;
    border: medium solid #f68c09;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f68c09 transparent transparent;
  }
  .experience .left::after {
    left: 15px;
  }
  .experience .right::after {
    left: 15px;
  }
  .experience .right {
    left: 0%;
  }
  .morebtn {
    margin-top: 3rem;
  }
}
/* experience media queries ends */
/* experience section ends */

/* contact section starts */
.contact {
  background: #e5ecfb;
  min-height: 60vh;
}
.contact .container {
  max-width: 1050px;
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  margin: 2rem 5rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.contact .container .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 2rem;
}
.contact .content .image-box {
  max-width: 60%;
  margin-left: 4rem;
}
.contact .content .image-box img {
  width: 100%;
  height: 40rem;
  position: relative;
}
.contact .content form {
  width: 45%;
  margin-right: 3.5rem;
}
form .form-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-group .field {
  height: 50px;
  display: flex;
  position: relative;
  margin: 1rem;
  width: 100%;
}
form i {
  position: absolute;
  top: 50%;
  left: 18px;
  color: rgb(51, 51, 51);
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
}
form .field input,
form .message textarea {
  width: 100%;
  height: 100%;
  outline: none;
  padding: 0 16px 0 48px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  border-radius: 5px;
  border: 1px solid rgb(51, 51, 51);
  background: #e5ecfb;
}
.field input::placeholder,
.message textarea::placeholder {
  color: rgb(51, 51, 51);
}
.field input:focus,
.message textarea:focus {
  padding-left: 47px;
  border: 2px solid rgb(115, 3, 167);
}
.field input:focus ~ i,
.message textarea:focus ~ i {
  color: rgb(115, 3, 167);
}
form .message {
  position: relative;
  margin: 1rem;
  width: 100%;
}
form .message i {
  top: 25px;
  font-size: 20px;
  left: 15px;
}
form .message textarea {
  min-height: 130px;
  max-height: 230px;
  max-width: 100%;
  min-width: 100%;
  padding: 12px 20px 0 48px;
}
form .message textarea::-webkit-scrollbar {
  width: 0px;
}
form .button-area {
  display: flex;
  float: right;
  flex-direction: row-reverse;
}
.button-area button {
  color: #fff;
  border: none;
  outline: none;
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 5px;
  padding: 13px 25px;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  transition: 0.3s ease;
  font-family: "Nunito", sans-serif;
}
.button-area button:hover {
  background: #421cecf5;
}
.button-area span {
  font-size: 17px;
  padding: 1rem;
  display: none;
}
.button-area button i {
  position: relative;
  top: 6px;
  left: 2px;
  font-size: 1.5rem;
  transition: 0.3s;
  color: #fff;
}
.button-area button:hover i {
  left: 8px;
}
/* contact section media queries starts */
@media (max-width: 900px) {
  .contact {
    min-height: 70vh;
  }
  .contact .container {
    margin: 3rem 0 2rem 0;
  }
  .contact .container .content {
    padding: 18px 12px;
  }
  .contact .content .image-box {
    display: none;
  }
  .contact .content form {
    width: 100%;
    margin-right: 2rem;
  }
}
/* contact section media queries ends */
/* contact section ends */

/* footer section starts */
.footer {
  min-height: auto;
  padding-top: 0;
  background: rgb(0, 1, 43);
}
.footer .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer .box-container .box {
  flex: 1 1 25rem;
  margin: 2.5rem;
}
.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: #fff;
  padding-bottom: 1rem;
  font-weight: normal;
}
.footer .box-container .box p {
  font-size: 1.5rem;
  color: #ccc;
  padding: 0.7rem 0;
  text-transform: none;
}
.footer .box-container .box p i {
  padding-right: 1rem;
  color: #ffae00;
}
.footer .box-container .box a {
  font-size: 1.5rem;
  color: rgb(238, 238, 238);
  padding: 0.3rem 0;
  display: block;
}
.footer .box-container .box a:hover {
  color: #ffae00;
}
.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.footer .box-container .box .share a {
  height: 4rem;
  width: 4rem;
  padding: 1rem;
  text-align: center;
  border-radius: 5rem;
  font-size: 1.7rem;
  margin-right: 1rem;
  transition: 0.2s;
  background: rgb(230, 230, 230);
  color: #02094b;
  border: none;
}
.footer .box-container .box .share a:hover {
  background: transparent;
  transform: scale(0.98);
  border: 0.1rem solid rgb(180, 178, 178);
  color: #ffae00;
}
.footer .credit {
  padding: 1rem 0 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: #fff;
  border-top: 0.1rem solid #fff3;
}
.footer .credit a {
  color: #ffae00;
}
.footer .fa {
  color: #e90606;
  margin: 0 0.3rem;
  font-size: 1.5rem;
  animation: pound 0.35s infinite alternate;
}
@-webkit-keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@media (max-width: 450px) {
  .footer .box-container .box {
    margin: 1.5rem;
  }
  .footer .box-container .box p {
    padding: 0.7rem;
  }
  .footer .box-container .box .share a {
    padding: 1.2rem;
  }
}
/* footer section ends */

/* common media queries starts*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}
/* common media queries ends*/

/* scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: #ffae00;
  color: rgb(13, 0, 44);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */

/* Enhanced Hero Section */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.hire-btn {
    background: #2ecc71;
    color: #fff;
}

.hire-btn:hover {
    background: #27ae60;
}

/* Enhanced Skills Section */
.skills-categories {
    display: grid;
    gap: 2rem;
    padding: 1rem;
}

.category {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.category h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.category h3 i {
    margin-right: 0.5rem;
    color: #4ecca3;
}

.category .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

/* Enhanced Services Section */
.services {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 5rem 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="25" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="25" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.services .box {
    background: linear-gradient(145deg, #ffffff, #f8f9ff);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(37, 6, 173, 0.1);
    box-shadow: 0 10px 30px rgba(37, 6, 173, 0.05);
    overflow: hidden;
}

.services .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2506ad, #4a3aff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.services .box:hover::before {
    transform: scaleX(1);
}

.services .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 6, 173, 0.1);
    border-color: rgba(37, 6, 173, 0.2);
}

.services .box .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 6, 173, 0.1), rgba(74, 58, 255, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.services .box .icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 6, 173, 0.2), rgba(74, 58, 255, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.services .box:hover .icon::after {
    opacity: 1;
}

.services .box .icon i {
    font-size: 2.5rem;
    color: #2506ad;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.services .box:hover .icon i {
    transform: scale(1.1) rotate(5deg);
    color: #4a3aff;
}

.services .box h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.services .box .price {
    font-size: 3rem;
    background: linear-gradient(135deg, #2506ad, #4a3aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin: 1.5rem 0;
    text-align: center;
}

.services .box .price span {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

.services .box .features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.services .box .features li {
    padding: 0.8rem 0;
    color: #444;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.services .box .features li i {
    color: #2506ad;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.services .box:hover .features li {
    transform: translateX(5px);
}

.services .box:hover .features li i {
    color: #4a3aff;
}

.services .box .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #2506ad, #4a3aff);
    color: #fff;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    border: none;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services .box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.services .box .btn:hover::before {
    left: 100%;
}

.services .box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 6, 173, 0.2);
}

@media screen and (max-width: 768px) {
    .services .box-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        padding: 1.5rem;
    }

    .services .box {
        padding: 2rem;
    }

    .services .box h3 {
        font-size: 1.6rem;
    }

    .services .box .price {
        font-size: 2.5rem;
    }

    .services .box .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .services .box-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services .box {
        padding: 1.5rem;
    }

    .services .box .icon {
        width: 70px;
        height: 70px;
    }

    .services .box h3 {
        font-size: 1.4rem;
    }

    .services .box .price {
        font-size: 2rem;
    }
}

/* Enhanced Services Info Section */
.services-info {
    margin-top: 3rem;
    padding: 0 1rem;
}

.services-info h3 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.services-info .info-grid {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.services-info .info-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.services-info .info-box {
    flex: 0 0 280px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(37, 6, 173, 0.05);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    border: 1px solid rgba(37, 6, 173, 0.1);
}

.services-info .info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 6, 173, 0.1);
}

.services-info .info-box i {
    font-size: 2rem;
    color: #2506ad;
    margin-bottom: 1rem;
}

.services-info .info-box h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.services-info .info-box p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.services-info .info-box p i {
    font-size: 1rem;
    color: #2506ad;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .services-info .info-box {
        flex: 0 0 250px;
        padding: 1.2rem;
    }

    .services-info .info-box h4 {
        font-size: 1.1rem;
    }

    .services-info .info-box p {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .services-info .info-box {
        flex: 0 0 220px;
        padding: 1rem;
    }

    .services-info .info-box i {
        font-size: 1.8rem;
    }

    .services-info .info-box h4 {
        font-size: 1rem;
    }

    .services-info .info-box p {
        font-size: 0.8rem;
    }
}

/* Enhanced Services Section with Icons */
.services .box .desc .tech-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.services .box .desc .tech-icons i {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Brand Colors for Tech Icons */
.services .box .desc .tech-icons i.fab.fa-react {
    color: #61DAFB;
}

.services .box .desc .tech-icons i.fab.fa-node-js {
    color: #68A063;
}

.services .box .desc .tech-icons i.fab.fa-js-square {
    color: #F7DF1E;
}

.services .box .desc .tech-icons i.fab.fa-html5 {
    color: #E34F26;
}

.services .box .desc .tech-icons i.fab.fa-css3-alt {
    color: #1572B6;
}

.services .box .desc .tech-icons i.fab.fa-python {
    color: #306998;
}

.services .box .desc .tech-icons i.fas.fa-brain {
    color: #FF5252;
}

.services .box .desc .tech-icons i.fab.fa-aws {
    color: #FF9900;
}

.services .box .desc .tech-icons i.fas.fa-database {
    color: #4DB33D;
}

.services .box .desc .tech-icons i.fas.fa-cloud {
    color: #00C7B7;
}

.services .box .desc .tech-icons i.fab.fa-android {
    color: #3DDC84;
}

.services .box .desc .tech-icons i.fab.fa-apple {
    color: #A2AAAD;
}

.services .box .desc .tech-icons i.fab.fa-google {
    color: #4285F4;
}

.services .box .desc .tech-icons i.fab.fa-cc-stripe {
    color: #635BFF;
}

.services .box .desc .tech-icons i.fab.fa-paypal {
    color: #00457C;
}

.services .box .desc .tech-icons i.fas.fa-shopping-cart {
    color: #FF9900;
}

.services .box .desc .tech-icons i.fas.fa-server {
    color: #607D8B;
}

.services .box .desc .tech-icons i.fas.fa-shield-alt {
    color: #4CAF50;
}

.services .box .desc .tech-icons i:hover {
    transform: scale(1.15) translateY(-5px);
    color: #fff;
    background: linear-gradient(135deg, #2506ad 0%, #011aff 100%);
    box-shadow: 0 10px 20px rgba(37, 6, 173, 0.3);
}

.services .box .desc ul li i {
    color: #2506ad;
    margin-right: 0.8rem;
    font-size: 1rem;
}

.services .box .desc h4 i {
    color: #2506ad;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.services .box .desc p i {
    margin-right: 0.5rem;
}

.services .info-box p i {
    color: #2506ad;
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Tooltip for tech icons */
.services .box .desc .tech-icons i[title]:hover:after {
    content: attr(title);
    position: absolute;
    bottom: -2rem;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    white-space: nowrap;
}

/* Animation for tech icons */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.services .box:hover .tech-icons i {
    animation: float 2s infinite ease-in-out;
    animation-delay: calc(var(--i) * 0.1s);
}

.services .box .tech-icons i:nth-child(1) { --i: 1; }
.services .box .tech-icons i:nth-child(2) { --i: 2; }
.services .box .tech-icons i:nth-child(3) { --i: 3; }
.services .box .tech-icons i:nth-child(4) { --i: 4; }
.services .box .tech-icons i:nth-child(5) { --i: 5; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .services .box .desc .tech-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .services .box .desc .tech-icons i {
        font-size: 1.8rem;
        width: 3rem;
        height: 3rem;
    }
}

/* Lottie Animation Containers */
.lottie-container {
  width: 100%;
  height: 100%;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.skills-lottie, .services-lottie {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  max-width: 300px;
}

.home .image {
  position: relative;
}

.home .image #hero-lottie-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.contact .image-box {
  position: relative;
}

.contact .image-box #contact-lottie-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .skills-lottie, .services-lottie {
    max-width: 200px;
  }
}

.skill-card .project-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4ecca3;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 0.8rem;
  padding: 0.4rem 0.8rem;
  background: rgba(78, 204, 163, 0.1);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  width: fit-content;
}

.skill-card .project-count i {
  font-size: 1rem;
}

.skill-card .project-count:hover {
  background: rgba(78, 204, 163, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

.skill-card .project-count:hover i {
  transform: scale(1.1);
}

.skill-card .project-count:hover {
  background: rgba(78, 204, 163, 0.2);
}

@media screen and (max-width: 768px) {
  .skill-card .project-count {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }
  
  .skill-card .project-count i {
    font-size: 0.9rem;
  }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.hero-lottie {
    position: relative;
    width: 100%;
    max-width: 175px;
    margin-left: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-lottie .lottie-container {
    width: 100%;
    height: 150px;
    position: relative;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-lottie {
        max-width: 150px;
    }
    
    .hero-lottie .lottie-container {
        height: 120px;
    }
    
    .hero-bottom {
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-lottie {
        max-width: 120px;
    }
    
    .hero-lottie .lottie-container {
        height: 100px;
    }
    
    .hero-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Projects Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-color);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    width: 85%;
    max-width: 1200px;
    transform: translateY(-50px);
    transition: transform 0.5s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--main-color);
    float: right;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--hover-color);
    transform: rotate(90deg);
}

#modal-title {
    margin-bottom: 2rem;
    color: var(--main-color);
    text-align: center;
}

#skill-name {
    color: var(--hover-color);
}

.modal-projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.modal-project-card {
    background: var(--bg-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.modal-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.modal-project-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.modal-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modal-project-card:hover .modal-project-image img {
    transform: scale(1.1);
}

.modal-project-content {
    padding: 1.5rem;
}

.modal-project-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.modal-project-description {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modal-project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.modal-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.modal-tech-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    background: var(--main-color);
    color: #fff;
}

.modal-project-links {
    display: flex;
    gap: 1rem;
}

.modal-project-links a {
    color: var(--main-color);
    transition: color 0.3s ease;
}

.modal-project-links a:hover {
    color: var(--hover-color);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1rem;
    }
    
    .modal-projects-container {
        grid-template-columns: 1fr;
    }
}
