/* ============================================
   BASE & RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: 60px;
  scroll-behavior: smooth;
}

body {
  background-color: #eae7dc;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  font-family: "Source Sans 3", sans-serif;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  font-family: "Poppins", sans-serif;
  background-color: #eae7dc;
  width: 100%;
  z-index: 1000;
  padding: 0 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.navbar .logo .logo-img { height: 38px; }

.navbar .last {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.navbar .last .navs {
  color: #4a4a4a;
  cursor: pointer;
  font-size: 0.9rem;
  white-space: nowrap;
}
.navbar .last .navs:hover { text-decoration: underline; }

.navbar .last button {
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  color: #eae7dc;
  background-color: #4a4a4a;
  height: 36px;
  padding: 0 14px;
  border-radius: 7px;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 1px 1px 3px #555;
  white-space: nowrap;
}
.navbar .last button:hover {
  color: #4a4a4a;
  background-color: #eae7dc;
  border-color: #4a4a4a;
  box-shadow: none;
}

/* LeetCode nav button — orange tint */
.navbar .last .leetcode-btn {
  background-color: #eae7dc;
  color: #4a4a4a;
}
.navbar .last .leetcode-btn:hover {
  background-color: #eae7dc;
  color: #4a4a4a;
  border-color: #eae7dc;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background-color: #4a4a4a;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero-header {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 80vh;
  padding: 100px 4vw 40px;
  gap: 40px;
}

.hero-header .info-side {
  width: 50%;
  padding-top: 60px;
}

.hero-header .info-side .heading {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: #4a4a4a;
  line-height: 1.2;
}

.hero-header .info-side .info {
  margin-top: 16px;
  color: #555;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.5;
  max-width: 90%;
}

.hero-header .info-side .buttons {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-header .info-side .buttons .work,
.hero-header .info-side .buttons .resume {
  height: 38px;
  padding: 0 20px;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.hero-header .info-side .buttons .work {
  color: #eae7dc;
  background-color: #555;
  box-shadow: 1px 1px 3px #555;
}
.hero-header .info-side .buttons .work:hover {
  background-color: #7a8572;
  transform: scale(1.05);
}
.hero-header .info-side .buttons .resume {
  color: #555;
  background-color: #eae7dc;
  box-shadow: 1px 1px 3px #555;
}
.hero-header .info-side .buttons .resume:hover {
  background-color: #7a8572;
  color: #eae7dc;
  transform: scale(1.05);
}

.hero-header .image-side {
  width: 48%;
  display: flex;
  align-items: flex-start;
}

.hero-header .image-side .images-side {
  width: 100%;
  padding: 10px;
}

.hero-header .image-side .images-side .image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-header .image-side .images-side .pic-info { padding: 12px 4px; }
.hero-header .image-side .images-side .pic-info .pic-heading {
  font-weight: bold;
  color: #4a4a4a;
}
.hero-header .image-side .images-side .pic-info .pic-text { color: #555; }

/* ============================================
   BRIEF / ABOUT
   ============================================ */
.breif {
  display: flex;
  width: 100%;
  padding: 60px 6vw;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 50vh;
}

.breif .breif-heading {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #555;
  width: 45%;
  line-height: 1.3;
}

.breif .breif-info {
  color: #555;
  width: 48%;
  line-height: 1.6;
}

.breif .breif-info .learn-more {
  margin-top: 20px;
  display: inline-block;
  padding: 8px 18px;
  background-color: #eae7dc;
  font-family: "Poppins", sans-serif;
  color: #555;
  border: 1px solid #555;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 1px 1px 3px #555;
  transition: all 0.2s;
}
.breif .breif-info .learn-more:hover {
  background-color: #555;
  color: #eae7dc;
  box-shadow: none;
}

/* ============================================
   SKILLS
   ============================================ */
.skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 60px 4vw;
}

.skills .skills-heading {
  color: #4a4a4a;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  text-align: center;
}

.skills .skills-info {
  max-width: 640px;
  color: #555;
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

.skills .skills-board {
  display: flex;
  width: 100%;
  max-width: 900px;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.skills .skills-board .skill-container {
  flex: 1 1 220px;
  max-width: 280px;
  min-height: 260px;
  background-color: rgba(214,209,196,0.39);
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
}

.skills .skills-board .skill-container .skill-icon {
  width: 100%;
  max-width: 160px;
  background-color: rgba(191,185,169,0.51);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin-top: 8px;
  border-radius: 5px;
  padding: 12px;
}

.skills .skills-board .skill-container .skill-heading {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  max-width: 90%;
  text-align: center;
  color: #555;
  margin-top: 12px;
  font-size: 0.9rem;
}

.skills .skills-board .skill-container .skill-info {
  max-width: 80%;
  margin-top: 12px;
  font-family: "Poppins", sans-serif;
  text-align: center;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.4;
}

/* ============================================
   LEETCODE SECTION
   ============================================ */
.leetcode-section {
  width: 100%;
  background: linear-gradient(135deg, rgba(184,92,0,0.06) 0%, rgba(122,133,114,0.08) 100%);
  border-top: 1px solid rgba(184,92,0,0.15);
  border-bottom: 1px solid rgba(184,92,0,0.15);
  padding: 70px 6vw;
}

.leetcode-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.leetcode-left {
  flex: 1 1 300px;
  max-width: 520px;
}

.leetcode-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b85c00;
  margin-bottom: 10px;
}

.leetcode-heading {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #4a4a4a;
  line-height: 1.2;
  margin-bottom: 16px;
}

.leetcode-text {
  color: #555;
  line-height: 1.6;
  font-size: 0.97rem;
  margin-bottom: 28px;
}

.leetcode-link-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background-color: #b85c00;
  color: #fff;
  border-radius: 7px;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(184,92,0,0.25);
  border: 2px solid transparent;
}
.leetcode-link-btn:hover {
  background-color: #eae7dc;
  color: #b85c00;
  border-color: #b85c00;
  box-shadow: none;
}

.leetcode-right { flex: 0 0 auto; }

.leetcode-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  min-width: 260px;
  max-width: 320px;
  border: 1px solid rgba(184,92,0,0.12);
}

.lc-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.lc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b85c00, #7a8572);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lc-username {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #4a4a4a;
  font-size: 0.95rem;
}

.lc-badge {
  font-size: 0.75rem;
  color: #b85c00;
  background: rgba(184,92,0,0.08);
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 3px;
  display: inline-block;
}

.lc-divider {
  height: 1px;
  background: rgba(0,0,0,0.07);
  margin-bottom: 18px;
}

.lc-stats {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-bottom: 22px;
}

.lc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.lc-stat-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.easy-dot   { background: rgba(0,184,0,0.12); border: 2px solid #00b800; }
.medium-dot { background: rgba(255,160,0,0.12); border: 2px solid #ffa000; }
.hard-dot   { background: rgba(220,50,50,0.12); border: 2px solid #dc3232; }

.lc-stat-label {
  font-size: 0.72rem;
  font-family: "Poppins", sans-serif;
  color: #666;
}

.lc-view-link {
  display: block;
  text-align: center;
  color: #b85c00;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px;
  border: 1.5px solid #b85c00;
  border-radius: 6px;
  transition: all 0.2s;
}
.lc-view-link:hover {
  background: #b85c00;
  color: #fff;
}

/* ============================================
   DEVELOPMENT / CREATIVE PROCESS
   ============================================ */
.development {
  width: 100%;
  padding: 60px 6vw;
}

.development .head-dev .heading-dev {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  color: #4a4a4a;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  max-width: 540px;
  line-height: 1.3;
}

.development .head-dev .info-dev {
  max-width: 560px;
  margin-top: 12px;
  color: #555;
  line-height: 1.5;
}

.development .cards {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.development .cards .card {
  flex: 1 1 200px;
  max-width: 380px;
  min-height: 220px;
}

.development .cards .card .card-heading {
  max-width: 90%;
  color: #555;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: bold;
  margin-top: 12px;
}

.development .cards .card .card-logo .card-logo-img { max-width: 50px; }

.development .cards .card .card-info {
  padding-top: 12px;
  color: #555;
  line-height: 1.5;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 4vw 60px;
}

.projects .projects-heading {
  font-family: "Poppins", sans-serif;
  color: #4a4a4a;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: bold;
}

.projects .projects-subheading {
  margin-top: 6px;
  color: #555;
}

.projects .project-1 {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

.projects .project-1 .project-image {
  width: 100%;
  border-radius: 8px;
  border: #555 4px solid;
}

.projects .project-1 .project-info {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 12px;
  gap: 16px;
  flex-wrap: wrap;
}

.projects .project-1 .project-info .p-info-left { flex: 1 1 200px; }

.projects .project-1 .project-info .p-info-left .p-info-left-heading {
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  color: #4a4a4a;
}

.projects .project-1 .project-info .p-info-left .p-info-left-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.projects .project-1 .project-info .p-info-left .p-info-left-info .tags {
  padding: 8px 10px;
  border-radius: 5px;
  border: solid 2px #4a4a4a;
  font-size: 0.7rem;
  color: #555;
  font-family: "Poppins", sans-serif;
}

.projects .project-1 .project-info .p-info-right {
  flex: 1 1 220px;
  max-width: 400px;
  color: #555;
}

.projects .project-1 .project-info .p-info-right .p-info-right-info {
  line-height: 1.5;
}

.projects .project-1 .project-info .p-info-right .p-info-right-link {
  margin-top: 8px;
}

.projects .project-1 .project-info .p-info-right .p-info-right-link .project-link {
  color: green;
  font-size: 0.9rem;
}

.projects .view {
  margin-top: 50px;
  padding: 10px 22px;
  border-radius: 5px;
  background-color: #7a8572;
  color: #eae7dc;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.3s ease, background 0.2s;
  box-shadow: 1px 1px 3px #555;
  font-family: "Poppins", sans-serif;
}
.projects .view:hover { transform: scale(1.1); background-color: #5e6b56; }

/* ============================================
   COLLAB
   ============================================ */
.collab {
  width: 100%;
  padding: 80px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.collab .collab-heading {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  color: #555;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 400px;
  line-height: 1.2;
}

.collab .colab-right { max-width: 480px; flex: 1 1 260px; }

.collab .colab-right .collab-info {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.collab .colab-right .colab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.collab .colab-right .colab-buttons .email,
.collab .colab-right .colab-buttons .connect {
  padding: 10px 20px;
  background-color: #4a4a4a;
  color: #eae7dc;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  border: 2px solid transparent;
  box-shadow: 1px 1px 3px #555;
  transition: all 0.2s;
}

.collab .colab-right .colab-buttons .email:hover,
.collab .colab-right .colab-buttons .connect:hover {
  color: #4a4a4a;
  background-color: #eae7dc;
  border-color: #4a4a4a;
  box-shadow: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  width: 90%;
  max-width: 1000px;
  border: solid 4px #555;
  border-radius: 7px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 24px;
}

.footer .f-first { flex: 0 0 auto; padding: 10px; }
.footer .f-first .f-logo-img { height: 70px; opacity: 0.7; }

.footer .f-second {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.footer .f-second .f-top {
  font-weight: bold;
  color: #4a4a4a;
  font-family: "Poppins", sans-serif;
  margin-bottom: 12px;
}

.footer .f-second .f-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #555;
}

.footer .f-second .f-bottom .a { color: #555; text-decoration: none; }
.footer .f-second .f-bottom .a .f-links:hover { text-decoration: underline; }

.footer .f-second .f-bottom .f-links {
  cursor: pointer;
  line-height: 1.6;
}
.footer .f-second .f-bottom .f-links:hover { text-decoration: underline; }

/* ============================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================ */
@media (max-width: 900px) {

  /* Hamburger */
  .hamburger { display: flex; }

  .navbar .last {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #eae7dc;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .navbar .last.open { display: flex; }

  .navbar .last .navs {
    padding: 10px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .navbar .last button {
    width: 100%;
    height: 42px;
    font-size: 0.9rem;
    text-align: center;
  }

  /* Hero — stack on tablet */
  .hero-header {
    flex-direction: column-reverse;
    min-height: auto;
    padding: 80px 5vw 40px;
    gap: 24px;
  }
  .hero-header .info-side,
  .hero-header .image-side {
    width: 100%;
    position: static;
  }
  .hero-header .info-side { padding-top: 0; }
  .hero-header .info-side .info { max-width: 100%; }
  .hero-header .image-side .images-side { width: 100%; }

  /* Brief */
  .breif {
    flex-direction: column;
    min-height: auto;
    padding: 50px 5vw;
    align-items: flex-start;
  }
  .breif .breif-heading,
  .breif .breif-info { width: 100%; }

  /* LeetCode section */
  .leetcode-inner { flex-direction: column; gap: 36px; }
  .leetcode-left { max-width: 100%; }
  .leetcode-card { max-width: 100%; min-width: 0; width: 100%; }

  /* Development cards */
  .development .head-dev .heading-dev,
  .development .head-dev .info-dev { max-width: 100%; }

  /* Collab */
  .collab .collab-heading { max-width: 100%; }

  /* Footer */
  .footer { justify-content: center; }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================ */
@media (max-width: 600px) {

  .hero-header { padding: 76px 4vw 32px; }

  .hero-header .info-side .heading { font-size: 1.5rem; }

  .skills .skills-board { flex-direction: column; align-items: center; }
  .skills .skills-board .skill-container { max-width: 100%; width: 100%; }

  .development { padding: 40px 4vw; }
  .development .cards { flex-direction: column; }
  .development .cards .card { max-width: 100%; }

  .projects { padding: 30px 4vw 50px; }
  .projects .project-1 .project-info { flex-direction: column; }
  .projects .project-1 .project-info .p-info-right { max-width: 100%; }

  .collab { flex-direction: column; padding: 50px 4vw; }
  .collab .collab-heading { font-size: 1.5rem; }

  .footer {
    width: 95%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }
  .footer .f-second { align-items: center; }

  .leetcode-card { padding: 20px; }
}
