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

:root {
  --bg: #eef2f7;
  --dark: #05070d;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-2: #60a5fa;
  --line: #e5e7eb;
  --shadow: 0 25px 70px rgba(15, 23, 42, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
}

body.dark-mode {
  --bg: #020617;
  --card: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

a {
  text-decoration: none;
  color: inherit;
}

.portfolio {
  max-width: 100%;
  margin: 68px auto;
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-radius: 4px;
}

.hero {
  min-height: 520px;
  padding: 22px 80px 55px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 55%,
      rgba(37, 99, 235, 0.42),
      transparent 31%
    ),
    radial-gradient(
      circle at 18% 20%,
      rgba(96, 165, 250, 0.18),
      transparent 28%
    ),
    linear-gradient(120deg, #060914, #0c1224 55%, #05070d);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  padding: 12px 0;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0 -18px;
  background: rgba(5, 7, 13, 0.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  opacity: 0.9;
  z-index: -1;
}

.logo {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary-2);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--primary-2);
  transition: 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-btn,
.menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition: 0.25s ease;
}

.theme-btn:hover,
.menu-btn:hover {
  background: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.hero-grid {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #bfdbfe;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -2.5px;
  max-width: 660px;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #2563eb, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 545px;
  color: #d1d5db;
  line-height: 1.75;
  font-size: 16px;
  margin-bottom: 26px;
}

.typing {
  color: #93c5fd;
  font-weight: 900;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 18px;
  flex-wrap: wrap;
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 800;
}

.stats span {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 13px;
  border-radius: 999px;
}

.stats i {
  color: var(--primary-2);
}

.visual {
  position: relative;
  height: 390px;
  perspective: 1000px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font-size: 12px;
  color: #e5e7eb;
  animation: float 4.5s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 3px;
}

.fc-1 {
  left: 15px;
  bottom: 55px;
}
.fc-2 {
  right: 8px;
  bottom: 68px;
  animation-delay: 0.5s;
}
.fc-3 {
  left: 160px;
  top: 35px;
  animation-delay: 0.9s;
}

.blue-glow {
  position: absolute;
  right: 35px;
  top: 92px;
  width: 380px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.65),
    rgba(37, 99, 235, 0.05) 68%
  );
  filter: blur(4px);
}

.laptop {
  position: absolute;
  right: 45px;
  top: 65px;
  width: 430px;
  height: 250px;
  padding: 13px;
  background: #e5e7eb;
  border-radius: 16px 16px 10px 10px;
  transform: rotateY(-14deg) rotateZ(8deg) skewX(-3deg);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.45);
  animation: floatLaptop 4s ease-in-out infinite;
}

.screen {
  height: 178px;
  padding: 14px;
  background: #111827;
  border: 5px solid #050505;
  border-radius: 10px;
  overflow: hidden;
}

.dots {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
}

.dots span:nth-child(2) {
  background: #f59e0b;
}
.dots span:nth-child(3) {
  background: #22c55e;
}

.code-line {
  height: 7px;
  border-radius: 999px;
  margin: 9px 0;
  background: #334155;
  animation: codePulse 2s ease-in-out infinite;
}

.code-line:nth-child(2n) {
  width: 82%;
  background: #2563eb;
}
.code-line:nth-child(3n) {
  width: 66%;
  background: #22c55e;
}
.code-line:nth-child(4n) {
  width: 92%;
  background: #f97316;
}

.keyboard {
  height: 48px;
  margin-top: 9px;
  border-radius: 6px 6px 16px 16px;
  background: repeating-linear-gradient(90deg, #111 0 12px, #2b2b2b 12px 18px);
}

.plant {
  position: absolute;
  left: 90px;
  top: 125px;
  width: 78px;
  height: 90px;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}

.leaf {
  width: 28px;
  height: 52px;
  background: #22c55e;
  border-radius: 28px 0;
  position: absolute;
  transform-origin: bottom;
}

.leaf:nth-child(1) {
  left: 24px;
  top: 0;
  transform: rotate(0deg);
}
.leaf:nth-child(2) {
  left: 8px;
  top: 12px;
  transform: rotate(-42deg);
}
.leaf:nth-child(3) {
  left: 42px;
  top: 13px;
  transform: rotate(42deg);
}
.leaf:nth-child(4) {
  left: 18px;
  top: 22px;
  transform: rotate(-18deg);
  background: #16a34a;
}
.leaf:nth-child(5) {
  left: 36px;
  top: 22px;
  transform: rotate(18deg);
  background: #16a34a;
}

.pot {
  width: 58px;
  height: 42px;
  background: #f8fafc;
  border-radius: 7px 7px 16px 16px;
  position: absolute;
  left: 12px;
  bottom: 0;
}

.phone {
  position: absolute;
  right: 70px;
  bottom: 30px;
  width: 120px;
  height: 190px;
  background: #111827;
  border: 4px solid #020617;
  border-radius: 22px;
  transform: rotate(20deg);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
}

.phone::before {
  content: "Portfolio";
  position: absolute;
  color: #e5e7eb;
  font-size: 11px;
  font-weight: 800;
  top: 35px;
  left: 30px;
}

.phone::after {
  content: "</>";
  position: absolute;
  left: 36px;
  top: 78px;
  color: #60a5fa;
  font-size: 24px;
  font-weight: 900;
}

.mug {
  position: absolute;
  right: 5px;
  top: 190px;
  width: 95px;
  height: 82px;
  background: #111827;
  border-radius: 0 0 22px 22px;
  border: 3px solid #334155;
  display: grid;
  place-items: center;
  color: #cbd5e1;
  font-size: 28px;
  font-weight: 900;
}

.mug::after {
  content: "";
  position: absolute;
  right: -34px;
  top: 19px;
  width: 42px;
  height: 34px;
  border: 7px solid #334155;
  border-left: none;
  border-radius: 0 25px 25px 0;
}

.orbit {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 4px solid #cbd5e1;
  right: 430px;
  top: 95px;
  animation: spin 8s linear infinite;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  right: -7px;
  top: 8px;
}

.circle-two {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  right: 95px;
  top: 122px;
  box-shadow: 0 0 40px rgba(96, 165, 250, 0.6);
}

section {
  background: var(--card);
}

.skills-section,
.process-section,
.testimonials-section {
  padding: 34px 80px;
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 1),
    rgba(255, 255, 255, 1)
  );
}

body.dark-mode .skills-section,
body.dark-mode .process-section,
body.dark-mode .testimonials-section {
  background: #0b1220;
}

.section-title {
  text-align: center;
  margin-bottom: 26px;
}

.section-title h2 {
  font-size: 28px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.8px;
}

.section-title p {
  color: var(--muted);
  font-size: 14px;
}

.line {
  width: 54px;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  margin: 10px auto 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.skill-card,
.project-card,
.metric-card,
.process-card,
.testimonial-card,
.side-card,
.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
  transition: 0.28s ease;
}

.skill-card:hover,
.project-card:hover,
.process-card:hover,
.testimonial-card:hover,
.contact-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.14);
  border-color: rgba(37, 99, 235, 0.35);
}

.skill-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
}

.skill-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 100px;
  height: 100px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
}

.skill-card i {
  font-size: 36px;
  color: var(--primary);
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
}

.skill-card:nth-child(2) i {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}
.skill-card:nth-child(3) i {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.skill-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
}

.skill-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.metrics {
  padding: 28px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--card);
}

.metric-card {
  padding: 22px;
  text-align: center;
  background: linear-gradient(180deg, var(--card), rgba(37, 99, 235, 0.04));
}

.metric-card h3 {
  font-size: 34px;
  color: var(--primary);
  margin-bottom: 6px;
}

.metric-card p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.main-content {
  padding: 34px 80px;
  background: var(--card);
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 34px;
}

.block-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.block-title h2,
.side-card h2,
.contact-box h2 {
  font-size: 24px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.block-title a {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.small-line {
  width: 44px;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  margin: 8px 0 18px;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  transition: 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  overflow: hidden;
  position: relative;
}

.project-img {
  height: 145px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, #020617, #172554);
}

.project-img.inventory {
  background: linear-gradient(130deg, #0f172a, #2563eb);
}
.project-img.agri {
  background: linear-gradient(130deg, #064e3b, #22c55e);
}
.project-img.market {
  background: linear-gradient(130deg, #581c87, #f97316);
}
.project-img.print {
  background: linear-gradient(130deg, #1e293b, #06b6d4);
}

.project-img::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transform: rotate(-2deg);
}

.project-img::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  right: -18px;
  top: -18px;
}

.project-body {
  padding: 18px;
}

.project-body h3 {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 8px;
}

.project-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 13px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tags span {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.project-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.project-actions a {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.side-card,
.contact-box {
  padding: 24px;
}

.side-card p,
.contact-box p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.point,
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  margin: 13px 0;
  font-weight: 700;
}

.point i,
.contact-line i {
  min-width: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  font-size: 11px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.tech-list span {
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.projects-section {
  padding: 40px 80px;
  background: var(--card);
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.label {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.title {
  font-size: 30px;
  color: var(--text);
  letter-spacing: -1px;
}

.view-all {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.projects .project-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: 0.35s ease;
}

.projects .project-card:hover img {
  transform: scale(1.08);
}

.project-content {
  padding: 18px;
}

.project-content h3 {
  color: var(--text);
  font-size: 17px;
  margin-bottom: 9px;
}

.project-content p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.result-box {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12),
    rgba(96, 165, 250, 0.08)
  );
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--primary);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.icons {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #020617;
  color: #ffffff;
  transition: 0.25s ease;
}

.icons a:first-child {
  background: var(--primary);
}

.icons a:hover {
  transform: translateY(-4px) scale(1.05);
}

.process-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card,
.testimonial-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.process-card .num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
  margin-bottom: 16px;
}

.process-card h3,
.testimonial-card h3 {
  color: var(--text);
  font-size: 17px;
  margin-bottom: 10px;
}

.process-card p,
.testimonial-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.testimonial-card .stars {
  color: #f59e0b;
  margin-bottom: 13px;
}

.contact-section {
  padding: 34px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--card);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--primary);
  font-size: 14px;
  transition: 0.25s ease;
}

.socials a:hover {
  transform: translateY(-4px) scale(1.05);
}

.socials a:nth-child(2),
.socials a:nth-child(3) {
  background: #020617;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 100;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

footer {
  background: #05070c;
  color: #94a3b8;
  text-align: center;
  padding: 18px;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatLaptop {
  0%,
  100% {
    transform: translateY(0) rotateY(-14deg) rotateZ(8deg) skewX(-3deg);
  }
  50% {
    transform: translateY(-12px) rotateY(-14deg) rotateZ(8deg) skewX(-3deg);
  }
}

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

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

@keyframes codePulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .portfolio {
    margin: 0;
    border-radius: 0;
  }

  .hero,
  .skills-section,
  .projects-section,
  .process-section,
  .testimonials-section,
  .main-content,
  .contact-section,
  .metrics {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-grid,
  .main-content,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .visual {
    display: none;
  }

  .skills-grid,
  .projects,
  .process-grid,
  .testimonial-grid,
  .metrics,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    background: rgba(5, 7, 13, 0.95);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 18px;
    min-height: auto;
  }

  .navbar .btn {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .stats,
  .skills-grid,
  .projects,
  .process-grid,
  .testimonial-grid,
  .metrics,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .block-title,
  .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
.hero {
  position: relative;
}

.cursor-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.25),
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.hero-metrics strong {
  display: inline-block;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
  line-height: 1;
}

.logo-text span {
  color: #3b82f6;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 12px rgba(59, 130, 246, 0.5),
    0 0 25px rgba(59, 130, 246, 0.25);

  transition: all 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(8deg) scale(1.08);
}
