/* ============================================
   VIDEO EDITOR PORTFOLIO — STYLE SHEET
   Color Palette:
     Base BG:    #f8f2ef
     Secondary:  #bed1e3, #93aeca, #E7EBEE
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Bodoni+Moda&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-base: #f8f2ef;
  --bg-subtle: #E7EBEE;
  --accent-light: #bed1e3;
  --accent: #93aeca;
  --accent-dark: #6b8db8;
  --text-primary: #2c2c2c;
  --text-secondary: #5a5a5a;
  --text-muted: #8a8a8a;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(147, 174, 202, 0.12);
  --shadow-md: 0 4px 20px rgba(147, 174, 202, 0.18);
  --shadow-lg: 0 8px 40px rgba(147, 174, 202, 0.22);
  --shadow-hover: 0 12px 48px rgba(147, 174, 202, 0.28);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: pageLoad 0.8s ease forwards;
}

@keyframes pageLoad {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-body);
}

input, textarea {
  font-family: var(--font-body);
  border: none;
  outline: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: linear-gradient(135deg, rgba(190, 209, 227, 0.5), rgba(147, 174, 202, 0.3));
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(147, 174, 202, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(147, 174, 202, 0.25);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  background: linear-gradient(135deg, #2c2c2c, #93aeca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

/* Fade-in animation for scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.0s cubic-bezier(0.34, 1.56, 0.64, 1), 
              transform 1.0s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(248, 242, 239, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Bodoni Moda', var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--accent);
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-cta {
  font-family: var(--font-heading) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--accent);
  padding: 10px 24px !important;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(147, 174, 202, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(147, 174, 202, 0.4);
  color: var(--white) !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Decorative shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(60px);
  pointer-events: none;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-light);
  top: -120px;
  right: -100px;
}

.hero-shape-2 {
  width: 350px;
  height: 350px;
  background: var(--accent);
  bottom: -80px;
  left: -60px;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--bg-subtle);
  top: 40%;
  left: 30%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: heroFadeIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes heroFadeIn {
  0% { 
    opacity: 0; 
    transform: translateY(60px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fcf97;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
  animation: slideInLeft 1.0s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
  opacity: 0;
  background: linear-gradient(
    135deg,
    #2c2c2c 0%,
    #2c2c2c 45%,
    #93aeca 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(44, 44, 44, 0.1);
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: linear-gradient(
    135deg,
    #93aeca 0%,
    #6b8db8 50%,
    #bed1e3 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
  animation: slideInUp 1.0s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s forwards;
  opacity: 0;
  letter-spacing: 0.3px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideInUp 1.0s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #93aeca, #6b8db8);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(147, 174, 202, 0.35);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6b8db8, #4a6a9a);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(147, 174, 202, 0.5);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  border: 2px solid transparent;
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

/* Hero image area */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: heroImgFade 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
  opacity: 0;
}

@keyframes heroImgFade {
  0% { 
    opacity: 0; 
    transform: scale(0.85) translateY(40px) rotateY(15deg);
    filter: blur(10px);
  }
  to { 
    opacity: 1; 
    transform: scale(1) translateY(0) rotateY(0deg);
    filter: blur(0px);
  }
}

.hero-img-wrapper {
  position: relative;
  width: 380px;
  height: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(147, 174, 202, 0.35);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-img-wrapper:hover {
  box-shadow: 0 30px 80px rgba(147, 174, 202, 0.45);
  transform: translateY(-8px);
}

.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* floating stats cards around the hero image */
.hero-float-card {
  position: absolute;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(147, 174, 202, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite, fadeInScale 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-float-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(147, 174, 202, 0.35);
}

.hero-float-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-float-card .info strong {
  display: block;
  font-size: 1rem;
  font-family: var(--font-heading);
}

.hero-float-card .info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.float-card-1 {
  top: 30px;
  left: -40px;
  animation-delay: 0s;
}

.float-card-1 .icon {
  background: rgba(190, 209, 227, 0.3);
  color: var(--accent-dark);
}

.float-card-2 {
  bottom: 50px;
  right: -10px;
  animation-delay: 1.5s;
}

.float-card-2 .icon {
  background: rgba(190, 209, 227, 0.3);
  color: rgb(167, 184, 198);
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--bg-subtle);
}

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

.about-img-area {
  position: relative;
}

.about-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.about-img-card video {
  width: 100%;
  border-radius: var(--radius-lg);
}

.about-accent-box {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.about-stat {
  text-align: center;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  min-width: 120px;
  transition: var(--transition);
}

.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-stat .number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.about-stat .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-text {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  justify-self: end;
  align-self: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-tags,
.cv-download-btn {
  align-self: center;
}

.cv-download-btn {
  display: inline-flex;
  justify-content: center;
  margin: 24px auto 0;
  width: fit-content;
}

/* ==========================================================================
   Work Showcase Section
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

.showcase-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.col-header {
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

.col-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.col-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stack containers with precise aspect ratios */
.stack-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  user-select: none;
}

/* Left Stack: 1080x1350 portrait aspect ratio (Images) */
.stack-images,
.stack-festivities {
  width: min(100%, 360px);
  height: calc(min(100%, 360px) * 1.25);
  max-width: 360px;
  max-height: 450px;
  aspect-ratio: 1080 / 1350;
}

/* Right Stack: 9:16 portrait aspect ratio (Videos) */
.stack-videos {
  width: min(100%, 300px);
  height: calc(min(100%, 300px) * 1.7778);
  max-width: 300px;
  max-height: 533px;
  aspect-ratio: 9 / 16;
}

.cyber-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--white);
  border: 1px solid rgba(147, 174, 202, 0.25);
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.45s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cyber-card:hover {
  border-color: var(--accent);
}

/* Clean Info Overlay */
.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 3, 6, 0.9) 100%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.cyber-card:hover .card-info {
  opacity: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.card-desc {
  font-size: 0.85rem;
  color: var(--accent-light);
}

/* Video Play Overlay button */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(147, 174, 202, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: auto; /* Clickable to intercept and toggle play/pause */
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.video-play-icon {
  color: var(--accent-dark);
  font-size: 1.1rem;
  pointer-events: none; /* Let click pass to overlay */
}

.cyber-card:hover .video-play-overlay {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.cyber-card:hover .video-play-icon {
  color: var(--white);
}

/* Card Visual Content (Images/Videos) */
.card-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity 0.5s ease;
  pointer-events: auto; /* Clickable for images to cycle stack */
}

/* Videos have pointer-events disabled so clicks pass through to container for cycling */
.stack-videos .card-media {
  pointer-events: none;
}

/* In the stack, let the image/video element fail gracefully */
.card-media:not([src]), .card-media[src=""] {
  display: none;
}

/* Sleek minimalist layout inside card if media fails */
.cyber-card::before {
  content: 'DESIGN WORK';
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  border: 1px solid rgba(147, 174, 202, 0.15);
  padding: 8px 16px;
  border-radius: 4px;
}

/* Slide-out Anim (Adjusted slightly) */
.card-slide-out {
  transform: translate3d(-125%, 25px, 0) scale(0.9) rotate(-10deg) !important;
  opacity: 0;
  pointer-events: none;
}

.stack-videos .card-slide-out {
  transform: translate3d(125%, 25px, 0) scale(0.9) rotate(10deg) !important;
  opacity: 0;
  pointer-events: none;
}

/* Work card active index indicators underneath stack */
.stack-indicators {
  display: flex;
  gap: 8px;
  margin-top: 25px;
  justify-content: center;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(147, 174, 202, 0.3);
  transition: var(--transition);
}

.indicator.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent);
}

/* Helper text below showcase stacks */
.showcase-instructions {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Horizontal Showcase Carousel
   ========================================================================== */
.carousel-section {
  width: 100%;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
}

.carousel-header {
  margin-bottom: 25px;
  text-align: left;
}

.carousel-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.carousel-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.carousel-track-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  cursor: grab;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track-container::-webkit-scrollbar {
  display: none;
}

.carousel-track-container.active-dragging {
  cursor: grabbing;
  scroll-behavior: auto; /* disable smooth scrolling when dragging */
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 0 4%; /* Add horizontal spacing for fade effect visibility */
}

#video-showcase-carousel .carousel-track {
  gap: 24px;
}

.carousel-item {
  position: relative;
  flex: 0 0 240px; /* Width of each image card */
  height: 320px;   /* Height of each image card */
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(147, 174, 202, 0.25);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  transition: opacity var(--transition);
}

.carousel-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.item-category {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: 1px;
  font-weight: 600;
  opacity: 0.8;
}

.item-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
}

/* Hover effects */
.carousel-item:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(147, 174, 202, 0.25);
  transform: translateY(-8px);
}

.carousel-item:hover .carousel-media {
  transform: scale(1.05);
}

/* Navigation Buttons styling */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(147, 174, 202, 0.25);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.carousel-nav-btn svg,
.carousel-nav-btn .lucide {
  width: 20px;
  height: 20px;
  display: block;
  color: inherit;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.carousel-nav-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.prev-btn {
  left: -22px;
}

.next-btn {
  right: -22px;
}

/* Progress Bar styling */
.carousel-progress-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.carousel-progress-track {
  width: 150px;
  height: 4px;
  background: rgba(147, 174, 202, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.carousel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  width: 0%;
  border-radius: 2px;
  transition: width 0.1s ease-out;
}

/* Jamarko Locations Dual Slideshow Grid & Custom Styles */
.slideshows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .slideshows-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

#jamarko-slideshow-1 .carousel-track-container,
#jamarko-slideshow-2 .carousel-track-container {
  overflow: hidden;
  width: 100%;
  max-width: 360px; /* Constrained card width */
  margin: 0 auto;
  aspect-ratio: 1080 / 1350; /* Exact aspect ratio of 1080x1350 posters */
  border-radius: var(--radius-lg);
  border: 1px solid rgba(147, 174, 202, 0.25);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

#jamarko-slideshow-1 .carousel-item,
#jamarko-slideshow-2 .carousel-item {
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
  flex: 0 0 100%;
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
}

#jamarko-slideshow-1 .carousel-item img,
#jamarko-slideshow-2 .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.8s ease;
  background: #f5f5f5;
}

#jamarko-slideshow-1 .carousel-item:hover img,
#jamarko-slideshow-2 .carousel-item:hover img {
  transform: scale(1.05);
}

#jamarko-slideshow-1 .prev-btn,
#jamarko-slideshow-2 .prev-btn {
  left: 14px;
  z-index: 11;
}

#jamarko-slideshow-1 .next-btn,
#jamarko-slideshow-2 .next-btn {
  right: 14px;
  z-index: 11;
}

@media (max-width: 992px) {
  #jamarko-slideshow-1 .prev-btn,
  #jamarko-slideshow-2 .prev-btn {
    left: 8px;
    z-index: 11;
  }
  #jamarko-slideshow-1 .next-btn,
  #jamarko-slideshow-2 .next-btn {
    right: 8px;
    z-index: 11;
  }
}

/* Video Works Carousel Item Overlay overrides */
.video-carousel-group .carousel-item .video-play-overlay {
  display: none !important;
}

.video-carousel-group .carousel-item:hover .video-play-overlay {
  display: none !important;
}

.video-carousel-group .carousel-item {
  pointer-events: none;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .brands-grid {
    gap: 24px;
  }

  .brand-card {
    flex-basis: calc((100% - 48px) / 3);
  }

  .showcase-col {
    width: 100%;
  }

  .carousel-section {
    margin-top: 50px;
  }
  
  .carousel-item {
    flex: 0 0 200px;
    height: 270px;
  }
  
  .prev-btn {
    left: -10px;
  }
  
  .next-btn {
    right: -10px;
  }
  
  .carousel-nav-btn {
    width: 38px;
    height: 38px;
  }
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills {
  background: var(--bg-subtle);
}

.skills .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.skills .section-subtitle {
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.skill-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.skill-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(190,209,227,0.3), rgba(147,174,202,0.15));
  color: var(--accent-dark);
  transition: var(--transition);
}

.skill-card:hover .skill-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  transform: scale(1.1);
}

.skill-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.skill-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.brands {
  background: var(--bg-subtle);
}

.brands .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.brands .section-subtitle {
  margin: 0 auto;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.brand-card {
  flex: 0 0 calc((100% - 96px) / 5);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.brand-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: contain;
  padding: 18px;
  transform: scale(var(--logo-scale, 1));
}

/* Adjust only the number in a logo rule to resize that logo. */
.brand-logo-runshoes { --logo-scale: 1.95; }
.brand-logo-kroma { --logo-scale: 2.55; }
.brand-logo-hrc { --logo-scale: 1; }
.brand-logo-valentino { --logo-scale: 1.15; }
.brand-logo-vivid { --logo-scale: 1; }
.brand-logo-lyt { --logo-scale: 1; }
.brand-logo-jamarko { --logo-scale: 1.85; }
.brand-logo-ewe { --logo-scale: 0.6; }
.brand-logo-nearprep { --logo-scale: 1.25; }

.brand-card h3 {
  padding: 12px 8px 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.services .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.services .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card .service-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(190, 209, 227, 0.3);
  line-height: 1;
  margin-bottom: 16px;
}

.service-card .service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--accent-light), rgba(147,174,202,0.2));
  color: var(--accent-dark);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-top: 18px;
  transition: var(--transition);
}

.service-card .learn-more:hover {
  gap: 12px;
  color: var(--accent);
}

/* ============================================
   CONTACT SECTION — Cute PC Design
   ============================================ */
.contact {
  background: var(--bg-subtle);
  overflow: hidden;
}

.pc-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 60px;
}

/* --- Monitor --- */
.pc-monitor {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border-radius: 24px;
  padding: 14px;
  box-shadow:
    0 8px 40px rgba(147, 174, 202, 0.18),
    inset 0 0 0 2px rgba(190, 209, 227, 0.25);
}

.pc-webcam {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  margin: 0 auto 10px;
}

.pc-screen {
  background: linear-gradient(145deg, #f0f4f8, var(--bg-base));
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(190, 209, 227, 0.3);
}

/* Window title bar */
.pc-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--white);
  border-bottom: 1px solid rgba(190, 209, 227, 0.25);
}

.pc-window-dots {
  display: flex;
  gap: 6px;
}

.pc-window-dots .dot-red,
.pc-window-dots .dot-yellow,
.pc-window-dots .dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red    { background: #ff6b6b; }
.dot-yellow { background: #ffd93d; }
.dot-green  { background: #6bcb77; }

.pc-window-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Form inside the screen */
.pc-form {
  padding: 28px 28px 24px;
}

.pc-form .form-group {
  margin-bottom: 16px;
}

.pc-form .form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.pc-form .form-group input,
.pc-form .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(190, 209, 227, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
}

.pc-form .form-group input:focus,
.pc-form .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(147, 174, 202, 0.12);
}

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

.pc-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pc-form .submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(147, 174, 202, 0.35);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border: none;
}

.pc-form .submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(147, 174, 202, 0.45);
}

/* --- Monitor Stand --- */
.pc-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pc-stand-neck {
  width: 40px;
  height: 30px;
  background: linear-gradient(180deg, #d4dbe3, #bfc9d4);
  border-radius: 0 0 4px 4px;
}

.pc-stand-base {
  width: 120px;
  height: 10px;
  background: linear-gradient(180deg, #c8d1db, #b8c3cf);
  border-radius: 0 0 14px 14px;
}

/* --- Keyboard --- */
.pc-keyboard {
  margin-top: 16px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(147, 174, 202, 0.15);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 380px;
  width: 100%;
}

.kb-keys-row {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.kb-key {
  border-radius: 4px;
  background: var(--bg-subtle);
  border: 1px solid rgba(190, 209, 227, 0.3);
}

.kb-key.small {
  width: 28px;
  height: 20px;
}

.kb-key.spacebar {
  width: 140px;
  height: 20px;
}

/* --- Floating Desktop Icons --- */
.desk-items {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.desk-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: all;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.desk-icon:hover {
  transform: translateY(-6px);
}

.desk-icon-img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--white);
  color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.desk-icon:hover .desk-icon-img {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.desk-icon span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.8);
  padding: 2px 10px;
  border-radius: 8px;
}

.desk-icon-1 { top: 10%; left: 2%; }
.desk-icon-2 { top: 38%; left: 0%; }
.desk-icon-3 { top: 66%; left: 2%; }

/* Social stickers */
.desk-sticker {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  pointer-events: all;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.desk-sticker:hover {
  transform: translateY(-5px) rotate(0deg) !important;
  box-shadow: var(--shadow-md);
}

.sticker-1 {
  top: 30%;
  right: 3%;
  background: #0077b5;
  color: var(--white);
  transform: rotate(5deg);
}

/* --- Cute Plant --- */
.desk-plant {
  position: absolute;
  bottom: 8px;
  left: 6%;
  pointer-events: none;
}

.plant-pot {
  width: 30px;
  height: 24px;
  background: #d4a574;
  border-radius: 4px 4px 8px 8px;
  margin: 0 auto;
  position: relative;
}

.plant-pot::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -3px;
  width: 36px;
  height: 6px;
  background: #c49464;
  border-radius: 3px;
}

.plant-leaf {
  position: absolute;
  width: 14px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: #6bcb77;
}

.leaf-1 {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg);
}

.leaf-2 {
  bottom: 24px;
  left: 2px;
  transform: rotate(-35deg);
  background: #5ab868;
  width: 12px;
  height: 18px;
}

.leaf-3 {
  bottom: 24px;
  right: 2px;
  transform: rotate(25deg);
  border-radius: 50% 50% 0 50%;
  width: 12px;
  height: 18px;
}

/* --- Coffee Cup --- */
.desk-coffee {
  position: absolute;
  bottom: 8px;
  right: 8%;
  pointer-events: none;
}

.coffee-cup {
  width: 28px;
  height: 22px;
  background: var(--white);
  border-radius: 0 0 10px 10px;
  border: 2.5px solid var(--accent-light);
  border-top: none;
  position: relative;
}

.coffee-cup::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: 3px;
  background: var(--accent-light);
  border-radius: 3px;
}

.coffee-cup::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: 10px;
  background: #c49464;
  border-radius: 0 0 6px 6px;
  opacity: 0.6;
}

.coffee-handle {
  position: absolute;
  right: -10px;
  top: 4px;
  width: 10px;
  height: 12px;
  border: 2.5px solid var(--accent-light);
  border-left: none;
  border-radius: 0 6px 6px 0;
}

.coffee-steam {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
}

.coffee-steam span {
  width: 2px;
  height: 10px;
  background: rgba(147, 174, 202, 0.3);
  border-radius: 2px;
  animation: steam 1.8s ease-in-out infinite;
}

.coffee-steam span:nth-child(2) {
  animation-delay: 0.3s;
  height: 12px;
}

.coffee-steam span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes steam {
  0%, 100% {
    transform: translateY(0) scaleY(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-6px) scaleY(1.3);
    opacity: 0.6;
  }
}

/* ============================================
   VIDEO MODAL (Lightbox) — Aspect-Ratio Aware
   ============================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.video-modal-content {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
  /* Default landscape sizing */
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
}

/* Portrait mode (9:16) — set by JS */
.video-modal-content.portrait {
  width: auto;
  max-width: 400px;
  max-height: 90vh;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-content video {
  width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  display: block;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  border: none;
}

.modal-close:hover {
  background: var(--accent);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 280px;
}

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

.footer-col a {
  display: block;
  font-size: 0.88rem;
  padding: 5px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer-bottom .footer-socials {
  display: flex;
  gap: 14px;
}

.footer-bottom .footer-socials a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-bottom .footer-socials a:hover {
  color: var(--accent-light);
}

/* ============================================
   SCROLL-TO-TOP BUTTON
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  cursor: pointer;
  z-index: 900;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-dark);
  transform: translateY(-4px);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-text {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-img-wrapper {
    width: 280px;
    height: 340px;
  }

  .float-card-1 {
    left: 10px;
    top: 10px;
  }

  .float-card-2 {
    right: 0;
    bottom: 20px;
  }

  .about .container {
    grid-template-columns: 1fr;
  }

  .desk-icon,
  .desk-sticker,
  .desk-plant,
  .desk-coffee {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-base);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    box-shadow: -4px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 998;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 999;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 600px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 70px;
  }

  .hero-img-wrapper {
    width: 220px;
    height: 280px;
  }

  .hero-float-card {
    display: none;
  }

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

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

  .brands-grid {
    gap: 24px;
  }

  .brand-card {
    flex-basis: calc((100% - 24px) / 2);
  }

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

  .pc-form .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .about-stats {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}
