@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: #cbdcf7;
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: #da2b2b;
  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(167, 3, 30);
}
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: #da0416;
}
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: #da0416;
  border-bottom: 0.2rem solid #da0416;
  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 #da0416;
  }
  .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;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
}
.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;
}
/* Hero Image Styles - Larger Size */
.home .image {
  position: relative;
  flex: 1 1 40rem;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home .image::before {
  content: '';
  position: absolute;
  width: 36rem;  /* Increased size */
  height: 36rem; /* Increased size */
  border-radius: 50%;
  border: 1.5rem solid rgba(218, 4, 22, 0.2);
  animation: pulse 2s infinite;
}

.home .image::after {
  content: '';
  position: absolute;
  width: 57rem;  /* Increased size */
  height: 57rem; /* Increased size */
  border-radius: 50%;
  border: 1.5rem solid rgba(218, 4, 22, 0.1);
  animation: pulse 2s infinite 0.5s;
}

.home .image img {
  width: 57rem;  /* Increased size */
  height: 57rem; /* Increased size */
  object-fit: cover;
  border-radius: 50%;
  border: 1.5rem solid white;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: all 0.3s ease;
  animation: fadeIn 1s ease-in-out;
}

.home .image img:hover {
  transform: scale(1.03);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments for Larger Image */
@media (max-width: 1200px) {
  .home .image::before {
      width: 32rem;
      height: 32rem;
  }

  .home .image::after {
      width: 30rem;
      height: 30rem;
  }

  .home .image img {
      width: 28rem;
      height: 28rem;
  }
}

@media (max-width: 992px) {
  .home .image::before {
      width: 28rem;
      height: 28rem;
  }

  .home .image::after {
      width: 26rem;
      height: 26rem;
  }

  .home .image img {
      width: 24rem;
      height: 24rem;
  }
}

@media (max-width: 768px) {
  .home .image::before {
      width: 24rem;
      height: 24rem;
  }

  .home .image::after {
      width: 22rem;
      height: 22rem;
  }

  .home .image img {
      width: 20rem;
      height: 20rem;
      margin-left: 0;
      margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .home .image::before {
      width: 20rem;
      height: 20rem;
  }

  .home .image::after {
      width: 18rem;
      height: 18rem;
  }

  .home .image img {
      width: 16rem;
      height: 16rem;
  }
}

/* Keep the same animations */
@keyframes pulse {
  0% {
      transform: scale(1);
      opacity: 1;
  }
  50% {
      transform: scale(1.05);
      opacity: 0.7;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(2rem);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.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(204, 9, 9);
  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: #da0416;
  box-shadow: 0px 5px 18px rgba(247, 48, 48, 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: #a30512;
}
.home .btn:hover i {
  transform: translateX(5px);
}
/* social icons start */
.socials {
  position: relative;
  margin-top: 9rem;
}
.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: #fff;
  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: #0072b1;
}
.social-icons a.dev:hover {
  background-color: #bb0000;
}
.social-icons a.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-icons a.facebook:hover {
  background: #32506d;
}
/* 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: 1rem;
  }
  .home .content p {
    font-size: 2.2rem;
  }
  .home .content p span {
    font-size: 2.2rem;
  }
}
/* hero media queries ends*/
/* hero section end */

/* ===============================================
   ABOUT SECTION - ENHANCED UI
   =============================================== */

   .about {
    position: relative;
    overflow: hidden;
    background: none !important;
  }

  .about-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    opacity: 1; /* Make it fully visible */
    filter: none; /* Remove any filters */
  }

  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4); /* change opacity as needed */
    z-index: 0;
  }

  /* Update these styles in your CSS */

.intro h3 {
  font-size: 3rem;
  color: #f8fafc; /* Brighter white for better contrast */
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Subtle shadow for depth */
}

.tagline {
  font-size: 1.8rem;
  color: #e2e8f0; /* Lighter gray for better readability */
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 500; /* Slightly bolder */
}

/* Optional: Add a subtle animation to draw attention */
.tagline {
  position: relative;
}

.tagline::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, transparent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.intro:hover .tagline::after {
  transform: scaleX(1);
  transform-origin: left;
}
  .about-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
  }

  /* Section Heading */
  .about .heading {
    text-align: center;
    margin-bottom: 6rem;
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInDown 1s ease-out;
  }

  .about .heading i {
    margin-right: 1.5rem;
    color: #60a5fa;
  }

  .about .heading span {
    color: #60a5fa;
    position: relative;
  }

  .about .heading span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #60a5fa;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
  }

  .about .heading:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  /* Content Layout */
  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    align-items: center;
  }

  /* Profile Image */
  .image {
    flex: 1 1 35rem;
    position: relative;
  }

  .image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
  }

  .image-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
  }

  .profile-img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
  }

  .image-wrapper:hover .profile-img {
    transform: scale(1.05);
  }

  /* Tech Stack Icons */
  .tech-stack {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    background: rgba(30, 41, 59, 0.9);
    padding: 1.5rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
  }

  .tech-icon {
    font-size: 2.5rem;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
  }

  .tech-icon:hover {
    transform: translateY(-5px) scale(1.2);
    color: #60a5fa;
  }

  .tech-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .tech-icon:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -50px;
  }

  /* Content Area */
  .content {
    flex: 1 1 50rem;
  }

  .intro {
    margin-bottom: 3rem;
    animation: fadeInRight 1s ease-out;
  }

  .intro h3 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .tag {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(96, 165, 250, 0.3);
    transition: all 0.3s ease;
  }

  .tag:hover {
    background: rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
  }

  .tagline {
    font-size: 1.8rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 3rem;
  }

  /* Highlight Cards */
  .highlight-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border-left: 4px solid #60a5fa;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
  }

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

  .highlight-card h4 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .highlight-card h4 i {
    color: #60a5fa;
  }

  .about-list {
    list-style: none;
    padding-left: 1rem;
  }

  .about-list li {
    font-size: 1.6rem;
    color: #cbd5e1;
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 3rem;
    line-height: 1.6;
    transition: all 0.3s ease;
  }

  .about-list li:hover {
    color: #fff;
  }

  .about-list li i {
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #60a5fa;
    font-size: 1.4rem;
    transition: all 0.3s ease;
  }

  .about-list li:hover i {
    transform: rotate(90deg);
  }

  /* Skills Highlight */
  .skills-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 3rem 0;
  }

  .skill-pill {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 600;
    border: 1px solid rgba(96, 165, 250, 0.3);
    transition: all 0.3s ease;
  }

  .skill-pill:hover {
    background: rgba(96, 165, 250, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  }

  /* Resume Button & Social Links */
  .resumebtn {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 5rem;
    flex-wrap: wrap;
  }

  .resumebtn .btn {
    padding: 1.8rem 3.5rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  .resumebtn .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    transition: all 0.4s ease;
    z-index: -1;
  }

  .resumebtn .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  }

  .resumebtn .btn:hover::before {
    left: 0;
  }

  .resumebtn .btn i {
    transition: all 0.3s ease;
  }

  .resumebtn .btn:hover i {
    transform: translateX(3px);
  }

  .social-links {
    display: flex;
    gap: 1.5rem;
  }

  .social-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
  }

  .social-icon:hover {
    background: #60a5fa;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.4);
  }

  /* Animations */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translate(-50%, -20px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }

  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes float {
    0%, 100% {
      transform: translate(-50%, 0);
    }
    50% {
      transform: translate(-50%, -10px);
    }
  }

  /* ===============================================
     RESPONSIVE STYLES
     =============================================== */

  @media screen and (max-width: 1200px) {
    .about {
      padding: 8rem 5%;
    }
  }

  @media screen and (max-width: 992px) {
    .row {
      flex-direction: column;
      gap: 4rem;
    }

    .image {
      max-width: 500px;
      margin: 0 auto;
    }

    .content {
      text-align: center;
    }

    .about-list li {
      padding-left: 0;
      text-align: left;
    }

    .about-list li i {
      position: static;
      margin-right: 1rem;
    }

    .resumebtn {
      justify-content: center;
    }

    .skills-highlight {
      justify-content: center;
    }
  }

  @media screen and (max-width: 768px) {
    .about .heading {
      font-size: 3.8rem;
      margin-bottom: 4rem;
    }

    .intro h3 {
      font-size: 2.6rem;
    }

    .highlight-card {
      padding: 2rem;
    }

    .tech-stack {
      padding: 1rem 1.5rem;
      gap: 1rem;
    }

    .tech-icon {
      font-size: 2rem;
    }
  }

  @media screen and (max-width: 576px) {
    .about {
      padding: 6rem 3%;
    }

    .about .heading {
      font-size: 3.2rem;
    }

    .intro h3 {
      font-size: 2.2rem;
    }

    .tag {
      font-size: 1.4rem;
      padding: 0.6rem 1.5rem;
    }

    .resumebtn {
      flex-direction: column;
      gap: 2rem;
      align-items: center;
    }

    .social-links {
      justify-content: center;
    }

    .tech-stack {
      bottom: -15px;
    }
  }
/* skills section starts */

.skills {
  min-height: 100vh;
  /* background: linear-gradient(135deg, #57059e 0%, #4a00e0 100%); */
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: none !important;
}
.about-bg-video1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 1; /* Adjust this for better contrast */
  pointer-events: none; /* Prevent video from blocking clicks */
}


.skills::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.03)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.skills h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 3rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.skills .heading span {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.skills .container {
  background: rgba(0, 0, 22, 0.6);
  color: #fff;
  border-radius: 1.5rem;
  padding: 3rem;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category {
  margin-bottom: 3rem;
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-title {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 215, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-title i {
  color: #ffd700;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: rgba(0, 0, 46, 0.5);
  border-radius: 0.8rem;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 66, 0.7);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.3);
}

.skill-card:hover::before {
  opacity: 1;
}

.skill-icon {
  height: 60px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
  transform: scale(1.1);
}

.skill-icon img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.skill-icon i {
  font-size: 2.5rem;
  color: #ffd700;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.skill-name {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s ease;
}

.skill-card:hover .skill-name {
  color: #ffd700;
}

.skill-level {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.8rem;
  position: relative;
}

.level-bar {
  height: 100%;
  background: linear-gradient(90deg, #ffd700, #ffaa00);
  border-radius: 3px;
  transition: width 1s ease-in-out;
  position: relative;
}

.level-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
              rgba(255,255,255,0.3) 0%,
              rgba(255,255,255,0) 50%,
              rgba(255,255,255,0.3) 100%);
  animation: shine 2s infinite;
}

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

/* Animation for skill bars when they appear */
@keyframes fillBars {
  from { width: 0; }
  to { width: var(--final-width); }
}

/* skills media queries */
@media screen and (max-width: 1200px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

@media screen and (max-width: 992px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.2rem;
  }

  .skill-card {
    padding: 1.2rem 0.8rem;
  }
}

@media screen and (max-width: 768px) {
  .skills {
    padding: 3rem 0;
  }

  .skills h2 {
    font-size: 2.5rem;
  }

  .skills .container {
    padding: 2rem;
    width: 95%;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
  }

  .skill-card {
    padding: 1rem 0.5rem;
  }

  .skill-name {
    font-size: 1rem;
  }

  .category-title {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 576px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .skills h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .category-title {
    font-size: 1.4rem;
  }

  .skill-icon {
    height: 50px;
  }

  .skill-icon i {
    font-size: 2rem;
  }
}

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


/* Education Section */
.education {
  /* background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%); */
  /* min-height: 100vh;
  padding: 5rem 2rem; */
  position: relative;
  overflow: hidden;
  /* background: none !important; */
}

.education::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./assets/images/digital_brain.png');
  background-size: contain; /* Better for detailed images */
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;


  /* Improved visibility with white tint */
  filter: brightness(1.5) grayscale(100%) contrast(1.2);
  opacity: 0.15; /* Base opacity */

  /* Smoother blinking effect */
  animation: brainGlow 10s infinite ease-in-out;
}


.education-header {
  text-align: center;
  margin-bottom: 4rem;
}

.education .heading {
  font-size: 3.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.education .heading span {
  color: #3498db;
}

.education .heading i {
  margin-right: 1rem;
  color: #3498db;
}

.education .quote {
  font-size: 1.6rem;
  font-style: italic;
  color: #7f8c8d;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 1rem 2rem;
}

.education .quote::before,
.education .quote::after {
  content: '"';
  font-size: 2rem;
  color: #3498db;
  opacity: 0.5;
}

/* Timeline */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.timeline-bar {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #3498db, #2ecc71);
  transform: translateX(-50%);
  z-index: 1;
}

/* Education Box */
.education-box {
  position: relative;
  width: calc(50% - 4rem);
  margin-bottom: 4rem;
  display: flex;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
}

.education-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.education-box:nth-child(odd) {
  margin-left: auto;
}

.education-box:nth-child(even) {
  margin-right: auto;
}

.box-image {
  flex: 1;
  min-height: 250px;
  position: relative;
  overflow: hidden;
}

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.8) 0%, rgba(46, 204, 113, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.education-box:hover .image-overlay {
  opacity: 0.9;
}

.education-box:hover .box-image img {
  transform: scale(1.1);
}

.box-content {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.education-date {
  font-size: 1.4rem;
  color: #3498db;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.education-box h3 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.institution {
  font-size: 1.6rem;
  color: #34495e;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.location, .status {
  font-size: 1.4rem;
  color: #7f8c8d;
  margin-bottom: 1.5rem;
}

.education-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: #3498db;
  color: white;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  align-self: flex-start;
}

.education-badge.completed {
  background: #2ecc71;
}

/* Responsive Design */
@media screen and (max-width: 900px) {
  .education-box {
    width: 100%;
    flex-direction: column;
  }

  .timeline-bar {
    left: 2rem;
  }

  .education-box:nth-child(odd),
  .education-box:nth-child(even) {
    margin-left: 4rem;
    margin-right: 0;
  }

  .box-image {
    min-height: 200px;
  }
}

@media screen and (max-width: 600px) {
  .education .heading {
    font-size: 2.8rem;
  }

  .education .quote {
    font-size: 1.4rem;
    padding: 1rem;
  }

  .education-box {
    margin-left: 2rem !important;
  }

  .box-content {
    padding: 2rem;
  }

  .education-box h3 {
    font-size: 2rem;
  }
}

/* work section starts */


.work {
  /* background: #010124; */
  /* background: linear-gradient(to bottom, #000031, #00002c); */
  position: relative;
  overflow: hidden;
  background: none !important;
}

.about-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  opacity: 1; /* Make it fully visible */
  filter: none; /* Remove any filters */
}
.work h2 {
  color: #fff;
  padding: 1rem;
}
.work .heading span {
  color: rgb(194, 175, 7);
}
.work .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem;
}
.work .box-container .box {
  flex: 1 1 30rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  height: 30rem;
}
.work .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.work .box-container .box .content {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 85%;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
}
.work .box-container .box .content .tag {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  width: 100%;
  padding-left: 1rem;
  background: #da0416;
  color: #FFF;
}
.work .box-container .box .content .tag h3 {
  font-size: 2rem;
}
.work .box-container .box:hover .content {
  top: 25%;
}
.work .desc {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work .desc p {
  font-size: 1.5rem;
}
.work .desc .btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
}
.work .desc .btns .btn {
  line-height: 0;
  display: inline;
  padding: 1.5rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
  background: rgb(12, 12, 12);
  margin-right: 2rem;
}
.work .desc .btns .btn:hover {
  background: #da0416;
}
.work .viewall {
  display: flex;
  justify-content: center;
}
.work .viewall .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: rgb(255, 255, 255);
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0px 5px 10px rgba(65, 84, 241, 0.4);
  text-align: center;
}
.work .viewall .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.work .viewall .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.work .viewall .btn:hover {
  background: #fff;
  color: #000;
}
.work .viewall .btn:hover i {
  transform: translateX(5px);
}
/* work section ends */

/* certifications section starts */
/* Certifications Section - Modern UI */
.certifications {
  position: relative;
  overflow: hidden;
  padding: 10rem 5%;
  /* background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); */
  isolation: isolate;
}
.about-bg-video3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  filter: none; /* Or use brightness if needed */
}

.certifications::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./assets/images/tech-pattern.png') center/cover;
  opacity: 0.05;
  z-index: -1;
}

.certifications .heading {
  color: #fff;
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
  font-size: 4rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.certifications .heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #da0416, #ff7b00);
  margin: 1.5rem auto;
  border-radius: 2px;
}

.certificate-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.certificate-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.certificate-img-container {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.certificate-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(218, 4, 22, 0.9) 0%, rgba(255, 123, 0, 0.9) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.certificate-img-container:hover .certificate-overlay {
  opacity: 1;
}

.certificate-img-container:hover .certificate-img {
  transform: scale(1.08);
}

.view-btn, .verify-btn {
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  min-width: 160px;
  justify-content: center;
}

.view-btn {
  background: transparent;
  border: 2px solid white;
}

.view-btn:hover {
  background: white;
  color: #da0416;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.verify-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.verify-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.certificate-info {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: white;
}

.certificate-info h3 {
  font-size: 2.2rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
}

.certificate-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.certificate-meta span {
  font-size: 1.4rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}

.certificate-meta i {
  color: #da0416;
  font-size: 1.6rem;
}

.certificate-desc {
  font-size: 1.5rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.certificate-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.certificate-skills span {
  font-size: 1.3rem;
  padding: 0.6rem 1.4rem;
  background: #e2e8f0;
  color: #2563eb;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.certificate-skills span:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
}

/* Animation Enhancements */
.certificate-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.certificate-card:nth-child(1) { animation-delay: 0.1s; }
.certificate-card:nth-child(2) { animation-delay: 0.2s; }
.certificate-card:nth-child(3) { animation-delay: 0.3s; }
.certificate-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
  .certifications {
    padding: 8rem 5%;
  }

  .certificate-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .certifications .heading {
    font-size: 3.2rem;
    margin-bottom: 4rem;
  }

  .certificate-img-container {
    height: 200px;
  }

  .certificate-info {
    padding: 2rem;
  }

  .certificate-info h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .certificate-container {
    grid-template-columns: 1fr;
  }

  .certificate-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .view-btn, .verify-btn {
    width: 100%;
  }
}

/* ===============================================
   EXPERIENCE SECTION - COMPLETE STYLES
   =============================================== */

   section.experience {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    background: none !important;
    color: #fff;
    z-index: 1;
  }

  /* Background Video Styles */
  section.experience .about-bg-video2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
    filter: brightness(0.7);
  }

  /* Overlay Gradient */
  section.experience .experience-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 0;
  }

  /* Section Heading */
  section.experience .heading {
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-size: 3.5rem;
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
    animation: experienceFadeInDown 1s ease-out;
  }

  section.experience .heading i {
    margin-right: 1rem;
    color: #f68c09;
  }

  /* Timeline Structure */
  section.experience .timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  /* Timeline Vertical Line */
  section.experience .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, #f68c09, #da0416);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
    z-index: -1;
  }

  /* Timeline Container - Scroll Animation */
  section.experience .timeline .container {
    padding: 2rem 4rem;
    position: relative;
    width: 50%;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  section.experience .timeline .container.animate {
    opacity: 1;
    transform: translateY(0);
  }

  /* Animation Delays for Staggered Effect */
  section.experience .timeline .container:nth-child(1).animate {
    transition-delay: 0.2s;
  }
  section.experience .timeline .container:nth-child(2).animate {
    transition-delay: 0.4s;
  }
  section.experience .timeline .container:nth-child(3).animate {
    transition-delay: 0.6s;
  }

  /* Timeline Bullet Points */
  section.experience .timeline .container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #fff;
    border: 4px solid #f68c09;
    top: 2rem;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px rgba(246, 140, 9, 0.6);
  }

  /* Left/Right Alignment */
  section.experience .timeline .left {
    left: 0;
  }

  section.experience .timeline .right {
    left: 50%;
  }

  section.experience .timeline .right::after {
    left: -17px;
  }

  /* Content Box Styles */
  section.experience .timeline .content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
  }

  section.experience .timeline .content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  }

  /* Company Header */
  section.experience .timeline .tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
  }

  section.experience .timeline .tag h2 {
    font-size: 2rem;
    color: #2506ad;
    margin: 0;
    font-weight: 700;
  }

  /* Company Logo */
  section.experience .timeline .company-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2506ad, #1a047e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }

  /* Position and Duration */
  section.experience .timeline .desc h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }

  section.experience .timeline .duration {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
  }

  section.experience .timeline .duration i {
    margin-right: 0.5rem;
    color: #f68c09;
  }

  /* Bullet Points */
  section.experience .timeline ul {
    padding-left: 1rem;
    margin: 1.5rem 0;
  }

  section.experience .timeline ul li {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #444;
    position: relative;
    padding-left: 2.5rem;
    line-height: 1.6;
  }

  section.experience .timeline ul li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: #f68c09;
    font-size: 1.3rem;
  }

  /* Buttons */
  section.experience .timeline .btns {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
  }

  section.experience .timeline .btn {
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2506ad, #1a047e);
    color: white;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 6, 173, 0.3);
    z-index: 1;
    border: none;
    cursor: pointer;
  }

  section.experience .timeline .btn i {
    margin-right: 0.8rem;
    transition: all 0.3s ease;
  }

  /* Button Hover Effect */
  section.experience .timeline .btn-hover {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f68c09, #da0416);
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 50px;
  }

  section.experience .timeline .btn:hover .btn-hover {
    left: 0;
  }

  section.experience .timeline .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(246, 140, 9, 0.4);
  }

  section.experience .timeline .btn:hover i {
    transform: translateX(3px);
  }

  /* View More Button */
  section.experience .morebtn {
    text-align: center;
    margin-top: 4rem;
  }

  section.experience .view-more {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 1.2rem 3rem;
    transition: all 0.4s ease;
  }

  section.experience .view-more:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
  }

  section.experience .view-more i {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
  }

  section.experience .view-more:hover i {
    transform: translateY(3px);
  }

  /* Custom Animations */
  @keyframes experienceFadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===============================================
     RESPONSIVE STYLES
     =============================================== */

  @media screen and (max-width: 1200px) {
    section.experience .timeline .container {
      padding: 2rem 3rem;
    }
  }

  @media screen and (max-width: 992px) {
    section.experience .heading {
      font-size: 3rem;
    }

    section.experience .timeline .content {
      padding: 2rem;
    }
  }

  @media screen and (max-width: 768px) {
    section.experience {
      padding: 5rem 0;
    }

    section.experience .heading {
      font-size: 2.8rem;
      margin-bottom: 3rem;
    }

    section.experience .timeline::after {
      left: 31px;
    }

    section.experience .timeline .container {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
    }

    section.experience .timeline .container::after {
      left: 15px;
    }

    section.experience .timeline .left::after,
    section.experience .timeline .right::after {
      left: 15px;
    }

    section.experience .timeline .right {
      left: 0%;
    }

    section.experience .timeline .tag h2 {
      font-size: 1.8rem;
    }

    section.experience .timeline .desc h3 {
      font-size: 1.5rem;
    }
  }

  @media screen and (max-width: 576px) {
    section.experience .heading {
      font-size: 2.4rem;
    }

    section.experience .timeline .container {
      padding-left: 50px;
      padding-right: 15px;
    }

    section.experience .timeline .content {
      padding: 1.5rem;
    }

    section.experience .timeline .btn {
      padding: 0.8rem 1.5rem;
      font-size: 1.2rem;
    }

    section.experience .timeline .company-logo {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
    }
  }
/* 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 section starts */
.footer {
  min-height: auto;
  padding-top: 2rem; /* Added some padding to the top */
  background: rgb(21, 0, 0); /* Changed background to a light gray */
  color: #333; /* Default text color for better contrast */
}

.footer .box-container {
  display: flex;
  justify-content: space-around; /* Distribute boxes more evenly */
  flex-wrap: wrap;
  padding: 2rem; /* Added padding around the box container */
}

.footer .box-container .box {
  flex: 1 1 20rem; /* Slightly reduced the base width */
  margin: 1.5rem; /* Reduced margin */
}

.footer .box-container .box h3 {
  font-size: 2rem; /* Slightly smaller heading */
  color: #02094b; /* Darker heading color */
  padding-bottom: 0.5rem;
  font-weight: bold; /* Make headings stand out */
}

.footer .box-container .box p {
  font-size: 1.4rem;
  color: #555; /* Darker paragraph text */
  padding: 0.5rem 0;
  text-transform: none;
  line-height: 1.8; /* Improved line height for readability */
}

.footer .box-container .box p i {
  padding-right: 0.8rem;
  color: #ffae00;
}

.footer .box-container .box a {
  font-size: 1.4rem;
  color: #555; /* Darker link color */
  padding: 0.2rem 0;
  display: block;
  transition: color 0.3s ease; /* Smooth hover transition */
}

.footer .box-container .box a:hover {
  color: #ffae00;
}

.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem 0;
  margin-top: 1rem; /* Added some space above the share icons */
}

.footer .box-container .box .share a {
  height: 3.5rem; /* Slightly smaller icons */
  width: 3.5rem;
  padding: 0.6rem;
  text-align: center;
  border-radius: 5rem;
  font-size: 1.5rem;
  margin-right: 0.5rem;
  transition: 0.2s;
  background: #fff; /* White background for icons */
  color: #02094b;
  border: 0.1rem solid #ddd; /* Light border for definition */
}

.footer .box-container .box .share a:hover {
  background: #02094b; /* Dark background on hover */
  color: #fff; /* White text on hover */
  border-color: #02094b;
  transform: scale(1.05); /* Slightly scale up on hover */
}

.footer .credit {
  padding: 1rem 0;
  text-align: center;
  font-size: 1.2rem; /* Slightly smaller credit text */
  font-family: "Nunito", sans-serif;
  font-weight: 400; /* Lighter font weight */
  color: #777; /* Darker credit text */
  border-top: 0.1rem solid #eee;
  margin-top: 2rem; /* Add some space above the credit line */
}

.footer .credit a {
  color: #ffae00;
}

.footer .fa {
  color: #e90606;
  margin: 0 0.3rem;
  font-size: 1.2rem;
  animation: pound 0.35s infinite alternate;
}

@-webkit-keyframes pound {
  to {
    transform: scale(1.1);
  }
}

@keyframes pound {
  to {
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .footer .box-container {
    justify-content: center; /* Center boxes on smaller screens */
  }

  .footer .box-container .box {
    flex: 1 1 45%; /* Take up more width on smaller screens */
    margin: 1rem;
  }
}

@media (max-width: 450px) {
  .footer .box-container .box {
    flex: 1 1 100%; /* Take up full width on very small screens */
    margin: 1rem 0;
  }

  .footer .box-container .box p {
    padding: 0.5rem;
  }

  .footer .box-container .box .share a {
    padding: 0.8rem;
    height: 3rem;
    width: 3rem;
    font-size: 1.3rem;
    margin-right: 0.3rem;
  }

  .footer .box-container .box h3 {
    font-size: 1.8rem;
  }

  .footer .box-container .box a {
    font-size: 1.3rem;
  }

  .footer .credit {
    font-size: 1rem;
  }

  .footer .fa {
    font-size: 1rem;
  }
}
/* footer section ends */
/* 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: 1.3rem 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 */


/* Projects Section Improvements */
/* Projects Section - Modern UI */
.work {
  position: relative;
  padding: 8rem 5%;
  background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
}

.work .heading {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
}

.work .heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #da0416, #ff7b00);
  margin: 1.5rem auto;
  border-radius: 2px;
}

.work .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 1rem;
}

.work .project-box {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.work .project-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #da0416, #ff7b00);
}

.work .box img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work .project-box:hover .box img {
  transform: scale(1.03);
}

.work .project-desc {
  padding: 2.5rem;
  position: relative;
}

.work .project-desc h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #1e293b;
  font-weight: 700;
}

.work .project-desc p {
  font-size: 1.5rem;
  color: #4b5563;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Tech Tags - Modern Style */
.work .tech-used {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.work .tech-used span {
  font-size: 1.2rem;
  padding: 0.6rem 1.2rem;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.work .tech-used span:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
}

/* Project Buttons - Modern Style */
.work .project-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.work .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.work .btn i {
  margin-right: 0.8rem;
  font-size: 1.4rem;
}

.work .btn.view-btn {
  background: linear-gradient(135deg, #da0416 0%, #ff7b00 100%);
  color: white;
}

.work .btn.view-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(218, 4, 22, 0.3);
}

.work .btn.code-btn {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.work .btn.code-btn:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* Hover Effects */
.work .project-box:hover .project-desc h3 {
  color: #da0416;
}

/* Responsive Design */
@media (max-width: 992px) {
  .work .box-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .work {
    padding: 6rem 5%;
  }

  .work .box-container {
    grid-template-columns: 1fr;
  }

  .work .project-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .work .btn {
    width: 100%;
    text-align: center;
  }
}

/* Animation Enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work .project-box {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.work .project-box:nth-child(1) { animation-delay: 0.1s; }
.work .project-box:nth-child(2) { animation-delay: 0.2s; }
.work .project-box:nth-child(3) { animation-delay: 0.3s; }
.work .project-box:nth-child(4) { animation-delay: 0.4s; }