@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

html {
  background: #101418;
}

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: #fff;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

:root {
  --primary-color: black;
  --secondary-color: #FF4500;
  --tertiary-color: white;
}

/* HEADER */
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  padding: 20px;
}

.header-wrapper nav {
  display: flex;
  gap: 15px;
}

button {
  background-color: var(--secondary-color);
  border: none;
  border-radius: 5px;
  padding: 5px 12px;
  cursor: pointer;
  font-weight: 500;
}

/* HERO */
.hero {
  text-align: center;
  height: 60vh;
  background-color: var(--primary-color);
  margin-bottom: 80px;
  margin-top: -70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  max-width: 700px;
  color: var(--secondary-color);
}

.hero h2 {
  font-size: 1.5rem;
  color: var(--tertiary-color);
  font-weight: 500;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 9999px;
  border: 5px solid var(--secondary-color);
}

h2 {
  font-size: 2rem;
  color: var(--secondary-color);
}

/* LAYOUT */
.about-wrapper,
.project-wrapper,
.socials-wrapper {
  max-width: 1000px;
  margin: 50px auto;
  margin-top: 0;
  padding: 20px;
}

.about-wrapper {
  justify-content: center;
  display: flex;
}

.about-wrapper .col p {
  line-height: 32px;
}

.about-wrapper .col {
  flex: 1;
}

.about-wrapper .skills {
  margin-left: 50px;
}

.about-wrapper .skills ul {
  /* display: flex; flex-wrap: wrap; */
}

.about-wrapper .skills ul li {
  border: 2px solid #2d2d2d;
  height: 40px;
  width: max-content;
  padding: 3px 10px;
  border-radius: 12px;
  margin: 7px;
  margin-left: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
}

/* PROJECTS */
.projects ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 45px;
}

.projects ul li {
  margin: 15px;
  padding: 10px;
}

.projects ul li img {
  border-radius: 15px;
  width: 100%;
}

/* Skills */
.skills ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.skills ul li {
  margin: 15px;
  padding: 10px;
}

.skills ul li img {
  width: 30px;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SOCIALS */
.socials-wrapper {
  line-height: 30px;
}

.socials-wrapper .social-icons img {
  border: 2px solid #2d2d2d;
  margin-right: 20px;
  margin-top: 20px;
  padding: 6px;
  border-radius: 12px;
}

.socials-wrapper .social-icons img:hover {
  background: #2d2d2d;
}

#contact .project-wrapper {
  display: flex;
  justify-content: center;
}

/* MOBILE */
@media screen and (max-width: 768px) {
  .hero h1 {
    margin:20px;
    font-size: 2rem;
  }

  .about-wrapper {
    flex-direction: column;
  }

  .about-wrapper .skills {
    margin-left: 0;
    margin-top: 100px;
  }

  .projects ul li {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .project-wrapper{
    display: block !important;
  }

  .stepper-box{
    width: unset;
  }

  .stepper-line{
    display: none;
  }

  .stepper-step{
    display: block !important;
  }

  .ol-wrapper{
    margin-top: 15px;
    width: 100% !important;
  }

  .cs-card{
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
    clear: both;
    position: relative;
    z-index: 10;
  }

  .stepper-box{
    width:unset !important;
  }

  .about-wrapper .skills ul li {
    height: max-content;
  }

  .footer-wrapper{
    margin: 0 50px;
  }
  .header-wrapper{
    margin-bottom:45px;
  }

  .header-wrapper nav {
    flex-direction: column;
    gap: 10px;
  }

  .stepper-responsive{
    display: flex;
  }
}

.portfolio-h {
  background-color: var(--secondary-color);
  font-size: 1.17em;
  font-weight: bold;
}

.ul-div {
  margin-bottom: 40px;
}

.achievement-h3 {
  color: var(--secondary-color);
  font-size: 30px;
}

.desc-work{
  color: var(--tertiary-color);
  margin-bottom:10px
}

.skills-p{
  margin-top: 15px;
  font-size: 15px;
}

.footer-p{
  display: flex;
  margin-bottom: 50px;
  justify-content: center;
}

/* FEATURED PROJECT SECTION */
.featured-project {
  padding: 80px 0;
}

.featured-project-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 20px;
  padding: 40px;
  margin-top: 30px;
  border: 2px solid var(--secondary-color);
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 69, 0, 0.3);
}

.featured-project-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.featured-project-image {
  position: relative;
  flex-shrink: 0;
}

.featured-project-image img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid var(--secondary-color);
}

.project-placeholder {
  width: 300px;
  height: 200px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 15px;
  border: 3px solid var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 69, 0, 0.1) 50%, transparent 70%);
  animation: shimmer 2s infinite;
}

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

.placeholder-content {
  text-align: center;
  z-index: 1;
  position: relative;
}

.placeholder-content h4 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.placeholder-content p {
  color: var(--tertiary-color);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.placeholder-tech {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.placeholder-tech span {
  background: rgba(255, 69, 0, 0.2);
  color: var(--secondary-color);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--secondary-color);
}

.winner-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(45deg, #FFD700, #FFA500);
  color: #000;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.featured-project-info {
  flex: 1;
}

.featured-project-info h3 {
  color: var(--secondary-color);
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.hackathon-info {
  color: #FFD700;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.project-description {
  color: var(--tertiary-color);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tech-tag {
  background: linear-gradient(45deg, var(--secondary-color), #FF6347);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.tech-tag:hover {
  transform: translateY(-2px);
}

.project-links {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.project-links a {
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.demo-btn {
  background: linear-gradient(45deg, #00C851, #00A041);
  color: white;
}

.github-btn {
  background: linear-gradient(45deg, #333, #555);
  color: white;
}

.video-btn {
  background: linear-gradient(45deg, #FF0000, #CC0000);
  color: white;
}

.docs-btn {
  background: linear-gradient(45deg, #0066CC, #004499);
  color: white;
}

.project-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.team-info h4 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.team-info p {
  color: var(--tertiary-color);
  font-size: 1rem;
  opacity: 0.9;
}

/* MOBILE RESPONSIVE FOR FEATURED PROJECT */
@media screen and (max-width: 768px) {
  .featured-project-content {
    flex-direction: column;
    text-align: center;
  }

  .featured-project-image img,
  .project-placeholder {
    width: 250px;
    height: 150px;
  }

  .placeholder-content h4 {
    font-size: 1.5rem;
  }

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

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

  .tech-stack {
    justify-content: center;
  }
}

/* COUNTER STATS */
.counter-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    border: 1px solid #333;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 69, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FF4500;
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive counter stats */
@media (max-width: 768px) {
    .counter-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .stat-item {
        padding: 10px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .counter-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-number {
        font-size: 1.3rem;
    }
}