/* ==========================================================================
   BRANDD AID CREATIVE AGENCY - CORE STYLESHEET
   Pure CSS3, Zero Frameworks
   White Primary Background & Red Accent Palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@500;700;800&display=swap');

/* --- Root Design Variables --- */
:root {
  --bg-primary: #ffffff;
  --bg-surface: #f7f7f9;
  --bg-surface-light: #eff1f5;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;

  --text-primary: #0a0b0e;
  --text-secondary: #525666;
  --text-muted: #858999;
  --text-inverse: #ffffff;

  --accent-red: #e60020;
  --accent-red-hover: #c7001b;
  --accent-red-dark: #a10016;
  --accent-red-glow: rgba(230, 0, 32, 0.22);
  --accent-red-light: #ff2b49;
  --accent-red-subtle: rgba(230, 0, 32, 0.08);

  --accent-coral: #ff3366;
  --accent-coral-glow: rgba(255, 51, 102, 0.25);
  --accent-purple: #8b3dff;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --border-active: var(--accent-red);

  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1480px;
  --container-pad: clamp(1.25rem, 4vw, 3.5rem);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --- Cinematic Starting Animation Loader --- */
body.loading {
  overflow: hidden;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0a0b0e;
  will-change: clip-path;
}

.loader-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.35em;
  color: #ffffff;
  display: block;
  margin-bottom: 1.5rem;
  will-change: transform, opacity;
}

.loader-counter {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-red) 0%, #ff2b49 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
  will-change: transform;
}

.loader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
  margin-inline: auto;
  margin-top: 1.75rem;
}

.loader-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-red) 0%, #ff2b49 100%);
  width: 0%;
  border-radius: inherit;
  will-change: width;
}

/* Curtain panels for reveal */
.loader-curtain {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  pointer-events: none;
}

.loader-curtain-panel {
  flex: 1;
  background: #14161d;
  will-change: transform;
}

.hero-fade-element {
  opacity: 0;
  transform: translateY(35px);
  will-change: transform, opacity;
}

/* --- Custom Interactive Triangle Cursor (Desktop) --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  background-color: var(--accent-red);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  pointer-events: none;
  z-index: 100002;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear, opacity 0.2s ease;
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 2px solid var(--accent-red);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  pointer-events: none;
  z-index: 100001;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  padding-top: 10px;
}

.custom-cursor-follower.is-hover {
  width: 84px;
  height: 84px;
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
}

.custom-cursor-follower.is-drag {
  width: 80px;
  height: 80px;
  background-color: #0a0b0e;
  border-color: #0a0b0e;
  color: #fff;
}

@media (pointer: coarse) {
  .custom-cursor, .custom-cursor-follower {
    display: none !important;
  }
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-fluid {
  width: 100%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.page-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 0 auto;
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.text-display-xl {
  font-size: clamp(3rem, 8.5vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.text-display-lg {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
}

.text-display-md {
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  line-height: 1.1;
}

.text-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-red);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red-glow);
}

/* Creative Highlight Words */
.highlight-red {
  color: var(--accent-red);
  position: relative;
  display: inline-block;
}

.highlight-curl {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--text-primary);
}

.highlight-curl::after {
  content: '';
  position: absolute;
  left: -4%;
  bottom: -6px;
  width: 108%;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0,7 Q25,-2 50,7 T100,7' fill='none' stroke='%23e60020' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.highlight-pill {
  display: inline-block;
  padding: 0.1em 0.45em;
  border: 1px solid var(--accent-red);
  border-radius: 9999px;
  color: var(--accent-red);
  transform: rotate(-2deg);
}

/* --- Buttons & Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  z-index: 1;
}

.btn-primary {
  background-color: var(--accent-red);
  color: #ffffff;
  border: 1px solid var(--accent-red);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  border-color: var(--accent-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--accent-red-glow);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background-color: var(--accent-red-subtle);
  transform: translateY(-2px);
}

.btn-pill {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-pill:hover, .btn-pill.is-active {
  border-color: var(--accent-red);
  color: #ffffff;
  background: var(--accent-red);
}

.arrow-icon {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* --- Pill Tags & Badges --- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.tag:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background-color: var(--accent-red-subtle);
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: padding var(--transition-fast), background-color var(--transition-fast), backdrop-filter var(--transition-fast), border-bottom var(--transition-fast);
}

.site-header.is-scrolled {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  z-index: 1002;
}

.brand-logo .dot {
  color: var(--accent-red);
}

.brand-badge {
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--accent-red-subtle);
  color: var(--accent-red);
  border: 1px solid rgba(230, 0, 32, 0.25);
}

/* Desktop Navigation (Strictly 4 Items) */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-item a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: width var(--transition-fast);
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--text-primary);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Hamburger Trigger */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  position: relative;
  cursor: pointer;
  z-index: 1002;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Fullscreen Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem var(--container-pad) 3.5rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-item a {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 8vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-nav-item a span.num {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--accent-red);
  font-weight: 400;
}

.mobile-nav-item a:hover,
.mobile-nav-item a.active {
  color: var(--text-primary);
  transform: translateX(12px);
}

.mobile-nav-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-contact-meta h6 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
}

.mobile-contact-meta p a {
  color: var(--text-secondary);
}

.mobile-socials {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.mobile-socials a {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-socials a:hover {
  color: var(--accent-red);
}

/* --- Section Global Structure --- */
.section {
  padding: clamp(4.5rem, 8vw, 9rem) 0;
  position: relative;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head.text-center {
  text-align: center;
}

.section-head.text-center .text-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- HERO SECTION --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
  background-color: #ffffff;
}

/* Ambient glow and subtle mesh background */
.hero-ambient-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb-1 {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(230, 0, 32, 0.08) 0%, rgba(230, 0, 32, 0) 70%);
  filter: blur(80px);
  border-radius: 50%;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-orb-2 {
  position: absolute;
  bottom: 5%;
  left: -8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.06) 0%, rgba(255, 51, 102, 0) 70%);
  filter: blur(90px);
  border-radius: 50%;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: 2rem;
}

.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-end;
  margin-top: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.hero-quick-meta {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.meta-block h5 {
  font-size: 1.5rem;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.meta-block p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Floating interactive hero showcase card */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  aspect-ratio: 16/10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.hero-visual-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 0, 32, 0.4);
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-visual-card:hover img {
  transform: scale(1.05);
}

.hero-visual-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-visual-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-red);
  animation: pulseDot 2s infinite;
}

/* --- MANIFESTO / INTRO SECTION --- */
.manifesto-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: center;
}

.manifesto-lead {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.manifesto-body {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.manifesto-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.manifesto-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.media-tag-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.media-tag-overlay h5 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.media-tag-overlay p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- SERVICES & CAPABILITIES --- */
.services-section {
  position: relative;
  background-color: var(--bg-primary);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.services-nav {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-tab-btn {
  width: 100%;
  text-align: left;
  padding: 1.5rem 1.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.service-tab-btn .tab-info {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.service-tab-btn .tab-num {
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-muted);
}

.service-tab-btn .tab-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.service-tab-btn .tab-icon {
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-fast);
  color: var(--accent-red);
}

.service-tab-btn:hover {
  border-color: rgba(230, 0, 32, 0.35);
}

.service-tab-btn:hover .tab-title {
  color: var(--text-primary);
}

.service-tab-btn.is-active {
  background: var(--bg-surface-light);
  border-color: var(--accent-red);
  box-shadow: 0 4px 20px rgba(230, 0, 32, 0.08);
}

.service-tab-btn.is-active .tab-title {
  color: var(--text-primary);
}

.service-tab-btn.is-active .tab-num {
  color: var(--accent-red);
  font-weight: 700;
}

.service-tab-btn.is-active .tab-icon {
  opacity: 1;
  transform: translateX(0);
}

/* Service Tab Panels */
.services-display {
  position: relative;
}

.service-panel {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
  animation: fadeIn 0.4s ease forwards;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.service-panel.is-active {
  display: block;
}

.service-panel-header {
  margin-bottom: 2rem;
}

.service-panel-header h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.service-panel-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-panel-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
  border: 1px solid var(--border-subtle);
}

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

.service-deliverables {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.service-deliverables h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  margin-bottom: 1rem;
}

/* --- ASYMMETRIC PORTFOLIO / WORK SHOWCASE --- */
.portfolio-section {
  position: relative;
  background-color: var(--bg-primary);
}

.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

/* Creative Asymmetric Columns */
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230, 0, 32, 0.35);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.09);
}

.project-card.col-span-12 {
  grid-column: span 12;
}

.project-card.col-span-8 {
  grid-column: span 8;
}

.project-card.col-span-4 {
  grid-column: span 4;
}

.project-card.col-span-6 {
  grid-column: span 6;
}

.project-card.col-span-7 {
  grid-column: span 7;
}

.project-card.col-span-5 {
  grid-column: span 5;
}

.project-thumb {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface-light);
  aspect-ratio: 16/10;
}

.project-card.col-span-12 .project-thumb {
  aspect-ratio: 21/9;
}

.project-card.col-span-4 .project-thumb {
  aspect-ratio: 4/3;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

.project-overlay-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red);
  border: 1px solid rgba(230, 0, 32, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.project-body {
  padding: 2rem;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.project-client {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

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

.project-title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.project-card:hover .project-arrow {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  transform: translate(3px, -3px);
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* --- STATISTICS & METRICS SECTION --- */
.stats-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  padding: 2.5rem 2rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 0, 32, 0.3);
  box-shadow: 0 20px 40px rgba(230, 0, 32, 0.08);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
}

.stat-unit {
  font-size: 2rem;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.stat-detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- INFINITE CLIENT MARQUEE (Contrast Dark Strip) --- */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 2.25rem 0;
  background: #0a0b0e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  animation: marqueeScroll 28s linear infinite;
  gap: 4rem;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition-fast);
}

.marquee-item:hover {
  color: var(--accent-red);
}

.marquee-star {
  color: var(--accent-red);
  font-size: 1.5rem;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
  position: relative;
  background-color: var(--bg-primary);
}

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

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 0, 32, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.testimonial-quote {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-red);
}

.author-info h5 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  color: var(--text-primary);
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- FINAL CALL TO ACTION (Inverted Dark Contrast Box) --- */
.cta-banner-section {
  padding: clamp(5rem, 10vw, 10rem) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: var(--bg-primary);
}

.cta-banner-box {
  background: radial-gradient(circle at center, #1c1d24 0%, #0a0b0e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 7vw, 6.5rem) var(--container-pad);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.cta-rotating-badge {
  width: 130px;
  height: 130px;
  margin: 0 auto 2.5rem;
  animation: rotateBadge 16s linear infinite;
}

.cta-banner-box h2 {
  font-size: clamp(2.5rem, 7vw, 6rem);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1;
  color: #ffffff;
}

.cta-banner-box p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #a3a8b5;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

/* --- SITE FOOTER (Dark Inverted Section) --- */
.site-footer {
  background-color: #050608;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(4.5rem, 8vw, 7rem) 0 3rem;
  position: relative;
  overflow: hidden;
  color: #a3a8b5;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-brand h3 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.footer-brand .brand-logo {
  color: #ffffff;
}

.footer-brand p {
  color: #848899;
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #a3a8b5;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-list a {
  color: #a3a8b5;
  font-size: 0.95rem;
}

.footer-contact-list a:hover {
  color: var(--accent-red);
}

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

.footer-social-icons {
  display: flex;
  gap: 1.25rem;
}

.footer-social-icons a {
  color: #a3a8b5;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-social-icons a:hover {
  color: var(--accent-red);
}

/* --- ANIMATION UTILITIES --- */
.fade-up-element {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
  100% { transform: translate(-40px, 50px) scale(0.95); }
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* ==========================================================================
   CAREER PAGE & APPLICATION FORM STYLES
   ========================================================================== */
.career-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: 4rem;
  background-color: var(--bg-primary);
  position: relative;
}

.career-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.career-perk-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.career-perk-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 0, 32, 0.3);
  box-shadow: 0 15px 35px rgba(230, 0, 32, 0.06);
}

.career-perk-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-red);
  margin-bottom: 1rem;
  display: block;
}

.career-perk-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.career-perk-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- JOB OPENINGS LIST --- */
.openings-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.job-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.job-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 3.5vw, 2.75rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.025);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.job-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 0, 32, 0.35);
  box-shadow: 0 20px 45px rgba(230, 0, 32, 0.08);
}

.job-info h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.job-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
}

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-action {
  display: flex;
  align-items: center;
}

/* --- ENQUIRY / APPLICATION FORM SECTION --- */
.application-section {
  background-color: var(--bg-primary);
  position: relative;
}

.application-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: flex-start;
}

.application-sidebar {
  position: sticky;
  top: 7rem;
}

.application-sidebar h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.application-sidebar p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.sidebar-contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.sidebar-contact-card h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
}

.sidebar-contact-card p a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sidebar-contact-card p a:hover {
  color: var(--accent-red);
}

.application-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
}

.form-label span.req {
  color: var(--accent-red);
}

.form-control, .form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e60020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 16px;
  cursor: pointer;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px var(--accent-red-glow);
  outline: none;
}

.form-control.is-invalid, .form-select.is-invalid {
  border-color: var(--accent-red) !important;
  box-shadow: 0 0 0 3px var(--accent-red-glow) !important;
}

.form-feedback {
  font-size: 0.8rem;
  color: var(--accent-red);
  margin-top: 0.4rem;
  display: none;
}

.form-feedback.is-visible {
  display: block;
  animation: fadeIn 0.2s ease forwards;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Employment Type Chips */
.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip-radio {
  display: none;
}

.chip-label {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-label:hover {
  border-color: rgba(230, 0, 32, 0.4);
  color: var(--accent-red);
}

.chip-radio:checked + .chip-label {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  font-weight: 700;
}

/* Alert Boxes */
.form-alert {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  display: none;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease forwards;
}

.form-alert.is-success {
  background: rgba(230, 0, 32, 0.08);
  border: 1px solid var(--accent-red);
  color: var(--text-primary);
}

.form-alert.is-error {
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid var(--accent-coral);
  color: var(--text-primary);
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.05rem;
}

.btn-submit .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.is-loading .spinner {
  display: inline-block;
}

.btn-submit.is-loading .btn-text {
  opacity: 0.7;
}

/* --- PERKS & BENEFITS SECTION --- */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.perk-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.025);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.perk-box:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 0, 32, 0.3);
}

.perk-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.perk-box h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.perk-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
