/* Original Brand Guidelines CSS (Siak adapted) */
:root {
  --bg-color: #faf8f5;
  /* Warm cream */
  --bg-card: #ffffff;
  --text-primary: #1d1d1b;
  --text-secondary: #5a5a58;
  --text-light: #ffffff;

  --accent-red: #e84855;
  --accent-blue: #3185fc;
  --accent-yellow: #ffd23f;
  --accent-green: #37a276;
  --accent-pink: #f9579a;
  --accent-purple: #815aeb;
  --accent-orange: #ff784f;

  --font-main: "Outfit", sans-serif;

  --border-radius: 20px;
  --border-radius-sm: 8px;
  --border-color: #1d1d1b;
  --border-width: 2px;

  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow: 4px 4px 0px 0px rgba(29, 29, 27, 1);
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 25px 70px rgba(0, 0, 0, 0.12);

  /* Liquid Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);

  /* Toast notification */
  --toast-bg: #1d1d1b;
  --toast-text: #ffffff;
  --toast-success: #37a276;

  /* Animation timing */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}

h1,
h2,
h3,
h4,
.hero-logo {
  font-weight: 700;
  line-height: 1.1;
}

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

button {
  font-family: var(--font-main);
  cursor: none;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s linear,
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  backdrop-filter: invert(1);
}

.cursor-hover .custom-cursor {
  width: 180px;
  height: 180px;
}

.cursor-text::before {
  content: attr(data-cursor-text);
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

/* Header */
/* Global Container Logic */
.container {
  max-width: 1400px;
  margin: 0 auto;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 5000;
  pointer-events: none;
  transition: all 0.4s var(--ease-smooth);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(29, 29, 27, 0.08);
  box-shadow: var(--glass-shadow);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(29, 29, 27, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

#header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 4rem);
  max-width: 1400px;
  margin: 0 auto;
  pointer-events: none;
}

#nav-left,
#nav-right {
  pointer-events: auto;
  display: flex;
  align-items: center;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* Hero Section Spacing & Width Fix */
#hero-section {
  margin-top: 2vh;
  height: 100vh;
  min-height: 800px;
  /* Ensure content doesn't crash on very short viewports */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

#hero-text {
  font-size: clamp(2.5rem, 6vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}

.hero-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1em;
  align-items: center;
  width: 100%;
  line-height: 1;
}

.hero-line-tactile {
  width: 100%;
  display: block;
}

#hero-text-tactile {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  width: 100%;
}

.btn-hero {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: clamp(2rem, 5vw, 6rem);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1;
  box-shadow: 3px 3px 0px 0px var(--border-color);
  transition: transform 0.2s var(--ease-spring), background 0.2s ease, box-shadow 0.2s var(--ease-smooth);
  cursor: none;
  position: relative;
  overflow: hidden;
}

.btn-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s var(--ease-smooth);
}

.btn-hero:hover::after {
  left: 100%;
}

.btn-hero:hover {
  transform: translate(-5px, -5px) rotate(-6deg) scale(1.05);
  box-shadow: 8px 8px 0px 0px var(--border-color);
}

.btn-hero:active {
  transform: translate(2px, 2px) scale(0.98);
  box-shadow: 0px 0px 0px 0px var(--border-color);
}

.hero-ground-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

/* Visibility Utilities */
.desktop-only {
  display: flex !important;
}

.mobile-only {
  display: none !important;
}

@media (max-width: 1024px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }

  header {
    padding: 1rem 0;
  }

  #header-inner {
    width: calc(100% - 2rem);
  }
}

.CTA-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  background: var(--bg-card);
  color: var(--text-primary);
  border-radius: 100px;
  box-shadow: 2px 2px 0px 0px var(--border-color);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-smooth), background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.CTA-btn i {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-smooth);
}

.CTA-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(29, 29, 27, 0.05);
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-smooth), height 0.4s var(--ease-smooth);
}

.CTA-btn:hover::before {
  width: 200px;
  height: 200px;
}

.CTA-btn:hover {
  background: var(--text-primary);
  color: white;
  transform: translate(-3px, -3px) scale(1.02);
  box-shadow: 5px 5px 0px 0px var(--border-color);
}

.CTA-btn:hover i {
  transform: translateX(3px);
}

.logo-link {
  pointer-events: auto;
}

.hero-logo {
  font-size: 2rem;
  letter-spacing: -1px;
  background: var(--text-primary);
  color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  box-shadow: 2px 2px 0px 0px var(--border-color);
}

/* Main layout & Hero */
.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
}

section {
  padding: 6rem 2rem;
  position: relative;
}

.hero-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.playful-letter {
  display: inline-block;
  animation: bounce 2s infinite alternate ease-in-out;
}

.playful-letter-1 {
  color: var(--accent-red);
  animation-delay: 0.1s;
}

.playful-letter-2 {
  color: var(--accent-blue);
  animation-delay: 0.2s;
}

.playful-letter-3 {
  color: var(--accent-yellow);
  animation-delay: 0.3s;
}

.playful-letter-4 {
  color: var(--accent-green);
  animation-delay: 0.4s;
}

.playful-letter-5 {
  color: var(--accent-pink);
  animation-delay: 0.5s;
}

.playful-letter-6 {
  color: var(--accent-purple);
  animation-delay: 0.6s;
}

.playful-letter-7 {
  color: var(--accent-orange);
  animation-delay: 0.7s;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15%);
  }
}

.btn-hero:hover {
  transform: translate(-5px, -5px) rotate(-6deg) scale(1.05);
  box-shadow: 8px 8px 0px 0px var(--border-color);
}

.btn-hero:active {
  transform: translate(2px, 2px) scale(0.98);
  box-shadow: 0px 0px 0px 0px var(--border-color);
}

/* Playful letter animations */

/* Divider Frames */
.section-frame-circles {
  width: 100%;
  position: absolute;
  left: 0;
  overflow: hidden;
  z-index: 10;
  height: 36px;
}

.top-frame {
  top: 0;
  transform: translateY(-50%);
}

.bottom-frame {
  bottom: 0;
  transform: translateY(50%);
}

/* Services Section */
#services-section {
  padding: 8rem 2rem;
  background-color: var(--bg-color);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.03);
}

#about-section {
  padding: 10rem 2rem;
  background-color: var(--bg-card);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.03);
}

#testimonials-section {
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.03);
}

#faq-section {
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.03);
}

#contact-section {
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.03);
}

#services-header {
  max-width: 800px;
  margin: 0 0 6rem;
  text-align: left;
}

.section-title {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 2rem;
  letter-spacing: -2px;
  line-height: 0.9;
}

.section-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  white-space: nowrap;
}

#services-card-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  position: relative;
}

.service-card {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: 40px;
  padding: 4rem;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  box-shadow: var(--shadow-soft);
  transform-origin: center top;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), filter 0.4s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

/* Individual Card Styling */
#services-brand-identity {
  background-color: #fffafb;
  border-top: 16px solid var(--accent-red);
}

#services-web-design {
  background-color: #f7fbff;
  border-top: 16px solid var(--accent-blue);
}

#services-development {
  background-color: #fffdf5;
  border-top: 16px solid var(--accent-yellow);
}

.service-card-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-tag {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -1.5px;
  margin-bottom: 2rem;
  line-height: 1;
}

.service-card-icon {
  width: 80px;
  height: 80px;
  border: var(--border-width) solid var(--border-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  box-shadow: 4px 4px 0px 0px var(--border-color);
  background: white;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-smooth);
}

.service-card-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 6px 6px 0px 0px var(--border-color);
}

.service-card-icon i {
  width: 40px;
  height: 40px;
  transition: transform 0.3s var(--ease-smooth);
}

.service-card-icon:hover i {
  transform: scale(1.05);
}

.service-card-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-description {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
  font-weight: 500;
}

.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.service-card-list li {
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-card-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--border-color);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .service-card {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    min-height: auto;
    gap: 2rem;
  }

  .service-card-icon {
    display: none;
  }
}

/* Work Section */
#home-work-section {
  background: var(--bg-card);
}

.home-work-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-top: 4rem;
}

.home-work-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.home-work-item-link {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: var(--border-width) solid var(--border-color);
  box-shadow: var(--shadow);
}

.home-work-item-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.home-work-item-body-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.project-tags {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.2rem 0;
  border-bottom: 2px solid var(--border-color);
}

.home-work-item-body-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.btn-stretch {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-primary);
  border: var(--border-width) solid var(--border-color);
  border-radius: 100px;
  box-shadow: 3px 3px 0px 0px var(--border-color);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-smooth), background 0.3s ease;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn-stretch::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(49, 133, 252, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease-smooth), height 0.5s var(--ease-smooth);
}

.btn-stretch:hover::before {
  width: 400px;
  height: 400px;
}

.btn-stretch:hover {
  transform: translate(-4px, -4px) scale(1.02);
  box-shadow: 6px 6px 0px 0px var(--border-color);
  background: var(--accent-blue);
  color: var(--text-light);
}

.btn-stretch:active {
  transform: translate(3px, 3px) scale(0.98);
  box-shadow: 0px 0px 0px 0px var(--border-color);
}

/* About Section Grid Redesign */
#about-section {
  padding: 10rem 2rem;
  background-color: var(--bg-card);
}

#about-header-top {
  text-align: left;
  max-width: 1200px;
  /* Specific to header text for readability */
  margin: 0 0 6rem;
}

#about-header-top h2 {
  white-space: nowrap;
}

#members-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.member-card {
  background: var(--bg-color);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 3rem;
  box-shadow: 12px 12px 0px 0px var(--border-color);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  pointer-events: none;
}

.member-card:hover::before {
  opacity: 1;
}

.member-card:hover {
  transform: translate(-8px, -8px) scale(1.02);
  box-shadow: 20px 20px 0px 0px var(--accent-yellow);
}

.member-profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.member-avatar-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--border-color);
  background: var(--accent-blue);
  flex-shrink: 0;
}

.member-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h4 {
  font-size: 2rem;
  margin-bottom: 0.2rem;
  letter-spacing: -1px;
}

.profile-info p {
  color: var(--accent-red);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.member-bio p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-primary);
}

@media (max-width: 900px) {
  #members-grid {
    grid-template-columns: 1fr;
  }

  #about-header-top h2 {
    white-space: normal;
  }
}

/* Utilities */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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

/* Enhanced Section Animations */

/* Process Section */
#process-section .process-label {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.1s;
}

#process-section .process-label.active {
  opacity: 1;
  transform: translateY(0);
}

#process-section .process-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease-out 0.2s;
}

#process-section .process-title.active {
  opacity: 1;
  transform: translateY(0);
}

#process-section .process-description {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out 0.3s;
}

#process-section .process-description.active {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline Section */
.timeline-header {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.timeline-header.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-description p {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease-out 0.2s;
}

.timeline-description p:nth-child(2) {
  transition-delay: 0.3s;
}

.timeline-description.active p {
  opacity: 1;
  transform: translateY(0);
}

.timeline-cards {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 1rem;
  height: 500px;
}

.timeline-card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-card.card-strategy {
  transition-delay: 0.1s;
}

.timeline-card.card-discovery {
  transition-delay: 0.25s;
}

.timeline-card.card-solution {
  transition-delay: 0.4s;
}

.timeline-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Brand Services Section */
.brand-services-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.brand-services-title.active {
  opacity: 1;
  transform: translateY(0);
}

.brand-service-item {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-service-item:nth-child(2) {
  transition-delay: 0.15s;
}

.brand-service-item:nth-child(3) {
  transition-delay: 0.3s;
}

.brand-service-item.active {
  opacity: 1;
  transform: translateY(0);
}

.brand-service-item .service-number {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease-out 0.2s;
}

.brand-service-item.active .service-number {
  opacity: 1;
  transform: scale(1);
}

.brand-service-item .brand-service-name {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.3s;
}

.brand-service-item.active .brand-service-name {
  opacity: 1;
  transform: translateY(0);
}

.brand-service-item .brand-service-description {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.4s;
}

.brand-service-item.active .brand-service-description {
  opacity: 1;
  transform: translateY(0);
}

/* About Section */
#about-header-top {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease-out;
}

#about-header-top.active {
  opacity: 1;
  transform: translateY(0);
}

.member-card {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.member-card:nth-child(1) {
  transition-delay: 0.1s;
}

.member-card:nth-child(2) {
  transition-delay: 0.25s;
}

.member-card.active {
  opacity: 1;
  transform: translateY(0);
}

.member-card .member-avatar-container {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease-out 0.2s;
}

.member-card.active .member-avatar-container {
  opacity: 1;
  transform: scale(1);
}

.member-card .profile-info {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.3s;
}

.member-card.active .profile-info {
  opacity: 1;
  transform: translateY(0);
}

.member-card .member-bio {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.4s;
}

.member-card.active .member-bio {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ============================================= */

/* Tablet & Below (1024px) */
@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }

  #hero-text {
    font-size: 8vw;
  }

  .btn-hero {
    font-size: clamp(1.5rem, 4vw, 5rem);
  }

  .home-work-item {
    grid-template-columns: 1fr;
  }

  .section-intro {
    white-space: normal;
  }

  #services-card-container {
    gap: 2rem;
  }

  .service-card {
    top: 80px;
  }
}

/* Mobile Landscape & Below (768px) */
@media (max-width: 768px) {
  section {
    padding: 4rem 1.5rem;
  }

  #hero-section {
    height: auto;
    min-height: 100vh;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  #hero-text {
    font-size: 10vw;
    letter-spacing: -1px;
    padding: 0 1rem;
  }

  .btn-hero {
    font-size: clamp(1.25rem, 3.5vw, 4rem);
  }

  .service-card {
    padding: 2rem;
    min-height: auto;
  }

  .home-work-item-body-title {
    font-size: 1.75rem;
  }

  .section-intro {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  #services-section {
    padding: 4rem 1.5rem;
  }

  #services-header {
    margin-bottom: 3rem;
  }

  .home-work-container {
    gap: 3rem;
    margin-top: 2rem;
  }

  .home-work-item {
    gap: 2rem;
  }

  .home-work-item-body {
    padding: 1rem;
  }

  #about-section {
    padding: 5rem 1.5rem;
  }

  #about-header-top {
    margin-bottom: 3rem;
  }

  .section-info {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  body {
    overflow-x: hidden;
  }

  header {
    padding: 1rem 0;
  }

  #header-inner {
    width: calc(100% - 2rem);
    padding: 0 1rem;
  }

  .hero-logo {
    font-size: 1.5rem;
    padding: 0.4rem 0.8rem;
  }

  #hero-section {
    padding-top: 5rem;
  }

  #hero-text {
    font-size: 12vw;
    padding: 0 0.5rem;
  }

  .hero-line {
    gap: 0.3em;
  }

  .btn-hero {
    font-size: clamp(1rem, 3vw, 3.5rem);
    box-shadow: 2px 2px 0px 0px var(--border-color);
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  section {
    padding: 3rem 1rem;
  }

  #services-section {
    padding: 3rem 1rem;
  }

  .service-card {
    padding: 1.5rem;
    border-radius: 20px;
    gap: 1.5rem;
  }

  .service-card-title {
    font-size: 1.75rem;
  }

  .service-card-description {
    font-size: 1.1rem;
  }

  .service-card-list li {
    font-size: 0.95rem;
  }

  .service-card-icon {
    width: 60px;
    height: 60px;
  }

  .service-card-icon i {
    width: 30px;
    height: 30px;
  }

  .home-work-item {
    gap: 1.5rem;
  }

  .home-work-item-body-title {
    font-size: 1.5rem;
  }

  .home-work-item-body-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .project-tags {
    gap: 0.75rem;
  }

  .project-tag {
    font-size: 0.75rem;
    padding: 0.15rem 0;
  }

  .btn-stretch {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    gap: 0.75rem;
  }

  .btn-stretch i {
    width: 16px;
    height: 16px;
  }

  #about-section {
    padding: 4rem 1rem;
  }

  .member-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .member-profile-header {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .member-avatar-container {
    width: 80px;
    height: 80px;
  }

  .profile-info h4 {
    font-size: 1.5rem;
  }

  .profile-info p {
    font-size: 0.8rem;
  }

  .member-bio p {
    font-size: 1rem;
  }

  #members-grid {
    gap: 2rem;
  }

  /* Custom Cursor - Disable on touch devices */
  .custom-cursor {
    display: none;
  }

  body {
    cursor: auto;
  }

  a,
  button {
    cursor: auto;
  }

  /* Section frames */
  .section-frame-circles {
    height: 24px;
  }

  .top-frame {
    transform: translateY(-40%);
  }

  .bottom-frame {
    transform: translateY(40%);
  }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
  html {
    font-size: 12px;
  }

  #hero-text {
    font-size: 13vw;
  }

  .btn-hero {
    font-size: clamp(0.75rem, 2vw, 2.5rem);
  }

  .section-title {
    font-size: 1.75rem;
  }

  .service-card-title {
    font-size: 1.5rem;
  }

  .home-work-item-body-title {
    font-size: 1.25rem;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --border-width: 3px;
  }

  .service-card,
  .member-card,
  .home-work-item-link {
    border-width: 3px;
  }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
}

/* =============================================
   VIEW OUR WORK BUTTON - 3D EFFECT
   ============================================= */
.view-our-work-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--text-primary);
  color: var(--bg-color);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  /* 3D layering with pseudo-element for depth */
  box-shadow:
    0 2px 0 #0a0a0a,
    0 4px 0 #0a0a0a,
    0 6px 0 #0a0a0a,
    0 8px 12px rgba(0, 0, 0, 0.3),
    0 12px 24px rgba(0, 0, 0, 0.15);
  transform: perspective(800px) rotateX(5deg) translateY(0);
  transform-origin: center bottom;
  transition:
    transform 0.4s var(--ease-spring),
    box-shadow 0.4s var(--ease-smooth),
    background 0.3s ease;
  cursor: none;
  /* 3D depth border */
  border-bottom: 3px solid #000;
}

.view-our-work-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-smooth), height 0.4s var(--ease-smooth);
}

.view-our-work-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
  /* Subtle 3D highlight on top edge */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.view-our-work-btn:hover::before {
  width: 200px;
  height: 200px;
}

.view-our-work-btn:hover {
  transform: perspective(800px) rotateX(0deg) translateY(-6px) scale(1.05);
  box-shadow:
    0 3px 0 #1a6bb5,
    0 6px 0 #1a6bb5,
    0 9px 0 #1a6bb5,
    0 12px 0 #1a6bb5,
    0 15px 20px rgba(0, 0, 0, 0.35),
    0 20px 40px rgba(0, 0, 0, 0.2);
  background: var(--accent-blue);
  color: var(--text-light);
  border-bottom-color: #1a6bb5;
}

.view-our-work-btn:active {
  transform: perspective(800px) rotateX(8deg) translateY(3px) scale(0.98);
  box-shadow:
    0 1px 0 #0a0a0a,
    0 2px 0 #0a0a0a,
    0 3px 6px rgba(0, 0, 0, 0.2);
  border-bottom-color: #000;
}

.view-our-work-btn i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-smooth);
  /* 3D text shadow */
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.3));
}

.view-our-work-btn:hover i {
  transform: translate(2px, -2px);
}

@media (max-width: 768px) {
  .view-our-work-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .view-our-work-btn {
    bottom: 1rem;
    right: 1rem;
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }
}

/* Skip to main content link for keyboard users */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: var(--bg-color);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-sm);
  z-index: 10001;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
#contact-section {
  padding: 8rem 2rem;
  background-color: var(--bg-card);
}

.contact-header {
  margin-bottom: 4rem;
}

.contact-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

/* Get In Touch Column */
.contact-info-column {
  padding: 3rem;
  background: var(--bg-color);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.get-in-touch-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(29, 29, 27, 0.1);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-detail-item:last-child {
  border-bottom: none;
}

.contact-detail-item:hover {
  color: var(--accent-blue);
}

.contact-detail-item i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(29, 29, 27, 0.1);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: 50%;
  color: var(--text-primary);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-smooth), background 0.3s ease;
  box-shadow: 2px 2px 0px 0px var(--border-color);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-smooth), height 0.4s var(--ease-smooth);
}

.social-link:hover::before {
  width: 120px;
  height: 120px;
}

.social-link:hover {
  transform: translate(-3px, -3px) scale(1.05);
  box-shadow: 5px 5px 0px 0px var(--border-color);
  background: var(--accent-blue);
  color: var(--text-light);
}

.social-link:active {
  transform: translate(2px, 2px) scale(0.98);
  box-shadow: 0px 0px 0px 0px var(--border-color);
}

.social-link i {
  width: 20px;
  height: 20px;
}

/* Contact Form */
.contact-form-column {
  padding: 3rem;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  justify-content: space-between;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-family: var(--font-main);
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), transform 0.2s var(--ease-spring);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(49, 133, 252, 0.12);
  transform: translateY(-1px);
}

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

.submit-btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 1rem 2rem;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-smooth), background 0.3s ease;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease-smooth), height 0.5s var(--ease-smooth);
}

.submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.submit-btn:hover {
  transform: translate(-4px, -4px) scale(1.03);
  box-shadow: 6px 6px 0px 0px var(--border-color);
}

.submit-btn:active {
  transform: translate(3px, 3px) scale(0.98);
  box-shadow: 0px 0px 0px 0px var(--border-color);
}

/* Spinner Animation for Loading States */
.submit-btn .spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

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

/* =============================================
   FAQ SECTION
   ============================================= */
#faq-section {
  padding: 8rem 2rem;
  background-color: var(--bg-color);
}

.faq-header {
  margin-bottom: 4rem;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.faq-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--text-primary);
}

.faq-subtitle {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
}

/* FAQ Left Column - Expanded Answer */
.faq-left-column {
  padding: 3rem;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.faq-item.active .faq-question {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.faq-answer p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* FAQ Right Column - Accordion List */
.faq-right-column {
  display: flex;
  flex-direction: column;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item-accordion {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.faq-item-accordion:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0px 0px var(--border-color);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-main);
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question-btn:hover {
  background: rgba(29, 29, 27, 0.05);
}

.faq-question-btn i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item-accordion.active .faq-question-btn i {
  transform: rotate(45deg);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item-accordion.active .faq-answer-content {
  max-height: 200px;
}

.faq-answer-content p {
  padding: 0 1.5rem 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* =============================================
   CONTACT & FAQ RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-column,
  .contact-form-column {
    padding: 2rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-left-column {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  #contact-section,
  #faq-section {
    padding: 4rem 1.5rem;
  }

  .contact-title {
    font-size: 2rem;
  }

  .get-in-touch-title {
    font-size: 1.75rem;
  }

  .contact-info-column,
  .contact-form-column {
    padding: 1.5rem;
  }

  .faq-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .faq-title {
    font-size: 2rem;
  }

  .faq-item.active .faq-question {
    font-size: 1.25rem;
  }

  .faq-question-btn {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-answer-content p {
    padding: 0 1rem 1rem;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 1.5rem;
  }

  .get-in-touch-title {
    font-size: 1.5rem;
  }

  .contact-detail-item {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.95rem;
  }

  .faq-title {
    font-size: 1.75rem;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
#testimonials-section {
  position: relative;
  padding: 8rem 2rem;
  background: var(--bg-color);
  overflow: hidden;
}

#testimonials-section::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(129, 90, 235, 0.18), transparent 60%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.testimonials-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 3rem;
  align-items: start;
}

.testimonials-intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 520px;
}

.testimonials-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.testimonials-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -2px;
  line-height: 1.05;
}

.testimonials-copy {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid rgba(29, 29, 27, 0.08);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.testimonials-intro .CTA-btn {
  align-self: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(320px, 100%);
  padding: 0.9rem 2.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.testimonials-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.testimonial-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 28px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid rgba(29, 29, 27, 0.08);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(129, 90, 235, 0.35), rgba(200, 255, 0, 0.25));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-primary);
}

.testimonial-stars {
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--accent-purple);
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-role {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card-dark {
  background: linear-gradient(145deg, #121212, #1e1e1e);
  color: #fff;
}

.card-dark .pill {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.card-dark .testimonial-stars {
  color: #a594ff;
}

.card-dark .testimonial-quote,
.card-dark .testimonial-role,
.card-dark .testimonial-name {
  color: #fff;
}

.card-iris {
  background: linear-gradient(160deg, #f1edff, #e3e0ff);
}

.card-cream {
  background: #fff8ed;
}

.card-lime {
  background: linear-gradient(145deg, #eaff9c, #daf46d);
}

@media (max-width: 1024px) {
  #testimonials-section {
    padding: 6rem 1.75rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .testimonials-cards {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .testimonials-cards::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 82vw;
    scroll-snap-align: center;
  }
}

@media (max-width: 768px) {
  #testimonials-section {
    padding: 4.5rem 1.25rem;
  }

  .testimonials-title {
    font-size: 2.4rem;
  }

  .testimonial-card {
    flex: 0 0 86vw;
    padding: 1.5rem;
    border-radius: 22px;
  }

  .testimonial-quote {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 90vw;
    gap: 1rem;
  }

  .pill {
    font-size: 0.8rem;
  }

  .testimonial-stars {
    font-size: 0.85rem;
  }
}
/* =============================================
   PROJECT TIMELINE SECTION
   ============================================= */
#timeline-section {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #fff;
}

.timeline-header {
  max-width: 900px;
  margin-bottom: 5rem;
}

.timeline-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.timeline-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}

.timeline-title .highlight-dot {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #ccff00;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 8px;
}

.timeline-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: end;
}

.timeline-description {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

.timeline-cards {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  height: 500px;
}

.timeline-card {
  background: #1a1a1a;
  border-radius: 32px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-smooth);
  cursor: default;
}

.timeline-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.card-strategy {
  flex: 1;
  max-width: 280px;
  align-self: flex-end;
}

.card-discovery {
  flex: 1;
  max-width: 320px;
  align-self: flex-end;
  margin-bottom: 60px;
}

.card-solution {
  flex: 1;
  max-width: 340px;
  background: #ccff00;
  color: #1a1a1a;
  align-self: flex-end;
  margin-bottom: 0;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-phase {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-duration {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.7;
}

.card-solution .card-phase,
.card-solution .card-duration {
  color: #1a1a1a;
}

.card-tasks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.task-pill {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  font-weight: 500;
  background: transparent;
  color: #fff;
  transition: all 0.3s var(--ease-smooth);
  cursor: default;
}

.task-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.card-solution .task-pill {
  border-color: rgba(26, 26, 26, 0.25);
  color: #1a1a1a;
  background: transparent;
}

.card-solution .task-pill:hover {
  background: rgba(26, 26, 26, 0.08);
  border-color: rgba(26, 26, 26, 0.4);
}

.task-pill.highlight {
  background: #ccff00;
  color: #1a1a1a;
  border-color: #ccff00;
}

.task-pill.wide {
  width: 100%;
  text-align: center;
}

@media (max-width: 1024px) {
  .timeline-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .timeline-description {
    max-width: 100%;
  }

  .timeline-description p {
    max-width: 100%;
  }

  .timeline-cards {
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .timeline-card {
    max-width: 100% !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 768px) {
  #timeline-section {
    padding: 4rem 1.5rem;
  }

  .timeline-header {
    margin-bottom: 3rem;
  }

  .timeline-title {
    font-size: 1.75rem;
  }

  .timeline-content {
    gap: 2rem;
  }

  .timeline-description {
    gap: 1rem;
  }

  .timeline-description p {
    font-size: 0.95rem;
  }

  .timeline-cards {
    gap: 1rem;
    flex-direction: column;
  }

  .timeline-card {
    padding: 1.5rem;
    border-radius: 24px;
    max-width: 100% !important;
    width: 100%;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .card-phase {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .card-duration {
    font-size: 0.85rem;
    opacity: 0.8;
  }

  .card-tasks {
    gap: 0.6rem;
  }

  .task-pill {
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
  }

  .card-strategy {
    background: #1a1a1a;
  }

  .card-discovery {
    background: #1a1a1a;
    margin-bottom: 0 !important;
  }

  .card-solution {
    background: #ccff00;
    color: #1a1a1a;
  }

  .card-solution .card-phase,
  .card-solution .card-duration {
    color: #1a1a1a;
  }

  .card-solution .task-pill {
    border-color: rgba(26, 26, 26, 0.2);
    color: #1a1a1a;
  }
}

@media (max-width: 480px) {
  .timeline-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .timeline-card {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .card-phase {
    font-size: 0.95rem;
  }

  .card-tasks {
    gap: 0.5rem;
  }

  .task-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
}

/* =============================================
   DESIGN PROCESS SECTION
   ============================================= */
#process-section {
  padding: 8rem 2rem;
  background: #0a0a0a;
  color: #fff;
}

.process-header {
  max-width: 900px;
  margin-bottom: 5rem;
}

.process-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.process-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}

.process-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.process-description {
  padding-top: 2rem;
}

.process-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

.process-timeline {
  position: relative;
}

.month-indicators {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 4rem;
}

.month-item {
  padding: 0.75rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  min-width: 60px;
  text-align: center;
}

.month-item.highlight {
  background: #ccff00;
  color: #1a1a1a;
  border-color: #ccff00;
}

.process-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.process-step-item {
  background: #fff;
  color: #1a1a1a;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.process-step-arrow {
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
}

.process-step-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
  .process-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-description {
    max-width: 100%;
  }

  .process-description p {
    max-width: 100%;
  }

  .month-indicators {
    justify-content: center;
  }

  .process-steps {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #process-section {
    padding: 4rem 1.5rem;
  }

  .process-title {
    font-size: 1.75rem;
  }

  .process-step-item {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .process-step-arrow {
    display: none;
  }
}

/* =============================================
   BRAND SERVICES SECTION (Lime Green)
   ============================================= */
#brand-services-section {
  background-color: #c4f500;
  padding: 8rem 2rem;
  color: #1d1d1b;
}

.brand-services-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 5rem;
  text-align: left;
}

.brand-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.brand-service-item {
  display: flex;
  flex-direction: column;
}

.service-number {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-number span {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.service-line {
  width: 0;
  height: 2px;
  background-color: #1d1d1b;
  max-width: 200px;
  transition: width 0.6s ease-out 0.4s;
}

.brand-service-item.active .service-line {
  width: 100%;
}

.brand-service-name {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.brand-service-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(29, 29, 27, 0.8);
  font-weight: 400;
}

/* Responsive */
@media (max-width: 1024px) {
  .brand-services-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .service-line {
    max-width: 150px;
  }
}

@media (max-width: 768px) {
  #brand-services-section {
    padding: 4rem 1.5rem;
  }

  .brand-services-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }

  .brand-service-name {
    font-size: 2rem;
  }

  .brand-service-description {
    font-size: 1rem;
  }
}

/* =============================================
   WHY WORK WITH US SECTION (Black + Lime)
   ============================================= */
#why-work-section {
  background-color: #0a0a0a;
  padding: 6rem 2rem 4rem;
  color: #ffffff;
}

.why-work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.why-work-title-wrapper {
  flex: 1;
}

.why-work-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c4f500;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.why-work-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  color: #c4f500;
  line-height: 0.9;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.why-work-arrow {
  width: 80px;
  height: 80px;
  border: 2px solid #c4f500;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-work-arrow i {
  width: 40px;
  height: 40px;
  color: #c4f500;
}

.why-work-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.why-work-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.why-work-label {
  background-color: #c4f500;
  color: #0a0a0a;
  padding: 1rem 1.75rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  line-height: 1.4;
  letter-spacing: 0.5px;
  display: inline-block;
  max-width: fit-content;
}

.why-work-description {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 400;
}

.why-work-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(196, 245, 0, 0.2);
  padding-top: 1.5rem;
}

.footer-contact-item a {
  display: block;
  color: #c4f500;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.footer-contact-item a:hover {
  opacity: 0.7;
}

.footer-mobile-text {
  color: #c4f500;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem 0;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
  .why-work-header {
    flex-direction: column;
    gap: 2rem;
  }

  .why-work-arrow {
    width: 60px;
    height: 60px;
  }

  .why-work-arrow i {
    width: 30px;
    height: 30px;
  }

  .why-work-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-work-label {
    max-width: 100%;
  }

  .why-work-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #why-work-section {
    padding: 4rem 1.5rem;
  }

  .why-work-title {
    font-size: 3rem;
  }

  .why-work-description {
    font-size: 1.1rem;
  }

  .why-work-label {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--toast-bg);
  color: var(--toast-text);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 400px;
  animation: toastSlideIn 0.3s ease-out forwards;
  pointer-events: auto;
}

.toast.success {
  border-left: 4px solid var(--toast-success);
}

.toast.error {
  border-left: 4px solid var(--accent-red);
}

.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.toast-icon svg {
  width: 100%;
  height: 100%;
}

.toast-message {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.4;
}

.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--toast-text);
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.hiding {
  animation: toastSlideOut 0.3s ease-in forwards;
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .toast-container {
    top: 80px;
    right: 10px;
    left: 10px;
  }

  .toast {
    min-width: unset;
    width: 100%;
  }
}
