* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #0f172a;
  overflow-x: hidden;
}

/* Background Animation */
.bg-animation {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, #dbeafe 0%, transparent 32%),
    radial-gradient(circle at 85% 55%, #e0f2fe 0%, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 45%, #eef8ff 100%);
}

.blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: floatBlob 13s ease-in-out infinite alternate;
}

.blob-1 {
  background: #bae6fd;
  top: 8%;
  left: -9%;
}

.blob-2 {
  background: #bfdbfe;
  top: 38%;
  right: -8%;
  animation-delay: 2s;
}

.blob-3 {
  background: #e0f2fe;
  bottom: -12%;
  left: 35%;
  animation-delay: 4s;
}

@keyframes floatBlob {
  to {
    transform: translate(45px, -45px) scale(1.18);
  }
}

/* Header */
.site-header {
  width: 100%;
  padding: 24px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header a {
  text-decoration: none;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
}

.site-header a:hover {
  color: #2563eb;
}

/* Hero */
.hero {
  min-height: 82vh;
  padding: 110px 8% 80px;
  max-width: 1200px;
}

.eyebrow {
  color: #2563eb;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  margin: 0;
  max-width: 1100px;
  letter-spacing: -0.06em;
}

.hero-text {
  font-size: 18px;
  color: #64748b;
  line-height: 1.8;
  max-width: 720px;
  margin: 28px 0 36px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: 0.3s ease;
}

.btn.primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.25);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(37, 99, 235, 0.35);
}

.btn.secondary {
  background: rgba(255,255,255,0.75);
  color: #0f172a;
  border: 1px solid #bfdbfe;
}

.btn.secondary:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
}

/* Sections */
.section {
  padding: 90px 6%;
  width: 100%;
}
.section-heading {
  max-width: 900px;
  margin-bottom: 40px;
}

.section-heading h2 {
  max-width: 700px;
  line-height: 1.2;
}
.section-heading h2,
.contact h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.05em;
}

/* Compact Portfolio Cards */
.projects-slider {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-card {
  width: 100%;
  min-width: 0;
  min-height: 390px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(147, 197, 253, 0.65);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 34px 80px rgba(37, 99, 235, 0.15);
  border-color: #93c5fd;
}

.card-content h3 {
  font-size: 30px;
  line-height: 1;
  margin: 14px 0 12px;
  letter-spacing: -0.04em;
}

.card-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  margin: 0 0 16px;
}

.project-label {
  display: inline-block;
  color: #0369a1;
  background: #e0f2fe;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.project-tech span {
  background: #f1f5f9;
  color: #334155;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.project-btn {
  color: #2563eb;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.project-btn:hover {
  text-decoration: underline;
}

.card-logo {
  height: 120px;
  margin-top: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #eff6ff);
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-logo img {
  width: 135px;
  max-width: 75%;
  height: auto;
  object-fit: contain;
  animation: logoFloat 4s ease-in-out infinite alternate;
}

@keyframes logoFloat {
  to {
    transform: translateY(-10px) scale(1.04);
  }
}

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

.skill-card {
  padding: 28px;
  border-radius: 26px;
  border: 1px solid #dbeafe;
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(16px);
  transition: 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(37, 99, 235, 0.11);
}

.skill-card h3 {
  margin-top: 0;
  font-size: 21px;
}

.skill-card p {
  color: #64748b;
  line-height: 1.7;
}

/* Contact */
.contact {
  text-align: center;
  padding: 110px 8% 130px;
}

.contact h2 {
  max-width: 850px;
  margin: 0 auto 32px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.85s ease;
}

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

/* Mobile Slider */
@media (max-width: 900px) {
  .projects-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 18px;
    padding-right: 18%;
  }

  .projects-slider::-webkit-scrollbar {
    height: 6px;
  }

  .projects-slider::-webkit-scrollbar-track {
    background: #e0f2fe;
    border-radius: 999px;
  }

  .projects-slider::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 999px;
  }

  .portfolio-card {
    min-width: 82%;
    min-height: 360px;
    scroll-snap-align: start;
  }

  .card-logo {
    height: 105px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile */
@media (max-width: 768px) {
  .site-header {
    padding: 20px 6%;
  }

  .site-header nav {
    gap: 14px;
  }

  .hero,
  .section,
  .contact {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero {
    padding-top: 70px;
  }

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

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

.view-all-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 999px;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.35);
}
.projects-page {
  padding: 90px 8% 120px;
}

.projects-page-heading {
  max-width: 850px;
  margin-bottom: 55px;
}

.projects-page-heading h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: -0.06em;
}

.projects-page-heading p {
  color: #64748b;
  font-size: 18px;
  line-height: 1.8;
}

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

.all-project-card {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(147, 197, 253, 0.65);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
  transition: 0.35s ease;
}

.all-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 80px rgba(37, 99, 235, 0.15);
}

.all-project-card img {
  width: 120px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin-bottom: 24px;
}

.all-project-card h3 {
  font-size: 24px;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.all-project-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 18px;
}

.all-project-card a {
  color: #2563eb;
  font-weight: 900;
  text-decoration: none;
}

.all-project-card a:hover {
  text-decoration: underline;
}

@media (max-width: 1000px) {
  .all-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .projects-page {
    padding: 70px 6% 100px;
  }

  .all-projects-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Developer Feel Animations ===== */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.project-card,
.service-card,
.skill-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.project-card:hover,
.service-card:hover,
.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(255, 105, 180, 0.18);
  border-color: rgba(255, 105, 180, 0.45);
}

.bg-animation .blob {
  animation: floatBlob 8s ease-in-out infinite alternate;
}

.blob-2 {
  animation-delay: 2s;
}

.blob-3 {
  animation-delay: 4s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(35px, -45px) scale(1.12);
  }
}

/* Soft glowing developer text */
.gradient-text,
.hero-title span {
  background: linear-gradient(90deg, #ff4fa3, #b84dff, #4ddcff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}

/* Button interaction */
.btn,
.project-btn,
.hero-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover,
.project-btn:hover,
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 79, 163, 0.25);
}

.btn::after,
.project-btn::after,
.hero-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transition: 0.6s;
}

.btn:hover::after,
.project-btn:hover::after,
.hero-btn:hover::after {
  left: 120%;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: #f7fbff !important;
  overflow-x: hidden;
}

#portfolio-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

header,
main,
section,
footer,
.navbar,
.hero,
.projects,
.about,
.contact {
  position: relative;
  z-index: 2;
}
.projects,
.skills,
.contact {
  position: relative;
  overflow: hidden;
}

.projects::before,
.skills::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);

  background-size: 42px 42px;
  animation: softGridMove 30s linear infinite;
}

.projects > *,
.skills > *,
.contact > * {
  position: relative;
  z-index: 2;
}
.logo img {
  height: 60px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo img {
    height: 35px;
  }
}
.shopify-proof {
  padding: 80px 24px;
}

.proof-card {
  max-width: 1050px;
  margin: auto;
  padding: 34px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.08);
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 34px;
  align-items: center;
}

.proof-left {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.proof-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
}

.proof-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.proof-name-row h2 {
  margin: 0;
  font-size: 28px;
}

.shopify-pill {
  background: #e8f8ef;
  color: #128c45;
  border: 1px solid rgba(18, 140, 69, 0.18);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.proof-location {
  margin: 8px 0 12px;
  color: #64748b;
}

.proof-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 16px;
}

.rating-score {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #0f172a;
}

.rating-score strong {
  font-size: 16px;
}

.rating-reviews {
  color: #64748b;
  font-size: 14px;
}

.proof-text {
  color: #64748b;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 22px;
}

.proof-right {
  background: linear-gradient(135deg, #f0fdf4, #eff6ff);
  border-radius: 24px;
  padding: 26px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.shopify-logo-box {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  margin-bottom: 18px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
}

.shopify-logo-text {
  display: block;
  color: #16a34a;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
}

.shopify-logo-box small {
  color: #64748b;
}

.proof-stats {
  display: grid;
  gap: 12px;
}

.proof-stats div {
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  padding: 14px;
}

.proof-stats strong {
  display: block;
  font-size: 24px;
  color: #0f172a;
}

.proof-stats span {
  color: #64748b;
  font-size: 13px;
}

@media (max-width: 768px) {
  .proof-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .proof-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .proof-name-row {
    justify-content: center;
  }
}
.proof-avatar {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.shopify-pill {
  display: inline-flex;
  align-items: center;
  background: #e8f8ef;
  color: #128c45;
  border: 1px solid rgba(18, 140, 69, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}

.shopify-pill img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.shopify-logo-box img {
  width: 90px;
  margin-bottom: 8px;
}

.shopify-logo-box {
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
