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(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #161b22 0%, #1f242d 100%);
  border-radius: 16px;
  border: 1px solid #282e38;
  box-sizing: border-box;
}

.stat-item {
  text-align: center;
  padding: 14px 10px;
  background: rgba(255, 69, 0, 0.08);
  border-radius: 12px;
  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.25);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #FF4500;
  margin-bottom: 4px;
  font-family: 'Courier New', monospace;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: #ccc;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive counter stats */
@media (max-width: 768px) {
  .counter-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 14px 10px;
  }

  .stat-item {
    padding: 10px 4px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0;
  }
}

@media (max-width: 520px) {
  .counter-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }
}


/* Side by side layout for Education and Contact */
.sections-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  background-color: black;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  padding: 0 20px;
}

.sections-row>.skills {
  flex: 1;
  background-color: transparent !important;
  /* Let parent handle bg or keep transparent */
  padding: 0;
  /* Remove potential padding */
}

/* Override default wrapper margins when inside the row */
.sections-row .project-wrapper {
  margin: 20px 0;
  max-width: none;
  padding: 20px;
}

@media (max-width: 1024px) {
  .sections-row {
    flex-direction: column;
    padding: 0;
  }

  .sections-row .project-wrapper {
    margin: 50px auto;
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background-color: #0d1117;
  padding: 60px 0;
  border-top: 1px solid #1f242d;
}

.faq-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}

.faq-subtitle {
  color: #888;
  font-size: 0.97rem;
  margin-bottom: 36px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
}

.faq-item {
  background: #161b22;
  border: 1px solid #282e38;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: #FF4500;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s ease;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker,
.faq-question::marker {
  display: none;
  content: "";
}

.faq-question:hover {
  color: #FF4500;
}

.faq-item[open] .faq-question {
  color: #FF4500;
}

/* Vector pure-CSS plus/minus icon without emojis */
.faq-icon {
  width: 14px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
  display: inline-block;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: #FF4500;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Horizontal line */
.faq-icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
  border-radius: 1px;
}

/* Vertical line */
.faq-icon::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
  border-radius: 1px;
}

.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  color: #bbb;
  font-size: 0.94rem;
  line-height: 1.75;
  margin: 0;
}

/* ===== FOOTER ===== */
footer.footer-wrapper,
.footer-wrapper {
  background-color: #0b0e11;
  border-top: 1px solid #1f242d;
  padding: 50px 20px 30px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 28px 0 16px;
}

.footer-legal-links a {
  color: #aaa;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #FF4500;
}

.footer-p {
  color: #666;
  font-size: 0.85rem;
  margin: 8px 0 12px;
  display: block;
}
