:root {
  --bg: #0d0d14;
  --bg2: #12121e;
  --bg3: #16162a;
  --card: rgba(255, 255, 255, 0.04);
  --card-b: rgba(255, 255, 255, 0.08);
  --c1: #ff6b6b;
  --c2: #ffd93d;
  --c3: #6bcb77;
  --c4: #4d96ff;
  --c5: #c77dff;
  --c6: #ff9a3c;
  --grad-main: linear-gradient(
    135deg,
    #ff6b6b,
    #ffd93d,
    #6bcb77,
    #4d96ff,
    #c77dff
  );
  --grad-hero: linear-gradient(135deg, #ff6b6b 0%, #c77dff 50%, #4d96ff 100%);
  --grad-warm: linear-gradient(135deg, #ff6b6b, #ff9a3c, #ffd93d);
  --grad-purple: linear-gradient(135deg, #c77dff, #4d96ff);
  --grad-fire: linear-gradient(135deg, #ff6b6b, #ff9a3c);
  --grad-nature: linear-gradient(135deg, #6bcb77, #4d96ff);
  --white: #ffffff;
  --off: rgba(255, 255, 255, 0.85);
  --muted: rgba(255, 255, 255, 0.5);
  --dim: rgba(255, 255, 255, 0.12);
  --font-h: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --tr: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-h);
  line-height: 1.7;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--white);
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@keyframes gradShift {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}
@keyframes blobMove1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(80px, 60px) scale(1.2);
  }
}
@keyframes blobMove2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-60px, 40px) scale(1.15);
  }
}
@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes waPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(13, 13, 20, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease,
    padding var(--tr);
}
#header.scrolled {
  background: rgba(13, 13, 20, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  transition: padding var(--tr);
}
#header.scrolled .header-inner {
  padding: 1.9rem 1rem;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-hero);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: auto;
  animation: gradShift 3s linear infinite;
}
nav {
  display: flex;
  gap: 2rem;
  margin-right: 2rem;
}
nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: color var(--tr);
}
nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
  border-radius: 1px;
}
nav a:hover,
nav a.active {
  color: var(--white);
}
nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}
.btn-header {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  background: #fff !important;
  color: #0d0d14 !important;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
  transition: transform var(--tr);
}
.btn-header:hover {
  transform: translateY(-2px);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: 1rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: background var(--tr);
}
.burger:hover {
  background: rgba(255, 255, 255, 0.12);
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  pointer-events: none;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(10, 10, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  max-height: 420px;
}
.mob-link {
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.95rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    color var(--tr),
    background var(--tr);
}
.mob-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}
.mob-cta {
  margin: 1rem 2rem 1.5rem;
  padding: 0.72rem;
  text-align: center;
  background: var(--grad-hero);
  color: white;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero {
  
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(199, 125, 255, 0.25) 0%,
    transparent 70%
  );
  top: -100px;
  left: -100px;
  animation: blobMove1 8s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(77, 150, 255, 0.2) 0%,
    transparent 70%
  );
  bottom: -50px;
  right: -50px;
  animation: blobMove2 10s ease-in-out infinite;
  pointer-events: none;
}
.hero-blob3 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 107, 0.12) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  pointer-events: none;
}
.hero-slider {
  width: 100%;
    min-height: 600px;
    height: auto;
    position: relative;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide-content {
  position: relative;
  z-index: 2;
  padding: 7rem 2rem 2rem;
  flex: 1;
  max-width: 740px;
}
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.38rem 0.95rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  margin-bottom: 1.4rem;
  color: var(--off);
}
.slide-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-hero);
  animation: pulse-dot 1.5s ease infinite;
  flex-shrink: 0;
}
.slide-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.grad-txt {
  background: var(--grad-main);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 3s linear infinite;
}
.slide-content p {
  font-size: 0.93rem;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn-grad {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.6rem;
  background: #fff !important;
  color: #0d0d14 !important;
  -webkit-text-fill-color: #0d0d14 !important;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.18);
  transition:
    transform var(--tr),
    box-shadow var(--tr);
}
.btn-grad:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.25);
}
.slide-img-frame {
  position: absolute;
  right: 6%;
  top: 55%;
  transform: translateY(-50%);
  z-index: 2;
}
.profile-hero-wrap {
  position: relative;
  display: inline-block;
}
.grad-border-hero {
  width: 280px;
  height: 380px;
  border-radius: 180px 180px 160px 160px;
  background: linear-gradient(
    135deg,
    #ff6b6b,
    #ffd93d,
    #6bcb77,
    #4d96ff,
    #c77dff
  );
  padding: 4px;
  display: inline-block;
}
.grad-border-hero img {
  width: 100%;
  height: 100%;
  border-radius: 176px 176px 156px 156px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 10;
}
.badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb1 {
  top: 20px;
  left: -130px;
  animation: floatBadge 4s ease-in-out infinite;
}

.stats-band {
  background: linear-gradient(
    135deg,
    rgba(199, 125, 255, 0.1),
    rgba(77, 150, 255, 0.1)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 2.2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.stat-item:last-child {
  border-right: none;
}
.stat-num-wrap {
  line-height: 1;
}
.stat-item strong {
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--grad-main);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 3s linear infinite;
  display: inline;
}
.stat-item .suf {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-main);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 3s linear infinite;
}
.stat-item p {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--grad-hero);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 3s linear infinite;
  margin-bottom: 0.75rem;
  display: block;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}
.section-head p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
}

.services {
  padding: 7rem 0;
  background: var(--bg);
}
.services-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.services-grid::-webkit-scrollbar {
  display: none;
}
.service-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--card-b);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition:
    transform var(--tr),
    border-color var(--tr),
    box-shadow var(--tr);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--tr);
}
.service-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:nth-child(1)::before {
  background: var(--grad-fire);
}
.service-card:nth-child(2)::before {
  background: var(--grad-purple);
}
.service-card:nth-child(3)::before {
  background: var(--grad-nature);
}
.service-card:nth-child(4)::before {
  background: linear-gradient(135deg, #ffd93d, #ff9a3c);
}
.service-card:nth-child(1):hover {
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.13);
}
.service-card:nth-child(2):hover {
  box-shadow: 0 20px 60px rgba(199, 125, 255, 0.13);
}
.service-card:nth-child(3):hover {
  box-shadow: 0 20px 60px rgba(107, 203, 119, 0.13);
}
.service-card:nth-child(4):hover {
  box-shadow: 0 20px 60px rgba(255, 154, 60, 0.13);
}
.service-card.featured {
  background: linear-gradient(
    135deg,
    rgba(199, 125, 255, 0.13),
    rgba(77, 150, 255, 0.13)
  );
  border-color: rgba(199, 125, 255, 0.25);
}
.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: var(--grad-purple);
  color: white;
}
.service-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
  font-size: 1.25rem;
}
.ic1 {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.2),
    rgba(255, 154, 60, 0.2)
  );
}
.ic2 {
  background: linear-gradient(
    135deg,
    rgba(199, 125, 255, 0.2),
    rgba(77, 150, 255, 0.2)
  );
}
.ic3 {
  background: linear-gradient(
    135deg,
    rgba(107, 203, 119, 0.2),
    rgba(77, 150, 255, 0.2)
  );
}
.ic4 {
  background: linear-gradient(
    135deg,
    rgba(255, 211, 61, 0.2),
    rgba(255, 154, 60, 0.2)
  );
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.service-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}
.service-list {
  text-align: left;
}
.service-list li {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.36rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 1.2rem;
  position: relative;
}
.service-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  font-size: 0.72rem;
}
.service-card:nth-child(1) .service-list li::before {
  color: var(--c1);
}
.service-card:nth-child(2) .service-list li::before {
  color: var(--c5);
}
.service-card:nth-child(3) .service-list li::before {
  color: var(--c3);
}
.service-card:nth-child(4) .service-list li::before {
  color: var(--c6);
}
.glass-card {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.about {
  padding: 7rem 0;
  background: var(--bg2);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.about-img-col {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-img-wrap {
  position: relative;
  display: inline-block;
}
.grad-border-about {
  width: 230px;
  height: 300px;
  border-radius: 180px 180px 155px 155px;
  background: linear-gradient(
    135deg,
    #ff6b6b,
    #ffd93d,
    #6bcb77,
    #4d96ff,
    #c77dff
  );
  padding: 4px;
  display: inline-block;
}
.grad-border-about img {
  width: 100%;
  height: 100%;
  border-radius: 176px 176px 151px 151px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-badge {
  position: absolute;
  right: -15px;
  bottom: -64px;
  background: rgba(13, 13, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-align: center;
  z-index: 3;
  backdrop-filter: blur(12px);
}
.about-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.about-badge span {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-deco-1 {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.3), transparent);
  animation: floatBadge 4s ease-in-out infinite;
}
.about-deco-2 {
  position: absolute;
  bottom: 10px;
  left: -10px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 203, 119, 0.3), transparent);
  animation: floatBadge 5s ease-in-out infinite 1s;
}
.about-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.about-lead {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1rem;
}
.about-content > p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.skills-row {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.skill-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.77rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.45rem;
}
.skill-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sf1 {
  background: var(--grad-fire);
}
.sf2 {
  background: var(--grad-purple);
}
.sf3 {
  background: var(--grad-nature);
}
.sf4 {
  background: var(--grad-warm);
}
.about-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ── PORTFOLIO ── */
.portfolio {
  padding: 7rem 0;
  background: var(--bg);
}

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

.port-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.port-img {
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #16162a;
}

.port-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.5s ease;
}

.port-card:hover .port-img img {
  transform: scale(1.04);
}

.port-info {
  padding: 1rem 0.25rem 0.5rem;
}

.port-cat {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad-main);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 3s linear infinite;
  display: block;
  margin-bottom: 0.3rem;
}

.port-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

/* Tablet */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .port-img {
    height: 220px;
  }
}

.testimonials {
  padding: 7rem 0;
  background: var(--bg2);
}
.testi-slider {
  overflow: hidden;
  margin-bottom: 2rem;
}
.testi-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  width: calc(33.333% - 16px);
  background: var(--card);
  border: 1px solid var(--card-b);
  border-radius: var(--radius);
  padding: 1.75rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: border-color var(--tr);
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 5rem;
  font-weight: 800;
  background: var(--grad-hero);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 3s linear infinite;
  opacity: 0.2;
  line-height: 1;
}
.testi-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}
.testi-stars {
  font-size: 0.8rem;
  margin-bottom: 0.85rem;
  letter-spacing: 3px;
  background: var(--grad-warm);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 3s linear infinite;
}
.testi-card p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.av1 {
  background: var(--grad-fire);
}
.av2 {
  background: var(--grad-purple);
}
.av3 {
  background: var(--grad-nature);
}
.av4 {
  background: var(--grad-warm);
}
.testi-author strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
}
.testi-author span {
  font-size: 0.72rem;
  color: var(--muted);
}
.testi-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.testi-nav button {
  width: 42px;
  height: 42px;
  background: var(--card);
  border: 1px solid var(--card-b);
  border-radius: 50%;
  color: var(--muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--tr),
    color var(--tr);
  cursor: pointer !important;
  position: relative;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}
.testi-nav button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.contact {
  padding: 7rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(199, 125, 255, 0.1) 0%,
    transparent 70%
  );
  top: 0;
  right: -100px;
  pointer-events: none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
  position: relative;
}
.contact-info h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.contact-info > p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cii1 {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 107, 0.2),
    rgba(255, 154, 60, 0.2)
  );
}
.cii2 {
  background: linear-gradient(
    135deg,
    rgba(107, 203, 119, 0.2),
    rgba(77, 150, 255, 0.2)
  );
}
.ci-icon i {
  font-size: 1rem;
}
.cii1 i {
  color: #ff9a3c;
}
.cii2 i {
  color: #25d366;
}
.contact-item strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-item span {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.85);
}
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--card-b);
  border-radius: 22px;
  padding: 2.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: var(--white);
  font-family: var(--font-h);
  font-size: 0.87rem;
  outline: none;
  transition:
    border-color var(--tr),
    box-shadow var(--tr);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.form-group select option {
  background: var(--bg3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(199, 125, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(199, 125, 255, 0.1);
}
.form-group textarea {
  resize: vertical;
}
.btn-submit {
  width: 100%;
  padding: 0.92rem;
  background: #fff !important;
  color: #0d0d14 !important;
  -webkit-text-fill-color: #0d0d14 !important;
  font-size: 0.87rem;
  font-weight: 700;
  border-radius: 11px;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.15);
  transition: transform var(--tr);
  cursor: pointer;
}
.btn-submit:hover {
  transform: translateY(-2px);
}
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.82rem 1rem;
  background: rgba(107, 203, 119, 0.1);
  border: 1px solid rgba(107, 203, 119, 0.3);
  border-radius: 9px;
  color: var(--c3);
  font-size: 0.85rem;
  text-align: center;
}
.form-success.show {
  display: block;
}

.footer {
  background: var(--bg2);
}
.footer-top {
  padding: 4.5rem 0 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
}
.logo-footer {
  font-size: 1.55rem;
  font-weight: 800;
  background: var(--grad-hero);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 3s linear infinite;
  display: block;
  margin-bottom: 1.2rem;
}
.footer-brand p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 280px;
}
.footer-links h5,
.footer-contact-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--grad-main);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 4s linear infinite;
  margin-bottom: 1.4rem;
}
.footer-links a {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
  transition:
    color var(--tr),
    padding-left var(--tr);
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}
.footer-contact-col p {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.77rem;
  font-weight: 600;
  background: #25d366;
  color: white;
  padding: 0.52rem 1.15rem;
  border-radius: 50px;
  margin-top: 0.5rem;
  transition: transform var(--tr);
}
.footer-wa:hover {
  transform: translateY(-2px);
}
.footer-bottom {
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.4);
}
.heart {
  background: var(--grad-fire);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 2s linear infinite;
}

.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: transform var(--tr);
}
.wa-float svg {
  width: 26px;
  height: 26px;
  fill: white;
}
.wa-float:hover {
  transform: scale(1.1) rotate(-5deg);
}
.wa-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: waPulse 2s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .slide-img-frame {
    display: none;
  }
  .slide-content {
    padding-top: 9rem;
    max-width: 100%;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-top-inner {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .port-card.tall {
    grid-row: span 1;
  }
  .port-card.wide {
    grid-column: span 1;
  }
  .port-img,
  .port-card.tall .port-img,
  .port-card.wide .port-img {
    height: 220px;
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  nav,
  .btn-header {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header-inner {
    padding: 1rem 1.25rem;
  }
  .logo {
    font-size: 1.2rem;
  }
  .hero {
    min-height: 100vh; 
    height: auto;      
  }
  .hero-slider {
    min-height: 100vh;
  }
  .slide {
    position: relative;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .slide-content {
    padding: 6.5rem 1.25rem 1.5rem;
    max-width: 100%;
    width: 100%;
  }
  .slide-content h1 {
    font-size: 1.95rem;
  }
  .slide-content p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
  .btn-grad {
    font-size: 0.78rem;
    padding: 0.6rem 1.3rem;
  }
  .slide-img-frame {
    display: flex;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    justify-content: center;
    width: 100%;
    padding: 0 1.25rem 3rem;
  }
  .grad-border-hero {
    width: 165px;
    height: 220px;
    border-radius: 120px 120px 100px 100px;
  }
  .grad-border-hero img {
    border-radius: 116px 116px 96px 96px;
  }
  .fb1 {
    display: none;
  }
  .services-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    overflow-x: visible !important;
  }
  .service-card {
    flex: unset !important;
    min-width: unset !important;
    max-width: unset !important;
    width: 100% !important;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-img-col {
    justify-content: center;
  }
  .grad-border-about {
    width: 175px;
    height: 230px;
  }
  .about-badge {
    right: -68px;
    bottom: -30px;
    background: rgba(13, 13, 20, 0.92);
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .port-card.tall,
  .port-card.wide {
    grid-row: span 1;
    grid-column: span 1;
  }
  .port-img,
  .port-card.tall .port-img,
  .port-card.wide .port-img {
    height: 210px;
    min-height: 210px;
  }
  .testi-card {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 1.5rem;
  }
  .footer-top-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .stats-band {
    flex-wrap: wrap;
  }
  .stat-item {
    min-width: 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }
  #cursor,
  #cursor-follower {
    display: none;
  }
}
@media (max-width: 480px) {
  .service-card {
    width: 100% !important;
  }
  .slide-content h1 {
    font-size: 1.75rem;
    line-height: 1.5;
  }
  .btn-grad {
    font-size: 0.75rem;
    padding: 0.55rem 1.2rem;
  }
  .grad-border-hero {
    width: 145px;
    height: 195px;
  }
  .contact-form-wrap {
    padding: 1.25rem;
  }
  .header-inner {
    padding: 0.9rem 1rem;
  }
  .portfolio {
    padding: 5rem 0;
    background: var(--bg);
}
}
/* تراز کردن لوگو و متن در یک خط */
.logo {
  display: flex;
  align-items: center;
  gap: 12px; /* فاصله بین تصویر و متن */
  text-decoration: none;
}

/* محدود کردن اندازه تصویر لوگو */
.logo-img {
  height: 45px; /* این عدد را بر اساس سلیقه خودت بین 30 تا 50 تغییر بده */
  width: auto;
  object-fit: contain;
  display: block;
}

/* ریسپانسیو کردن برای موبایل */
@media (max-width: 768px) {
  .logo-img {
    height: 35px; /* کوچکتر شدن لوگو در موبایل */
  }
}
