/* ============================================
   EZ Ecom Portfolio — Styles
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-50: #e8f5e9;
  --green-100: #c8e6c9;
  --green-200: #a5d6a7;
  --green-400: #66bb6a;
  --green-600: #2e7d32;
  --green-700: #388e3c;
  --green-800: #1b5e20;
  --green-900: #0d3b13;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--green-600);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 32px 24px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-links a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
  background: var(--green-800);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border: 1.5px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--green-600);
  color: var(--green-600);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
  border-radius: 8px;
  background: var(--green-600);
  color: var(--white) !important;
}

.btn-sm:hover {
  background: var(--green-800);
}

.btn-full {
  width: 100%;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 70% at 80% 15%, rgba(76, 175, 80, 0.18) 0%, rgba(129, 199, 132, 0.22) 30%, rgba(200, 230, 201, 0.15) 55%, transparent 75%),
    radial-gradient(ellipse 55% 55% at 15% 85%, rgba(76, 175, 80, 0.12) 0%, rgba(165, 214, 167, 0.2) 35%, rgba(232, 245, 233, 0.1) 55%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

/* --- Card Stack --- */
.card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  margin: 0 auto;
  -webkit-user-select: none;
  user-select: none;
}

.stack-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
}

.stack-card-image {
  flex: 1;
  overflow: hidden;
}

.stack-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-card-info {
  padding: 16px 20px;
}

.stack-card-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.stack-card-info span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Stack positioning: cards behind are offset and scaled */
.stack-card:nth-last-child(n+3) {
  transform: translateY(16px) scale(0.92);
  opacity: 0.4;
}

.stack-card:nth-last-child(2) {
  /* skip the hint paragraph */
}

/* Shuffle animation */
.stack-card.shuffling {
  transform: translateX(110%) rotate(8deg) !important;
  opacity: 0 !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}

.stack-hint {
  position: absolute;
  bottom: -32px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .card-stack {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .card-stack {
    max-width: 280px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--green-50);
  color: var(--green-600);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid var(--green-100);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg-pattern::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle, rgba(102, 187, 106, 0.25) 0%, rgba(165, 214, 167, 0.4) 30%, rgba(200, 230, 201, 0.2) 50%, transparent 70%);
  border-radius: 50%;
}

.hero-bg-pattern::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(102, 187, 106, 0.15) 0%, rgba(200, 230, 201, 0.3) 35%, transparent 65%);
  border-radius: 50%;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- Bento Grid (Services) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.bento-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bento-large {
  grid-column: span 2;
}

.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--green-50);
  color: var(--green-600);
  border-radius: 14px;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.bento-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Portfolio Grid --- */
.work {
  background: var(--gray-50);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-tab {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  border-color: var(--green-400);
  color: var(--green-600);
}

.filter-tab.active {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}

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

.project-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card.filter-hidden {
  display: none;
}

.project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-view {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 24px;
  background: var(--green-600);
  border-radius: 8px;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.project-info p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* --- Stats --- */
.stats-section {
  background: var(--green-800);
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-200);
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--green-200);
  margin-top: 4px;
  font-weight: 500;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-content p {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-process {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.process-number {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-600);
  background: var(--green-50);
  border-radius: 8px;
  padding: 6px 12px;
  flex-shrink: 0;
}

.process-step strong {
  display: block;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.process-step p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-block {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
}

.about-logo-img {
  max-width: 280px;
  width: 100%;
}

/* --- Testimonials --- */
.testimonials {
  background: var(--gray-50);
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.125rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card > p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-900);
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* --- Contact --- */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-tag {
  text-align: left;
}

.contact-info .section-title {
  text-align: left;
}

.contact-info p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-600);
}

.contact-detail svg {
  color: var(--green-600);
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--gray-600);
  transition: var(--transition);
}

.contact-detail a:hover {
  color: var(--green-600);
}

/* --- Form --- */
.contact-form-wrapper {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--gray-800);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  color: var(--green-600);
}

.form-status.error {
  color: #dc2626;
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  height: 36px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--green-400);
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* --- Theme Toggle --- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--green-400);
  color: var(--green-600);
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.theme-toggle-mobile {
  display: none;
}

@media (max-width: 768px) {
  .theme-toggle-mobile {
    display: inline-flex;
  }
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --green-50: #0a2e14;
  --green-100: #0f3d1a;
  --green-200: #1a5c2a;

  --gray-50: #1a1a2e;
  --gray-100: #1f1f35;
  --gray-200: #2a2a40;
  --gray-300: #3a3a50;
  --gray-500: #b8bfc7;
  --gray-600: #cdd3da;
  --gray-700: #e0e4e8;
  --gray-800: #e5e7eb;
  --gray-900: #f3f4f6;

  --white: #111122;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

[data-theme="dark"] .nav {
  background: rgba(17, 17, 34, 0.9);
}

[data-theme="dark"] .nav.scrolled {
  border-bottom-color: var(--gray-200);
}

[data-theme="dark"] .hero-bg-pattern::before {
  background: radial-gradient(circle, rgba(46, 125, 50, 0.2) 0%, rgba(46, 125, 50, 0.08) 40%, transparent 70%);
}

[data-theme="dark"] .hero-bg-pattern::after {
  background: radial-gradient(circle, rgba(46, 125, 50, 0.15) 0%, rgba(46, 125, 50, 0.05) 45%, transparent 70%);
}

[data-theme="dark"] .text-gradient {
  background: linear-gradient(135deg, var(--green-400), #81c784);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .stats-section {
  background: #0a1f10;
}

[data-theme="dark"] .stat-number {
  color: #ffffff;
}

[data-theme="dark"] .stat-suffix {
  color: #81c784;
}

[data-theme="dark"] .stat-label {
  color: #a5d6a7;
}

[data-theme="dark"] .footer {
  background: #0a0a16;
}

[data-theme="dark"] .footer-inner {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .footer-logo {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .nav-logo-img {
  filter: brightness(0) invert(0.9);
}

[data-theme="dark"] .about-logo-img {
  filter: brightness(0) invert(0.85);
}

[data-theme="dark"] .theme-toggle {
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--gray-500);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: var(--green-400);
  color: #81c784;
}

[data-theme="dark"] .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

[data-theme="dark"] .project-placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-large {
    grid-column: span 2;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 130px 0 72px;
  }

  .section {
    padding: 72px 0;
  }

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

  .bento-large {
    grid-column: span 1;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 2.25rem;
  }

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

  .filter-tabs {
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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