:root {
  --bg-primary: #020B13;
  --text-primary: #ffffff;
  --text-secondary: #B5C2C9;
  --accent-neon: #00E5FF;
  --accent-neon-light: #4DF6FF;
  --neon-glow: rgba(0, 229, 255, 0.35);
  --text-dark: #020B13;
}


* {
  margin: 0;
  padding: 0;
  font-family: k2d;
  box-sizing: border-box;
  scrollbar-width: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ==== BACKGROUND PARTICLES ==== */
#page-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ==== GLOBAL STYLES ==== */
a {
  text-decoration: none;
  color: var(--text-secondary);
}

p {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  text-align: justify;
  text-justify: inter-word;
}

.container {
  width: 90%;
  margin: 0 auto;
  padding-top: 100px !important;
}


h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent-neon);
  margin-bottom: 10px;
  text-transform: uppercase;

}

.left,
.right {
  width: 100%;
  padding-top: 50px;
  position: static;
  height: auto;
}

.left {
  width: 50%;
  height: 60vh;
  position: sticky;
  top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 8px;
}

.right {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.swal2-backdrop-show {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  overflow: hidden;
  border-radius: 0;
  transition: clip-path .35s ease, color .3s ease;
  clip-path: polygon(10% 0, 100% 0, 100% 78%, 90% 100%, 0 100%, 0 25%);
}

.btn:hover {
  clip-path: polygon(0 0, 90% 0, 100% 25%, 100% 100%, 10% 100%, 0 78%);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--accent-neon) 0%, var(--accent-neon) 65%);
  scale: 0;
  opacity: 0;
  transition: 0.35s ease;
  z-index: -1;
}

.btn:hover::before {
  scale: 3;
  opacity: 1;
}

.btn-primary {
  background: var(--accent-neon);
  color: var(--text-dark);
  border: 2px solid var(--accent-neon);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-neon);
  border: 2px solid var(--accent-neon);
}

.btn-secondary:hover {
  color: var(--text-dark);
}


/* ====================== Navbar CSS ====================*/
/* ====================== Navbar CSS ====================*/

header {
  width: 100%;
  position: relative;
  z-index: 1000;
}

.navv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0px;
  width: 90%;
  margin: 0 auto;
}

nav {
  transition: all 0.6s ease;
  backdrop-filter: blur(0px);
}

nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(25px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.8s ease forwards;
}


@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.logo img {
  width: 60px;
}

.nav-menu {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.18);
  padding: 10px 30px;
  align-items: center;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.6);
}

.nav-menu a {
  position: relative;
  display: inline-block;
  padding: 8px 22px;
  overflow: hidden;
  transition: color 0.3s ease;
  clip-path: polygon(10% 0, 100% 0, 100% 78%, 90% 100%, 0 100%, 0 25%);
}

.nav-menu a>span {
  position: relative;
  z-index: 2;
}

.nav-menu a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-neon-light);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(.2, .9, .2, 1);
  border-radius: inherit;
}

/* hover or focus pe fill ho jaye */
.nav-menu a:hover::before,
.nav-menu a:focus::before {
  transform: scaleX(1);
}

/* active state (clicked) */
.nav-menu a.active::before {
  transform: scaleX(1);
}

.nav-menu a:hover>span,
.nav-menu a:focus>span,
.nav-menu a.active>span {
  color: var(--bg-primary);
  font-weight: 600;
}

.nav-menu a:hover {
  transition: var(--transition) !important;
  color: var(--secondary-color);
}

.nav-link {
  display: flex;
  gap: 20px;
}

.nav-link img:hover {
  transform: translate(0, -4px);
  transition: var(--transition);
}

.hamburger {
  color: var(--accent-neon);
  font-size: 30px;
  cursor: pointer;
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 76px;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  transition: .45s ease;
  z-index: 10001;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  font-size: 16px;
  text-align: center;
  padding-bottom: 10px;
}

.mobile-menu a:hover {
  color: var(--text-dark);
}


/* ====================== Hero Section CSS ====================*/
/* ====================== Hero Section CSS ====================*/

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#home .container {
  padding: 0 !important;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.typing-text {
  margin-top: 8rem !important;
  text-transform: lowercase;
  color: white;
}

.typed-text {
  text-transform: uppercase;
  color: var(--accent-neon);
}


.hero-text .btn-group {
  display: flex;
  margin-top: 30px;
}

.highlight {
  font-size: 7rem;
  position: absolute;
  color: var(--neon-glow);
  font-weight: 600;
}

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image img {
  width: 672px;
}


/* ====================== About Section CSS ====================*/
/* ====================== About Section CSS ====================*/

.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-main {
  text-align: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.about-text a {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.about-text a img {
  height: 24px;
}

.green {
  background: var(--primary-color);
  color: var(--light-color);
}

/* ====================== Skills Section CSS ====================*/
/* ====================== Skills Section CSS ====================*/


.skills {
  display: flex;
  gap: 20px;
}

.rightt {
  width: 35%;
}

.leftt {
  width: 65%;
}

.skills-card {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.skill-card {
  width: 100%;
  border: 1px solid;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.18) !important;
  backdrop-filter: blur(6px);
}

.skill-card h4 {
  font-size: 28px;
  padding: 10px 0;
}

.skill-text {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.inner-box {
  padding: 40px;
}

.inner-box {
  padding: 40px;
}

.inner-box ul {
  padding-left: 16px;
}

.inner-box li {
  padding-top: 14px;
}

.small-inner-box li {
  padding-top: 14px;
}

.skill-card {
  display: flex;
  border: 1px solid var(--light-color);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 1s ease;
}

.bi {
  transition: color 0.3s ease;
}

/* CARD HOVER EFFECT */
.skill-card:hover {
  transform: translateY(-0px);
  transition: all .5s ease-in-out;
  border-color: var(--accent-neon);
  box-shadow: 0 10px 20px var(--accent-neon-light);
}

/* SPIN ONLY ON HOVER */
.skill-card:hover .bi {
  animation: spin 1s ease forwards;
  color: var(--accent-neon);
  animation-delay: 0s;
}

.work-experience-1 {
  display: none !important;
}

/* SPIN ANIMATION */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* COLOR CHANGE (optional) */
@keyframes colorChange {
  0% {
    color: var(--primary-color);
  }

  100% {
    color: var(--accent-neon);
  }
}

/* ====================== Projects Section CSS ====================*/
/* ====================== Projects Section CSS ====================*/

#my-projects h2 {
  margin-top: 40px;
}

/* Slider Images */
.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  transition: .3s;
}

/* Hover Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  border-radius: 8px;
  transition: clip-path 0.6s ease-in-out, opacity 0.6s ease-in-out;
  clip-path: circle(0% at 100% 0%);
  padding: 5rem;
  display: flex;
  gap: 1.5rem;
}

.overlay h1 {
  color: var(--bg-primary);
}

.overlay p {
  font-size: 20px;
  color: var(--light-color);
}

.swiper-slide:hover .overlay {
  clip-path: circle(150% at 50% 50%);
  background: linear-gradient(225deg, var(--accent-neon-light), var(--bg-primary));
  opacity: 99%;
}


.slide-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.swiper-pagination {
  margin-top: 100px !important;

}

.swiper-pagination-bullet {
  background: var(--accent-neon) !important;
  height: 10px !important;
  width: 24px !important;
  border-radius: 50px !important;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  padding: 30px !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: 'prev' !important;
  font-size: 30px !important;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  padding: 30px !important;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: 'next';
  font-size: 30px !important;
}

/* ====================== Clients Section CSS ====================*/
/* ====================== Clients Section CSS ====================*/
.reviews {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-top: 50px;
}

.left {
  width: 50%;
  height: 60vh;
  position: sticky;
  top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 8px;
}

.right {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card {
  display: flex;
  border: 1px solid var(--light-color);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.18);
  backdrop-filter: blur(6px);
}

.testimonial-card:hover {
  transform: translateY(-0px);
  transition: all .5s ease-in-out;
  border-color: var(--accent-neon);
  box-shadow: 0 10px 20px var(--accent-neon-light);
}

.client-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px;
}

.client-img {
  width: 60% !important;
  height: 100% !important;
}

.client-info h3 {
  font-size: 26px;
}

.client-info p {
  font-size: 16px;
  font-weight: 400;
}


.client-img img {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* ====================== Contact Section CSS ====================*/
/* ====================== Contact Section CSS ====================*/
.contact {
  padding: var(--section-padding);
}

iframe {
  height: 100%;
  width: 100%;
}

.contact-content {
  display: flex;
  gap: 20px;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  margin-top: 0;
}

.contact-info h3 {
  font-size: 2.4rem;
}

.contact-details {
  margin: 3rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding: 20px;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 8px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin-right: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.18);
  backdrop-filter: blur(6px);
}

.contact-item .text h4 {
  font-size: 1.8rem;
}

.text p {
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-5px);
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.5rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.18);
  backdrop-filter: blur(6px);
  color: var(--neon-glow);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
}

.form-group textarea {
  height: 150px;
  resize: none;
}


/* ====================== Footer Section CSS ====================*/
/* ====================== Footer Section CSS ====================*/
footer {
  background-size: cover;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5rem;
}

.footer-logo a {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: inline-block;
}

.footer-logo p {
  max-width: 300px;
}

.footer-links h4,
.footer-newsletter h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-links ul li {
  font-size: 1rem;
  margin-bottom: .5rem;
  list-style: none;
}

.footer-links ul li a:hover {
  padding-left: 5px;
  color: var(--accent-neon);
  transition: all 0.3s ease-in-out;
}


.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--neon-glow);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bg-primary);
  transition: var(--transition);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top a i {
  font-size: 18px;
  color: var(--text-primary);
  position: relative;
  z-index: 10;
}

.progress-ring {
  transform: rotate(-90deg);
  position: absolute;
}

.progress-ring__circle {
  stroke-dasharray: 163;
  stroke-dashoffset: 163;
  transition: stroke-dashoffset 0.15s linear;
}


/* ====================== Media Queries CSS ====================*/
/* ====================== Media Queries CSS ====================*/


/* For 1024 width devices */
@media (max-width:1024px) {
  .nav-links {
    display: none;
  }

  .highlight {
    font-size: 5rem;
  }

  .hero-text {
    gap: 0px !important;
  }

  .typing-text {
    margin-top: 6rem;
  }

  .hero-image img {
    width: 480px;
  }

  /* client section */
  .client-img {
    width: 100% !important;
    height: 100% !important;
  }

  .client-info h3 {
    font-size: 20px;
  }

  .client-info p {
    font-size: 14px;
    font-weight: 400;
  }

  .skills-card {
    flex-direction: column;
    gap: 40px;
  }
}


/* for tablet screen */
@media (max-width:768px) {
  .nav-menu {
    gap: 8px;
    padding: 6px;
  }

  .nav-menu a {
    padding: 10px 14px;
    font-size: 14px;
  }

  h2 {
    font-size: 30px;
  }

  p {
    font-size: 14px;
  }

  .hero {
    flex-direction: column;
  }

  .hero-image img {
    display: none;
  }

  .skill-card h4 {
    font-size: 24px;
    padding: 10px 0;
  }

  .skill-card ul li {
    font-size: 14px;
  }
}

/* for mobile screen */
@media (max-width:480px) {

  h2 {
    font-size: 30px;
  }

  p {
    font-size: 14px;
  }

  .btn {
    padding: 10px 30px;
    font-size: 14px;
  }

  .container {
    padding-top: 50px !important;
  }

  .nav-menu {
    gap: 8px;
    padding: 6px;
    display: none;
  }

  .nav-menu a {
    padding: 10px 14px;
    font-size: 14px;
  }

  .hamburger {
    display: block !important;
  }

  .hero-text {
    margin-top: 4rem;
  }

  .highlight {
    font-size: 40px;
    margin-top: 6px !important;
  }

  .typing-text {
    margin-top: 4rem !important;
    font-size: 20px !important;
  }

  .hero-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
  }

  .reviews {
    flex-direction: column;
  }

  .skill-card {
    font-size: 28px;
    padding: 10px 0;
    width: 200%;
  }

  .skill-text {
    padding: 0 !important;
    width: 200%;
  }

  .work-experience-1 {
    display: block !important;
  }

  .work-experience-2 {
    display: none;
  }

  .contact-content {
    flex-direction: column;
  }

  #my-projects h2 {
    padding-top: 30px !important;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  .footer-logo {
    display: none;
  }
}
