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

:root {
  --accent: #e86a5b;
  --accent-dark: #cc5244;
  --navy: #1b254b;
  --navy-soft: #2d3b73;
  --ink: #1e2438;
  --muted: #5f6784;
  --surface: #ffffff;
  --surface-alt: #f5f7fb;
  --surface-strong: #eef2f9;
  --line: rgba(27, 37, 75, 0.12);
  --shadow: 0 22px 55px rgba(27, 37, 75, 0.12);
  --shadow-strong: 0 26px 70px rgba(27, 37, 75, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Be Vietnam Pro", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(232, 106, 91, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(45, 59, 115, 0.16), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fc 100%);
  color: var(--ink);
  transition: background 0.35s ease, color 0.35s ease;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.wrapper {
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.gradient {
  position: relative;
  padding-bottom: 4rem;
}

.gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.55)),
    radial-gradient(circle at 20% 20%, rgba(232, 106, 91, 0.12), transparent 18%);
  pointer-events: none;
}

.container,
.project-section,
.contactus-form-container,
footer {
  position: relative;
  z-index: 1;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.logo-text {
  margin-left: -0.2em;
  font-size: 29px;
  font-weight: 600;
  position: relative;
  top: 6px;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.nav-text {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  font-size: 24px;
  cursor: pointer;
  font-weight: 500;
}

.nav-text div a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.nav-text div a:hover {
  color: var(--accent);
  font-weight: 700;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(27, 37, 75, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(27, 37, 75, 0.08);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  border-color: rgba(232, 106, 91, 0.5);
  color: var(--accent);
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  display: flex;
  gap: 5rem;
  margin: 4rem auto;
  padding: 0 1rem 8rem;
}

.faded-text {
  user-select: none;
  color: rgb(231, 231, 231);
  font-size: 7rem;
  position: absolute;
  bottom: -16%;
  left: 0;
  font-weight: bold;
  transition: all 3s;
}

.left-hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 30px;
}

.hero-section-heading {
  font-size: 35px;
  color: #343d68;
  font-weight: 500;
}

.hero-section-sub-heading {
  font-size: 45px;
  line-height: 45px;
  color: #343d68;
}

.role {
  color: #4e45d5;
  font-weight: 800;
}

.hero-section-description {
  margin: 1rem;
  width: 70%;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
}

.hero-button-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.8rem 2.3rem;
  border: solid 3px transparent;
  border-radius: 999px;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 5px 5px 7px 0 #0000003f;
  transition: all 0.5s;
  cursor: pointer;
}

.btn-pink::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: #fff;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.8s;
}

.btn-pink:hover::before {
  transform: scaleX(1);
}

.btn-pink:hover {
  color: #000;
  border-color: var(--accent);
  transform: none;
  box-shadow: 5px 5px 7px 0 #0000003f;
}

.btn-project {
  padding-inline: 1.6rem;
}

.hero-section-right {
  position: relative;
}

.absolute {
  position: absolute;
}

.user-image {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  border-radius: 10px;
  filter: grayscale(1);
  transition: all 1s;
  animation: scaleImage 10s linear infinite;
}

.user-image img {
  width: 300px;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  display: block;
}

@keyframes scaleImage {
  0% {
    filter: grayscale(0);
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    filter: grayscale(1);
    box-shadow: 3px 3px 10px black;
  }
  100% {
    transform: scale(1);
    filter: grayscale(0);
  }
}

.icons img {
  width: 42px;
}

.icon-dots {
  z-index: 5;
  bottom: 1rem;
  right: 0.5rem;
  animation: bob 3s infinite;
}

.icon-cube {
  z-index: 8;
  top: 0.8rem;
  right: 1rem;
  animation: spinFloat 6s infinite;
}

.icon-circle {
  z-index: 1;
  bottom: 0;
  left: 0;
  animation: drift 9s linear infinite;
}

.icon-zigzag {
  z-index: 5;
  top: 1.5rem;
  left: 0.5rem;
  animation: bob 9s infinite;
}

.icon-plus {
  z-index: 6;
  top: 0.8rem;
  left: 50%;
  animation: drift 5s ease-in infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes spinFloat {
  0% {
    transform: rotateY(0deg) translateY(0);
  }
  50% {
    transform: rotateY(180deg) translateY(-12px);
  }
  100% {
    transform: rotateY(360deg) translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -12px);
  }
}

.project-section {
  width: 100%;
  margin-top: -1.48rem;
  padding: 3rem 0 4rem;
  background-color: rgba(231, 231, 231);
}

.page-header {
  color: var(--accent);
  text-align: center;
  font-size: 90px;
  padding-top: 30px;
  width: fit-content;
  margin: 0 auto 3rem;
  padding: 1rem 1.8rem;
  border: 2px solid rgba(232, 106, 91, 0.88);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(232, 106, 91, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 248, 245, 0.98), rgba(255, 232, 224, 0.8));
  box-shadow: 0 22px 44px rgba(191, 84, 60, 0.14);
}

.project-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.project-card {
  width: 90%;
  height: 550px;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: none;
  transition: box-shadow 0.6s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #1f1f1f9a;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #343d68, #343d68be, #343d687c);
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.8s;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  box-shadow: 10px 10px 20px #1f1f1f;
}

.project-number {
  position: absolute;
  font-size: 200px;
  font-weight: 600;
  color: white;
  z-index: 5;
  display: none;
  top: -48px;
}

.project-card:hover .project-number {
  display: block;
}

.project-number-left {
  right: -20px;
}

.project-number-right {
  left: -12px;
}

.project-contant {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 2em;
  bottom: 20%;
  color: white;
  z-index: 10;
  transition: 0.9s;
}

.project-contant-left {
  left: 10%;
}

.project-contant-right {
  right: 10%;
}

.project-skills-container {
  width: 70%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-skill {
  width: 40px;
  height: 40px;
  background: transparent;
}

.project-heading {
  font-size: 50px;
  font-weight: bold;
  line-height: 3rem;
}

.project-sub-heading {
  width: 65%;
  font-size: 16px;
  font-style: italic;
  color: #fff;
}

.btn-group {
  display: flex;
  gap: 0.9rem;
}

.btn-project {
  overflow: hidden;
}

.btn-project::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-project:hover::after {
  left: 150%;
}

.icon {
  cursor: pointer;
  color: white;
  font-size: 35px;
  transition: color 0.6s ease;
}

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

.project-card:hover .project-contant {
  transform: scale(1.1);
}

#project2:hover .project-contant,
#project4:hover .project-contant {
  transform: scale(1);
}

#project1 {
  animation: projectFloat 5.8s ease-in-out infinite;
}

#project2 {
  animation: projectFloat 6.4s ease-in-out infinite 0.25s;
}

#project3 {
  animation: projectFloat 6s ease-in-out infinite 0.15s;
}

#project4 {
  animation: projectFloat 6.6s ease-in-out infinite 0.35s;
}

@keyframes projectFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

#project1 {
  background-image: url(./projects/Study_Notion.png);
}

#project2 {
  background-image: url(./projects/Real_Time-Chat_App.png);
  margin-left: 120px;
}

#project3 {
  background-image: url(./projects/Ecomzy.png);
}

#project4 {
  background-image: url(./projects/Weather_app.png);
  margin-left: 120px;
}

#project4 .project-contant-right {
  right: 7%;
}

.skills-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 6rem 0;
}

.skills-container-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skills-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--navy);
  width: fit-content;
  padding: 1.1rem 1.4rem 1rem;
  border: 2px solid rgba(232, 106, 91, 0.88);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(232, 106, 91, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 247, 244, 0.98), rgba(255, 233, 227, 0.82));
  box-shadow: 0 22px 44px rgba(191, 84, 60, 0.16);
}

.caps {
  color: var(--accent);
  font-size: 1.2em;
}

.skills-subheading {
  max-width: 34rem;
  padding: 2rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(117, 135, 255, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 243, 255, 0.82));
  border: 2px solid rgba(86, 108, 215, 0.68);
  box-shadow: 0 24px 48px rgba(60, 83, 182, 0.12);
}

.skills-subheading p {
  color: var(--muted);
  line-height: 1.85;
}

.skills-container-right {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-content: start;
  padding: 2rem;
  border: 2px solid rgba(38, 146, 89, 0.96);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(73, 187, 120, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(241, 252, 246, 0.95), rgba(225, 245, 232, 0.72));
  box-shadow: 0 24px 48px rgba(28, 104, 66, 0.14);
  backdrop-filter: blur(10px);
}

.skills-fadded-text {
  position: absolute;
  right: 0;
  bottom: 1.5rem;
  font-size: clamp(4rem, 11vw, 8rem);
  font-weight: 800;
  color: rgba(27, 37, 75, 0.12);
  text-transform: uppercase;
  user-select: none;
  padding: 0.2rem 1rem 0.35rem;
  border: 1px solid rgba(86, 108, 215, 0.1);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(239, 243, 255, 0.08));
  box-shadow: 0 14px 30px rgba(60, 83, 182, 0.06);
  backdrop-filter: blur(6px);
}

.blob-style {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, 72%);
  opacity: 0.16;
  transform: translate(-50%, -50%);
  animation: blobAnimate 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes blobAnimate {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -47%) rotate(8deg);
  }
}

.skills-logo {
  width: 88px;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 0.95rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: none;
  box-shadow: 0 12px 22px rgba(27, 37, 75, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.skills-logo:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 24px 34px rgba(27, 37, 75, 0.14);
}

.contactus-form-container {
  padding: 6rem 0;
  background:
    radial-gradient(circle at top right, rgba(232, 106, 91, 0.16), transparent 20%),
    linear-gradient(180deg, #eef3fb 0%, #e8eef9 100%);
}

.contact-panel {
  position: relative;
  padding: 3rem 2.5rem 2.5rem;
  border: 2px solid rgba(255, 140, 27, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 175, 64, 0.3), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.24));
  box-shadow: 0 28px 60px rgba(255, 140, 27, 0.12);
  backdrop-filter: blur(18px);
  overflow: visible;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 45%);
  pointer-events: none;
}

.contact-layout {
  position: relative;
  display: block;
}

.contact-copy {
  max-width: 42rem;
  padding: 1.4rem 1.5rem 1rem 4rem;
}

.contact-us-heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  color: #ff8c1b;
  text-shadow: 0 10px 30px rgba(255, 140, 27, 0.16);
}

.contact-subheading {
  margin-top: 1rem;
  max-width: 31rem;
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(171, 97, 17, 0.86);
}

form {
  margin-top: 2rem;
  width: 100%;
}

.form-field-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formfield {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(232, 106, 91, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 30px rgba(27, 37, 75, 0.08);
  color: var(--ink);
  font-size: 1rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.formfield:hover {
  border-color: rgba(232, 106, 91, 0.55);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 34px rgba(232, 106, 91, 0.14);
}

.formfield:focus {
  outline: none;
  border-color: rgba(232, 106, 91, 0.8);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 34px rgba(232, 106, 91, 0.18);
  transform: translateY(-1px);
}

.formfield-textarea {
  min-height: 180px;
  resize: vertical;
}

#submit-btn {
  margin-top: 1.3rem;
  border: none;
}

.submit-icon {
  font-size: 1rem;
}


footer {
  overflow: hidden;
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #1b254b, #2d3b73);
}

.footer-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2.8rem;
}

.link-wrapper,
.icon-wrapper {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.link-wrapper {
  margin-left: 11rem;
}

.link-wrapper div a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  transition: color 0.25s ease;
}

.link-wrapper div a:hover {
  color: #ffd2cb;
}

.footer-fadded-text {
  position: absolute;
  left: -1.75rem;
  bottom: -2.2rem;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

footer .icon {
  color: rgba(255, 255, 255, 0.92);
}

body.dark-theme {
  color: #e8eefc;
  background:
    radial-gradient(circle at top left, rgba(201, 119, 62, 0.2), transparent 24%),
    radial-gradient(circle at top right, rgba(108, 92, 76, 0.18), transparent 22%),
    linear-gradient(180deg, #161312 0%, #1e1a18 48%, #26211f 100%);
}

body.dark-theme .gradient::before {
  background:
    linear-gradient(135deg, rgba(18, 15, 14, 0.8), rgba(30, 25, 22, 0.56)),
    radial-gradient(circle at 20% 20%, rgba(201, 119, 62, 0.1), transparent 18%);
}

body.dark-theme .logo-text,
body.dark-theme .hero-section-heading,
body.dark-theme .hero-section-sub-heading,
body.dark-theme .skills-heading,
body.dark-theme .page-header {
  color: #f3f6ff;
}

body.dark-theme .nav-text div a,
body.dark-theme .hero-section-description,
body.dark-theme .skills-subheading p,
body.dark-theme .contact-subheading {
  color: rgba(227, 234, 252, 0.86);
}

body.dark-theme .theme-toggle {
  background: rgba(39, 31, 28, 0.9);
  border-color: rgba(201, 119, 62, 0.22);
  color: #f0f4ff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

body.dark-theme .faded-text,
body.dark-theme .skills-fadded-text {
  color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .skills-fadded-text {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

body.dark-theme .project-section {
  background:
    radial-gradient(circle at top left, rgba(201, 119, 62, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(28, 23, 21, 0.98), rgba(22, 19, 18, 0.98));
}

body.dark-theme .page-header {
  border-color: rgba(232, 106, 91, 0.76);
  background:
    radial-gradient(circle at top left, rgba(201, 119, 62, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(43, 27, 20, 0.88), rgba(63, 39, 30, 0.76));
}

body.dark-theme .skills-heading {
  border-color: rgba(232, 106, 91, 0.76);
  background:
    radial-gradient(circle at top left, rgba(201, 119, 62, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(43, 27, 20, 0.88), rgba(63, 39, 30, 0.76));
}

body.dark-theme .skills-subheading {
  border-color: rgba(154, 126, 98, 0.72);
  background:
    radial-gradient(circle at top left, rgba(154, 126, 98, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(36, 30, 27, 0.94), rgba(28, 24, 22, 0.84));
  box-shadow: 0 24px 48px rgba(9, 7, 6, 0.35);
}

body.dark-theme .skills-container-right {
  border-color: rgba(86, 150, 108, 0.9);
  background:
    radial-gradient(circle at top left, rgba(86, 150, 108, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(21, 33, 25, 0.95), rgba(25, 40, 30, 0.82));
  box-shadow: 0 24px 48px rgba(4, 18, 12, 0.35);
}

body.dark-theme .skills-logo {
  background: rgba(33, 28, 26, 0.94);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

body.dark-theme .contactus-form-container {
  background:
    radial-gradient(circle at top right, rgba(201, 119, 62, 0.1), transparent 20%),
    linear-gradient(180deg, #211c19 0%, #191614 100%);
}

body.dark-theme .contact-panel {
  border-color: rgba(255, 140, 27, 0.75);
  background:
    radial-gradient(circle at 18% 28%, rgba(201, 119, 62, 0.14), transparent 22%),
    linear-gradient(135deg, rgba(39, 30, 26, 0.8), rgba(27, 22, 20, 0.68));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

body.dark-theme .contact-us-heading {
  color: #ffb45d;
}

body.dark-theme .formfield {
  background: rgba(39, 31, 28, 0.72);
  color: #eef3ff;
  border-color: rgba(255, 140, 27, 0.24);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

body.dark-theme .formfield::placeholder {
  color: rgba(214, 223, 248, 0.72);
}

body.dark-theme .formfield:hover,
body.dark-theme .formfield:focus {
  background: rgba(49, 39, 35, 0.88);
}

body.dark-theme footer {
  background: linear-gradient(135deg, #181312, #2a211f);
}

@media (max-width: 1024px) {
  .nav-bar,
  .footer-wrapper,
  .skills-container,
  .hero-section {
    grid-template-columns: 1fr;
  }

  .nav-bar,
  .footer-wrapper {
    flex-direction: column;
    border-radius: 28px;
  }

  .hero-section {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
  }

  .hero-section-right {
    min-height: 420px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .skills-container {
    gap: 2rem;
  }

  .skills-container-right {
    grid-template-columns: repeat(4, minmax(0, 88px));
    justify-content: center;
  }

  .project-contant,
  .project-contant-right {
    margin: 1.25rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: none;
    padding: 2rem 1rem 0 1rem;
  }
}

@media (max-width: 768px) {
  .nav-text {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem 1.2rem;
    padding: 0;
    font-size: 1.05rem;
  }

  .theme-toggle {
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
  }

  .hero-section {
    margin-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .left-hero-section {
    padding: 1.6rem;
  }

  .hero-section-description {
    width: 100%;
    margin-inline: 0;
  }

  .hero-button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-button-group .btn-pink {
    width: 100%;
  }

  .hero-section-right {
    min-height: 340px;
    padding-inline: 1rem;
  }

  .user-image {
    width: min(320px, 100%);
    padding: 1.5rem;
  }

  .icons img {
    width: 34px;
  }

  .project-card {
    min-height: 360px;
    width: 100%;
    margin-left: 0 !important;
  }

  .project-number {
    font-size: 3rem;
  }

  .project-contant {
    width: calc(100% - 2rem);
    padding: 1.25rem;
  }

  .skills-container {
    padding: 4rem 0;
  }

  .skills-container-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .skills-logo {
    width: 100%;
  }

  .contactus-form-container {
    padding: 4rem 0;
  }

  .contact-panel {
    padding: 2.2rem 1.25rem 1.5rem;
  }

  .contact-copy {
    padding: 1.5rem 0.25rem 0;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 1.25rem, 100%);
  }

  .nav-bar {
    padding: 1rem;
  }

  .nav-logo img {
    width: 56px;
    height: 56px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .nav-text {
    gap: 0.6rem 1rem;
    font-size: 1rem;
  }

  .theme-toggle span {
    display: none;
  }

  .hero-section-heading {
    font-size: 1.6rem;
  }

  .hero-section-sub-heading {
    font-size: 2.1rem;
    line-height: 1.15;
  }

  .faded-text {
    display: none;
  }

  .hero-section-description,
  .skills-subheading {
    font-size: 0.95rem;
  }

  .project-card {
    min-height: 400px;
  }

  .page-header {
    font-size: 3rem;
    padding: 0.9rem 1.2rem;
  }

  .project-heading {
    font-size: 1.55rem;
  }

  .project-skill {
    width: 36px;
    height: 36px;
  }

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

  .footer-wrapper {
    align-items: flex-start;
  }

  .link-wrapper,
  .icon-wrapper {
    flex-wrap: wrap;
  }
}
