@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Faculty+Glyphic&family=Outfit:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Itim&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merienda:wght@300..900&display=swap");

/* 
  Portfolio Website Styles
  Colors:
  - Deep Black: #0A0A0A
  - Charcoal: #2D2D2D
  - Purple: #6E56CF
  - Mint: #64FFDA
  - Blue: #2563EB
  - Red: #DC2626
  - White: #FFFFFF
*/

/* ===== Global Styles ===== */
/* vvvv */
:root {
  --deep-black: #0a0a0a;
  --charcoal: #2d2d2d;
  --purple: #6e56cf;
  --mint: #64ffda;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --red: #dc2626;
  --red-light: #ef4444;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--deep-black);
  color: var(--white);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 15% 15%,
      rgba(37, 99, 235, 0.08) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(220, 38, 38, 0.08) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 5%,
      rgba(37, 99, 235, 0.05) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 5% 85%,
      rgba(220, 38, 38, 0.05) 0%,
      transparent 20%
    );
  z-index: -1;
  pointer-events: none;
}

/* Blurry Mockup Elements */
.mockup-circle-1,
.mockup-circle-2,
.mockup-square-1,
.mockup-square-2 {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  opacity: 0.07;
  pointer-events: none;
}

.mockup-circle-1 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  top: -100px;
  right: -100px;
  animation: float 20s infinite alternate ease-in-out;
}

.mockup-circle-2 {
  width: 600px;
  height: 600px;
  background: var(--red);
  bottom: -150px;
  left: -150px;
  animation: float 25s infinite alternate-reverse ease-in-out;
}

.mockup-square-1 {
  width: 300px;
  height: 300px;
  background: var(--blue-light);
  bottom: 20%;
  right: 10%;
  border-radius: 30%;
  transform: rotate(45deg);
  animation: float 18s infinite alternate ease-in-out;
}

.mockup-square-2 {
  width: 250px;
  height: 250px;
  background: var(--red-light);
  top: 30%;
  left: 10%;
  border-radius: 25%;
  transform: rotate(30deg);
  animation: float 22s infinite alternate-reverse ease-in-out;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-15px, 15px) rotate(2deg);
  }
  50% {
    transform: translate(10px, -10px) rotate(-1deg);
  }
  75% {
    transform: translate(-5px, -15px) rotate(1deg);
  }
  100% {
    transform: translate(15px, 10px) rotate(3deg);
  }
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  position: relative;
  display: inline-block;
}

.section-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  border-radius: 2px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.section-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0)
  );
  animation: shimmer-line 2s infinite;
}

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

/* ===== Navigation ===== */
.nav-link {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition);
  border-radius: 4px;
  overflow: hidden;
  font-family: "Outfit", sans-serif;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(90deg, var(--blue), var(--red));
  opacity: 0.1;
  transition: height 0.3s ease;
  z-index: -1;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transition: width 0.4s ease;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::before {
  height: 100%;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.text-mint {
  color: var(--mint);
}

.mobile-link {
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.7rem 1rem;
  transition: var(--transition);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.mobile-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--red));
  opacity: 0.1;
  transition: width 0.3s ease;
  z-index: -1;
}

.mobile-link:hover {
  color: var(--mint);
}

.mobile-link:hover::before {
  width: 100%;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(90deg, var(--blue), var(--red));
  color: var(--white);
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--blue));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 100%;
  top: 0;
  left: -100px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-25deg);
  transition: all 0.75s ease;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4),
    0 10px 20px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  border: 2px solid var(--blue);
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--red));
  z-index: -1;
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-secondary::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 100%;
  top: 0;
  left: -100px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-25deg);
  transition: all 0.75s ease;
  z-index: 1;
  opacity: 0;
}

.btn-secondary:hover {
  border-color: var(--red);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3),
    0 10px 20px rgba(220, 38, 38, 0.1);
  color: var(--white);
}

.btn-secondary:hover::before {
  width: 100%;
}

.btn-secondary:hover::after {
  left: 130%;
  opacity: 1;
}

.btn-secondary:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* ===== Social Icons ===== */
.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue), var(--red));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon-footer {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.social-icon-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue), var(--red));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-icon-footer:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.social-icon-footer:hover::before {
  opacity: 1;
}

/* ===== Hero Section ===== */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /* overflow: hidden; */
}

.hero-image-bg {
  position: absolute;
  width: 85%;
  height: 85%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(18px);
  opacity: 0.2;
  animation: morphing 15s infinite alternate;
  transition: all 0.5s ease;
}

.hero-image-container:hover .hero-image-bg {
  opacity: 0.3;
  filter: blur(15px);
  transform: scale(1.05);
}

.hero-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(37, 99, 235, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(220, 38, 38, 0.05) 0%,
      transparent 50%
    );
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-image-container:hover::after {
  opacity: 1;
}

.hero-image {
  position: relative;
  cursor: pointer;
  z-index: 1;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
  transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-image-container:hover .hero-image {
  transform: translateY(-10px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@keyframes morphing {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

/* ===== About Section ===== */
.about-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  overflow: hidden;
}

.about-image-bg {
  position: absolute;
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
  border-radius: 20px;
  filter: blur(15px);
  opacity: 0.2;
  transition: all 0.5s ease;
}

.about-image-container:hover .about-image-bg {
  opacity: 0.3;
  filter: blur(12px);
  transform: scale(1.05) rotate(2deg);
}

.about-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(37, 99, 235, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(220, 38, 38, 0.05) 0%,
      transparent 50%
    );
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-image-container:hover::after {
  opacity: 1;
}

.about-image {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image-container:hover .about-image {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  height: calc(100% - 20px);
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--red));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item:hover {
  transform: translateX(5px);
}

.timeline-dot {
  position: absolute;
  left: -2.1rem;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--blue);
  transition: all 0.4s ease;
  transform-origin: center center;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.timeline-content {
  background: rgba(45, 45, 45, 0.3);
  padding: 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    rgba(220, 38, 38, 0.05)
  );
  transition: width 0.4s ease;
  z-index: -1;
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.timeline-item:hover .timeline-content::before {
  width: 100%;
}

/* ===== Skills Section ===== */
.skill-item {
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.skill-item:hover {
  transform: translateX(5px);
}

.skill-bar {
  width: 100%;
  height: 10px;
  background: var(--charcoal);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--red));
  border-radius: 5px;
  transition: width 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.skill-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  animation: shimmer 2s infinite linear;
  transform: translateX(-100%);
}

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

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(45, 45, 45, 0.4);
  padding: 1.2rem;
  border-radius: 8px;
  width: 100px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tool-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(220, 38, 38, 0.1)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.tool-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tool-item:hover::before {
  opacity: 1;
}

.tool-item i {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--blue-light);
  transition: transform 0.5s ease, color 0.3s ease;
}

.tool-item:hover i {
  transform: scale(1.1);
  color: var(--blue);
}

/* ===== Services Section ===== */
.service-card {
  background: rgba(45, 45, 45, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    rgba(220, 38, 38, 0.05)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  background: rgba(45, 45, 45, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
  position: relative;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--red));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

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

.service-card:hover .service-icon::after {
  opacity: 0.3;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--blue-light);
}

.service-description {
  color: #e0e0e0;
  margin-bottom: 1.5rem;
}

.service-features {
  text-align: left;
  padding-left: 1rem;
  margin-top: auto;
}

.service-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  position: relative;
  transition: transform 0.3s ease;
  padding-left: 5px;
}

.service-features li:hover {
  transform: translateX(5px);
}

.service-features i {
  color: var(--red-light);
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.service-features li:hover i {
  transform: scale(1.2);
  color: var(--blue-light);
}

/* ===== Projects Section ===== */
.project-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.project-filter div {
  display: flex;
  gap: 0.65em;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  background: var(--charcoal);
  border: none;
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.filter-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(90deg, var(--blue-light), var(--red-light));
  transition: height 0.3s ease;
  z-index: -1;
  opacity: 0.9;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.filter-btn:hover::after,
.filter-btn.active::after {
  height: 100%;
}

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

.project-card {
  background: rgba(45, 45, 45, 0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(220, 38, 38, 0.1)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

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

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-info {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: var(--blue-light);
}

.project-category {
  display: inline-block;
  background: linear-gradient(90deg, var(--blue), var(--red));
  color: var(--white);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.project-card:hover .project-category {
  transform: translateY(-2px);
}

.project-description {
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.project-tag {
  background: var(--charcoal);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.project-card:hover .project-tag {
  background: rgba(37, 99, 235, 0.2);
}

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

.project-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.project-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transition: width 0.3s ease;
}

.project-link i {
  margin-right: 5px;
  transition: transform 0.3s ease;
}

.project-link:hover {
  color: var(--red-light);
}

.project-link:hover::after {
  width: 100%;
}

.project-link:hover i {
  transform: translateX(3px);
}

/* ===== Contact Section ===== */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.contact-info-item:hover {
  transform: translateX(5px);
}

.contact-info-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--white);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

.contact-info-icon::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--red));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
  transform: scale(1.1);
}

.contact-info-item:hover .contact-info-icon::after {
  opacity: 0.3;
}

.contact-form {
  background: rgba(45, 45, 45, 0.3);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    rgba(220, 38, 38, 0.05)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-form:hover::before {
  opacity: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.form-group:focus-within label {
  color: var(--blue-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
  position: fixed;
  bottom: 80px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 99;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  font-size: 1.2rem;
  overflow: hidden;
}

.scroll-to-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--red), var(--blue));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4),
    0 5px 15px rgba(220, 38, 38, 0.3);
}

.scroll-to-top:hover::before {
  opacity: 1;
}

.scroll-to-top i {
  transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
  transform: translateY(-3px);
}

/* ===== Responsive Styles ===== */
@media (max-width: 800px) {
  .section-title {
    font-size: 2rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-dot {
    left: -1.6rem;
    width: 12px;
    height: 12px;
  }

  .project-filter {
    flex-direction: column;
    align-items: center;
  }

  .contact-form{
    margin: auto;
  }

  .scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--blue), var(--red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: 1.2rem;
    overflow: hidden;
  }

  .swal2-popup.modern-dark-alert {
    font-size: 0.85rem;
    padding: 0.8em;
    width: 80% !important;
  }

  #home .mob-pad-fix{
    padding-block: 1.3rem;
  }

  .hero-image{
    max-width: 75%;
  }

}

/* ===== Animations ===== */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem;
  border-radius: 5px;
  color: var(--white);
  font-weight: 500;
  max-width: 350px;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-out forwards;
  display: flex;
  align-items: center;
}

.toast.success {
  background: linear-gradient(to right, #10b981, #059669);
}

.toast.error {
  background: linear-gradient(to right, #ef4444, #dc2626);
}

.toast i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--mint);
  animation: spin 1s ease-in-out infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Sweat Alert */

.fade-out {
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.contact-form {
  max-width: 500px;
  margin: auto;
  margin-left: 0;
  padding: 25px;
  border-radius: 10px;
 }

.swal2-popup.modern-dark-alert {
  border: 1px solid #00c896;
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.2);
  border-radius: 10px;
  font-size: 0.95rem;
}

/* Sweat Alert */

/* Typing Effect Typed.js */

#typing-text {
  font-weight: 600;
  color: #a855f7; /* sexy purple shade */
  transition: all 0.3s ease;
}

/* Typing Effect Typed.js */
