* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* // font-family: "Segoe UI", Arial, sans-serif; */
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}
:root {
  --main-color: #fe715a;
  --main-second: #e54f38;
  --background: #141f27;
}
a {
  text-decoration: none;
  color: white;
}
::-webkit-scrollbar {
  width: 15px;
}
::-webkit-scrollbar-track {
  background-color: #223543;
}
::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
}
::-webkit-scrollbar-thumb:hover {
  background-color: #fe705a85;
}
body {
  background: var(--background);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
button {
  padding: 14px 28px;
  border: none;
  margin-right: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.main-titel {
  font-size: 32px;
  margin-bottom: 40px;
  color: #fff;
  position: relative;
  display: inline-block;
}

.main-titel::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--main-color);
}
.center-div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgb(20 31 39);
  backdrop-filter: blur(5px);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li {
  cursor: pointer;
  color: #cbd5f5;
  position: relative;
  padding: 5px 0;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav ul li:hover {
  color: var(--main-color);
}

nav ul li:hover::after {
  width: 100%;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--main-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--main-color);
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 5%;
  min-height: 85vh;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-text {
  max-width: 600px;
  flex: 1;
  min-width: 300px;
}

.hero-text h4 {
  color: var(--main-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-text h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--main-color);
  /* margin-bottom: 25px; */
}

.hero-text p {
  color: #cbd5f5;
  margin-bottom: 30px;
  font-size: 1.1rem;
  max-width: 500px;
}

@media (max-width: 768px) {
  .cv-big-screen {
    display: none;
  }
}

.btn-primary {
  background: var(--main-color);
  color: #fff;
}

.btn-primary:hover {
  background: #e56a00;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 122, 0, 0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solidvar(--main-color);
  color: var(--main-color);
}

.btn-outline:hover {
  background: rgba(255, 122, 0, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 122, 0, 0.1);
}

/* IMAGE */
.hero-img {
  position: relative;
  flex: 0 0 auto;
}

.hero-img img {
  width: clamp(280px, 30vw, 380px);
  border-radius: 10px;
  z-index: 2;
  position: relative;
  transition: transform 0.5s ease;
}

.hero-img:hover img {
  transform: translate(-10px, -10px);
}

.hero-img::before {
  content: "";
  position: absolute;
  width: clamp(300px, 32vw, 400px);
  height: clamp(300px, 32vw, 400px);
  border: 4px solidvar(--main-color);
  right: -20px;
  top: 20px;
  z-index: 1;
  border-radius: 10px;
  transition: all 0.5s ease;
}

.hero-img:hover::before {
  right: -10px;
  top: 10px;
}
.hero .layers {
  display: flex;
  align-items: center;
}
.hero .layers .ellipse {
  position: absolute;
  right: 60px;
  top: 38px;
}
.hero .layers .path {
  position: absolute;
  bottom: 34px;
  right: 25px;
}
.hero .layers {
}

/* about */
.about-section {
  padding: 60px 5%;
  text-align: center;
}

.skill-item {
  background: var(--main-color);
  padding: 20px 30px;
  border-radius: 10px;
  color: #cbd5f5;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 122, 0, 0.2);
  margin-bottom: 10px;
}

.skill-item:hover {
  background: rgba(255, 122, 0, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.skill-item i {
  color: var(--main-color);
  font-size: 22px;
}

/* PROJECTS PREVIEW */

/* FOOTER */
footer {
  padding: 40px 5%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--main-color);
  color: #fff;
  transform: translateY(-5px);
}

.copyright {
  color: #cbd5f5;
  font-size: 14px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-img::before {
    right: -10px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 15px 5%;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: 20px;
    text-align: center;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text h2 {
    font-size: 22px;
  }

  .hero-img img {
    width: 280px;
  }

  .hero-img::before {
    width: 300px;
    height: 300px;
  }

  .skill-item {
    padding: 15px 20px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-text button {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }

  .hero-img img {
    width: 250px;
  }

  .hero-img::before {
    width: 270px;
    height: 270px;
    right: -5px;
  }

  .skill-item {
    padding: 12px 18px;
    font-size: 15px;
  }

  /* .projects-container {
    gap: 20px;
  } */
}

/* ===== About Section ===== */
.about {
  max-width: 1100px;
  width: 100%;
}

/* ===== Header ===== */
.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about h2 {
  font-size: 38px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.about h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: var(--main-color);
  display: block;
  margin: 15px auto 0;
  border-radius: 10px;
}

/* ===== Subtitle ===== */
.about h3 {
  font-weight: 400;
  color: var(--main-color);
  margin-bottom: 10px;
}

.location {
  color: #aaa;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

/* ===== Main Content Grid ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

/* ===== Card ===== */
.about-card {
  background: #1a2730;
  border: 1px solid #222;
  border-radius: 22px;
  padding: 35px;
  transition: 0.4s ease;
  animation: fadeUp 1s forwards;
  height: 100%;
}

.about-card:hover {
  border-color: var(--main-color);
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.25);
}

/* ===== Text ===== */
.about p {
  font-size: 17px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 25px;
}

/* ===== Highlights ===== */
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.highlight {
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid #333;
  font-size: 14px;
  transition: 0.3s;
  background: #0e0e0e;
  cursor: default;
}

.highlight:hover {
  color: var(--main-color);
  border-color: var(--main-color);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.4);
  transform: translateY(-3px);
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #333;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -34px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--main-color);
  border: 3px solid #151515;
  z-index: 1;
}

.timeline-year {
  font-size: 14px;
  color: var(--main-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: #eee;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

/* ===== Personal Touch Section ===== */
.personal-touch {
  background: #151515;
  border: 1px solid #222;
  border-radius: 22px;
  padding: 35px;
  margin-top: 40px;
  animation: fadeUp 1s forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.personal-touch:hover {
  border-color: var(--main-color);
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.25);
}

.personal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.personal-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 140, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
  font-size: 24px;
}

.personal-header h3 {
  color: #eee;
  font-size: 24px;
  margin: 0;
}

.personal-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 140, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
}

.detail-text h4 {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 4px;
}

.detail-text p {
  font-size: 16px;
  color: #eee;
  margin: 0;
}

/* ===== Contact Button ===== */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--main-color);
  color: #0e0e0e;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 30px;
  border: 2px solid var(--main-color);
  transition: all 0.3s;
}

.contact-btn:hover {
  background: transparent;
  color: var(--main-color);
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

/* ===== Animation ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .about h2 {
    font-size: 30px;
  }

  .about p {
    font-size: 16px;
  }

  .about-card,
  .personal-touch {
    padding: 25px;
  }

  .personal-details {
    grid-template-columns: 1fr;
  }
}

/* ================== Section ===================== */
.skills {
  max-width: 1000px;
  width: 100%;
}
.tagline {
  color: #aaa;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Stats Bar ===== */
.stats-bar {
  display: flex;
  justify-content: space-around;
  background: rgba(21, 21, 21, 0.7);
  border: 1px solid #222;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 0 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--main-color), var(--main-second));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-label {
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 5px;
  font-weight: 500;
}

/* ===== Group ===== */
.skill-group {
  background: linear-gradient(145deg, #151515, #0f0f0f);
  border: 1px solid #222;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.skill-group:hover {
  border-color: var(--main-second);
  box-shadow: 0 15px 35px rgba(255, 140, 0, 0.15);
  transform: translateY(-5px);
}

.skill-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--main-color), var(--main-second));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.skill-group:hover::before {
  transform: scaleX(1);
}

.skill-group h3 {
  color: var(--main-color);
  margin-bottom: 25px;
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-group h3 i {
  font-size: 1.2rem;
}

/* ===== Skill ===== */
.skill {
  margin-bottom: 20px;
  padding: 10px 0;
  position: relative;
}

.skill:last-child {
  margin-bottom: 0;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 500;
}

.skill-name .percentage {
  background: rgba(255, 140, 0, 0.1);
  color: var(--main-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  min-width: 60px;
  text-align: center;
}

/* ===== Bar ===== */
.bar {
  width: 100%;
  height: 10px;
  background: #222;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

.bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 140, 0, 0.1) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill:hover .bar::after {
  opacity: 1;
}

.bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--main-color), var(--main-second));
  border-radius: 50px;
  transition: 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  position: relative;
  overflow: hidden;
}

.bar span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ===== Animate ===== */
.skill-group.animated .bar span {
  width: var(--level);
}

/* ===== Skills Grid ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

/* ===== Additional Skills ===== */
.additional-skills {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #222;
}

.additional-skills h3 {
  color: var(--main-color);
  margin-bottom: 25px;
  font-size: 1.8rem;
  text-align: center;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.skill-tag {
  background: rgba(255, 140, 0, 0.1);
  color: var(--main-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(255, 140, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-tag:hover {
  background: rgba(255, 140, 0, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 140, 0, 0.1);
}

/* ===== Progress Indicator ===== */
.progress-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #222;
  z-index: 1000;
}

.progress-indicator span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--main-color), var(--main-second));
  transition: width 0.3s ease;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .skills h2 {
    font-size: 2.8rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    padding: 20px 15px;
    gap: 15px;
  }

  .stat {
    padding: 0 10px;
    flex: 1;
    min-width: 120px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .skills h2 {
    font-size: 2.2rem;
  }

  .skill-group {
    padding: 25px 20px;
  }

  .skill-name {
    font-size: 15px;
  }

  .skills-cloud {
    gap: 10px;
  }

  .skill-tag {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* ===== Portfolio Container ===== */
.portfolio {
  max-width: 1200px;
  width: 100%;
}

/* ===== Header ===== */
.header {
  text-align: center;
  margin-bottom: 60px;
}

.portfolio h2 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(90deg, var(--main-color), var(--main-second));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.portfolio h2::after {
  content: "";
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--main-color), var(--main-second));
  display: block;
  margin: 15px auto 0;
  border-radius: 10px;
}

.tagline {
  color: #aaa;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== Filter Buttons ===== */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid #333;
  color: #aaa;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover {
  border-color: var(--main-color);
  color: var(--main-color);
}

.filter-btn.active {
  background: var(--main-second);
  border-color: var(--main-second);
  color: #000;
  font-weight: 600;
}

/* ===== Grid ===== */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 35px;
}

/* ===== Card ===== */
.project {
  background: linear-gradient(145deg, #151515, #0f0f0f);
  border: 1px solid #222;
  border-radius: 22px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.project:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--main-color);
  box-shadow: 0 20px 40px rgba(255, 140, 0, 0.15);
}

.project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--main-color), var(--main-second));
  z-index: 2;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project:hover::before {
  transform: scaleX(1);
}

/* ===== Image Container ===== */
.project-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project:hover .project-img img {
  transform: scale(1.1);
}

.project-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--main-color);
  color: #000;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

/* ===== Content ===== */
.project-content {
  padding: 25px;
}

.project-content h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 600;
}

.project-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #bbb;
  margin-bottom: 20px;
}

/* ===== Tech ===== */
.tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tech span {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 140, 0, 0.1);
  color: var(--main-color);
  border: 1px solid rgba(255, 140, 0, 0.2);
  font-weight: 500;
}

/* ===== Buttons ===== */
.project-links {
  display: flex;
  gap: 15px;
}

.project-links a {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.live-link {
  background: linear-gradient(90deg, var(--main-color), var(--main-second));
  color: #000;
  border: none;
  flex: 1;
  justify-content: center;
}

.code-link {
  background: transparent;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  flex: 1;
  justify-content: center;
}

.live-link:hover {
  background: linear-gradient(90deg, var(--main-color), var(--main-second));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.code-link:hover {
  background: rgba(255, 140, 0, 0.1);
  transform: translateY(-2px);
}

/* ===== Animation ===== */
.fade {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}
.delay-6 {
  animation-delay: 0.6s;
}

/* ===== Stats ===== */
.stats {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #222;
}

.stat-item {
  text-align: center;
  padding: 0 30px;
}

.stat-label {
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  body {
    padding: 0px 15px;
  }

  .portfolio h2 {
    font-size: 2.5rem;
  }

  .projects {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }

  .filter-buttons {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-item {
    padding: 0 15px;
    flex: 1;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .projects {
    grid-template-columns: 1fr;
  }

  .project-links {
    flex-direction: column;
  }
}

/* ===== Cards Grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

/* ===== Card ===== */
.card {
  background: #151515;
  border: 1px solid #222;
  border-radius: 20px;
  padding: 35px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 140, 0, 0.1),
    transparent
  );
  transition: left 0.7s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  border-color: var(--main-color);
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(255, 140, 0, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 140, 0, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: var(--main-color);
}

.card h3 {
  color: var(--main-color);
  margin-bottom: 15px;
  font-size: 22px;
}

.card p {
  color: #ccc;
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 20px;
}

.card-badge {
  display: inline-block;
  background: rgba(255, 140, 0, 0.1);
  color: var(--main-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
}

/* ===== How It Works Special ===== */
.process-step {
  position: relative;
  text-align: center;
}

.step-number {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 40px;
  height: 40px;
  background: var(--main-color);
  color: #0e0e0e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  z-index: 1;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--main-color);
}

.step {
  margin-bottom: 40px;
  position: relative;
  padding-left: 30px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--main-color);
  border-radius: 50%;
  border: 4px solid white;
  z-index: 1;
}

.step-date {
  display: inline-block;
  background: rgba(255, 140, 0, 0.1);
  color: var(--main-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step h4 {
  color: var(--main-color);
  margin-bottom: 10px;
  font-size: 20px;
}

.step p {
  color: #ccc;
  line-height: 1.7;
  font-size: 16px;
}

/* ===== Contact ===== */
.contact-box {
  text-align: center;
  background: #151515;
  padding: 50px;
  border-radius: 25px;
  border: 1px solid #222;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 140, 0, 0.05) 0%,
    transparent 70%
  );
  animation: pulse 8s infinite linear;
}

@keyframes pulse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.contact-box p {
  font-size: 18px;
  margin-bottom: 35px;
  color: #ccc;
  position: relative;
  z-index: 1;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid;
}

.contact-btn.email {
  background: var(--main-color);
  color: #0e0e0e;
  border-color: var(--main-color);
}

.contact-btn.whatsapp {
  background: #25d366;
  color: white;
  border-color: #25d366;
}

.contact-btn.github {
  background: #333;
  color: white;
  border-color: #333;
}

.contact-btn.linkedin {
  background: #0077b5;
  color: white;
  border-color: #0077b5;
}

.contact-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn.email:hover {
  background: transparent;
  color: var(--main-color);
}

.contact-btn.whatsapp:hover {
  background: transparent;
  color: #25d366;
}

.contact-btn.github:hover {
  background: transparent;
  color: #333;
}

.contact-btn.linkedin:hover {
  background: transparent;
  color: #0077b5;
}
