/* ========== Global ========== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(-90deg, #0f2027, #203a43, #2c5364, #000000);
  background-size: 400% 400%;
  animation: spaceFlow 15s ease infinite;
  color: white;
}

@keyframes spaceFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========== Header ========== */
.header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social {
  display: flex;
  gap: 15px;
  margin-left: 20px;
  align-items: center;
}

.social a {
  font-size: 20px;
  color: #03dac6;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s, text-shadow 0.25s ease;
}

.social a:hover {
  transform: scale(1.3);
  text-shadow: 0 0 8px;
}

.reach {
  margin: 0 30px;
  display: flex;
  gap: 30px;
}

.reach button {
  padding: 10px 40px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.reach button:hover {
  transform: scale(1.15);
  opacity: 0.9;
}

.email,
.form {
  background: #03dac6;
  color: #000;
}

/* 📱 Mobile Header */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  .social {
    margin-left: 0;
    justify-content: center;
    gap: 12px;
  }
  .reach {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .reach button {
    width: 90%;
  }
}

/* ========== Intro ========== */
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10% 0px 10%;
  color: white;
}

.intro-left {
  flex: 1;
}

.intro-left p {
  font-size: 20px;
  margin-bottom: 10px;
}

.intro-left h1 {
  font-size: 42px;
  margin: 10px 0;
  color: #03dac6;
}

.intro-left h3 {
  font-size: 22px;
  height: 30px;
  color: #03dac6;
}

.intro-right {
  flex: 1;
  display: flex;
  justify-content: right;
}

.intro-right img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #03dac6;
  box-shadow: 0 0 20px rgba(3, 218, 198, 0.6);
}

/* 📱 Mobile Intro */
@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .intro-right {
    margin-top: 20px;
  }
  .intro-right img {
    width: 200px;
    height: 200px;
  }
}

/* ========== Journey ========== */
.journey {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 60px 10%;
  gap: 40px;
  color: white;
}
.journey-left {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 350px;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid rgba(3, 218, 198, 0.5);
  box-shadow: 0 0 15px rgba(3, 218, 198, 0.4);
}

.image-scroll {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.image-scroll img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 12px;
}

.journey-right {
  flex: 1;
}

.journey-right h2 {
  font-size: 35px;
  margin-bottom: 20px;
  color: #03dac6;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 3px solid #03dac6;
  position: relative;
}

.timeline li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 30px;
}

.timeline .circle {
  position: absolute;
  top: 0;
  left: -11px;
  width: 20px;
  height: 20px;
  background: #03dac6;
  border-radius: 50%;
  border: 3px solid #121212;
  box-shadow: 0 0 10px #03dac6;
}

.timeline li.active .circle {
  background: #ff9800;
  box-shadow: 0 0 15px #ff9800;
}

.timeline p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .journey { flex-direction: column; }
  .journey-left { max-height: 250px; }
}

/* ========== Skills ========== */
.skills {
  text-align: center;
  padding: 0px 20px;
}

.skills h2 {
  font-size: 2.5rem;
  margin-top: 0px;
  margin-bottom: 20px;
  color: #03dac6;
}
.skills p{
  font-size: 20px;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  max-width: 90%;
  margin: 0 auto;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.skill-card i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #03dac6;
}

.skill-card p {
  margin: 0;
  font-size: 1.1rem;
}

.skill-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #03dac6;
  background: rgba(255, 255, 255, 0.08);
}

/* 📱 Mobile Skills */
@media (max-width: 768px) {
  .skills h2 { font-size: 2rem; }
  .skill-card { padding: 20px; }
}

/* ========== Note ========== */


/* ========== Projects ========== */
.projects {
  padding: 80px 20px;
  text-align: center;
}

.projects h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #03dac6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  max-width: 80%;
  margin: 0 auto;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: #fff;
}

.project-content p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 15px;
}

.project-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.project-links .btn {
  padding: 8px 16px;
  background: #03dac6;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-links .btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #03dac6;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #03dac6;
}

/* 📱 Mobile Projects */
@media (max-width: 768px) {
  .projects h2 { font-size: 2rem; }
  .project-content h3 { font-size: 1.3rem; }
  .project-content p { font-size: 0.95rem; }
}
/* FILTER PILL BAR STYLES */
.project-filters{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content: center;
  padding:8px;
  background:transparent; /* change if you want a bg */
  margin: 0 0 20px 0;
  flex-wrap:wrap;
}

.project-filters .filter{
  appearance:none;
  border: none;
  background: transparent;
  color: #fff; /* gray-600 */
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
  box-shadow: none;
  border: 1px solid transparent;
  font-size: 0.95rem;
}

/* Hover */
.project-filters .filter:hover{
  transform: translateY(-2px);
  color: #60a5fa; /* darker text */
}

/* Active pill */
.project-filters .filter.active{        /* white pill */
  color: #03dac6;              /* blue text for active */
  /* box-shadow: 0 6px 14px rgba(37,99,235,0.12); */
  /* border: 1px solid rgba(37,99,235,0.12); */
}

/* Small underline effect */
.project-filters .filter.active::after{
  content: "";
  display:block;
  height:3px;
  width:100%;
  background: linear-gradient(90deg,#60a5fa,#2563eb);
  border-radius:2px;
  margin-top:6px;
}

/* make sure pills look good on dark backgrounds too */
/* .project-filters .filter:focus{
  outline: 3px solid rgba(255,255,255,0.8);
  outline-offset: 3px;
} */

/* Project card hide animation */
.project-card{
  transition: opacity .25s ease, transform .25s ease;
}

.project-card.hidden{
  opacity: 0;
  transform: scale(.98);
  pointer-events: none;
  height: 0;        /* optional to collapse layout quickly */
  margin: 0;
  padding: 0;
  overflow: hidden;
}
/* ========== Exp ========== */
/* ========== Work Experience ========== */
.work-exp {
  padding: 80px 10%;
  text-align: center;
}

.work-exp h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #03dac6;
}

/* Container */
.work-exp .cars {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Experience Card */
.work-exp .exp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover Effect */
.work-exp .exp:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(3, 218, 198, 0.6);
}

/* Left & Right Sections */
.exp-left,
.exp-right {
  flex: 1;
}

/* Images */
.exp img {
  width: 100%;
  max-width: 280px;
  border-radius: 15px;
  border: 2px solid rgba(3, 218, 198, 0.6);
  box-shadow: 0 0 18px rgba(3, 218, 198, 0.4);
  object-fit: cover;
}

/* Text Styling */
.exp h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: #fff;
}

.exp h4 {
  font-size: 1.1rem;
  color: #03dac6;
  margin-bottom: 6px;
}

.exp h5 {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 4px;
}

.exp h6 {
  font-size: 0.9rem;
  color: #aaa;
  font-weight: 400;
  margin-bottom: 10px;
}

.exp p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.6;
}

/* Alternate Layout (2nd card) */
.work-exp .exp:nth-child(even) {
  flex-direction: row-reverse;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .work-exp {
    padding: 50px 20px;
  }

  .work-exp h2 {
    font-size: 2rem;
  }

  .work-exp .exp {
    flex-direction: column;
    text-align: center;
  }

  .work-exp .exp:nth-child(even) {
    flex-direction: column;
  }

  .exp img {
    max-width: 220px;
  }
}


/* ========== Footer ========== */
.footer {
  color: #fff;
  padding: 50px 20px 20px;
  backdrop-filter: blur(6px);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start;
}

.footer-about h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #03dac6;
}

.footer-about p {
  margin-top: 8px;
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
}

.call-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #03dac6, #00bfa5);
  color: #000;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(3, 218, 198, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.call-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(3, 218, 198, 0.6);
  background: linear-gradient(135deg, #00e6c3, #03dac6);
}

.footer-social h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #03dac6;
  font-weight: 500;
}

.footer-social a {
  font-size: 22px;
  margin-right: 18px;
  color: #03dac6;
  transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
}

.footer-social a:hover {
  transform: scale(1.4) rotate(5deg);
  color: #fff;
  text-shadow: 0 0 8px #03dac6;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
  letter-spacing: 0.5px;
}

/* 📱 Mobile Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .footer-social {
    margin-top: 10px;
    text-align: center;
    width: 100%;
  }
  .footer-social a {
    margin: 0 12px;
    display: inline-block;
  }
  .call-btn {
    width: 80%;
    max-width: 260px;
  }
}
