/* ============================================================
   KABEER KHAN — PORTFOLIO
   Rebuilt layout: CSS Grid + Flex (no absolute-position hacks)
   ============================================================ */

:root {
  --bg: #f3efe6;
  --ink: #1a1a1a;
  --muted: #8a857f;
  --line: rgba(138, 133, 127, 0.55);
  --accent: #c1684e;
  --accent-2: #d87503;
  --accent-3: #c06804;

  --page-pad: clamp(20px, 5vw, 90px);
  --max-w: 1560px;
  --nav-h: 74px;
  --section-gap: clamp(70px, 9vw, 150px);

  --font-ui: "Google Sans Flex", "Poppins", system-ui, sans-serif;
  --font-serif: "Noto Serif JP", "PT Serif", Georgia, serif;
  --font-body: "Martel Sans", "Poppins", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 40px);
}

body {
  background-color: var(--bg);
  overflow-x: hidden;
  min-height: 100dvh; /* purani `height: 363dvh` hata di gayi hai */
  -webkit-font-smoothing: antialiased;
}

::-moz-selection {
  background-color: #ff9d2eea;
  color: #252525;
}
::selection {
  background-color: #ff9d2eea;
  color: #252525;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* ===================== NAVBAR ===================== */
.nav_bar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 1150px);
  z-index: 1000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  gap: 15px;

  background: rgba(243, 239, 230, 0.61);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);

  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
}

/* scroll par sirf look badalta hai, jagah nahi badalti */
.nav_bar.scrolled {
  padding: 8px 22px;
  background: rgba(253, 252, 249, 0.623);
  box-shadow: 0 12px 30px rgba(31, 30, 30, 0.08);
}

.pession {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pession_text {
  font-family: var(--font-ui);
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 1px;
  color: #242221;
  white-space: nowrap;
}

.navigation_links_ul {
  display: flex;
  flex-direction: row;
  gap: 8px;
  list-style-type: none;
  align-items: center;
}

.navigation_links_ul li a {
  text-decoration: none;
  font-family: "Poppins", var(--font-ui);
  font-size: 0.88em;
  font-weight: 600;
  color: #242221ef;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.25s ease-out;
}

.navigation_links_ul li a:hover {
  border-color: rgba(250, 73, 14, 0.3);
  background-color: rgba(250, 73, 14, 0.08);
  color: #fa490e;
}

.current_situation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.situa_p a {
  text-decoration: none;
  color: #000000c4;
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: var(--font-ui);
  white-space: nowrap;
  transition: color 0.2s ease-out;
}

.situa_p a:hover {
  color: var(--accent);
}

.arrowToContact a {
  display: inline-flex;
}

/* ===================== HERO ===================== */
.hero_section {
  position: relative;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(26px, 5vh, 60px)) var(--page-pad)
    clamp(40px, 5vw, 80px);

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas:
    "title title title title"
    "sideL intro image sideR"
    "sideL btn   image sideR";
  column-gap: clamp(14px, 2.5vw, 45px);
  align-items: start;
}

/* ---- side vertical labels ---- */
.sidebar-wrapper {
  position: absolute;
  top: 0%;
  grid-area: sideL;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sidebar-wrapper2 {
  grid-area: sideR;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.vertical-text,
.vertical-text2 {
  cursor: default;
  color: var(--muted);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.7em;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.vertical-text2 {
  writing-mode: vertical-lr;
}

.divider-line {
  width: 2px;
  height: 40px;
  background-color: var(--muted);
  flex-shrink: 0;
}

/* ---- big PORTFOLIO title ---- */
.main_H {
  grid-area: title;
  display: flex;
  justify-content: center;
  align-items: center;
  /* scaleY(1.5) ki wajah se text box se bahar jata hai,
     is liye padding di hai warna clip ho jata */
  padding-block: 4.8vw 5.2vw;
  overflow: hidden;
  pointer-events: none;
}

.heading {
  cursor: default;
  font-family: "Impact", "Anton", "Haettenschweiler", sans-serif;
  font-size: clamp(3rem, 17vw, 15rem);
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  transform: scaleY(1.5);
  transform-origin: center;
  white-space: nowrap;
}

/* ---- intro text block ---- */
.intro_div {
  margin-left: 20%;
  grid-area: intro;
  cursor: default;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 540px;
  padding-top: clamp(6px, 3vh, 40px);
}

.heading_1 {
  font-family: "Valley Sans", var(--font-ui);
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 1px;
  color: #000000d7;
}

.heading_2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: 1.02;
  color: #000000f6;
  font-weight: 400;
}

/* inner h2/span ko parent ki size par lock karta hai */
.heading_3 {
  display: block;
  font-size: 1em;
  font-weight: 300;
  line-height: 1.02;
  animation: comeUp 1s forwards;
}

.animation_box {
  overflow: hidden;
}

@keyframes comeUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.heading_4 {
  margin-top: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  letter-spacing: 0.5px;
  color: var(--accent-3);
}

.intro_pera {
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.6;
  max-width: 46ch;
  color: #000000c4;
}

.intro_pera br {
  display: none; /* line breaks CSS width se handle ho rahe hain */
}

.sign {
  margin-top: 14px;
  font-family: "Arizonia", cursive;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: #1a1919;
}

/* ---- photo + circle ---- */
.display_img {
  margin-top: -40%;
  margin-right: 30%;
  grid-area: image;
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 13 / 16;
  z-index: 0;
}

.img_bakcground {
  display: block;
  position: absolute;
  left: 60%;
  bottom: -10%;
  transform: translateX(-50%);
  width: min(84%, 430px);
  aspect-ratio: 1 / 1;
  background-color: var(--accent);
  border-radius: 50%;
  z-index: 0;
  height: 80%;
  width: 100%;
}

.kabeer_img {
  position: absolute;
  inset: 0;
  height: 130%;
  width: 130%;
  background-image: url("assests/kabeer/kabeer_img1.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center left;
  z-index: 2;
}

/* ---- rotating badge ---- */
.circular-badge {
  grid-area: image;
  position: relative;
  justify-self: end;
  align-self: end;
  margin-bottom: 8%;
  width: clamp(120px, 12vw, 180px);
  aspect-ratio: 1 / 1;
  background-color: #f7f3ee;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 3;
}

.badge-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: rotateText 15s linear infinite;
}

@keyframes rotateText {
  to {
    transform: rotate(360deg);
  }
}

.badge-svg text {
  font-family: "Poppins", var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  fill: #242221;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.badge-center-text {
  cursor: default;
  text-align: center;
  font-family: "Poppins", var(--font-ui);
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(11px, 1vw, 17px);
  line-height: 1.15;
  text-transform: uppercase;
  z-index: 2;
}

.badge-center-text span {
  display: block;
}

/* ---- CTA button ---- */
.let-build-btn {
  position: absolute;
  top: 0%;
  margin-left: 20%;
  grid-area: btn;
  justify-self: start;
  align-self: start;
  margin-top: clamp(18px, 3vh, 36px);
  font-family: "Poppins", var(--font-ui);
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: var(--accent);
  border: 2px solid var(--accent);
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  z-index: 4;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(193, 104, 78, 0.25);
}

.let-build-btn:hover {
  background-color: #ffffff;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 104, 78, 0.35);
}

.let-build-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(193, 104, 78, 0.2);
  transition: all 0.1s ease;
}

/* ===================== SECTION SEPARATOR LINES =====================
   <span> inline hota hai -> width/height apply nahi hoti thi.
   display:block lagate hi line wapas dikhne lagi. */
.saperate_line1,
.saperate_line2,
.saperate_line3,
.saperate_line4 {
  display: block;
  width: min(85%, 1400px);
  height: 1.5px;
  margin: clamp(35px, 5vw, 70px) auto;
  background-color: var(--line);
}

/* vertical dividers ab flex/grid item hain, absolute % nahi */
.saperate_skill_line,
.saperate_about_line,
.saperate_contact_line1,
.saperate_contact_line2 {
  display: block;
  position: static;
  width: 1px;
  height: auto;
  align-self: stretch;
  min-height: 100%;
  background-color: var(--line);
}

/* ===================== SHARED SECTION SHELL ===================== */
.projects_section,
.skills_section,
.aboput_section,
.contact_section {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  margin-top: var(--section-gap);
}

/* ===================== PROJECTS ===================== */
.headerDiv_projects {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(20px, 5vw, 90px);
}

.project_heading {
  display: flex;
  flex-direction: column;
}

.heading1 {
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  font-weight: 400;
  font-family: var(--font-serif);
  color: #131212;
  line-height: 1.15;
}

.heading2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 400;
  font-family: var(--font-serif);
  color: var(--accent-2);
  line-height: 1.1;
}

.header_text {
  margin-bottom: 6px;
}

.text_h {
  font-size: clamp(0.88rem, 1vw, 1rem);
  font-weight: 600;
  color: #524f4c;
  line-height: 1.6;
  font-family: var(--font-body);
  max-width: 44ch;
}

.project_list {
  margin-top: clamp(35px, 4vw, 65px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 55px);
}

.project_card_1 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* teeno images ab ek hi size ki card grid banati hain.
   Agar crop pasand na aaye to `cover` ki jagah `contain` kar dena. */
.project_img,
.project_img2,
.project_img3 {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e8e2d6;
  border-radius: 14px;
}

.project_img {
  background-image: url("assests/project_images/Gemini_Generated_Image_byf54pbyf54pbyf5.jfif");
}

.project_img2 {
  background-image: url("assests/project_images/ChatGPT\ Image\ Sep\ 13\,\ 2026\,\ 02_50_21\ PM.jpg");
}

.project_img3 {
  background-image: url("assests/project_images/ChatGPT\ Image\ Sep\ 13\,\ 2026\,\ 03_05_08\ PM.webp");
}

.project_content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.project_counting {
  font-family: "Newsreader", var(--font-serif);
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  font-weight: 200;
  line-height: 1;
  color: var(--accent-3);
}

.project_details {
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.project_name {
  color: var(--ink);
  font-size: 1.05em;
  font-weight: 750;
  font-family: "Cantarell", var(--font-ui);
}

.project_title {
  color: #797673;
  font-size: 0.92em;
  font-weight: 500;
  font-family: "Cantarell", var(--font-ui);
}

.arrow_viewProject {
  margin-left: auto;
}

.arrow-circle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.45s cubic-bezier(0.65, 0, 0.35, 1),
    transform 0.45s cubic-bezier(0.65, 0, 0.35, 1),
    box-shadow 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.arrow-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}

.arrow-circle i {
  position: absolute;
  font-size: 1.05rem;
  transition:
    transform 0.5s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.4s ease;
}

.arrow-circle .icon-1 {
  transform: translate(0, 0) rotate(0deg);
  opacity: 1;
  color: var(--accent);
}

.arrow-circle .icon-2 {
  transform: translate(-28px, 28px) rotate(-45deg);
  opacity: 0;
  color: var(--bg);
}

.arrow-circle:hover {
  border-color: var(--accent-2);
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 18px rgba(193, 104, 78, 0.4);
}

.arrow-circle:hover::before {
  transform: scale(1);
}

.arrow-circle:hover .icon-1 {
  transform: translate(28px, -28px) rotate(45deg);
  opacity: 0;
}

.arrow-circle:hover .icon-2 {
  transform: translate(0, 0) rotate(0deg);
  opacity: 1;
}

.arrow-circle:active {
  transform: scale(0.95);
}

/* ===================== SKILLS ===================== */
.skills_section {
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr) minmax(0, 0.95fr) 1px
    minmax(0, 1fr);
  column-gap: clamp(22px, 3vw, 55px);
  row-gap: 50px;
  align-items: start;
}

.represent_skillsB1 {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 38px);
  min-width: 0;
}

.skills_h {
  display: flex;
  flex-direction: column;
}

.s_h1 {
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  font-weight: 400;
  font-family: var(--font-serif);
  color: #131212;
  line-height: 1.15;
}

.s_h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  font-family: var(--font-serif);
  color: var(--accent-2);
  line-height: 1.1;
}

.scoreSkillBox {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

/* har skill row: label | bar | % */
.score1,
.score2,
.score3,
.score4,
.score5 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(70px, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
}

.skill,
.skill2 {
  font-family: var(--font-ui);
  font-size: clamp(0.78rem, 0.95vw, 0.95rem);
  font-weight: 700;
  color: #524f4c;
  letter-spacing: 0.3px;
}

.skill_percent1,
.skill_percent2,
.skill_percent3,
.skill_percent4 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.78rem, 0.95vw, 0.95rem);
  font-weight: 500;
  color: #524f4c;
  justify-self: end;
}

/* bar track + fill (fill ki width JS se --pct me set hoti hai) */
.score_line1,
.score_line2,
.score_line3,
.score_line4 {
  position: relative;
  width: 100%;
  height: 5px;
  margin: 0;
  border-radius: 20px;
  background-color: rgba(138, 133, 127, 0.25);
  overflow: hidden;
}

.score_line1 {
  --pct: 95%;
}
.score_line2 {
  --pct: 90%;
}
.score_line3 {
  --pct: 75%;
}
.score_line4 {
  --pct: 90%;
}

.score_line1::after,
.score_line2::after,
.score_line3::after,
.score_line4::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--pct, 90%);
  border-radius: 20px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.score_line1.filled::after,
.score_line2.filled::after,
.score_line3.filled::after,
.score_line4.filled::after {
  transform: scaleX(1);
}

/* quote block */
.about_skills {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.img_coma {
  width: clamp(55px, 6vw, 90px);
  aspect-ratio: 1 / 1;
  background-image: url("assests/aboutSklls/comma.webp");
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 14px;
}

.about_pera {
  width: 100%;
}

.pera {
  line-height: 1.4;
  font-size: clamp(1.05rem, 1.55vw, 1.5rem);
  font-family: var(--font-serif);
  color: #242221;
  max-width: 22ch;
}

.pera br {
  display: none;
}

/* feature list */
.priventing_skills {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 30px);
  min-width: 0;
}

.privent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(14px, 1.8vw, 28px);
}

.icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background-color: #d8591fe3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon i {
  color: #ffffff;
  font-size: 20px;
}

.privent_content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.subHeading_cont {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.85rem, 1vw, 1rem);
  color: #242221de;
}

.detaile_cont {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.75rem, 0.85vw, 0.82rem);
  line-height: 1.6;
  color: #242221b6;
}

.detaile_cont br {
  display: none;
}

/* ===================== ABOUT ===================== */
.aboput_section {
  display: grid;
  grid-template-columns:
    auto auto minmax(0, 1.1fr) 1px
    minmax(0, 0.8fr);
  column-gap: clamp(18px, 2.6vw, 45px);
  row-gap: 40px;
  align-items: start;
}

.about_heading {
  display: flex;
  flex-direction: column;
}

.about_picture {
  width: clamp(170px, 17vw, 245px);
  aspect-ratio: 1 / 1;
  background-image: url("assests/kabeer/about_img.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 14px;
}

.about_container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.sub_heading {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  letter-spacing: 0.6px;
  color: #1a1a1abd;
}

.my_name {
  font-family: "PT Serif", var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1.15;
  color: #1a1a1aee;
}

.my_detail {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(0.85rem, 0.95vw, 0.98rem);
  line-height: 1.7;
  color: #1a1a1abd;
  max-width: 52ch;
}

.my_detail br {
  display: none;
}

.about_XP {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.about_years,
.about_projects,
.claint_set {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 16px;
}

.years_num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1;
  color: #c57519;
  min-width: 2.6em;
}

.years {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(0.7rem, 0.85vw, 0.82rem);
  letter-spacing: 0.4px;
  line-height: 1.4;
  color: #1a1a1abd;
}

/* ===================== CONTACT ===================== */
.contact_section {
  display: grid;
  grid-template-columns:
    minmax(0, 0.85fr) 1px minmax(0, 1.25fr) 1px
    minmax(0, 0.9fr);
  column-gap: clamp(20px, 2.8vw, 48px);
  row-gap: 45px;
  align-items: start;
}

.contact_content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.c_h1 {
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  font-weight: 400;
  font-family: var(--font-serif);
  color: #131212;
  line-height: 1.15;
}

.c_h2 {
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  font-weight: 400;
  font-family: var(--font-serif);
  color: #c46b06;
  line-height: 1.1;
}

.contact_title {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(0.85rem, 0.95vw, 0.98rem);
  line-height: 1.7;
  color: #1a1a1abd;
  max-width: 40ch;
}

.contact_title br {
  display: none;
}

.contact_form {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1.5px solid #c8c2b5;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f7f3ea;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form_row {
  position: relative;
  border-bottom: 1.5px solid #c8c2b5;
}

.form_row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.5px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form_row:focus-within::after {
  width: 100%;
}

.form_input,
.form_select,
.form_textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 0.95em;
  font-weight: 500;
  color: #242221;
  padding: 16px 20px;
  transition: background-color 0.3s ease;
}

.form_input:focus,
.form_select:focus,
.form_textarea:focus {
  background-color: rgba(193, 104, 78, 0.06);
}

.form_input::placeholder,
.form_textarea::placeholder {
  color: #6b6660;
  font-weight: 500;
}

.form_row_select {
  display: flex;
  align-items: center;
}

.form_select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  color: #6b6660;
}

.form_select:valid {
  color: #242221;
}

.select_arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b6660;
  font-size: 0.85em;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.form_row_select.open .select_arrow {
  transform: translateY(-50%) rotate(180deg);
}

.form_row_textarea {
  border-bottom: none;
}

.form_textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.send_message_btn {
  border: none;
  outline: none;
  cursor: pointer;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-family: "Poppins", var(--font-ui);
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.send_message_btn i {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.send_message_btn:hover {
  letter-spacing: 2px;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.send_message_btn:hover i {
  transform: translateX(6px);
}

.send_message_btn:active {
  transform: scale(0.98);
}

.send_message_btn.sent {
  background: linear-gradient(135deg, #4caf50, #3c9142);
  pointer-events: none;
}

/* contact info column */
.contact_info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.email_num_location {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.email,
.phone_number,
.location {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
}

.e_icon {
  font-size: clamp(1.5rem, 1.9vw, 2.1rem);
  line-height: 1;
  color: #c57519;
  flex-shrink: 0;
  min-width: 36px;
  text-align: center;
}

.email_content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.email_heading {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(0.85rem, 0.95vw, 1rem);
  color: #1a1a1ad5;
}

.gmail,
.numbers {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  color: #1a1a1aa8;
  word-break: break-word;
}

.follow_meLinks {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.follow_me {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95em;
  letter-spacing: 0.5px;
  color: #1a1a1ae1;
}

.social_links {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.instagram_link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ccc;
  transition: all 0.3s ease;
}

.instagram_link a {
  color: #333;
  font-size: 21px;
  display: flex;
  text-decoration: none;
  transition: color 0.3s ease;
}

.instagram_link:hover {
  border-color: #c57519;
  transform: translateY(-2px);
}

.instagram_link:hover a {
  color: #c57519;
}

/* ===================== FOOTER ===================== */
.footer_section {
  margin-top: var(--section-gap);
  padding: 60px var(--page-pad) 30px;
  background-color: #1c1a17;
}

.footer_top {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer_brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer_logo {
  font-family: "Poppins", var(--font-ui);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #f3efe6;
}

.footer_tagline {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72em;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a8a39a;
}

.footer_nav_ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 25px;
  list-style-type: none;
}

.footer_nav_ul li a {
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9em;
  color: #d8d4cc;
  transition: color 0.25s ease-out;
}

.footer_nav_ul li a:hover {
  color: var(--accent);
}

.footer_mission {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.footer_mission_icon {
  font-size: 1.3em;
  color: var(--accent);
}

.footer_mission_text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85em;
  line-height: 1.5;
  color: #d8d4cc;
  text-align: right;
}

.footer_divider {
  display: block;
  width: min(100%, var(--max-w));
  margin: 35px auto 20px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.footer_bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer_copyright {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.78em;
  color: var(--muted);
}

.footer_legal {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.footer_legal a {
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.78em;
  color: var(--muted);
  transition: color 0.25s ease-out;
}

.footer_legal a:hover {
  color: var(--accent);
}

.footer_dot {
  color: var(--muted);
  font-size: 0.78em;
}

/* ============================================================
   ENTRANCE ANIMATIONS (page load)
   ============================================================ */
.nav_bar {
  opacity: 0;
  translate: 0 -25px;
  animation: navIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
@keyframes navIn {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.sidebar-wrapper {
  opacity: 0;
  translate: -20px 0;
  animation: sideInL 0.8s ease-out 0.5s forwards;
}
.sidebar-wrapper2 {
  opacity: 0;
  translate: 20px 0;
  animation: sideInR 0.8s ease-out 0.5s forwards;
}
@keyframes sideInL {
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes sideInR {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.heading {
  opacity: 0;
  scale: 0.92;
  animation: titleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
@keyframes titleIn {
  to {
    opacity: 1;
    scale: 1;
  }
}

.heading_1,
.heading_4,
.intro_pera,
.sign {
  opacity: 0;
  translate: 0 20px;
  animation: introUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.heading_1 {
  animation-delay: 0.5s;
}
.heading_4 {
  animation-delay: 0.9s;
}
.intro_pera {
  animation-delay: 1.05s;
}
.sign {
  animation-delay: 1.2s;
}
@keyframes introUp {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.kabeer_img {
  opacity: 0;
  translate: 0 60px;
  animation: kabeerIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}
@keyframes kabeerIn {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.circular-badge {
  opacity: 0;
  scale: 0.5;
  animation: badgeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
@keyframes badgeIn {
  to {
    opacity: 1;
    scale: 1;
  }
}

.let-build-btn {
  opacity: 0;
  translate: 0 20px;
  animation: btnIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.3s forwards;
}
@keyframes btnIn {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.saperate_line1 {
  transform-origin: left center;
  scale: 0 1;
  opacity: 0;
  animation: lineIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}
@keyframes lineIn {
  to {
    scale: 1 1;
    opacity: 1;
  }
}

.img_bakcground {
  opacity: 0;
  scale: 0;
  animation: circleBounce 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}
@keyframes circleBounce {
  0% {
    opacity: 0;
    scale: 0;
  }
  60% {
    opacity: 1;
    scale: 1.1;
  }
  80% {
    scale: 0.96;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
.heading1,
.heading2 {
  opacity: 0;
  transform: translateX(-45px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.heading2 {
  transition-delay: 0.12s;
}
.heading1.reveal,
.heading2.reveal {
  opacity: 1;
  transform: translateX(0);
}

.text_h {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.text_h.reveal {
  opacity: 1;
}

.project_card_1 {
  opacity: 0;
  transform: translateY(55px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.project_card_1.reveal {
  opacity: 1;
  transform: translateY(0);
}
.project_card_1:nth-child(2) {
  transition-delay: 0.12s;
}
.project_card_1:nth-child(3) {
  transition-delay: 0.24s;
}

.skills_h,
.about_skills,
.privent {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.skills_h.reveal,
.about_skills.reveal,
.privent.reveal {
  opacity: 1;
  transform: translateY(0);
}
.privent:nth-child(2) {
  transition-delay: 0.1s;
}
.privent:nth-child(3) {
  transition-delay: 0.2s;
}
.privent:nth-child(4) {
  transition-delay: 0.3s;
}

.about_picture {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.about_picture.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about_container {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}
.about_container.reveal {
  opacity: 1;
  transform: translateY(0);
}

.about_years,
.about_projects,
.claint_set {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.about_years.reveal,
.about_projects.reveal,
.claint_set.reveal {
  opacity: 1;
  transform: translateY(0);
}
.about_projects {
  transition-delay: 0.12s;
}
.claint_set {
  transition-delay: 0.24s;
}

.contact_title {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.contact_title.reveal {
  opacity: 1;
  transform: translateY(0);
}

.contact_form {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact_form.reveal {
  opacity: 1;
  transform: translateY(0);
}

.form_row,
.send_message_btn {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact_form.reveal .form_row,
.contact_form.reveal .send_message_btn {
  opacity: 1;
  transform: translateY(0);
}
.contact_form.reveal .form_row:nth-child(1) {
  transition-delay: 0.1s;
}
.contact_form.reveal .form_row:nth-child(2) {
  transition-delay: 0.2s;
}
.contact_form.reveal .form_row:nth-child(3) {
  transition-delay: 0.3s;
}
.contact_form.reveal .form_row:nth-child(4) {
  transition-delay: 0.4s;
}
.contact_form.reveal .send_message_btn {
  transition-delay: 0.5s;
}

.email,
.phone_number,
.location,
.follow_meLinks {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.email.reveal,
.phone_number.reveal,
.location.reveal,
.follow_meLinks.reveal {
  opacity: 1;
  transform: translateX(0);
}
.phone_number {
  transition-delay: 0.1s;
}
.location {
  transition-delay: 0.2s;
}
.follow_meLinks {
  transition-delay: 0.3s;
}

.email .e_icon,
.phone_number .e_icon,
.location .e_icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.email:hover .e_icon,
.phone_number:hover .e_icon,
.location:hover .e_icon {
  transform: scale(1.12);
}

.saperate_line2,
.saperate_line3,
.saperate_line4 {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.saperate_line2.reveal,
.saperate_line3.reveal,
.saperate_line4.reveal {
  transform: scaleX(1);
}

.footer_brand,
.footer_nav,
.footer_mission {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer_brand.reveal,
.footer_nav.reveal,
.footer_mission.reveal {
  opacity: 1;
  transform: translateY(0);
}
.footer_nav {
  transition-delay: 0.12s;
}
.footer_mission {
  transition-delay: 0.24s;
}

.footer_divider {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.footer_divider.reveal {
  transform: scaleX(1);
}

.footer_bottom {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}
.footer_bottom.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    scale: none !important;
    translate: none !important;
    transform: none !important;
  }
  .heading {
    transform: scaleY(1.5) !important;
  }
  .score_line1::after,
  .score_line2::after,
  .score_line3::after,
  .score_line4::after {
    transform: scaleX(1) !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---------- Small laptops / large tablets (1200px se neeche) ---------- */
@media (max-width: 1199px) {
  .skills_section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .saperate_skill_line {
    display: none;
  }
  .about_skills {
    align-self: center;
  }
  .priventing_skills {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 40px;
  }

  .aboput_section {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .about_heading {
    grid-column: 1 / -1;
  }
  .saperate_about_line {
    display: none;
  }
  .about_XP {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
  }
  .about_years,
  .about_projects,
  .claint_set {
    flex: 1 1 200px;
  }

  .contact_section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .saperate_contact_line1,
  .saperate_contact_line2 {
    display: none;
  }
  .contact_info {
    grid-column: 1 / -1;
  }
  .email_num_location {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px 50px;
  }
  .follow_meLinks {
    margin-top: 10px;
  }
}

/* ---------- Tablets (991px aur neeche) ---------- */
@media (max-width: 991px) {
  .hero_section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "intro"
      "image"
      "btn";
    justify-items: center;
    text-align: center;
    row-gap: 10px;
  }

  .pession,
  .current_situation {
    display: none !important;
  }
  .nav_bar {
    justify-content: center;
    width: auto;
    max-width: 94%;
    padding: 8px 16px;
  }
  .nav_bar.scrolled {
    padding: 8px 16px;
  }
  .navigation_links_ul li a {
    font-size: 0.8em;
    padding: 5px 12px;
  }

  .sidebar-wrapper,
  .sidebar-wrapper2 {
    display: none;
  }

  .main_H {
    padding-block: 3vw 4vw;
  }
  .heading {
    font-size: 15vw;
  }

  .intro_div {
    align-items: center;
    max-width: 620px;
  }
  .intro_pera {
    margin-inline: auto;
  }

  .display_img {
    justify-self: center;
    max-width: 380px;
    margin-top: 20px;
  }
  .circular-badge {
    justify-self: end;
    margin-right: 2%;
    margin-bottom: 4%;
  }
  .let-build-btn {
    justify-self: center;
    margin-top: 28px;
  }

  .project_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skills_section,
  .contact_section {
    grid-template-columns: minmax(0, 1fr);
  }
  .aboput_section {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .about_heading {
    align-items: center;
  }
  .about_container {
    align-items: center;
    max-width: 560px;
  }
  .priventing_skills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .privent {
    text-align: left;
  }
  .contact_content {
    align-items: center;
    text-align: center;
  }
  .contact_title {
    max-width: 48ch;
  }
  .about_years,
  .about_projects,
  .claint_set {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
  .years_num {
    min-width: 0;
  }
}

/* ---------- Mobile (767px aur neeche) ---------- */
@media (max-width: 768px) {
  :root {
    --section-gap: clamp(55px, 12vw, 90px);
  }

  .intro_div{
    margin-right: 20%;
  }
  .nav_bar {
    top: 12px;
    padding: 6px 12px;
  }
  .navigation_links_ul {
    gap: 2px;
  }
  .navigation_links_ul li a {
    font-size: 0.72em;
    padding: 4px 8px;
  }

  .heading {
    font-size: 17vw;
    transform: scaleY(1.3);
  }
  .main_H {
    padding-block: 3vw 5vw;
  }

  .display_img {
    margin-bottom: 10%;
    margin-left: 13%;
    max-width: 300px;
  }

  .let-build-btn{
    bottom: 3%;
    transform: translateX(-50%);
}
  .circular-badge {
    width: 115px;
    margin-right: 20%;
  }
  .badge-svg text {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .project_list,
  .priventing_skills {
    grid-template-columns: minmax(0, 1fr);
  }
  .project_card_1 {
    max-width: 420px;
    margin-inline: auto;
  }
  .headerDiv_projects {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .score1,
  .score2,
  .score3,
  .score4,
  .score5 {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
  }
  .score_line1,
  .score_line2,
  .score_line3,
  .score_line4 {
    grid-column: 1 / -1;
    order: 3;
  }

  .email_num_location {
    flex-direction: column;
    gap: 22px;
  }
  .email,
  .phone_number,
  .location {
    text-align: left;
  }

  .footer_top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .footer_brand {
    align-items: center;
  }
  .footer_nav_ul {
    justify-content: center;
    gap: 14px;
  }
  .footer_mission {
    flex-direction: column;
    gap: 6px;
  }
  .footer_mission_text {
    text-align: center;
  }
  .footer_bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Small mobile (480px aur neeche) ---------- */
@media (max-width: 480px) {
  .intro_div{
    margin-right: 20%;
  }
  .heading {
    font-size: 19vw;
  }
  .display_img {
    max-width: 250px;
    margin-right: 43%;
  }
  .circular-badge {
    transform: translateX(65%) translateY(-25px);
    width: 105px;
  }
  .navigation_links_ul li a {
    font-size: 0.66em;
    padding: 4px 6px;
  }

  .let-build-btn{
    width: 50%;
    font-size: 0.9em;
    transform: translateX(-26%) translateY(15px);
  }
  
  .about_picture {
    width: 165px;
  }
  .instagram_link {
    width: 42px;
    height: 42px;
  }
  .instagram_link a {
    font-size: 18px;
  }
}

/* ---------- Very small (375px aur neeche) ---------- */
@media (max-width: 375px) {
  .intro_div{
    margin-right: 20%;
  }
  .navigation_links_ul li a {
    font-size: 0.6em;
    padding: 3px 5px;
  }
  .display_img {
    max-width: 215px;
    margin-right: 45%;
  }
  .circular-badge {
    width: 95px;
    transform: translateX(65%);
  }

  .let-build-btn{
    width: 60%;
    font-size: 0.9em;
    transform: translateX(-20%) translateY(15px);
  }
  .badge-center-text {
    font-size: 10px;
  }
}

/* ============================================================
   THEME TOGGLE + DARK MODE
   ============================================================ */
:root {
  color-scheme: light;
}

body {
  transition: background-color 0.35s ease;
}

/* ---------- toggle button ---------- */
.theme_toggle {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(26, 26, 26, 0.18);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.theme_toggle i {
  position: absolute;
  font-size: 15px;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease;
}

.theme_toggle .icon_moon {
  color: #242221;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme_toggle .icon_sun {
  color: var(--accent-2);
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}

.theme_toggle:hover {
  border-color: var(--accent);
  transform: scale(1.08);
}

.theme_toggle:active {
  transform: scale(0.94);
}

/* ---------- toggle visible on tablet + mobile ---------- */
@media (max-width: 991px) {
  .nav_bar {
    gap: 8px;
  }
  .current_situation {
    display: flex !important;
    gap: 0;
  }
  .situa,
  .arrowToContact {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .nav_bar,
  .nav_bar.scrolled {
    gap: 4px;
    padding: 6px 8px;
  }
  .theme_toggle {
    width: 30px;
    height: 30px;
  }
  .theme_toggle i {
    font-size: 12px;
  }
}

/* ============================================================
   DARK PALETTE
   ============================================================ */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121110;
  --ink: #e9e5de;
  --muted: #8f8a83;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #c9583a;
  --accent-2: #d95f38;
  --accent-3: #d95f38;
}

/* toggle in dark mode: show the sun */
html[data-theme="dark"] .theme_toggle {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .theme_toggle .icon_moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}
html[data-theme="dark"] .theme_toggle .icon_sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ---------- navbar ---------- */
html[data-theme="dark"] .nav_bar {
  background: rgba(18, 17, 16, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .nav_bar.scrolled {
  background: rgba(24, 22, 20, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] .navigation_links_ul li a {
  color: #d9d5ce;
}
html[data-theme="dark"] .navigation_links_ul li a:hover {
  color: #fa490e;
}
html[data-theme="dark"] .situa_p a:hover {
  color: var(--accent);
}

/* ---------- primary text (headings, labels) ---------- */
html[data-theme="dark"]
  :is(
    .pession_text,
    .situa_p a,
    .heading_1,
    .heading_2,
    .sign,
    .heading1,
    .s_h1,
    .pera,
    .subHeading_cont,
    .my_name,
    .c_h1,
    .email_heading,
    .follow_me,
    .skill,
    .skill2
  ) {
  color: #ece8e1;
}

/* big PORTFOLIO title */
html[data-theme="dark"] .heading {
  color: #d9d5ce;
}

/* ---------- secondary text (paragraphs, captions) ---------- */
html[data-theme="dark"]
  :is(
    .intro_pera,
    .text_h,
    .detaile_cont,
    .sub_heading,
    .my_detail,
    .years,
    .contact_title,
    .gmail,
    .numbers,
    .project_title,
    [class*="skill_percent"]
  ) {
  color: #a9a49c;
}

/* ---------- accent text ---------- */
html[data-theme="dark"] :is(.years_num, .e_icon, .c_h2) {
  color: var(--accent-2);
}

/* ---------- hero badge + button ---------- */
html[data-theme="dark"] .circular-badge {
  background: rgba(18, 17, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
html[data-theme="dark"] .badge-svg text {
  fill: #e9e5de;
}
html[data-theme="dark"] .let-build-btn:hover {
  background-color: #121110;
  color: var(--accent);
  box-shadow: 0 6px 20px rgba(201, 88, 58, 0.35);
}

/* ---------- projects ---------- */
html[data-theme="dark"] :is(.project_img, .project_img2, .project_img3) {
  background-color: #1a1816;
  border: 1px solid #2b2825;
}
html[data-theme="dark"] .arrow-circle .icon-2 {
  color: #ffffff;
}

/* ---------- skills ---------- */
html[data-theme="dark"]
  :is(.score_line1, .score_line2, .score_line3, .score_line4) {
  background-color: rgba(255, 255, 255, 0.12);
}

/* ---------- about ---------- */
html[data-theme="dark"] .about_picture {
  border: 1px solid #2b2825;
}

/* ---------- contact form ---------- */
html[data-theme="dark"] .contact_form {
  background-color: #181614;
  border-color: #2e2a27;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .form_row {
  border-bottom-color: #2e2a27;
}
html[data-theme="dark"] :is(.form_input, .form_select, .form_textarea) {
  color: #ece8e1;
}
html[data-theme="dark"] :is(.form_input, .form_select, .form_textarea):focus {
  background-color: rgba(201, 88, 58, 0.08);
}
html[data-theme="dark"] :is(.form_input, .form_textarea)::placeholder {
  color: #8f8a83;
}
html[data-theme="dark"] .form_select {
  color: #8f8a83;
}
html[data-theme="dark"] .form_select:valid {
  color: #ece8e1;
}
html[data-theme="dark"] .form_select option {
  background-color: #181614;
  color: #ece8e1;
}
html[data-theme="dark"] .select_arrow {
  color: #8f8a83;
}
html[data-theme="dark"] .form_input:-webkit-autofill,
html[data-theme="dark"] .form_textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #181614 inset;
  -webkit-text-fill-color: #ece8e1;
  caret-color: #ece8e1;
}

/* ---------- social icons ---------- */
html[data-theme="dark"] .instagram_link {
  border-color: #3a3631;
}
html[data-theme="dark"] .instagram_link a {
  color: #cfcac2;
}
html[data-theme="dark"] .instagram_link:hover {
  border-color: var(--accent-2);
}
html[data-theme="dark"] .instagram_link:hover a {
  color: var(--accent-2);
}

/* ---------- footer ---------- */
html[data-theme="dark"] .footer_section {
  background-color: var(--bg);
  border-top: 1px solid var(--line);
}